[ https://issues.apache.org/jira/browse/SYNCOPE-388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francesco Chicchiriccò closed SYNCOPE-388. ------------------------------------------ Resolution: Not A Problem The "missing line" in the core/pom.xml section is not actually missing: due to Maven multimodule project handling in fact, you need to specify each dependency version only in the parent pom.xml > Missing information in "Install connector bundles" wiki page > ------------------------------------------------------------ > > Key: SYNCOPE-388 > URL: https://issues.apache.org/jira/browse/SYNCOPE-388 > Project: Syncope > Issue Type: Bug > Components: documentation > Affects Versions: 1.1.1 > Reporter: Nik Tetteh-Lartey > Priority: Minor > > The wiki > https://cwiki.apache.org/confluence/display/SYNCOPE/Install+connector+bundles > Has a missing line > in the the section: > modify core/pom.xml file by adding the following dependency element. > Which leads to the following error: > [nik@anvil syncope-archetype]$ mvn clean package -Dmaven.test.skip=true > -Dbundles.directory=/opt/syncope/bundles -Dlog.directory=/opt/syncope/log > /usr/lib/jvm/java > [INFO] Scanning for projects... > [ERROR] The build could not read 1 project -> [Help 1] > [ERROR] > [ERROR] The project org.apache.syncope:core:1.1.2-SNAPSHOT > (/home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/core/pom.xml) > has 1 error > [ERROR] 'dependencies.dependency.version' for > org.connid.bundles:org.connid.bundles.csvdir-0.7.jar:jar is missing. @ line > 110, column 16 > [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/ProjectBuildingException > I tried adding > <version>${connid.bundle.version}</version> > to > core/pom.xml > BUT this only causes a failure later on: > i.e. > : > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Apache Syncope sample project ..................... SUCCESS [10.048s] > [INFO] Apache Syncope sample project core ................ FAILURE [1:30.372s] > [INFO] Apache Syncope sample project console ............. SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 1:40.796s > [INFO] Finished at: Tue Jun 04 12:23:54 CEST 2013 > [INFO] Final Memory: 20M/147M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal on project core: Could not resolve > dependencies for project org.apache.syncope:core:war:1.1.2-SNAPSHOT: Could > not find artifact > org.connid.bundles:org.connid.bundles.csvdir-0.7.jar:jar:0.7 in ASF > (https://repository.apache.org/content/repositories/snapshots/) -> [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/DependencyResolutionException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn <goals> -rf :core > [nik@anvil syncope-archetype]$ -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira