|
6 | 6 | <!-- Your artifact --> |
7 | 7 | <groupId>com.scientiamobile.wurflmicroservice</groupId> |
8 | 8 | <artifactId>wurfl-microservice</artifactId> |
9 | | - <version>2.1.7</version> |
| 9 | + <version>2.1.8</version> |
10 | 10 | <packaging>jar</packaging> |
11 | 11 |
|
| 12 | + <properties> |
| 13 | + <!-- tells plugins (compilers, resources, etc.) to use UTF-8 --> |
| 14 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 15 | + </properties> |
| 16 | + |
| 17 | + <scm> |
| 18 | + <connection>scm:git:git://github.com/WURFL/wurfl-microservice-client-java.git</connection> |
| 19 | + <developerConnection>scm:git:ssh://github.com:WURFL/wurfl-microservice-client-java.git</developerConnection> |
| 20 | + <url>https://github.com/WURFL/wurfl-microservice-client-java/tree/master</url> |
| 21 | + </scm> |
| 22 | + |
| 23 | + |
12 | 24 | <name>wurfl-microservice</name> |
13 | 25 | <url>https://github.com/WURFL/wurfl-microservice-client-java</url> |
14 | 26 | <description>Wurfl microservice java client API</description> |
|
46 | 58 | <dependency> |
47 | 59 | <groupId>com.google.code.gson</groupId> |
48 | 60 | <artifactId>gson</artifactId> |
49 | | - <version>2.9.1</version> |
| 61 | + <version>2.10.1</version> |
50 | 62 | </dependency> |
51 | 63 |
|
52 | 64 |
|
53 | 65 | <!-- Servlet reference for lookup request--> |
54 | 66 | <dependency> |
55 | 67 | <groupId>javax.servlet</groupId> |
56 | 68 | <artifactId>servlet-api</artifactId> |
57 | | - <version>2.4</version> |
| 69 | + <version>2.5</version> |
58 | 70 | </dependency> |
59 | 71 | <!-- Apache HttpClient --> |
60 | 72 | <dependency> |
|
72 | 84 | <dependency> |
73 | 85 | <groupId>org.apache.commons</groupId> |
74 | 86 | <artifactId>commons-lang3</artifactId> |
75 | | - <version>3.12.0</version> |
| 87 | + <version>3.17.0</version> |
76 | 88 | </dependency> |
77 | 89 | <!-- Apache Commons IO --> |
78 | 90 | <dependency> |
79 | 91 | <groupId>commons-io</groupId> |
80 | 92 | <artifactId>commons-io</artifactId> |
81 | | - <version>2.14.0</version> |
| 93 | + <version>2.17.0</version> |
82 | 94 | </dependency> |
83 | 95 |
|
84 | 96 | <!-- TEST dependencies --> |
|
92 | 104 |
|
93 | 105 | <build> |
94 | 106 | <plugins> |
95 | | - |
| 107 | + <!-- plugin required for publishing to the new Maven Central Portal --> |
| 108 | + <plugin> |
| 109 | + <groupId>org.sonatype.central</groupId> |
| 110 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 111 | + <version>0.7.0</version> |
| 112 | + <extensions>true</extensions> |
| 113 | + <configuration> |
| 114 | + <publishingServerId>central</publishingServerId> |
| 115 | + <generateSources>false</generateSources> |
| 116 | + <generateJavadoc>false</generateJavadoc> |
| 117 | + </configuration> |
| 118 | + </plugin> |
96 | 119 | <plugin> |
97 | 120 | <groupId>org.apache.maven.plugins</groupId> |
98 | 121 | <artifactId>maven-compiler-plugin</artifactId> |
99 | | - <version>3.8.1</version> |
| 122 | + <version>3.13.0</version> |
100 | 123 | <configuration> |
101 | | - <source>1.8</source> <!-- Java 8 as the source version --> |
102 | | - <target>1.8</target> <!-- Java 8 as the target version --> |
| 124 | + <!-- single flag that implies source, target, and system modules path --> |
| 125 | + <release>11</release> |
103 | 126 | </configuration> |
104 | 127 | </plugin> |
105 | 128 |
|
106 | 129 | <!-- Plugin to create the main JAR file --> |
107 | 130 | <plugin> |
108 | 131 | <groupId>org.apache.maven.plugins</groupId> |
109 | 132 | <artifactId>maven-jar-plugin</artifactId> |
110 | | - <version>3.2.0</version> |
| 133 | + <version>3.4.1</version> |
111 | 134 | <configuration> |
112 | 135 | <finalName>wurfl-microservice-${project.version}</finalName> |
113 | 136 | </configuration> |
114 | 137 | </plugin> |
115 | 138 |
|
116 | 139 | <!-- Plugin to create the source JAR --> |
117 | 140 | <plugin> |
118 | | - <groupId>org.apache.maven.plugins</groupId> |
119 | 141 | <artifactId>maven-source-plugin</artifactId> |
120 | | - <version>3.2.1</version> |
| 142 | + <version>3.3.1</version> |
121 | 143 | <executions> |
| 144 | + <!-- Override any default execution (like "default") to prevent duplication --> |
| 145 | + <execution> |
| 146 | + <id>default</id> |
| 147 | + <phase>none</phase> |
| 148 | + <goals> |
| 149 | + <goal>jar</goal> |
| 150 | + </goals> |
| 151 | + </execution> |
| 152 | + <!-- Actual attach-sources execution --> |
122 | 153 | <execution> |
123 | 154 | <id>attach-sources</id> |
| 155 | + <phase>verify</phase> |
124 | 156 | <goals> |
125 | 157 | <goal>jar</goal> |
126 | 158 | </goals> |
| 159 | + <configuration> |
| 160 | + <classifier>sources</classifier> |
| 161 | + </configuration> |
127 | 162 | </execution> |
128 | 163 | </executions> |
129 | 164 | </plugin> |
130 | 165 |
|
| 166 | + |
131 | 167 | <!-- Plugin to create the Javadoc JAR --> |
132 | 168 | <plugin> |
133 | 169 | <groupId>org.apache.maven.plugins</groupId> |
134 | 170 | <artifactId>maven-javadoc-plugin</artifactId> |
135 | 171 | <version>3.4.0</version> |
136 | 172 | <configuration> |
| 173 | + <classifier>javadoc</classifier> |
137 | 174 | <additionalJOptions> |
138 | 175 | <arg>-Xdoclint:all,-missing,-html</arg> <!-- Suppresses "missing" and "html" warnings --> |
139 | 176 | </additionalJOptions> |
|
152 | 189 | <plugin> |
153 | 190 | <groupId>org.apache.maven.plugins</groupId> |
154 | 191 | <artifactId>maven-assembly-plugin</artifactId> |
155 | | - <version>3.4.2</version> |
| 192 | + <version>3.7.1</version> |
156 | 193 | <configuration> |
157 | 194 | <descriptors> |
158 | 195 | <descriptor>src/main/assembly/release-descriptor.xml</descriptor> |
|
203 | 240 | <plugin> |
204 | 241 | <groupId>org.jacoco</groupId> |
205 | 242 | <artifactId>jacoco-maven-plugin</artifactId> |
206 | | - <version>0.8.8</version> |
| 243 | + <version>0.8.12</version> |
207 | 244 | <executions> |
208 | 245 | <execution> |
209 | 246 | <goals> |
|
0 commit comments