You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Dennis Lundberg <de...@apache.org> on 2006/12/12 20:24:13 UTC
Re: svn commit: r485976 - /maven/plugins/trunk/pom.xml
See comment inline...
joakime@apache.org wrote:
> Author: joakime
> Date: Mon Dec 11 17:47:14 2006
> New Revision: 485976
>
> URL: http://svn.apache.org/viewvc?view=rev&rev=485976
> Log:
> Parameterizing the staging profile.
>
> Modified:
> maven/plugins/trunk/pom.xml
>
> Modified: maven/plugins/trunk/pom.xml
> URL: http://svn.apache.org/viewvc/maven/plugins/trunk/pom.xml?view=diff&rev=485976&r1=485975&r2=485976
> ==============================================================================
> --- maven/plugins/trunk/pom.xml (original)
> +++ maven/plugins/trunk/pom.xml Mon Dec 11 17:47:14 2006
> @@ -66,7 +66,7 @@
> <distributionManagement>
> <site>
> <id>apache.website</id>
> - <url>scp://people.apache.org/www/maven.apache.org/plugins/</url>
> + <url>scp://people.apache.org/www/maven.apache.org/plugins/${pom.artifactId}/${version}</url>
> </site>
> </distributionManagement>
> <modules>
The way we deploy plugin sites today does not include the version number
in the path. If this is going to change I'd like to see a vote about it
on the dev list first. The url should be:
<url>scp://people.apache.org/www/maven.apache.org/plugins/${pom.artifactId}/</url>
> @@ -123,7 +123,7 @@
> </plugin>
> </plugins>
> </pluginManagement>
> - </build>
> + </build>
> <reporting>
> <plugins>
> </plugins>
> @@ -175,15 +175,15 @@
> </build>
> </profile>
> <profile>
> - <!-- Problems: it's running twice, and not signing JavaDoc and Source JARs -->
> - <id>stageRelease</id>
> + <!-- Problems: it's not signing JavaDoc and Source JARs -->
> + <id>staging</id>
> <build>
> <plugins>
> <!-- We want the sources JAR published with the release -->
> <plugin>
> <inherited>true</inherited>
> <artifactId>maven-source-plugin</artifactId>
> - <version>2.0.2-SNAPSHOT</version>
> + <version>2.0.2-SNAPSHOT</version>
> <executions>
> <execution>
> <id>attach-sources</id>
> @@ -197,7 +197,7 @@
> <plugin>
> <inherited>true</inherited>
> <artifactId>maven-javadoc-plugin</artifactId>
> - <version>2.2-SNAPSHOT</version>
> + <version>2.2-SNAPSHOT</version>
> <executions>
> <execution>
> <id>attach-javadocs</id>
> @@ -207,26 +207,16 @@
> </execution>
> </executions>
> </plugin>
> - <!-- We want to deploy the artifact to a staging location for perusal -->
> - <!-- can't configure this twice of the deploy phase runs twice
> + <!-- We want to deploy the artifact to a staging location for perusal -->
> <plugin>
> - <inherited>true</inherited>
> + <inherited>true</inherited>
> <artifactId>maven-deploy-plugin</artifactId>
> <version>2.3-SNAPSHOT</version>
> - <executions>
> - <execution>
> - <id>release-deploy</id>
> - <goals>
> - <goal>deploy</goal>
> - </goals>
> - <configuration>
> - <updateReleaseInfo>true</updateReleaseInfo>
> - <altDeploymentRepository>jvanzyl::default::scp://people.apache.org/x1/home/jvanzyl/public_html/stage</altDeploymentRepository>
> - </configuration>
> - </execution>
> - </executions>
> + <configuration>
> + <updateReleaseInfo>true</updateReleaseInfo>
> + <altDeploymentRepository>${deploy.altRepository}</altDeploymentRepository>
> + </configuration>
> </plugin>
> - -->
> <!-- We want to deploy the site to a staging location for perusal -->
> <plugin>
> <artifactId>maven-site-plugin</artifactId>
> @@ -237,15 +227,18 @@
> <goal>stage-deploy</goal>
> </goals>
> <configuration>
> - <stagingSiteURL>scp://people.apache.org/x1/home/jvanzyl/public_html/stage</stagingSiteURL>
> + <stagingSiteURL>${staging.siteURL}</stagingSiteURL>
> </configuration>
> </execution>
> </executions>
> - </plugin>
> + </plugin>
> <!-- We want to sign the artifact, the POM, and all attached artifacts -->
> <plugin>
> <artifactId>maven-gpg-plugin</artifactId>
> <version>1.0-SNAPSHOT</version>
> + <configuration>
> + <passphrase>${gpg.passphrase}</passphrase>
> + </configuration>
> <executions>
> <execution>
> <goals>
> @@ -254,7 +247,7 @@
> </execution>
> </executions>
> </plugin>
> - <!-- We want to package up license resources in the JARs produced -->
> + <!-- We want to package up license resources in the JARs produced -->
> <plugin>
> <artifactId>maven-remote-resources-plugin</artifactId>
> <executions>
> @@ -269,9 +262,9 @@
> </configuration>
> </execution>
> </executions>
> - </plugin>
> + </plugin>
> </plugins>
> </build>
> - </profile>
> + </profile>
> </profiles>
> </project>
>
>
--
Dennis Lundberg
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: svn commit: r485976 - /maven/plugins/trunk/pom.xml
Posted by Mykel Alvis <my...@weirdness.com>.
I have a parent pom that defines the SCM of itself and all it's children by
using
scm:svn:http://${scm.host}/svnrepos/${object.namespace}/${artifactId}/trunk
and I end up with
scm:svn:http://${scm.host}/svnrepos/${object.namespace
}/${artifactId}/trunk/${artifactId}
I'm not sure if this is still going on with more recent updates, but
currently when I do a help:effective-pom, the SCM URL has the artifactId
appended.
Clearly this is sub-optimal. Maven shouldn't invisibly append things to my
configuration (assuming it actually IS doing this, of course).
Can someone tell me where this happens and how to prevent it?
>
> > The way we deploy plugin sites today does not include the version
> > number in the path. If this is going to change I'd like to see a
> > vote about it on the dev list first. The url should be:
> >
> > <url>scp://people.apache.org/www/maven.apache.org/plugins/$
> > {pom.artifactId}/</url>
>
> Actually, it should be what it originally was. Neither of these will
> work due to the automatic appending of the artifact ID.
>
> Joakim - please roll back.
>
> - Brett
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>
--
I'm just an unfrozen caveman software developer. I don't understand your
strange, "modern" ways.
Re: svn commit: r485976 - /maven/plugins/trunk/pom.xml
Posted by Brett Porter <br...@apache.org>.
>> --- maven/plugins/trunk/pom.xml (original)
>> +++ maven/plugins/trunk/pom.xml Mon Dec 11 17:47:14 2006
>> @@ -66,7 +66,7 @@
>> <distributionManagement>
>> <site>
>> <id>apache.website</id>
>> - <url>scp://people.apache.org/www/maven.apache.org/plugins/</
>> url>
>> + <url>scp://people.apache.org/www/maven.apache.org/plugins/$
>> {pom.artifactId}/${version}</url>
>> </site>
>> </distributionManagement>
>> <modules>
>
> The way we deploy plugin sites today does not include the version
> number in the path. If this is going to change I'd like to see a
> vote about it on the dev list first. The url should be:
>
> <url>scp://people.apache.org/www/maven.apache.org/plugins/$
> {pom.artifactId}/</url>
Actually, it should be what it originally was. Neither of these will
work due to the automatic appending of the artifact ID.
Joakim - please roll back.
- Brett
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org