|
62 | 62 | </license> |
63 | 63 | </licenses> |
64 | 64 |
|
65 | | - <distributionManagement> |
66 | | - <!-- TODO: switch repositories when deploying on OSS Sonatype repos --> |
67 | | - <repository> |
68 | | - <id>mc-release</id> |
69 | | - <url>dav:https://mc-repo.googlecode.com/svn/maven2/releases</url> |
70 | | - </repository> |
71 | | - <!--<repository> |
72 | | - <id>socketio-staging</id> |
73 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
74 | | - </repository>--> |
75 | | - <snapshotRepository> |
76 | | - <id>mc-snapshot</id> |
77 | | - <url>dav:https://mc-repo.googlecode.com/svn/maven2/snapshots</url> |
78 | | - <uniqueVersion>false</uniqueVersion> |
79 | | - </snapshotRepository> |
80 | | - <!--<snapshotRepository> |
81 | | - <id>socketio-snapshots</id> |
82 | | - <url>https://oss.sonatype.org/content/repositories/snapshots/</url> |
83 | | - <uniqueVersion>false</uniqueVersion> |
84 | | - </snapshotRepository>--> |
85 | | - <site> |
86 | | - <id>website</id> |
87 | | - <name>website</name> |
88 | | - <url>file://${basedir}/target/dist/site</url> |
89 | | - </site> |
90 | | - </distributionManagement> |
91 | | - |
92 | 65 | <issueManagement> |
93 | 66 | <system>github</system> |
94 | 67 | <url>https://github.com/tadglines/Socket.IO-Java/issues</url> |
|
111 | 84 | <module>samples</module> |
112 | 85 | </modules> |
113 | 86 |
|
| 87 | + <distributionManagement> |
| 88 | + <site> |
| 89 | + <id>website</id> |
| 90 | + <name>website</name> |
| 91 | + <url>file://${basedir}/target/dist/site</url> |
| 92 | + </site> |
| 93 | + </distributionManagement> |
| 94 | + |
114 | 95 | <build> |
115 | 96 | <extensions> |
116 | 97 | <extension> |
|
213 | 194 | <artifactId>maven-license-plugin</artifactId> |
214 | 195 | <version>1.9.0</version> |
215 | 196 | <configuration> |
216 | | - <header>https://github.com/tadglines/Socket.IO-Java/raw/master/licenses/MIT</header> |
217 | 197 | <strictCheck>true</strictCheck> |
218 | 198 | <properties> |
219 | 199 | <owner>Tad Glines</owner> |
|
315 | 295 | </execution> |
316 | 296 | </executions> |
317 | 297 | </plugin> |
318 | | - <!-- TODO: activate if deploying in OSS Sonatype repos or maven central repo togpg sign jars --> |
319 | | - <!--<plugin> |
320 | | - <artifactId>maven-gpg-plugin</artifactId> |
321 | | - <executions> |
322 | | - <execution> |
323 | | - <id>sign-artifacts</id> |
324 | | - <phase>verify</phase> |
325 | | - <goals> |
326 | | - <goal>sign</goal> |
327 | | - </goals> |
328 | | - </execution> |
329 | | - </executions> |
330 | | - </plugin>--> |
331 | 298 | </plugins> |
332 | 299 | </build> |
333 | 300 |
|
|
427 | 394 | </dependencies> |
428 | 395 | </dependencyManagement> |
429 | 396 |
|
| 397 | + <profiles> |
| 398 | + |
| 399 | + <profile> |
| 400 | + <id>default</id> |
| 401 | + <activation> |
| 402 | + <activeByDefault>true</activeByDefault> |
| 403 | + </activation> |
| 404 | + <distributionManagement> |
| 405 | + <repository> |
| 406 | + <id>socketio-staging</id> |
| 407 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 408 | + </repository> |
| 409 | + <snapshotRepository> |
| 410 | + <id>socketio-snapshots</id> |
| 411 | + <url>https://oss.sonatype.org/content/repositories/snapshots/</url> |
| 412 | + <uniqueVersion>false</uniqueVersion> |
| 413 | + </snapshotRepository> |
| 414 | + </distributionManagement> |
| 415 | + <build> |
| 416 | + <plugins> |
| 417 | + <plugin> |
| 418 | + <groupId>com.mycila.maven-license-plugin</groupId> |
| 419 | + <artifactId>maven-license-plugin</artifactId> |
| 420 | + <configuration> |
| 421 | + <header>https://github.com/tadglines/Socket.IO-Java/raw/master/licenses/MIT</header> |
| 422 | + </configuration> |
| 423 | + </plugin> |
| 424 | + <plugin> |
| 425 | + <artifactId>maven-gpg-plugin</artifactId> |
| 426 | + <executions> |
| 427 | + <execution> |
| 428 | + <id>sign-artifacts</id> |
| 429 | + <phase>verify</phase> |
| 430 | + <goals> |
| 431 | + <goal>sign</goal> |
| 432 | + </goals> |
| 433 | + </execution> |
| 434 | + </executions> |
| 435 | + </plugin> |
| 436 | + </plugins> |
| 437 | + </build> |
| 438 | + </profile> |
| 439 | + |
| 440 | + <profile> |
| 441 | + <id>ovea</id> |
| 442 | + <distributionManagement> |
| 443 | + <repository> |
| 444 | + <id>mc-release</id> |
| 445 | + <url>dav:https://mc-repo.googlecode.com/svn/maven2/releases</url> |
| 446 | + </repository> |
| 447 | + <snapshotRepository> |
| 448 | + <id>mc-snapshot</id> |
| 449 | + <url>dav:https://mc-repo.googlecode.com/svn/maven2/snapshots</url> |
| 450 | + <uniqueVersion>false</uniqueVersion> |
| 451 | + </snapshotRepository> |
| 452 | + </distributionManagement> |
| 453 | + <build> |
| 454 | + <plugins> |
| 455 | + <plugin> |
| 456 | + <groupId>com.mycila.maven-license-plugin</groupId> |
| 457 | + <artifactId>maven-license-plugin</artifactId> |
| 458 | + <configuration> |
| 459 | + <header>https://github.com/Ovea/Socket.IO-Java/raw/master/licenses/MIT</header> |
| 460 | + </configuration> |
| 461 | + </plugin> |
| 462 | + </plugins> |
| 463 | + </build> |
| 464 | + </profile> |
| 465 | + |
| 466 | + </profiles> |
| 467 | + |
430 | 468 | </project> |
0 commit comments