You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by at...@apache.org on 2008/09/24 09:34:25 UTC
svn commit: r698447 - in /portals/jetspeed-2:
applications/j2-admin/branches/security-refactoring/pom.xml
portal/branches/security-refactoring/pom.xml
Author: ate
Date: Wed Sep 24 00:34:25 2008
New Revision: 698447
URL: http://svn.apache.org/viewvc?rev=698447&view=rev
Log:
Adding maven deploy distribution management configuration and required WAGON extensions (for ftp and scp).
Note: I've only provided a *dummy* distributionManagement repository just to keep the maven deploy plugin happy.
I'm not keen on actually providing the real apache (ibiblio) distribution repository url(s) within the pom as accidentally executing maven deploy is far to easy...
And, only defining it commented out would mean having to change the pom just to be able to deploy.
The easier way to handle is by only have a dummy configuration and instead execute the deploy plugin with the altDeploymentRepository parameter, e.g.:
mvn deploy -DaltDeploymentRepository=serverId::default::url
Modified:
portals/jetspeed-2/applications/j2-admin/branches/security-refactoring/pom.xml
portals/jetspeed-2/portal/branches/security-refactoring/pom.xml
Modified: portals/jetspeed-2/applications/j2-admin/branches/security-refactoring/pom.xml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/branches/security-refactoring/pom.xml?rev=698447&r1=698446&r2=698447&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/branches/security-refactoring/pom.xml (original)
+++ portals/jetspeed-2/applications/j2-admin/branches/security-refactoring/pom.xml Wed Sep 24 00:34:25 2008
@@ -343,6 +343,18 @@
</dependency>
</dependencies>
+ <distributionManagement>
+ <!-- A dummy repository just to keep the maven deploy plugin happy.
+ To deploy: use mvn deploy -DaltDeploymentRepository=serverId::default::url
+ See also : http://www.apache.org/dev/repository-faq.html
+ http://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html
+ -->
+ <repository>
+ <id></id>
+ <url></url>
+ </repository>
+ </distributionManagement>
+
<!-- Build Configuration -->
<build>
@@ -385,6 +397,20 @@
</plugin>
</plugins>
</pluginManagement>
+
+ <extensions>
+ <extension>
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-ssh-external</artifactId>
+ <version>1.0-alpha-5</version>
+ </extension>
+ <extension>
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-ftp</artifactId>
+ <version>1.0-alpha-6</version>
+ </extension>
+ </extensions>
+
</build>
<!-- Project Information -->
Modified: portals/jetspeed-2/portal/branches/security-refactoring/pom.xml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/security-refactoring/pom.xml?rev=698447&r1=698446&r2=698447&view=diff
==============================================================================
--- portals/jetspeed-2/portal/branches/security-refactoring/pom.xml (original)
+++ portals/jetspeed-2/portal/branches/security-refactoring/pom.xml Wed Sep 24 00:34:25 2008
@@ -1161,6 +1161,18 @@
</dependencies>
</dependencyManagement>
+ <distributionManagement>
+ <!-- A dummy repository just to keep the maven deploy plugin happy.
+ To deploy: use mvn deploy -DaltDeploymentRepository=serverId::default::url
+ See also : http://www.apache.org/dev/repository-faq.html
+ http://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html
+ -->
+ <repository>
+ <id></id>
+ <url></url>
+ </repository>
+ </distributionManagement>
+
<dependencies>
<!-- Provided Dependencies -->
@@ -1199,18 +1211,6 @@
</dependencies>
- <distributionManagement>
-
- <!--
- <repository>
- <id>apache.releases</id>
- <name>Apache Release Distribution Repository</name>
- <url>scp://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository</url>
- </repository>
- -->
-
- </distributionManagement>
-
<!-- Global Build Configuration -->
<build>
@@ -1420,6 +1420,19 @@
</testResource>
</testResources>
+ <extensions>
+ <extension>
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-ssh-external</artifactId>
+ <version>1.0-alpha-5</version>
+ </extension>
+ <extension>
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-ftp</artifactId>
+ <version>1.0-alpha-6</version>
+ </extension>
+ </extensions>
+
</build>
<profiles>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org