apache-tuscany/maven-plugins/trunk/maven-tuscany-plugin
antelder 2f1dee6985 Bump version up to m5
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@949132 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 08:49:50 +00:00
..
src/main/java/org/apache/tuscany/maven/plugin Use 'default' for default domain name to match rest of tuscany code 2010-04-25 21:17:49 +00:00
LICENSE Add doc and legal files 2009-04-22 15:14:46 +00:00
NOTICE Add doc and legal files 2009-04-22 15:14:46 +00:00
pom.xml Bump version up to m5 2010-05-28 08:49:50 +00:00
README Fix a couple of typos 2009-04-24 07:46:23 +00:00
RELEASE_NOTES Update typos and grammer in release notes 2009-10-28 13:14:35 +00:00

This module is a Maven plugin for starting a Tuscany runtime which runs the project as an SCA contribution.

To configure the project add the following to the pom.xml:

   <build>
      ...
      <plugins>
         <plugin>
            <groupId>org.apache.tuscany.maven.plugins</groupId>
            <artifactId>maven-tuscany-plugin</artifactId>
         </plugin>
      ...
      </plugins>
   </build>

To run the project in Tuscany use "mvn tuscany:run"


Building this plugin module
---------------------------

To build, from the top maven-tuscany-plugin run maven:

mvn

or once all the dependencies have been downloaded and a succesful build run use:

mvn clean install -o

So as to avoid the Tuscany SCA project using SNAPSHOT dependencies any changes
to this maven-tuscany-plugin module should be released and the Tuscany SCA
project updated to use the newly released version.

To release this module:

mvn release:prepare

followed by: 

mvn release:perform

That will automatically create an SVN tag from the release, update the version 
numbers in the pom.xml files in the trunk and tag, and deploy the artifacts to the
staging repository defined by the <deploy.altRepository> in your Maven settings.xml.
While running it will prompt you for the names for the tag, release version etc.

In your maven settings.xml file you must have a server defined named "apache.releases",
and a profile named "release". For example:

  <servers>
    ...
    <server>
      <id>apache.releases</id>
      <username>antelder</username>
      <privateKey>\ant\id_dsa</privateKey>
      <passphrase>xxx</passphrase>
      <directoryPermissions>775</directoryPermissions>
      <filePermissions>664</filePermissions>
    </server>
  </servers>

  <profiles>
    ...
    <profile>
      <id>release</id>
      <properties>
        <gpg.passphrase>...</gpg.passphrase>
        <deploy.altRepository>apache.releases::default::scp://people.apache.org/home/antelder/public_html/tuscany/maven-tuscany-plugin-alpha1-RC1</deploy.altRepository>
      </properties>
    </profile>
  </profiles>

Call a vote to release the module, eg: http://apache.markmail.org/message/6jnlfxbx7uklt5nv

After a successfule vote copy the staging artifacts to the live repository, eg: 

cp -p -v -R  maven-tuscany-plugin-alpha1/org/apache/tuscany/maven/plugins/ /x1/www/people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/tuscany/maven/plugins