|
15 | 15 |
|
16 | 16 | <properties>
|
17 | 17 | <jdk.version>1.6</jdk.version>
|
| 18 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
18 | 19 | </properties>
|
19 | 20 |
|
20 | 21 | <organization>
|
|
64 | 65 | </licenses>
|
65 | 66 |
|
66 | 67 | <distributionManagement>
|
| 68 | + <!-- TODO: switch repositories when deploying on OSS Sonatype repos --> |
67 | 69 | <repository>
|
68 | 70 | <id>mc-release</id>
|
69 |
| - <name>Alternate Maven repository of releases</name> |
70 | 71 | <url>dav:https://mc-repo.googlecode.com/svn/maven2/releases</url>
|
71 | 72 | </repository>
|
| 73 | + <!--<repository> |
| 74 | + <id>socketio-staging</id> |
| 75 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 76 | + </repository>--> |
72 | 77 | <snapshotRepository>
|
73 | 78 | <id>mc-snapshot</id>
|
74 |
| - <name>Alternate Maven repository of snapshots</name> |
75 | 79 | <url>dav:https://mc-repo.googlecode.com/svn/maven2/snapshots</url>
|
76 | 80 | <uniqueVersion>false</uniqueVersion>
|
77 | 81 | </snapshotRepository>
|
| 82 | + <!--<snapshotRepository> |
| 83 | + <id>socketio-snapshots</id> |
| 84 | + <url>https://oss.sonatype.org/content/repositories/snapshots/</url> |
| 85 | + <uniqueVersion>false</uniqueVersion> |
| 86 | + </snapshotRepository>--> |
78 | 87 | <site>
|
79 | 88 | <id>website</id>
|
80 | 89 | <name>website</name>
|
|
84 | 93 |
|
85 | 94 | <issueManagement>
|
86 | 95 | <system>github</system>
|
87 |
| - <url>https://github.com/mathieucarbou/Socket.IO-Java/issues</url> |
| 96 | + <url>https://github.com/Ovea/Socket.IO-Java/issues</url> |
88 | 97 | </issueManagement>
|
89 | 98 |
|
| 99 | + <ciManagement> |
| 100 | + <system>hudson</system> |
| 101 | + <url>http://build.intradev.ovea.com/hudson/</url> |
| 102 | + </ciManagement> |
| 103 | + |
90 | 104 | <scm>
|
91 | 105 | <connection>scm:git:git@github.com:mathieucarbou/Socket.IO-Java.git</connection>
|
92 | 106 | <developerConnection>scm:git:git@github.com:mathieucarbou/Socket.IO-Java.git</developerConnection>
|
|
114 | 128 | </extensions>
|
115 | 129 | <pluginManagement>
|
116 | 130 | <plugins>
|
| 131 | + <plugin> |
| 132 | + <artifactId>maven-enforcer-plugin</artifactId> |
| 133 | + <version>1.0-beta-1</version> |
| 134 | + <configuration> |
| 135 | + <rules> |
| 136 | + <requireMavenVersion> |
| 137 | + <version>(,2.1.0),(2.1.0,2.2.0),(2.2.0,)</version> |
| 138 | + <message> |
| 139 | + Maven 2.1.0 and 2.2.0 produce incorrect GPG signatures and checksums respectively. |
| 140 | + </message> |
| 141 | + </requireMavenVersion> |
| 142 | + </rules> |
| 143 | + </configuration> |
| 144 | + </plugin> |
117 | 145 | <plugin>
|
118 | 146 | <artifactId>maven-compiler-plugin</artifactId>
|
119 | 147 | <version>2.3.2</version>
|
|
125 | 153 | <plugin>
|
126 | 154 | <artifactId>maven-gpg-plugin</artifactId>
|
127 | 155 | <version>1.1</version>
|
| 156 | + <configuration> |
| 157 | + <useAgent>false</useAgent> |
| 158 | + <!-- Ovea GPG key ID --> |
| 159 | + <keyname>F82FA7FE</keyname> |
| 160 | + </configuration> |
128 | 161 | </plugin>
|
129 | 162 | <plugin>
|
130 | 163 | <artifactId>maven-release-plugin</artifactId>
|
|
145 | 178 | <artifactId>maven-jar-plugin</artifactId>
|
146 | 179 | <version>2.3.1</version>
|
147 | 180 | </plugin>
|
| 181 | + <plugin> |
| 182 | + <artifactId>maven-jarsigner-plugin</artifactId> |
| 183 | + <version>1.2</version> |
| 184 | + </plugin> |
148 | 185 | <plugin>
|
149 | 186 | <artifactId>maven-javadoc-plugin</artifactId>
|
150 | 187 | <version>2.7</version>
|
|
218 | 255 | </plugins>
|
219 | 256 | </pluginManagement>
|
220 | 257 | <plugins>
|
| 258 | + <plugin> |
| 259 | + <artifactId>maven-enforcer-plugin</artifactId> |
| 260 | + <executions> |
| 261 | + <execution> |
| 262 | + <id>enforce-maven</id> |
| 263 | + <goals> |
| 264 | + <goal>enforce</goal> |
| 265 | + </goals> |
| 266 | + |
| 267 | + </execution> |
| 268 | + </executions> |
| 269 | + </plugin> |
221 | 270 | <plugin>
|
222 | 271 | <artifactId>maven-jar-plugin</artifactId>
|
223 | 272 | <executions>
|
|
278 | 327 | </execution>
|
279 | 328 | </executions>
|
280 | 329 | </plugin>
|
| 330 | + <plugin> |
| 331 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 332 | + <executions> |
| 333 | + <execution> |
| 334 | + <goals> |
| 335 | + <goal>jar</goal> |
| 336 | + </goals> |
| 337 | + </execution> |
| 338 | + </executions> |
| 339 | + </plugin> |
| 340 | + <!-- TODO: activate if deploying in OSS Sonatype repos or maven central repo togpg sign jars --> |
| 341 | + <!--<plugin> |
| 342 | + <artifactId>maven-gpg-plugin</artifactId> |
| 343 | + <executions> |
| 344 | + <execution> |
| 345 | + <id>sign-artifacts</id> |
| 346 | + <phase>verify</phase> |
| 347 | + <goals> |
| 348 | + <goal>sign</goal> |
| 349 | + </goals> |
| 350 | + </execution> |
| 351 | + </executions> |
| 352 | + </plugin>--> |
281 | 353 | </plugins>
|
282 | 354 | </build>
|
283 | 355 |
|
|
308 | 380 | </plugins>
|
309 | 381 | </reporting>
|
310 | 382 |
|
311 |
| - <profiles> |
312 |
| - <profile> |
313 |
| - <id>release</id> |
314 |
| - <activation> |
315 |
| - <property> |
316 |
| - <name>performRelease</name> |
317 |
| - <value>true</value> |
318 |
| - </property> |
319 |
| - </activation> |
320 |
| - <build> |
321 |
| - <plugins> |
322 |
| - <plugin> |
323 |
| - <artifactId>maven-javadoc-plugin</artifactId> |
324 |
| - <executions> |
325 |
| - <execution> |
326 |
| - <goals> |
327 |
| - <goal>jar</goal> |
328 |
| - </goals> |
329 |
| - </execution> |
330 |
| - </executions> |
331 |
| - </plugin> |
332 |
| - </plugins> |
333 |
| - </build> |
334 |
| - </profile> |
335 |
| - </profiles> |
336 |
| - |
337 | 383 | <dependencyManagement>
|
338 | 384 | <dependencies>
|
339 | 385 | <dependency>
|
|
0 commit comments