Hi Fabio,

So if I follow you correctly:

1) I run

mvn archetype:generate \
    -DarchetypeGroupId=org.apache.syncope \
    -DarchetypeArtifactId=syncope-archetype \
    -DarchetypeRepository=http://repo1.maven.org/maven2  \
    -DarchetypeVersion=1.1.2-SNAPSHOT


2) then  add all the followingto the generated from 1) pom.xml

  <repositories>
    <repository>
      <id>ASF</id>
      <url>https://repository.apache.org/content/repositories/snapshots/</url>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
    </repository>
  </repositories>

And that's it!

I'll try and let you know.

rgds,
Nik

Il 27/05/2013 09:58, Nik ha scritto:
Hi fellow idm-mers,

I'm following the instructions in [1] to builda project.
I'd like to base the build at 1.1.2-SNAPSHOT or 1.2.0-SNAPSHOT using the info in [2]. If I follow the instructions [1] "Snapshot (development) releases" I should use the following to get a correct SNAPSHOT build:

mvn archetype:generate \
-DarchetypeGroupId=org.apache.syncope \
-DarchetypeArtifactId=syncope-archetype \
-DarchetypeRepository=http://repository.apache.org/content/repositories/snapshots \
-DarchetypeVersion=1.2.0-SNAPSHOT

But this doesn't work, I must be missing something somewhere, because I only get to 1.1.1

Any guidance to get the core and console at 1.1.2-SNAPSHOT or 1.2.0-SNAPSHOT will be much appreciated.

Best Regards,
Nik

[1] https://cwiki.apache.org/confluence/display/SYNCOPE/Create+a+new+Syncope+project [2] https://repository.apache.org/content/repositories/snapshots/org/apache/syncope/syncope-archetype/
Hi Nik, may be you forgot to add the SNAPSHOT repository: point 2 of [1]/Snapshot (development) releases.

Best regards,
F.


Reply via email to