On 09/03/2012 14:04, Dino Anzellotti wrote:
Hi guys,
hope you can enlighten me on this topic.
Maybe a lack of knowledge on maven stuff could get me in confusion.

Till now for my local syncope project used remote artifacts, enjoying the 
overlay feature
In this way I was able to create and maintenance my project without any 
problems.

To be more involved in development stuff, I would like that my syncope project 
which uses the trunk version of syncope.

There is no rush to checkout sources from SVN if you would like to use latest SNAPSHOT artifacts, since Jenkins will deploy updated snapshot artifacts at every build.
You can just generate your project with

mvn archetype:generate \
    -DarchetypeGroupId=org.apache.syncope \
    -DarchetypeArtifactId=syncope-archetype \
    -DarchetypeVersion=1.1-SNAPSHOT \
    -DgroupId=net.tirasa.syncope \
    -DartifactId=test \
    -Dversion=1.0-SNAPSHOT \
-DarchetypeRepository=https://repository.apache.org/content/repositories/snapshots/

...and continue enjoying WAR overlays ;-)

Anyway, you are more than welcome if you would like to get more involved in Syncope development!! First of all, did you check out my quick intro at [1]?

What I did is:

- check out the trunk version of syncope

svn co https://svn.apache.org/repos/asf/incubator/syncope/trunk/ <http://svn.apache.org/repos/asf/incubator/syncope/trunk/> syncope

- build and install the trunk version of syncope on my local repository
- install the artifact of the trunk version on my local repository

cd syncope
mvn -P all clean install

- generate my local project with the local artifact

mvn archetype:generate \
    -DarchetypeGroupId=org.apache.syncope \
    -DarchetypeArtifactId=syncope-archetype \
    -DarchetypeVersion=1.1-SNAPSHOT \
    -DgroupId=net.tirasa.syncope \
    -DartifactId=test \
    -Dversion=1.0-SNAPSHOT \
    -DarchetypeRepository=~/.m2/repository

(note the difference with the same command reported above)

Is this procedure correct??
I ask this question since the build looks correct, but it does not work after 
the deploy on tomcat and I want to make sure I am not doing weird things

About deploying to Tomcat, please check with [2], waiting for the docs to be imported in ASF Confluence.

Please let us know about your progresses.

Regards.

[1] http://mail-archives.apache.org/mod_mbox/incubator-syncope-dev/201202.mbox/%[email protected]%3E [2] http://wiki.syncope-idm.org/index.php?title=GettingStarted/RunDeployment

--
Francesco Chicchiriccò

Apache Cocoon PMC and Apache Syncope PPMC Member
http://people.apache.org/~ilgrosso/

Reply via email to