Create release from tag

2010-06-03 Thread Max Grigoriev
Hi everybody,

Is it possible and if yes then how to create new release from existed SVN tag.

I have 1.0.2 tag with deployed jar to own maven repository. And there're many 
changes in current trunk. The next release will be in couple weeks but now we 
found critical bug in 1.0.2 version.
Early when we didn't use maven we would create 1.0.2_01 svn tag and all jars by 
hands.  How can we create new release from existed tag by maven release plugin?

Thank you
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Remote resource plugin doesn't work in release plugin

2009-11-17 Thread Max Grigoriev
Hi everybody,

 

I have a project which uses remote-resources (hibernate mapping files).

 

My pom.xml

 

...



    maven-remote-resources-plugin

    1.1

    

    

    

    process

    

    

    

    
com.myproj.sws2:sws-mapping:${sws.mapping.version}

    

    ${project.build.directory}

    false

    

    

    



...



    maven-release-plugin

    2.0-beta-9

    

    https://path-to-svn/tags

    



...

 

 

When I make mvn package -Dsws.mapping.version=2.0.0 - everything's ok and 
resources are resolved and downloaded also they are put to WAR file.

 

But when I try to release this project:

 

mvn release:clean release:prepare  -Dsws.mapping.version=2.0.0  
-Dusername=svn_user -Dpassword=svn_passwd

 

 

And I  receive error:

[INFO] [INFO] [remote-resources:process {execution: default}]

[INFO] [WARNING] Unable to get resource 'com.myproj.sws2:sws-mapping:jar:null' 
from repository myrep (http://maven.myrepcom:8081): While configuring wagon for 
'mavuser':

Unable to apply wagon configuration.

 [INFO] [INFO] 


[INFO] [ERROR] BUILD ERROR

[INFO] [INFO] 


[INFO] [INFO] Resources JAR cannot be found.

 

As you can see, resource version is unset - 
'com.myproj.sws2:sws-mapping:jar:null'. 

 

Why my property (sws.mapping.version) is null not 2.0.0 as I set in command 
line ?

 

 

Thanks



Dependency of 2 modules

2009-10-15 Thread Max Grigoriev
Hi everybody,

 

I have parent module(pom) and 2 children - jar + war. Is it possible to make 
rule that in case of failure of war module, jar module isn't installed to 
repository? Because now jar module is OK and it's installed to rep, but then in 
war module there're errors in integration tests and war isn't installed. So I 
have in reps just one good project -  it would be great if I can configure 
maven to install to rep only in case of all children modules pass test and 
integration-test



Dependency of 2 modules

2009-10-14 Thread Max Grigoriev
Hi everybody,

 

I have parent module(pom) and 2 children - jar + war. Is it possible to
make rule that in case of failure of war module, jar module isn't
installed to repository? Because now jar module is OK and it's installed
to rep, but then in war module there're errors in integration tests and
war isn't installed. So I have in reps just one good project -  it would
be great if I can configure maven to install to rep only in case of all
children modules pass test and integration-test