@@ -44,27 +44,53 @@ under the License.
4444 </prerequisites >
4545
4646 <scm >
47- <connection >scm:svn:http ://svn.apache.org/repos/asf/ maven/plugins/trunk/maven -eclipse-plugin/ </connection >
48- <developerConnection >scm:svn :https://svn.apache.org/repos/asf/ maven/plugins/trunk/maven -eclipse-plugin/
49- </ developerConnection >
50- <url >http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/</ url >
47+ <connection >scm:git:https ://github.com/wcm-io-devops/ maven-eclipse-plugin.git </connection >
48+ <developerConnection >scm:git :https://github.com/wcm-io-devops/ maven-eclipse-plugin.git</ developerConnection >
49+ <url >https://github.com/wcm-io-devops/maven-eclipse-plugin</ url >
50+ <tag >HEAD</ tag >
5151 </scm >
52+
5253 <issueManagement >
5354 <system >JIRA</system >
54- <url >https://issues.apache.org/jira/browse/MECLIPSE </url >
55+ <url >https://wcm-io.atlassian.net/projects/WDEVOP </url >
5556 </issueManagement >
56- <distributionManagement >
57- <site >
58- <id >apache.website</id >
59- <url >scm:svn:https://svn.apache.org/repos/infra/websites/production/maven/components/${maven.site.path} </url >
60- </site >
61- </distributionManagement >
57+
58+ <ciManagement >
59+ <system >Travis CI</system >
60+ <url >https://travis-ci.org/wcm-io-devops</url >
61+ </ciManagement >
62+
63+ <organization >
64+ <name >wcm.io DevOps</name >
65+ <url >http://devops.wcm.io</url >
66+ </organization >
67+
68+ <licenses >
69+ <license >
70+ <name >The Apache Software License, Version 2.0</name >
71+ <url >http://www.apache.org/licenses/LICENSE-2.0.txt</url >
72+ </license >
73+ </licenses >
74+
75+ <developers >
76+ <developer >
77+ <name >wcm.io Community</name >
78+ <organization >wcm.io</organization >
79+ <organizationUrl >http://wcm.io</organizationUrl >
80+ </developer >
81+ </developers >
6282
6383 <properties >
6484 <mavenVersion >2.2.1</mavenVersion >
6585 <maven .test.jvmargs>-Xmx1024m</maven .test.jvmargs>
6686 <surefire .version>2.18.1</surefire .version>
6787 <mavenPluginToolsVersion >3.4</mavenPluginToolsVersion >
88+
89+ <!-- repository settings -->
90+ <distribution .snapshotRepositoryId>ossrh</distribution .snapshotRepositoryId>
91+ <distribution .snapshotRepositoryUrl>https://oss.sonatype.org/content/repositories/snapshots</distribution .snapshotRepositoryUrl>
92+ <distribution .releaseRepositoryId>ossrh</distribution .releaseRepositoryId>
93+ <distribution .releaseRepositoryUrl>https://oss.sonatype.org/service/local/staging/deploy/maven2/</distribution .releaseRepositoryUrl>
6894 </properties >
6995
7096 <dependencies >
@@ -304,6 +330,39 @@ under the License.
304330 </excludes >
305331 </configuration >
306332 </plugin >
333+ <plugin >
334+ <groupId >org.apache.maven.plugins</groupId >
335+ <artifactId >maven-gpg-plugin</artifactId >
336+ <version >1.6</version >
337+ </plugin >
338+ <plugin >
339+ <groupId >org.apache.maven.plugins</groupId >
340+ <artifactId >maven-release-plugin</artifactId >
341+ <version >2.5.3</version >
342+ <configuration >
343+ <autoVersionSubmodules >true</autoVersionSubmodules >
344+ <useReleaseProfile >false</useReleaseProfile >
345+ <releaseProfiles >release</releaseProfiles >
346+ <goals >deploy</goals >
347+ </configuration >
348+ <dependencies >
349+ <dependency >
350+ <groupId >org.apache.maven.scm</groupId >
351+ <artifactId >maven-scm-provider-gitexe</artifactId >
352+ <version >1.9.4</version >
353+ </dependency >
354+ </dependencies >
355+ </plugin >
356+ <plugin >
357+ <groupId >org.sonatype.plugins</groupId >
358+ <artifactId >nexus-staging-maven-plugin</artifactId >
359+ <version >1.6.6</version >
360+ </plugin >
361+ <plugin >
362+ <groupId >external.atlassian.jgitflow</groupId >
363+ <artifactId >jgitflow-maven-plugin</artifactId >
364+ <version >1.0-m5.1</version >
365+ </plugin >
307366 </plugins >
308367 </pluginManagement >
309368 <plugins >
@@ -503,6 +562,48 @@ under the License.
503562 </plugins >
504563 </build >
505564 </profile >
565+ <!-- configuration to deploy into maven central -->
566+ <profile >
567+ <id >release</id >
568+ <activation >
569+ <property >
570+ <name >performRelease</name >
571+ <value >true</value >
572+ </property >
573+ </activation >
574+ <build >
575+ <plugins >
576+ <!-- sign the build -->
577+ <plugin >
578+ <groupId >org.apache.maven.plugins</groupId >
579+ <artifactId >maven-gpg-plugin</artifactId >
580+ <inherited >false</inherited >
581+ <executions >
582+ <execution >
583+ <id >sign-artifacts</id >
584+ <phase >verify</phase >
585+ <goals >
586+ <goal >sign</goal >
587+ </goals >
588+ </execution >
589+ </executions >
590+ </plugin >
591+ <!-- configure staging process at sonatype.-->
592+ <plugin >
593+ <groupId >org.sonatype.plugins</groupId >
594+ <artifactId >nexus-staging-maven-plugin</artifactId >
595+ <inherited >false</inherited >
596+ <extensions >true</extensions >
597+ <configuration >
598+ <serverId >ossrh</serverId >
599+ <nexusUrl >https://oss.sonatype.org/</nexusUrl >
600+ <!-- Deployed artifacts should go to staging to be reviewed before publish -->
601+ <autoReleaseAfterClose >false</autoReleaseAfterClose >
602+ </configuration >
603+ </plugin >
604+ </plugins >
605+ </build >
606+ </profile >
506607 </profiles >
507608
508609 <reporting >
@@ -533,4 +634,16 @@ under the License.
533634 </plugin >
534635 </plugins >
535636 </reporting >
637+
638+ <distributionManagement >
639+ <repository >
640+ <id >${distribution.releaseRepositoryId} </id >
641+ <url >${distribution.releaseRepositoryUrl} </url >
642+ </repository >
643+ <snapshotRepository >
644+ <id >${distribution.snapshotRepositoryId} </id >
645+ <url >${distribution.snapshotRepositoryUrl} </url >
646+ </snapshotRepository >
647+ </distributionManagement >
648+
536649</project >
0 commit comments