|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!--Schema definition--> |
2 | 3 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
3 | 4 | <modelVersion>4.0.0</modelVersion> |
| 5 | + <!--General configuration --> |
4 | 6 | <groupId>com.mailjet</groupId> |
5 | 7 | <artifactId>mailjet-client</artifactId> |
6 | | - <version>4.2.1-SNAPSHOT</version> |
| 8 | + <version>4.4.0</version> |
7 | 9 | <packaging>jar</packaging> |
8 | 10 | <name>Mailjet Client</name> |
9 | 11 | <description>A Mailjet API Client</description> |
10 | 12 | <url>https://github.com/mailjet/mailjet-apiv3-java/</url> |
| 13 | + <!--Distribution--> |
11 | 14 | <distributionManagement> |
12 | 15 | <snapshotRepository> |
13 | 16 | <id>ossrh-snapshot</id> |
|
18 | 21 | <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
19 | 22 | </repository> |
20 | 23 | </distributionManagement> |
| 24 | + <!--Source Control Management--> |
21 | 25 | <scm> |
22 | 26 | <connection>scm:git:https://github.com/mailjet/mailjet-apiv3-java.git</connection> |
23 | 27 | <developerConnection>scm:git:https://github.com/mailjet/mailjet-apiv3-java.git</developerConnection> |
24 | 28 | <url>git@github.com:mailjet/mailjet-apiv3-java.git</url> |
25 | | - <tag>mailjet-client-4.2.1</tag> |
| 29 | + <tag>mailjet-client-4.4.0</tag> |
26 | 30 | </scm> |
| 31 | + <!--License--> |
27 | 32 | <licenses> |
28 | 33 | <license> |
29 | 34 | <name>MIT License</name> |
30 | 35 | <url>http://www.opensource.org/licenses/mit-license.php</url> |
31 | 36 | </license> |
32 | 37 | </licenses> |
| 38 | + <!--Developer--> |
33 | 39 | <developers> |
34 | 40 | <developer> |
35 | 41 | <name>Mailjet</name> |
|
38 | 44 | <organizationUrl>http://www.mailjet.com</organizationUrl> |
39 | 45 | </developer> |
40 | 46 | </developers> |
41 | | - <parent> |
42 | | - <groupId>org.sonatype.oss</groupId> |
43 | | - <artifactId>oss-parent</artifactId> |
44 | | - <version>9</version> |
45 | | - </parent> |
| 47 | + <!--Properties--> |
| 48 | + <properties> |
| 49 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 50 | + <maven.compiler.source>1.7</maven.compiler.source> |
| 51 | + <maven.compiler.target>1.7</maven.compiler.target> |
| 52 | + </properties> |
| 53 | + <!--Dependencies--> |
46 | 54 | <dependencies> |
47 | 55 | <dependency> |
48 | 56 | <groupId>com.turbomanage.basic-http-client</groupId> |
|
52 | 60 | <dependency> |
53 | 61 | <groupId>org.json</groupId> |
54 | 62 | <artifactId>json</artifactId> |
55 | | - <version>20140107</version> |
| 63 | + <version>20190722</version> |
56 | 64 | </dependency> |
57 | 65 | <dependency> |
58 | 66 | <groupId>junit</groupId> |
59 | 67 | <artifactId>junit</artifactId> |
60 | | - <version>4.11</version> |
| 68 | + <version>4.13</version> |
61 | 69 | <type>jar</type> |
62 | 70 | </dependency> |
63 | 71 | <dependency> |
|
67 | 75 | <scope>test</scope> |
68 | 76 | </dependency> |
69 | 77 | </dependencies> |
70 | | - <properties> |
71 | | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
72 | | - <maven.compiler.source>1.7</maven.compiler.source> |
73 | | - <maven.compiler.target>1.7</maven.compiler.target> |
74 | | - </properties> |
| 78 | + <!--Build Steps--> |
75 | 79 | <build> |
76 | 80 | <plugins> |
77 | | - <plugin> |
78 | | - <groupId>org.apache.maven.plugins</groupId> |
79 | | - <artifactId>maven-release-plugin</artifactId> |
80 | | - <version>2.5.3</version> |
81 | | - <dependencies> |
82 | | - <dependency> |
83 | | - <groupId>org.apache.maven.plugins</groupId> |
84 | | - <artifactId>maven-scm-plugin</artifactId> |
85 | | - <version>1.8.1</version> |
86 | | - </dependency> |
87 | | - </dependencies> |
88 | | - <configuration> |
89 | | - <pushChanges>false</pushChanges> |
90 | | - <checkModificationExcludes> |
91 | | - <checkModificationExclude>pom.xml</checkModificationExclude> |
92 | | - </checkModificationExcludes> |
93 | | - <autoVersionSubmodules>true</autoVersionSubmodules> |
94 | | - <goals>deploy</goals> |
95 | | - <releaseProfiles>release</releaseProfiles> |
96 | | - </configuration> |
97 | | - </plugin> |
| 81 | + <!--Maven Release Plugin--> |
98 | 82 | <plugin> |
99 | 83 | <groupId>org.apache.maven.plugins</groupId> |
100 | | - <artifactId>maven-source-plugin</artifactId> |
101 | | - <executions> |
102 | | - <execution> |
103 | | - <id>attach-sources</id> |
104 | | - <goals> |
105 | | - <goal>jar</goal> |
106 | | - </goals> |
107 | | - </execution> |
108 | | - </executions> |
109 | | - </plugin> |
110 | | - <plugin> |
111 | | - <groupId>org.apache.maven.plugins</groupId> |
112 | | - <artifactId>maven-javadoc-plugin</artifactId> |
113 | | - <version>3.0.1</version> |
| 84 | + <artifactId>maven-release-plugin</artifactId> |
| 85 | + <version>2.5.3</version> |
| 86 | + <dependencies> |
| 87 | + <dependency> |
| 88 | + <groupId>org.apache.maven.plugins</groupId> |
| 89 | + <artifactId>maven-scm-plugin</artifactId> |
| 90 | + <version>1.8.1</version> |
| 91 | + </dependency> |
| 92 | + </dependencies> |
114 | 93 | <configuration> |
115 | | - <doclint>none</doclint> |
| 94 | + <pushChanges>false</pushChanges> |
| 95 | + <checkModificationExcludes> |
| 96 | + <checkModificationExclude>pom.xml</checkModificationExclude> |
| 97 | + </checkModificationExcludes> |
| 98 | + <autoVersionSubmodules>true</autoVersionSubmodules> |
| 99 | + <goals>deploy</goals> |
| 100 | + <releaseProfiles>release</releaseProfiles> |
116 | 101 | </configuration> |
117 | | - <executions> |
118 | | - <execution> |
119 | | - <id>attach-javadocs</id> |
120 | | - <goals> |
121 | | - <goal>jar</goal> |
122 | | - </goals> |
123 | | - </execution> |
124 | | - </executions> |
125 | 102 | </plugin> |
| 103 | + <!--Sona Type Plugin--> |
126 | 104 | <plugin> |
127 | 105 | <groupId>org.sonatype.plugins</groupId> |
128 | 106 | <artifactId>nexus-staging-maven-plugin</artifactId> |
129 | | - <version>1.6.7</version> |
| 107 | + <version>1.6.8</version> |
130 | 108 | <extensions>true</extensions> |
131 | 109 | <configuration> |
132 | 110 | <serverId>ossrh</serverId> |
133 | 111 | <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
134 | 112 | <autoReleaseAfterClose>true</autoReleaseAfterClose> |
135 | 113 | </configuration> |
136 | 114 | </plugin> |
| 115 | + <!--GPG Plugin--> |
137 | 116 | <plugin> |
138 | 117 | <groupId>org.apache.maven.plugins</groupId> |
139 | 118 | <artifactId>maven-gpg-plugin</artifactId> |
140 | 119 | <version>1.6</version> |
141 | 120 | <executions> |
142 | 121 | <execution> |
143 | 122 | <id>sign-artifacts</id> |
144 | | - <phase>deploy</phase> |
| 123 | + <phase>verify</phase> |
145 | 124 | <goals> |
146 | 125 | <goal>sign</goal> |
147 | 126 | </goals> |
148 | 127 | </execution> |
149 | 128 | </executions> |
150 | 129 | </plugin> |
| 130 | + <!--Source Plugin--> |
| 131 | + <plugin> |
| 132 | + <groupId>org.apache.maven.plugins</groupId> |
| 133 | + <artifactId>maven-source-plugin</artifactId> |
| 134 | + <version>3.2.1</version> |
| 135 | + <executions> |
| 136 | + <execution> |
| 137 | + <id>attach-sources</id> |
| 138 | + <goals> |
| 139 | + <goal>jar</goal> |
| 140 | + </goals> |
| 141 | + </execution> |
| 142 | + </executions> |
| 143 | + </plugin> |
| 144 | + <!--JavaDoc Plugin--> |
| 145 | + <plugin> |
| 146 | + <groupId>org.apache.maven.plugins</groupId> |
| 147 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 148 | + <version>3.2.0</version> |
| 149 | + <configuration> |
| 150 | + <doclint>none</doclint> |
| 151 | + </configuration> |
| 152 | + <executions> |
| 153 | + <execution> |
| 154 | + <id>attach-javadocs</id> |
| 155 | + <goals> |
| 156 | + <goal>jar</goal> |
| 157 | + </goals> |
| 158 | + </execution> |
| 159 | + </executions> |
| 160 | + </plugin> |
151 | 161 | </plugins> |
152 | 162 | </build> |
153 | 163 | </project> |
0 commit comments