summaryrefslogtreecommitdiffstats
path: root/maven-plugins/trunk/maven-bundle-plugin/README
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-02-14 08:45:19 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-02-14 08:45:19 +0000
commit4eb0f9b0655b4d36998dd2eddac9ca4afc887a3f (patch)
treec18140dfcc72622b671eb4de5cc7c4dc6a52c205 /maven-plugins/trunk/maven-bundle-plugin/README
parent45f9f1a855fc4ee21c6949414c117c42fbe9cccf (diff)
Start moving the bundle plugin out of the sca build
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@744428 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'maven-plugins/trunk/maven-bundle-plugin/README')
-rw-r--r--maven-plugins/trunk/maven-bundle-plugin/README58
1 files changed, 58 insertions, 0 deletions
diff --git a/maven-plugins/trunk/maven-bundle-plugin/README b/maven-plugins/trunk/maven-bundle-plugin/README
new file mode 100644
index 0000000000..0b58d65840
--- /dev/null
+++ b/maven-plugins/trunk/maven-bundle-plugin/README
@@ -0,0 +1,58 @@
+A Maven plugin used by the Tuscany SCA project that can build an OSGi bundle for a
+project's third-party dependencies, generate a directory containing OSGi bundles
+for all the project's module dependencies, and create Eclipse project files
+(.project, .classpath etc) to configure the Eclipse PDE environment for a project.
+
+To build, from the top maven-bundle-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 module should be released and the Tuscany SCA project updated to use
+the newly released version.
+
+To release this module:
+
+mvn release:prepare,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-bundle-plugin-1.0</deploy.altRepository>
+ </properties>
+ </profile>
+ </profiles>
+
+
+
+
+
+
+