maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabriele Contini (JIRA)" <j...@codehaus.org>
Subject [jira] Closed: (MRELEASE-176) setting.xml profile properties ignored during release:prepare
Date Thu, 16 Nov 2006 20:06:31 GMT
     [ http://jira.codehaus.org/browse/MRELEASE-176?page=all ]

Gabriele Contini closed MRELEASE-176.
-------------------------------------

    Resolution: Cannot Reproduce

Today i was not able to reproduce the problem I reported yesterday. It might have been caused
by an uncomplete commit.

> setting.xml profile properties ignored during release:prepare
> -------------------------------------------------------------
>
>                 Key: MRELEASE-176
>                 URL: http://jira.codehaus.org/browse/MRELEASE-176
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>            Reporter: Gabriele Contini
>
> In ~/.m2/settings.xml i defined the following profile:
>   <profiles>
>     <profile>
>       <id>deploy-env</id>
>       <activation>
>         <activeByDefault>true</activeByDefault>
>       </activation>
>       <properties>
>         <maven.test.skip>true</maven.test.skip>
>         <jar.keystore>/home/user/applet-sign.jks</jar.keystore>
> 	<jar.storepass>changeit</jar.storepass>
> 	<jar.alias>applet</jar.alias>
>       </properties>
>     </profile>
> </profiles>
> ...
> in pom.xml i defined the following:
> 	<build>
> 		<plugins>
> 			<plugin>
> 				<groupId>org.apache.maven.plugins</groupId>
> 				<artifactId>maven-jar-plugin</artifactId>
> 				<executions>
> 					<execution>
> 						<goals>
> 							<goal>sign</goal>
> 						</goals>
> 					</execution>
> 				</executions>
> 				<configuration>
> 					<keystore>${jar.keystore}</keystore>
> 					<alias>${jar.alias}</alias>
> 					<storepass>${jar.storepass}</storepass>
> 					<verify>true</verify>
> 					<index>true</index>
> 				</configuration>
> 			</plugin>
> 		</plugins>
> 	</build>
> 	<profiles>
>      <profile>
>       <id>developer-profile</id>
>       <activation>
>         <activeByDefault>true</activeByDefault>
>       </activation>
>       <properties>
>         <jar.keystore>${basedir}/fake-applet.jks</jar.keystore>
> 		<jar.alias>fake</jar.alias>
> 		<jar.storepass>fake</jar.storepass>        
>       </properties>
>      </profile>
>     </profiles>
> issuing a "mvn install" command the "deploy-profile" defined in settings.xml wins over
the profile defined into the pom.xml, whereas issuing a "mvn release:prepare" the "deploy-profile"
is ignored.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message