Thanks Andrea,

Updating both the parent and core poms as you advise (and also doing the same for the console pom, just in case!).
gives the following:

[nik@anvil syncope-archetype]$ rm -rf ~/.m2
[nik@anvil syncope-archetype]$ mvn clean package -Dbundles.directory=/opt/syncope/bundles -Dlog.directory=/opt/syncope/log
/usr/lib/jvm/java
[INFO] Scanning for projects...

:
:
[INFO] Configured Artifact: org.connid.bundles:org.connid.bundles.db.table:2.1.5:jar Downloading: https://repository.apache.org/content/repositories/snapshots/org/connid/bundles/org.connid.bundles.db.table/2.1.5/org.connid.bundles.db.table-2.1.5.jar Downloading: https://artifacts.alfresco.com/nexus/content/groups/public/org/connid/bundles/org.connid.bundles.db.table/2.1.5/org.connid.bundles.db.table-2.1.5.jar Downloading: http://repo.maven.apache.org/maven2/org/connid/bundles/org.connid.bundles.db.table/2.1.5/org.connid.bundles.db.table-2.1.5.jar [INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Syncope sample project ..................... SUCCESS [34.787s]
[INFO] Apache Syncope sample project core ................ FAILURE [6:12.988s]
[INFO] Apache Syncope sample project console ............. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6:56.866s
[INFO] Finished at: Fri Jun 07 12:42:01 CEST 2013
[INFO] Final Memory: 30M/104M
[INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.7:copy (set-bundles) on project core: Unable to find artifact. Could not find artifact org.connid.bundles:org.connid.bundles.db.table:jar:2.1.5 in ASF (https://repository.apache.org/content/repositories/snapshots/)
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=org.connid.bundles -DartifactId=org.connid.bundles.db.table -Dversion=2.1.5 -Dpackaging=jar -Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the file there: [ERROR] mvn deploy:deploy-file -DgroupId=org.connid.bundles -DartifactId=org.connid.bundles.db.table -Dversion=2.1.5 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR]
[ERROR] org.connid.bundles:org.connid.bundles.db.table:jar:2.1.5
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] ASF (https://repository.apache.org/content/repositories/snapshots/, releases=true, snapshots=true), [ERROR] activiti (https://artifacts.alfresco.com/nexus/content/groups/public/, releases=true, snapshots=true), [ERROR] sonatype (https://oss.sonatype.org/content/repositories/snapshots, releases=false, snapshots=true), [ERROR] apache.snapshots (http://repository.apache.org/snapshots, releases=false, snapshots=true), [ERROR] central (http://repo.maven.apache.org/maven2, releases=true, snapshots=false)
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :core
[nik@anvil syncope-archetype]$


POINTS TO NOTE:

http://repo.maven.apache.org/maven2/org/connid/bundles/org.connid.bundles.db.table/2.1.5/org.connid.bundles.db.table-2.1.5.jar
DOES NOT EXIST

http://repo.maven.apache.org/maven2/org/connid/bundles/db/org.connid.bundles.db.table/2.1.5/org.connid.bundles.db.table-2.1.5.jar
DOES EXIT

CONCLUSION

Need to add ../db/.. or softlink db with org.connid.bundles.db.tablepath??? A bug perhaps?


rgds,
Nik

Reply via email to