You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Hall, Neil (CBC)" <Ne...@CapBlueCross.COM> on 2007/05/18 20:56:49 UTC

Add and Label Artifact in SCM after Release:Perform

We are in the process of converting our build lifecycle from using ANT to Maven and are using Subversion as a SCM repository.  Our desire is to version in SCM the project source and Pom.xml.  However, not the "Target" directory.  This is already working by using the release:prepare and release:perform goals.  We are able to perform a complete build, label the source in SCM and move our artifacts to our Proximity repository.  

Our problem:
However, after the release:perform, we desire to add the project artifact (ProjectName.war) in our Subversion repository (without the version number), tag the artifact, and copy the artifact to a specific directory (Tomcat webapps).  Can anyone provide assistance how to perform this task?  Lastly, if a new goal is necessary, any recommendation how to bind this new goal to the lifecycle to run after the release:perform?  

Any assistance is appreciated.  Thanks in advance...

Regards,
Neil Hall

Confidentiality Notice:

This e-mail is intended only for the personal and confidential use of the individual to whom it is addressed and may contain information that is privileged, confidential and protected by law. If you are not the intended recipient, you are hereby notified that any use or disclosure of this information is strictly prohibited. If you have received this message in error, please notify the sender immediately by reply e-mail and delete the original message. Your compliance is appreciated.  



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Add and Label Artifact in SCM after Release:Perform

Posted by Steven Rowe <sa...@syr.edu>.
Hi Neil,

My approach for a similar issue was to create a plugin with the
necessary functionality, then add the goal to the configuration for
maven-release-plugin in my POM, e.g.:

<plugin>
  <artifactId>maven-release-plugin</artifactId>
  <configuration>
    <goals>deploy site-deploy myplugin:mygoal</goals>
    ....

Since I didn't know how to get the release tag directly from the release
plugin, I had my new plugin read in the release.properties file that
release:prepare generates.

Steve

Hall, Neil (CBC) wrote:
> We are in the process of converting our build lifecycle from using ANT to Maven and are using Subversion as a SCM repository.  Our desire is to version in SCM the project source and Pom.xml.  However, not the "Target" directory.  This is already working by using the release:prepare and release:perform goals.  We are able to perform a complete build, label the source in SCM and move our artifacts to our Proximity repository.  
> 
> Our problem:
> However, after the release:perform, we desire to add the project artifact (ProjectName.war) in our Subversion repository (without the version number), tag the artifact, and copy the artifact to a specific directory (Tomcat webapps).  Can anyone provide assistance how to perform this task?  Lastly, if a new goal is necessary, any recommendation how to bind this new goal to the lifecycle to run after the release:perform?  
> 
> Any assistance is appreciated.  Thanks in advance...
> 
> Regards,
> Neil Hall
> 
> Confidentiality Notice:
> 
> This e-mail is intended only for the personal and confidential use of the individual to whom it is addressed and may contain information that is privileged, confidential and protected by law. If you are not the intended recipient, you are hereby notified that any use or disclosure of this information is strictly prohibited. If you have received this message in error, please notify the sender immediately by reply e-mail and delete the original message. Your compliance is appreciated.  


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org