[jboss-svn-commits] JBL Code SVN: r31444 - labs/jbosslabs/labs-3.0-build.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Fri Feb 5 06:32:18 EST 2010
Author: lkrzyzanek
Date: 2010-02-05 06:32:17 -0500 (Fri, 05 Feb 2010)
New Revision: 31444
Modified:
labs/jbosslabs/labs-3.0-build/README.txt
Log:
Added more details about deploying to the repo
Modified: labs/jbosslabs/labs-3.0-build/README.txt
===================================================================
--- labs/jbosslabs/labs-3.0-build/README.txt 2010-02-05 11:28:28 UTC (rev 31443)
+++ labs/jbosslabs/labs-3.0-build/README.txt 2010-02-05 11:32:17 UTC (rev 31444)
@@ -17,7 +17,7 @@
2.1 How to release module and deploy to the maven repository
* Check that you have in your pom.xml right version (not SNAPSHOT) like <version>1.0.0</version>
* Go to trunk directory and run: mvn clean package
- * Make sure that you have your creditials in .m2/settings.xml like this:
+ * Make sure that you have working usrename/password for access to our MVN Repo in .m2/settings.xml like this:
<servers>
<server>
<id>labs-repo</id>
@@ -29,9 +29,10 @@
* Deploy to private maven repo (change name of jar file to deployed file) - more info in step 2.2:
mvn deploy:deploy-file -Dfile=target/nukes-forums-migration-1.0.0.jar -DpomFile=pom.xml -Durl=svn:https://svn.jboss.org/repos/cms/prod/repo/maven2 -DrepositoryId=labs-repo -f deploy.pom
mvn deploy:deploy-file -Dfile=target/nukes-forums-migration-1.0.0-sources.jar -Dclassifier=sources -DpomFile=pom.xml -Durl=svn:https://svn.jboss.org/repos/cms/prod/repo/maven2 -DrepositoryId=labs-repo -f deploy.pom
- * Create a tag for artifact
+ * Create a tag by svn copy (Change locations and message):
+svn copy https://svn.jboss.org/repos/labs/labs/jbosslabs/labs-3.0-build/integration/cs-nfm/trunk/ https://svn.jboss.org/repos/labs/labs/jbosslabs/labs-3.0-build/integration/cs-nfm/tags/cs-nfm-1.0.0 -m "tag for version 1.0.0"
+ * Change in your pom version to next number with suffix SNAPSHOT like 1.0.1-SNAPSHOT
-
3. New modules
*NOTE Please execute below commands after executing build system at least once.*
@@ -62,6 +63,7 @@
4.1 Eclipse
To generate eclipse project files (.classpath, .project) type mvn eclipse:eclipse in root directory, then choose "Import existing projects into Workspace" in Eclipse. Remember to set M2_REPO variable to your maven2 repository (usually ~/.m2/repository)
+If you want to have also sources run mvn eclipse:eclipse -DdownloadSources=true
4.2 Idea
More information about the jboss-svn-commits
mailing list