Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: pom.xml
- ===================================================================
- --- pom.xml (revision 1821951)
- +++ pom.xml (working copy)
- @@ -45,6 +45,7 @@
- - build artifacts -test.jar, -sources.jar and -test-sources.jar always, not only at release time
- - maven-enforcer-plugin set version to 3.0.0-M1 and update Maven requirement from 3.0.0 to 3.0.5 (the latest 3.0.x.)
- - jacoco-maven-plugin 0.7.9 -> 0.8.0.
- + - commons-release-plugin 1.0
- -->
- @@ -550,6 +551,58 @@
- </plugin>
- <!-- Apache parent: plexus & modello -->
- </plugins>
- + <plugin>
- + <groupId>org.apache.maven.plugins</groupId>
- + <artifactId>maven-scm-publish-plugin</artifactId>
- + <configuration>
- + <content>${project.reporting.outputDirectory}</content>
- + <pubScmUrl>scm:svn:${commons.scmPubUrl}</pubScmUrl>
- + <checkoutDirectory>${commons.scmPubCheckoutDirectory}</checkoutDirectory>
- + <serverId>${commons.scmPubServer}</serverId>
- + <tryUpdate>true</tryUpdate>
- + </configuration>
- + <executions>
- + <execution>
- + <id>scm-publish</id>
- + <phase>site-deploy</phase><!-- deploy site with maven-scm-publish-plugin -->
- + <goals>
- + <goal>publish-scm</goal>
- + </goals>
- + </execution>
- + </executions>
- + </plugin>
- + <plugin>
- + <groupId>org.apache.commons</groupId>
- + <artifactId>commons-release-plugin</artifactId>
- + <version>${commons.release.plugin.version}</version>
- + <configuration>
- + <distSvnStagingUrl>scm:svn:https://dist.apache.org/repos/dist/dev/commons/${commons.componentid.basic}</distSvnStagingUrl>
- + <dryRun>${dryRun}</dryRun>
- + </configuration>
- + <executions>
- + <execution>
- + <id>detatch-distributions</id>
- + <phase>verify</phase>
- + <goals>
- + <goal>detatch-distributions</goal>
- + </goals>
- + </execution>
- + <execution>
- + <id>compress-site</id>
- + <phase>site</phase>
- + <goals>
- + <goal>compress-site</goal>
- + </goals>
- + </execution>
- + <execution>
- + <id>stage-distributions</id>
- + <phase>deploy</phase>
- + <goals>
- + <goal>stage-distributions</goal>
- + </goals>
- + </execution>
- + </executions>
- + </plugin>
- </pluginManagement>
- <plugins>
- <!-- org.apache.maven.plugins, alpha order by artifact id -->
- @@ -766,7 +819,38 @@
- </execution>
- </executions>
- </plugin>
- -
- + <plugin>
- + <groupId>org.apache.commons</groupId>
- + <artifactId>commons-release-plugin</artifactId>
- + <version>${commons.release.plugin.version}</version>
- + <configuration>
- + <distSvnStagingUrl>scm:svn:https://dist.apache.org/repos/dist/dev/commons/${commons.componentid.basic}</distSvnStagingUrl>
- + <dryRun>${dryRun}</dryRun>
- + </configuration>
- + <executions>
- + <execution>
- + <id>detatch-distributions</id>
- + <phase>verify</phase>
- + <goals>
- + <goal>detatch-distributions</goal>
- + </goals>
- + </execution>
- + <execution>
- + <id>compress-site</id>
- + <phase>site</phase>
- + <goals>
- + <goal>compress-site</goal>
- + </goals>
- + </execution>
- + <execution>
- + <id>stage-distributions</id>
- + <phase>deploy</phase>
- + <goals>
- + <goal>stage-distributions</goal>
- + </goals>
- + </execution>
- + </executions>
- + </plugin>
- </plugins>
- </build>
- @@ -1625,6 +1709,7 @@
- <commons.surefire.java />
- <!-- plugin versions (allows same value in reporting and build sections; also allows easy override) -->
- + <commons.release.plugin.version>1.0</commons.release.plugin.version>
- <commons.build-plugin.version>1.7</commons.build-plugin.version>
- <commons.surefire.version>2.20.1</commons.surefire.version>
- <commons.failsafe.version>2.20.1</commons.failsafe.version>
- @@ -1708,6 +1793,8 @@
- <!-- Commons Component Id -->
- <commons.componentid>${project.artifactId}</commons.componentid>
- + <!-- Commons Component Id used for dev and release folders, this would be "lang" instead of "lang3" for example. -->
- + <commons.componentid.basic>${project.artifactId}</commons.componentid.basic>
- <!-- Configuration properties for the OSGi maven-bundle-plugin -->
- <commons.osgi.symbolicName>org.apache.commons.${commons.componentid}</commons.osgi.symbolicName>
- @@ -1768,7 +1855,7 @@
- <!-- value modules can override it -->
- <commons.site.path>${project.artifactId}</commons.site.path>
- - <commons.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/commons/content/proper/${project.artifactId}</commons.scmPubUrl>
- + <commons.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/commons/content/proper/${commons.componentid.basic}</commons.scmPubUrl>
- <commons.scmPubCheckoutDirectory>${commons.site.cache}/${commons.site.path}</commons.scmPubCheckoutDirectory>
- <commons.scmPubServer>commons.site</commons.scmPubServer>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement