sorry Massi I misunderstood,

you mean:

  <connid.bundle.version>2.1.5</connid.bundle.version>
<connid.bundle.name>org.connid.bundles.db.table-2.1.5.jar</connid.bundle.name>
<connid.bundle.version>1.3.5</connid.bundle.version>
<connid.bundle.name>org.connid.bundles.ldap-1.3.5.jar</connid.bundle.name>
<connid.bundle.version>1.2.6</connid.bundle.version>
<connid.bundle.name>org.connid.bundles.soap-1.2.6.jar</connid.bundle.name>
   <connid.bundle.version>0.7</connid.bundle.version>
<connid.bundle.name>org.connid.bundles.csvdir-0.7.jar</connid.bundle.name>


should be declared as:

  <connid.bundle.version>2.1.5</connid.bundle.version>
<connid.bundle.name>org.connid.bundles.db.table</connid.bundle.name>
<connid.bundle.version>1.3.5</connid.bundle.version>
<connid.bundle.name>org.connid.bundles.ldap</connid.bundle.name>
<connid.bundle.version>1.2.6</connid.bundle.version>
<connid.bundle.name>org.connid.bundles.soap</connid.bundle.name>
   <connid.bundle.version>0.7</connid.bundle.version>
<connid.bundle.name>org.connid.bundles.csvdir</connid.bundle.name>


rgds,
Nik
Hi Massi,

That's what I thought, looking at the mvn output, but when I looked for it, I found nothing:

[nik@anvil syncope-archetype]$ find . -name org.connid.bundles.soap-1.2.6.jar
[nik@anvil syncope-archetype]$

Searching for any soap jar; I'm guessing the connector is not the following (maybe it is):

[nik@anvil syncope-archetype]$ find . -name *soap*.jar
./core/target/syncope/WEB-INF/lib/cxf-rt-bindings-soap-2.7.5.jar
/core/target/war/work/org.apache.syncope/syncope-core/WEB-INF/lib/cxf-rt-bindings-soap-2.7.5.jar
[nik@anvil syncope-archetype]$

rgds,
Nik
Hi Nik,
the problem is your configuration because you are trying to download a org.connid.bundles.soap-1.2.6.jar-1.2.6.jar, you have declared two versions in your pom. But, why do you want to download a bundle already downloaded? (Soap bundle is downloaded by Syncope in test phases).

Massi

On 05/06/2013 10:08, Nik wrote:
Hi Guys,

I'm trying to avoid having to download and copy connector bundles separately when I do a syncope deploy
of the syncope-core war file to glassfish.

If I understand the wiki correctly I should follow the instructions in [1]. I have tried this and hit a few issues, I raised a bug on the doc
[2] but if I try and workaround the issue I get stuck later on.

Eventually when "mvn clean package" is complete with my workaround tp [2] I get the following error:

Downloading: https://repository.apache.org/content/repositories/snapshots/org/connid/bundles/org.connid.bundles.soap-1.2.6.jar/1.2.6/org.connid.bundles.soap-1.2.6.jar-1.2.6.jar Downloading: https://artifacts.alfresco.com/nexus/content/groups/public/org/connid/bundles/org.connid.bundles.soap-1.2.6.jar/1.2.6/org.connid.bundles.soap-1.2.6.jar-1.2.6.jar Downloading: http://repo.maven.apache.org/maven2/org/connid/bundles/org.connid.bundles.soap-1.2.6.jar/1.2.6/org.connid.bundles.soap-1.2.6.jar-1.2.6.jar [INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Syncope sample project ..................... SUCCESS [9.573s] [INFO] Apache Syncope sample project core ................ FAILURE [17.973s]
[INFO] Apache Syncope sample project console ............. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 31.297s
[INFO] Finished at: Wed Jun 05 09:53:09 CEST 2013
[INFO] Final Memory: 21M/184M
[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.soap-1.2.6.jar:jar:1.2.6 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]$

It is obviously not finding a repo to get the specified connector(s) from the pom. How can I resolve this issue so it can find the connector? Or rather, do the connector bundles need to be added to ASF (https://repository.apache.org/content/repositories/snapshots/)?

rgds,
Nik

[1] https://cwiki.apache.org/confluence/display/SYNCOPE/Install+connector+bundles [2] https://issues.apache.org/jira/browse/SYNCOPE-388


--
Massimiliano Perrone
Tel +39 393 9121310

Tirasa S.r.l.
Viale D'Annunzio 267 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net

Apache Syncope PMC Member
http://people.apache.org/~massi/

"L'apprendere molte cose non insegna l'intelligenza"
(Eraclito)


Reply via email to