"dimitris(a)jboss.org" wrote : That's my latest change (log4j.jar 1.2.8 ->
1.2.14) but how to upload the log4j. jar on the maven repository?
|
| I tried this and it will just store it on the local filesystem.
|
| X:\cvs\jboss-public\common\build>mvn install:install-file -DgroupId=apache-log4j
| -DartifactId=log4j -Dversion=1.2.14 -Dpackaging=jar -Dfile=log4j.jar
|
|
|
To effectively use the repos as a local store and the path to push content into the
repository, you need to setup your local repository to point to the cvs checkout of the
repository.jboss.com/maven2 cvs module. This is done in your local ~/.m2/settings.xml or
the mvn install conf/settings.xml. My settings.xml looks like:
| [starksm@succubus Bios]$ cat ~/.m2/settings.xml
| <settings>
| <!-- This could point to the cvs checkout of the
|
repository.jboss.com/maven2 contents, or a separate local
| maven repo
| -->
|
<
localRepository>/usr/Repository/repository.jboss.com/maven2</localR...
| <profiles>
| <profile>
| <id>local-properties</id>
| <properties>
| <!-- This must point to the cvs or svn checkout of the jboss repository
-->
|
<jboss.repository.root>/usr/Repository/repository.jboss.com</jboss.repository.root>
| <!-- This must point to the cvs checkout of the
|
repository.jboss.com/maven2 contents
| -->
|
<
maven.cvs.root>/usr/Repository/repository.jboss.com/maven2</maven.c...
| </properties>
| </profile>
| </profiles>
|
| <activeProfiles>
| <activeProfile>local-properties</activeProfile>
| </activeProfiles>
| </settings>
|
where the /usr/Repository/repository.jboss.com path is where I have checked out the
repository.jboss.com contents.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032863#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...