Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Not A Problem
-
1.1.1
-
None
-
None
Description
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]$