You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@syncope.apache.org by Nik <ni...@usharesoft.com> on 2013/06/05 10:08:35 UTC
Extending Syncope: Install connector bundles
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
Re: Extending Syncope: Install connector bundles
Posted by Nik <ni...@usharesoft.com>.
Well I agree :-)
Sometimes we only see what our brain thinks we see :-)
still when it works I see a light ;-)
Nik (not a Maven at all)
> On 07/06/2013 15:23, Nik wrote:
>> and finally... maven makes a bit more sense than 10 mins ago:
>
> Oooooooh, we are lucky that Maven only requires 3 coordinates minimal
> (groupId, artifactId, version number) for locating a specific
> dependency, otherwise the number of possible combinations would have
> been too high for a single mail thread :-O
> --
> Francesco Chicchiriccò
>
> ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
> http://people.apache.org/~ilgrosso/
Re: Extending Syncope: Install connector bundles
Posted by Francesco Chicchiriccò <il...@apache.org>.
On 07/06/2013 15:23, Nik wrote:
> and finally... maven makes a bit more sense than 10 mins ago:
Oooooooh, we are lucky that Maven only requires 3 coordinates minimal
(groupId, artifactId, version number) for locating a specific
dependency, otherwise the number of possible combinations would have
been too high for a single mail thread :-O
--
Francesco Chicchiriccò
ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
http://people.apache.org/~ilgrosso/
Re: Extending Syncope: Install connector bundles
Posted by Nik <ni...@usharesoft.com>.
and finally... maven makes a bit more sense than 10 mins ago:
Thanks guys:
[INFO] Assembling webapp [console] in
[/home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/console/target/syncope-console]
[INFO] Processing war project
[INFO] Copying webapp resources
[/home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/console/src/main/webapp]
[INFO] Processing overlay [ id org.apache.syncope:syncope-console]
[INFO] Webapp assembled in [652 msecs]
[INFO] Building war:
/home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/console/target/syncope-console.war
[INFO] WEB-INF/web.xml already added, skipping
[INFO]
[INFO] --- maven-site-plugin:3.2:attach-descriptor (attach-descriptor) @
console ---
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Syncope sample project ..................... SUCCESS [2.071s]
[INFO] Apache Syncope sample project core ................ SUCCESS [6.343s]
[INFO] Apache Syncope sample project console ............. SUCCESS [4.236s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 12.976s
[INFO] Finished at: Fri Jun 07 15:22:24 CEST 2013
[INFO] Final Memory: 28M/397M
[INFO]
------------------------------------------------------------------------
[nik@anvil syncope-archetype]$ find . -name
org.connid.bundles.db.table-2.1.5.jar
[nik@anvil syncope-archetype]$ ls -lrt /opt/syncope/bundles/
total 5200
-rw-rw-r--. 1 nik nik 3320691 Jun 7 14:49 org.connid.bundles.soap-1.2.6.jar
-rw-rw-r--. 1 nik nik 1515037 Jun 7 14:49 org.connid.bundles.csvdir-0.7.jar
-rw-rw-r--. 1 nik nik 204027 Jun 7 14:49 org.connid.bundles.ldap-1.3.5.jar
-rw-rw-r--. 1 nik nik 281325 Jun 7 15:22
org.connid.bundles.db.table-2.1.5.jar
[nik@anvil syncope-archetype]$
> The problem lies in the numbers
>
> 2.5.1 does not equal
> 2.1.5
>
> yet 2.1.5 is the one I'm looking for
>
> i.e.
> -bash-4.1# ls -l org.connid.bundles.db.table-2.1.5.jar
> -rw-r--r-- 1 glassfish glassfish 281325 May 28 10:30
> org.connid.bundles.db.table-2.1.5.jar
>
>
> RE:
>
> http://repo.maven.apache.org/maven2/org/connid/bundles/db/org.connid.bundles.db.table/2.5.1/org.connid.bundles.db.table-2.5.1.jar
> 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
>
>> Hehe Francesco :-) I understand and I did this earlier, aswell:
>>
>> VIZ:
>> [nik@anvil syncope-archetype]$ diff ./core/pom.xml
>> ./core/core_pom_ori.xml
>> 110,114d109
>> < <dependency>
>> < <groupId>org.connid.bundles.db</groupId>
>> < <artifactId>org.connid.bundles.db.table</artifactId>
>> < <scope>test</scope>
>> < </dependency>
>> 135,144d129
>> < <configuration>
>> < <artifactItems>
>> < <artifactItem>
>> < <groupId>org.connid.bundles.db</groupId>
>> < <artifactId>org.connid.bundles.db.table</artifactId>
>> < <version>2.5.1</version>
>> < <outputDirectory>/opt/syncope/bundles/</outputDirectory>
>> < </artifactItem>
>> < </artifactItems>
>> < </configuration>
>> [nik@anvil syncope-archetype]$
>>
>> or
>>
>> [nik@anvil syncope-archetype]$ diff ./core/pom.xml
>> ./core/core_pom_ori.xml
>> 110,114d109
>> < <dependency>
>> < <groupId>org.connid.bundles.db</groupId>
>> < <artifactId>org.connid.bundles.db.table</artifactId>
>> < <scope>test</scope>
>> < </dependency>
>> 135,144d129
>> < <configuration>
>> < <artifactItems>
>> < <artifactItem>
>> < <groupId>org.connid.bundles.db</groupId>
>> < <artifactId>org.connid.bundles.db.table</artifactId>
>> < <version>2.5.1</version>
>> < <outputDirectory>${bundles.directory}</outputDirectory>
>> < </artifactItem>
>> < </artifactItems>
>> < </configuration>
>> [nik@anvil syncope-archetype]$
>>
>> gives:
>>
>> :
>> [INFO] Configured Artifact:
>> org.connid.bundles.db:org.connid.bundles.db.table:2.5.1:jar
>> Downloading:
>> https://repository.apache.org/content/repositories/snapshots/org/connid/bundles/db/org.connid.bundles.db.table/2.5.1/org.connid.bundles.db.table-2.5.1.jar
>> Downloading:
>> https://artifacts.alfresco.com/nexus/content/groups/public/org/connid/bundles/db/org.connid.bundles.db.table/2.5.1/org.connid.bundles.db.table-2.5.1.jar
>> Downloading:
>> http://repo.maven.apache.org/maven2/org/connid/bundles/db/org.connid.bundles.db.table/2.5.1/org.connid.bundles.db.table-2.5.1.jar
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Apache Syncope sample project ..................... SUCCESS
>> [1.974s]
>> [INFO] Apache Syncope sample project core ................ FAILURE
>> [10.209s]
>> [INFO] Apache Syncope sample project console ............. SKIPPED
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 12.537s
>> [INFO] Finished at: Fri Jun 07 15:05:18 CEST 2013
>> [INFO] Final Memory: 27M/285M
>> [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.db:org.connid.bundles.db.table:jar:2.5.1 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.db
>> -DartifactId=org.connid.bundles.db.table -Dversion=2.5.1
>> -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.db
>> -DartifactId=org.connid.bundles.db.table -Dversion=2.5.1
>> -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>> [ERROR]
>> [ERROR]
>> [ERROR] org.connid.bundles.db:org.connid.bundles.db.table:jar:2.5.1
>> [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
>>
>> or
>>
>> [INFO]
>> [INFO] --- maven-resources-plugin:2.6:testResources
>> (default-testResources) @ core ---
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] Copying 5 resources
>> [INFO]
>> [INFO] --- maven-dependency-plugin:2.7:copy (set-bundles) @ core ---
>> [INFO] Configured Artifact:
>> org.connid.bundles.db:org.connid.bundles.db.table:2.5.1:jar
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Apache Syncope sample project ..................... SUCCESS
>> [2.160s]
>> [INFO] Apache Syncope sample project core ................ FAILURE
>> [2.560s]
>> [INFO] Apache Syncope sample project console ............. SKIPPED
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 5.077s
>> [INFO] Finished at: Fri Jun 07 15:12:22 CEST 2013
>> [INFO] Final Memory: 26M/342M
>> [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. Failure to
>> find org.connid.bundles.db:org.connid.bundles.db.table:jar:2.5.1 in
>> https://repository.apache.org/content/repositories/snapshots/ was
>> cached in the local repository, resolution will not be reattempted
>> until the update interval of ASF has elapsed or updates are forced
>> [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.db
>> -DartifactId=org.connid.bundles.db.table -Dversion=2.5.1
>> -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.db
>> -DartifactId=org.connid.bundles.db.table -Dversion=2.5.1
>> -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>> [ERROR]
>> [ERROR]
>> [ERROR] org.connid.bundles.db:org.connid.bundles.db.table:jar:2.5.1
>> [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]$
>>
>>
>> So I need to change other stuff too I guess
>>
>> Nik
>>> On 07/06/2013 15:00, Nik wrote:
>>>> But I arrive back to the starting point. I don't get my db
>>>> connector jar :-(
>>>
>>> Of course!
>>>
>>> You simply need to adjust
>>> <configuration>
>>> <artifactItems>
>>> <artifactItem>
>>> <groupId>org.connid.bundles</groupId>
>>> <artifactId>${connid.bundle.name}</artifactId>
>>> <version>${connid.bundle.version}</version>
>>> <outputDirectory>${bundles.directory}</outputDirectory>
>>> </artifactItem>
>>> </artifactItems>
>>> </configuration>
>>>
>>> to
>>>
>>> <configuration>
>>> <artifactItems>
>>> <artifactItem>
>>> <groupId>org.connid.bundles.db</groupId>
>>> <artifactId>org.connid.bundles.db.table</artifactId>
>>> <version>2.1.15</version>
>>> <outputDirectory>${bundles.directory}</outputDirectory>
>>> </artifactItem>
>>> </artifactItems>
>>> </configuration>
>>> for the DB connector.
>>>
>>> As I wrote earlier, "<groupId>org.connid.bundles.db</groupId>" needs
>>> to be used everywhere: this is how Maven works.
>>>
>>> Regards.
>>>
>>>> [nik@anvil syncope-archetype]$ find . -name
>>>> org.connid.bundles.db.table-2.1.5.jar
>>>> [nik@anvil syncope-archetype]$ ls -lrt /opt/syncope/bundles/
>>>> total 4924
>>>> -rw-rw-r--. 1 nik nik 3320691 Jun 7 14:49
>>>> org.connid.bundles.soap-1.2.6.jar
>>>> -rw-rw-r--. 1 nik nik 1515037 Jun 7 14:49
>>>> org.connid.bundles.csvdir-0.7.jar
>>>> -rw-rw-r--. 1 nik nik 204027 Jun 7 14:49
>>>> org.connid.bundles.ldap-1.3.5.jar
>>>> [nik@anvil syncope-archetype]$
>>>>
>>>>>
>>>>> But if I remove the xml wiki advicefor :
>>>>>
>>>>> _QUOTE_
>>>>> and adding the following rows to maven-dependency-plugin
>>>>> <configuration>
>>>>> <artifactItems>
>>>>> <artifactItem>
>>>>> <groupId>org.connid.bundles</groupId>
>>>>> <artifactId>${connid.bundle.name}</artifactId>
>>>>> <version>${connid.bundle.version}</version>
>>>>> <outputDirectory>${bundles.directory}</outputDirectory>
>>>>> </artifactItem>
>>>>> </artifactItems>
>>>>> </configuration>
>>>>> _UNQUOTE_
>>>>>
>>>>> and life with maven becomes less complicated:-)
>>>>>
>>>>> :
>>>>> [INFO] Building war:
>>>>> /home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/console/target/syncope-console.war
>>>>> [INFO] WEB-INF/web.xml already added, skipping
>>>>> [INFO]
>>>>> [INFO] --- maven-site-plugin:3.2:attach-descriptor
>>>>> (attach-descriptor) @ console ---
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Reactor Summary:
>>>>> [INFO]
>>>>> [INFO] Apache Syncope sample project ..................... SUCCESS
>>>>> [1.944s]
>>>>> [INFO] Apache Syncope sample project core ................ SUCCESS
>>>>> [17.333s]
>>>>> [INFO] Apache Syncope sample project console ............. SUCCESS
>>>>> [48.293s]
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] BUILD SUCCESS
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Total time: 1:07.913s
>>>>> [INFO] Finished at: Fri Jun 07 14:50:00 CEST 2013
>>>>> [INFO] Final Memory: 30M/467M
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [nik@anvil syncope-archetype]$
>>>>>
>>>>> rgds,
>>>>> Nik
>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> Francesco Chicchiriccò
>>>
>>> ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
>>> http://people.apache.org/~ilgrosso/
>>
>
Re: Extending Syncope: Install connector bundles
Posted by Nik <ni...@usharesoft.com>.
The problem lies in the numbers
2.5.1 does not equal
2.1.5
yet 2.1.5 is the one I'm looking for
i.e.
-bash-4.1# ls -l org.connid.bundles.db.table-2.1.5.jar
-rw-r--r-- 1 glassfish glassfish 281325 May 28 10:30
org.connid.bundles.db.table-2.1.5.jar
RE:
http://repo.maven.apache.org/maven2/org/connid/bundles/db/org.connid.bundles.db.table/2.5.1/org.connid.bundles.db.table-2.5.1.jar
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
> Hehe Francesco :-) I understand and I did this earlier, aswell:
>
> VIZ:
> [nik@anvil syncope-archetype]$ diff ./core/pom.xml ./core/core_pom_ori.xml
> 110,114d109
> < <dependency>
> < <groupId>org.connid.bundles.db</groupId>
> < <artifactId>org.connid.bundles.db.table</artifactId>
> < <scope>test</scope>
> < </dependency>
> 135,144d129
> < <configuration>
> < <artifactItems>
> < <artifactItem>
> < <groupId>org.connid.bundles.db</groupId>
> < <artifactId>org.connid.bundles.db.table</artifactId>
> < <version>2.5.1</version>
> < <outputDirectory>/opt/syncope/bundles/</outputDirectory>
> < </artifactItem>
> < </artifactItems>
> < </configuration>
> [nik@anvil syncope-archetype]$
>
> or
>
> [nik@anvil syncope-archetype]$ diff ./core/pom.xml ./core/core_pom_ori.xml
> 110,114d109
> < <dependency>
> < <groupId>org.connid.bundles.db</groupId>
> < <artifactId>org.connid.bundles.db.table</artifactId>
> < <scope>test</scope>
> < </dependency>
> 135,144d129
> < <configuration>
> < <artifactItems>
> < <artifactItem>
> < <groupId>org.connid.bundles.db</groupId>
> < <artifactId>org.connid.bundles.db.table</artifactId>
> < <version>2.5.1</version>
> < <outputDirectory>${bundles.directory}</outputDirectory>
> < </artifactItem>
> < </artifactItems>
> < </configuration>
> [nik@anvil syncope-archetype]$
>
> gives:
>
> :
> [INFO] Configured Artifact:
> org.connid.bundles.db:org.connid.bundles.db.table:2.5.1:jar
> Downloading:
> https://repository.apache.org/content/repositories/snapshots/org/connid/bundles/db/org.connid.bundles.db.table/2.5.1/org.connid.bundles.db.table-2.5.1.jar
> Downloading:
> https://artifacts.alfresco.com/nexus/content/groups/public/org/connid/bundles/db/org.connid.bundles.db.table/2.5.1/org.connid.bundles.db.table-2.5.1.jar
> Downloading:
> http://repo.maven.apache.org/maven2/org/connid/bundles/db/org.connid.bundles.db.table/2.5.1/org.connid.bundles.db.table-2.5.1.jar
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Syncope sample project ..................... SUCCESS
> [1.974s]
> [INFO] Apache Syncope sample project core ................ FAILURE
> [10.209s]
> [INFO] Apache Syncope sample project console ............. SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 12.537s
> [INFO] Finished at: Fri Jun 07 15:05:18 CEST 2013
> [INFO] Final Memory: 27M/285M
> [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.db:org.connid.bundles.db.table:jar:2.5.1
> 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.db
> -DartifactId=org.connid.bundles.db.table -Dversion=2.5.1
> -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.db
> -DartifactId=org.connid.bundles.db.table -Dversion=2.5.1
> -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> [ERROR]
> [ERROR]
> [ERROR] org.connid.bundles.db:org.connid.bundles.db.table:jar:2.5.1
> [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
>
> or
>
> [INFO]
> [INFO] --- maven-resources-plugin:2.6:testResources
> (default-testResources) @ core ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 5 resources
> [INFO]
> [INFO] --- maven-dependency-plugin:2.7:copy (set-bundles) @ core ---
> [INFO] Configured Artifact:
> org.connid.bundles.db:org.connid.bundles.db.table:2.5.1:jar
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Syncope sample project ..................... SUCCESS
> [2.160s]
> [INFO] Apache Syncope sample project core ................ FAILURE
> [2.560s]
> [INFO] Apache Syncope sample project console ............. SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 5.077s
> [INFO] Finished at: Fri Jun 07 15:12:22 CEST 2013
> [INFO] Final Memory: 26M/342M
> [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. Failure to
> find org.connid.bundles.db:org.connid.bundles.db.table:jar:2.5.1 in
> https://repository.apache.org/content/repositories/snapshots/ was
> cached in the local repository, resolution will not be reattempted
> until the update interval of ASF has elapsed or updates are forced
> [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.db
> -DartifactId=org.connid.bundles.db.table -Dversion=2.5.1
> -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.db
> -DartifactId=org.connid.bundles.db.table -Dversion=2.5.1
> -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> [ERROR]
> [ERROR]
> [ERROR] org.connid.bundles.db:org.connid.bundles.db.table:jar:2.5.1
> [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]$
>
>
> So I need to change other stuff too I guess
>
> Nik
>> On 07/06/2013 15:00, Nik wrote:
>>> But I arrive back to the starting point. I don't get my db connector
>>> jar :-(
>>
>> Of course!
>>
>> You simply need to adjust
>> <configuration>
>> <artifactItems>
>> <artifactItem>
>> <groupId>org.connid.bundles</groupId>
>> <artifactId>${connid.bundle.name}</artifactId>
>> <version>${connid.bundle.version}</version>
>> <outputDirectory>${bundles.directory}</outputDirectory>
>> </artifactItem>
>> </artifactItems>
>> </configuration>
>>
>> to
>>
>> <configuration>
>> <artifactItems>
>> <artifactItem>
>> <groupId>org.connid.bundles.db</groupId>
>> <artifactId>org.connid.bundles.db.table</artifactId>
>> <version>2.1.15</version>
>> <outputDirectory>${bundles.directory}</outputDirectory>
>> </artifactItem>
>> </artifactItems>
>> </configuration>
>> for the DB connector.
>>
>> As I wrote earlier, "<groupId>org.connid.bundles.db</groupId>" needs
>> to be used everywhere: this is how Maven works.
>>
>> Regards.
>>
>>> [nik@anvil syncope-archetype]$ find . -name
>>> org.connid.bundles.db.table-2.1.5.jar
>>> [nik@anvil syncope-archetype]$ ls -lrt /opt/syncope/bundles/
>>> total 4924
>>> -rw-rw-r--. 1 nik nik 3320691 Jun 7 14:49
>>> org.connid.bundles.soap-1.2.6.jar
>>> -rw-rw-r--. 1 nik nik 1515037 Jun 7 14:49
>>> org.connid.bundles.csvdir-0.7.jar
>>> -rw-rw-r--. 1 nik nik 204027 Jun 7 14:49
>>> org.connid.bundles.ldap-1.3.5.jar
>>> [nik@anvil syncope-archetype]$
>>>
>>>>
>>>> But if I remove the xml wiki advicefor :
>>>>
>>>> _QUOTE_
>>>> and adding the following rows to maven-dependency-plugin
>>>> <configuration>
>>>> <artifactItems>
>>>> <artifactItem>
>>>> <groupId>org.connid.bundles</groupId>
>>>> <artifactId>${connid.bundle.name}</artifactId>
>>>> <version>${connid.bundle.version}</version>
>>>> <outputDirectory>${bundles.directory}</outputDirectory>
>>>> </artifactItem>
>>>> </artifactItems>
>>>> </configuration>
>>>> _UNQUOTE_
>>>>
>>>> and life with maven becomes less complicated:-)
>>>>
>>>> :
>>>> [INFO] Building war:
>>>> /home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/console/target/syncope-console.war
>>>> [INFO] WEB-INF/web.xml already added, skipping
>>>> [INFO]
>>>> [INFO] --- maven-site-plugin:3.2:attach-descriptor
>>>> (attach-descriptor) @ console ---
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Reactor Summary:
>>>> [INFO]
>>>> [INFO] Apache Syncope sample project ..................... SUCCESS
>>>> [1.944s]
>>>> [INFO] Apache Syncope sample project core ................ SUCCESS
>>>> [17.333s]
>>>> [INFO] Apache Syncope sample project console ............. SUCCESS
>>>> [48.293s]
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] BUILD SUCCESS
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 1:07.913s
>>>> [INFO] Finished at: Fri Jun 07 14:50:00 CEST 2013
>>>> [INFO] Final Memory: 30M/467M
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [nik@anvil syncope-archetype]$
>>>>
>>>> rgds,
>>>> Nik
>>>>
>>>>
>>>
>>
>>
>> --
>> Francesco Chicchiriccò
>>
>> ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
>> http://people.apache.org/~ilgrosso/
>
Re: Extending Syncope: Install connector bundles
Posted by Nik <ni...@usharesoft.com>.
ditto ;-)
> On 07/06/2013 15:14, Nik wrote:
>> Hehe Francesco :-) I understand and I did this earlier, aswell:
>>
>> [...]
>> :
>> [INFO] Configured Artifact:
>> org.connid.bundles.db:org.connid.bundles.db.table:2.5.1:jar
>> Downloading:
>> https://repository.apache.org/content/repositories/snapshots/org/connid/bundles/db/org.connid.bundles.db.table/2.5.1/org.connid.bundles.db.table-2.5.1.jar
>> Downloading:
>> https://artifacts.alfresco.com/nexus/content/groups/public/org/connid/bundles/db/org.connid.bundles.db.table/2.5.1/org.connid.bundles.db.table-2.5.1.jar
>> Downloading:
>> http://repo.maven.apache.org/maven2/org/connid/bundles/db/org.connid.bundles.db.table/2.5.1/org.connid.bundles.db.table-2.5.1.jar
>> [...]
>>
>> So I need to change other stuff too I guess
>
> Of course: the version is barely wrong - it's 2.15 not 2.5.1
> --
> Francesco Chicchiriccò
>
> ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
> http://people.apache.org/~ilgrosso/
Re: Extending Syncope: Install connector bundles
Posted by Francesco Chicchiriccò <il...@apache.org>.
On 07/06/2013 15:14, Nik wrote:
> Hehe Francesco :-) I understand and I did this earlier, aswell:
>
> [...]
> :
> [INFO] Configured Artifact:
> org.connid.bundles.db:org.connid.bundles.db.table:2.5.1:jar
> Downloading:
> https://repository.apache.org/content/repositories/snapshots/org/connid/bundles/db/org.connid.bundles.db.table/2.5.1/org.connid.bundles.db.table-2.5.1.jar
> Downloading:
> https://artifacts.alfresco.com/nexus/content/groups/public/org/connid/bundles/db/org.connid.bundles.db.table/2.5.1/org.connid.bundles.db.table-2.5.1.jar
> Downloading:
> http://repo.maven.apache.org/maven2/org/connid/bundles/db/org.connid.bundles.db.table/2.5.1/org.connid.bundles.db.table-2.5.1.jar
> [...]
>
> So I need to change other stuff too I guess
Of course: the version is barely wrong - it's 2.15 not 2.5.1
--
Francesco Chicchiriccò
ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
http://people.apache.org/~ilgrosso/
Re: Extending Syncope: Install connector bundles
Posted by Nik <ni...@usharesoft.com>.
Hehe Francesco :-) I understand and I did this earlier, aswell:
VIZ:
[nik@anvil syncope-archetype]$ diff ./core/pom.xml ./core/core_pom_ori.xml
110,114d109
< <dependency>
< <groupId>org.connid.bundles.db</groupId>
< <artifactId>org.connid.bundles.db.table</artifactId>
< <scope>test</scope>
< </dependency>
135,144d129
< <configuration>
< <artifactItems>
< <artifactItem>
< <groupId>org.connid.bundles.db</groupId>
< <artifactId>org.connid.bundles.db.table</artifactId>
< <version>2.5.1</version>
< <outputDirectory>/opt/syncope/bundles/</outputDirectory>
< </artifactItem>
< </artifactItems>
< </configuration>
[nik@anvil syncope-archetype]$
or
[nik@anvil syncope-archetype]$ diff ./core/pom.xml ./core/core_pom_ori.xml
110,114d109
< <dependency>
< <groupId>org.connid.bundles.db</groupId>
< <artifactId>org.connid.bundles.db.table</artifactId>
< <scope>test</scope>
< </dependency>
135,144d129
< <configuration>
< <artifactItems>
< <artifactItem>
< <groupId>org.connid.bundles.db</groupId>
< <artifactId>org.connid.bundles.db.table</artifactId>
< <version>2.5.1</version>
< <outputDirectory>${bundles.directory}</outputDirectory>
< </artifactItem>
< </artifactItems>
< </configuration>
[nik@anvil syncope-archetype]$
gives:
:
[INFO] Configured Artifact:
org.connid.bundles.db:org.connid.bundles.db.table:2.5.1:jar
Downloading:
https://repository.apache.org/content/repositories/snapshots/org/connid/bundles/db/org.connid.bundles.db.table/2.5.1/org.connid.bundles.db.table-2.5.1.jar
Downloading:
https://artifacts.alfresco.com/nexus/content/groups/public/org/connid/bundles/db/org.connid.bundles.db.table/2.5.1/org.connid.bundles.db.table-2.5.1.jar
Downloading:
http://repo.maven.apache.org/maven2/org/connid/bundles/db/org.connid.bundles.db.table/2.5.1/org.connid.bundles.db.table-2.5.1.jar
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Syncope sample project ..................... SUCCESS [1.974s]
[INFO] Apache Syncope sample project core ................ FAILURE [10.209s]
[INFO] Apache Syncope sample project console ............. SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 12.537s
[INFO] Finished at: Fri Jun 07 15:05:18 CEST 2013
[INFO] Final Memory: 27M/285M
[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.db:org.connid.bundles.db.table:jar:2.5.1 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.db
-DartifactId=org.connid.bundles.db.table -Dversion=2.5.1 -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.db
-DartifactId=org.connid.bundles.db.table -Dversion=2.5.1 -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR]
[ERROR] org.connid.bundles.db:org.connid.bundles.db.table:jar:2.5.1
[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
or
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources
(default-testResources) @ core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO]
[INFO] --- maven-dependency-plugin:2.7:copy (set-bundles) @ core ---
[INFO] Configured Artifact:
org.connid.bundles.db:org.connid.bundles.db.table:2.5.1:jar
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Syncope sample project ..................... SUCCESS [2.160s]
[INFO] Apache Syncope sample project core ................ FAILURE [2.560s]
[INFO] Apache Syncope sample project console ............. SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 5.077s
[INFO] Finished at: Fri Jun 07 15:12:22 CEST 2013
[INFO] Final Memory: 26M/342M
[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. Failure to find
org.connid.bundles.db:org.connid.bundles.db.table:jar:2.5.1 in
https://repository.apache.org/content/repositories/snapshots/ was cached
in the local repository, resolution will not be reattempted until the
update interval of ASF has elapsed or updates are forced
[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.db
-DartifactId=org.connid.bundles.db.table -Dversion=2.5.1 -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.db
-DartifactId=org.connid.bundles.db.table -Dversion=2.5.1 -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR]
[ERROR] org.connid.bundles.db:org.connid.bundles.db.table:jar:2.5.1
[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]$
So I need to change other stuff too I guess
Nik
> On 07/06/2013 15:00, Nik wrote:
>> But I arrive back to the starting point. I don't get my db connector
>> jar :-(
>
> Of course!
>
> You simply need to adjust
> <configuration>
> <artifactItems>
> <artifactItem>
> <groupId>org.connid.bundles</groupId>
> <artifactId>${connid.bundle.name}</artifactId>
> <version>${connid.bundle.version}</version>
> <outputDirectory>${bundles.directory}</outputDirectory>
> </artifactItem>
> </artifactItems>
> </configuration>
>
> to
>
> <configuration>
> <artifactItems>
> <artifactItem>
> <groupId>org.connid.bundles.db</groupId>
> <artifactId>org.connid.bundles.db.table</artifactId>
> <version>2.1.15</version>
> <outputDirectory>${bundles.directory}</outputDirectory>
> </artifactItem>
> </artifactItems>
> </configuration>
> for the DB connector.
>
> As I wrote earlier, "<groupId>org.connid.bundles.db</groupId>" needs
> to be used everywhere: this is how Maven works.
>
> Regards.
>
>> [nik@anvil syncope-archetype]$ find . -name
>> org.connid.bundles.db.table-2.1.5.jar
>> [nik@anvil syncope-archetype]$ ls -lrt /opt/syncope/bundles/
>> total 4924
>> -rw-rw-r--. 1 nik nik 3320691 Jun 7 14:49
>> org.connid.bundles.soap-1.2.6.jar
>> -rw-rw-r--. 1 nik nik 1515037 Jun 7 14:49
>> org.connid.bundles.csvdir-0.7.jar
>> -rw-rw-r--. 1 nik nik 204027 Jun 7 14:49
>> org.connid.bundles.ldap-1.3.5.jar
>> [nik@anvil syncope-archetype]$
>>
>>>
>>> But if I remove the xml wiki advicefor :
>>>
>>> _QUOTE_
>>> and adding the following rows to maven-dependency-plugin
>>> <configuration>
>>> <artifactItems>
>>> <artifactItem>
>>> <groupId>org.connid.bundles</groupId>
>>> <artifactId>${connid.bundle.name}</artifactId>
>>> <version>${connid.bundle.version}</version>
>>> <outputDirectory>${bundles.directory}</outputDirectory>
>>> </artifactItem>
>>> </artifactItems>
>>> </configuration>
>>> _UNQUOTE_
>>>
>>> and life with maven becomes less complicated:-)
>>>
>>> :
>>> [INFO] Building war:
>>> /home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/console/target/syncope-console.war
>>> [INFO] WEB-INF/web.xml already added, skipping
>>> [INFO]
>>> [INFO] --- maven-site-plugin:3.2:attach-descriptor
>>> (attach-descriptor) @ console ---
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Reactor Summary:
>>> [INFO]
>>> [INFO] Apache Syncope sample project ..................... SUCCESS
>>> [1.944s]
>>> [INFO] Apache Syncope sample project core ................ SUCCESS
>>> [17.333s]
>>> [INFO] Apache Syncope sample project console ............. SUCCESS
>>> [48.293s]
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] BUILD SUCCESS
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 1:07.913s
>>> [INFO] Finished at: Fri Jun 07 14:50:00 CEST 2013
>>> [INFO] Final Memory: 30M/467M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [nik@anvil syncope-archetype]$
>>>
>>> rgds,
>>> Nik
>>>
>>>
>>
>
>
> --
> Francesco Chicchiriccò
>
> ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
> http://people.apache.org/~ilgrosso/
Re: Extending Syncope: Install connector bundles
Posted by Francesco Chicchiriccò <il...@apache.org>.
On 07/06/2013 15:00, Nik wrote:
> But I arrive back to the starting point. I don't get my db connector
> jar :-(
Of course!
You simply need to adjust
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.connid.bundles</groupId>
<artifactId>${connid.bundle.name}</artifactId>
<version>${connid.bundle.version}</version>
<outputDirectory>${bundles.directory}</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
to
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.connid.bundles.db</groupId>
<artifactId>org.connid.bundles.db.table</artifactId>
<version>2.1.15</version>
<outputDirectory>${bundles.directory}</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
for the DB connector.
As I wrote earlier, "<groupId>org.connid.bundles.db</groupId>" needs to
be used everywhere: this is how Maven works.
Regards.
> [nik@anvil syncope-archetype]$ find . -name
> org.connid.bundles.db.table-2.1.5.jar
> [nik@anvil syncope-archetype]$ ls -lrt /opt/syncope/bundles/
> total 4924
> -rw-rw-r--. 1 nik nik 3320691 Jun 7 14:49
> org.connid.bundles.soap-1.2.6.jar
> -rw-rw-r--. 1 nik nik 1515037 Jun 7 14:49
> org.connid.bundles.csvdir-0.7.jar
> -rw-rw-r--. 1 nik nik 204027 Jun 7 14:49
> org.connid.bundles.ldap-1.3.5.jar
> [nik@anvil syncope-archetype]$
>
>>
>> But if I remove the xml wiki advicefor :
>>
>> _QUOTE_
>> and adding the following rows to maven-dependency-plugin
>> <configuration>
>> <artifactItems>
>> <artifactItem>
>> <groupId>org.connid.bundles</groupId>
>> <artifactId>${connid.bundle.name}</artifactId>
>> <version>${connid.bundle.version}</version>
>> <outputDirectory>${bundles.directory}</outputDirectory>
>> </artifactItem>
>> </artifactItems>
>> </configuration>
>> _UNQUOTE_
>>
>> and life with maven becomes less complicated:-)
>>
>> :
>> [INFO] Building war:
>> /home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/console/target/syncope-console.war
>> [INFO] WEB-INF/web.xml already added, skipping
>> [INFO]
>> [INFO] --- maven-site-plugin:3.2:attach-descriptor
>> (attach-descriptor) @ console ---
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Apache Syncope sample project ..................... SUCCESS
>> [1.944s]
>> [INFO] Apache Syncope sample project core ................ SUCCESS
>> [17.333s]
>> [INFO] Apache Syncope sample project console ............. SUCCESS
>> [48.293s]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD SUCCESS
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 1:07.913s
>> [INFO] Finished at: Fri Jun 07 14:50:00 CEST 2013
>> [INFO] Final Memory: 30M/467M
>> [INFO]
>> ------------------------------------------------------------------------
>> [nik@anvil syncope-archetype]$
>>
>> rgds,
>> Nik
>>
>>
>
--
Francesco Chicchiriccò
ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
http://people.apache.org/~ilgrosso/
Re: Extending Syncope: Install connector bundles
Posted by Nik <ni...@usharesoft.com>.
But I arrive back to the starting point. I don't get my db connector jar :-(
[nik@anvil syncope-archetype]$ find . -name
org.connid.bundles.db.table-2.1.5.jar
[nik@anvil syncope-archetype]$ ls -lrt /opt/syncope/bundles/
total 4924
-rw-rw-r--. 1 nik nik 3320691 Jun 7 14:49 org.connid.bundles.soap-1.2.6.jar
-rw-rw-r--. 1 nik nik 1515037 Jun 7 14:49 org.connid.bundles.csvdir-0.7.jar
-rw-rw-r--. 1 nik nik 204027 Jun 7 14:49 org.connid.bundles.ldap-1.3.5.jar
[nik@anvil syncope-archetype]$
>
> But if I remove the xml wiki advicefor :
>
> _QUOTE_
> and adding the following rows to maven-dependency-plugin
> <configuration>
> <artifactItems>
> <artifactItem>
> <groupId>org.connid.bundles</groupId>
> <artifactId>${connid.bundle.name}</artifactId>
> <version>${connid.bundle.version}</version>
> <outputDirectory>${bundles.directory}</outputDirectory>
> </artifactItem>
> </artifactItems>
> </configuration>
> _UNQUOTE_
>
> and life with maven becomes less complicated:-)
>
> :
> [INFO] Building war:
> /home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/console/target/syncope-console.war
> [INFO] WEB-INF/web.xml already added, skipping
> [INFO]
> [INFO] --- maven-site-plugin:3.2:attach-descriptor (attach-descriptor)
> @ console ---
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Syncope sample project ..................... SUCCESS
> [1.944s]
> [INFO] Apache Syncope sample project core ................ SUCCESS
> [17.333s]
> [INFO] Apache Syncope sample project console ............. SUCCESS
> [48.293s]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1:07.913s
> [INFO] Finished at: Fri Jun 07 14:50:00 CEST 2013
> [INFO] Final Memory: 30M/467M
> [INFO]
> ------------------------------------------------------------------------
> [nik@anvil syncope-archetype]$
>
> rgds,
> Nik
>
>
Re: Extending Syncope: Install connector bundles
Posted by Nik <ni...@usharesoft.com>.
On 06/07/2013 12:52 PM, Francesco Chicchiriccò wrote:
> On 07/06/2013 12:49, Nik wrote:
>> 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/)
>> [...]
>> 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?
>
> No, you simply need to check where you put the wrong groupId :-)
>
> It has to be
>
> <groupId>org.connid.bundles.db</groupId>
> <artifactId>org.connid.bundles.db.table</artifactId>
>
> everywhere: check again and you will find the mistake.
>
Ok...I know there is a mistake but I don't know where ... I have been
searching Francesco ;-) so...
If your above statement is correct:
1) [nik@anvil syncope-archetype]$ grep groupId . -R | grep connid |
grep db | grep pom.xml
./core/pom.xml: <groupId>org.connid.bundles.db</groupId>
./pom.xml: <groupId>org.connid.bundles.db</groupId>
./console/pom.xml: <groupId>org.connid.bundles.db</groupId>
[nik@anvil syncope-archetype]$
[nik@anvil syncope-archetype]$ grep artifactId . -R | grep connid |
grep db | grep pom.xml
./core/pom.xml:<artifactId>org.connid.bundles.db.table</artifactId>
./pom.xml: <artifactId>org.connid.bundles.db.table</artifactId>
./console/pom.xml:<artifactId>org.connid.bundles.db.table</artifactId>
[nik@anvil syncope-archetype]$
then(it is as you say everywhere)
2) mvn clean package -Dbundles.directory=/opt/syncope/bundles
-Dlog.directory=/opt/syncope/log
should work? but:
[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]
------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Apache Syncope sample project
[INFO] Apache Syncope sample project core
[INFO] Apache Syncope sample project console
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Syncope sample project 1.1.2-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @
syncope-archetype ---
[INFO] Deleting
/home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-java) @
syncope-archetype ---
[INFO]
[INFO] --- gmaven-plugin:1.5:execute (default) @ syncope-archetype ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:copy-resources
(copy-javadoc-legal-files) @ syncope-archetype ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-site-plugin:3.2:attach-descriptor (attach-descriptor) @
syncope-archetype ---
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Syncope sample project core 1.1.2-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ core ---
[INFO] Deleting
/home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/core/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-java) @ core ---
[INFO]
[INFO] --- gmaven-plugin:1.5:execute (default) @ core ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 18 resources
[INFO]
[INFO] --- maven-resources-plugin:2.6:copy-resources
(copy-javadoc-legal-files) @ core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ core ---
[INFO] No sources to compile
[INFO]
[INFO] --- openjpa-maven-plugin:2.2.2:enhance (enhancer) @ core ---
377 syncopePersistenceUnit INFO [main] openjpa.Tool - Enhancer
running on type "org.apache.syncope.core.persistence.beans.Task".
768 syncopePersistenceUnit INFO [main] openjpa.Tool - Enhancer
running on type
"org.apache.syncope.core.persistence.beans.role.RAttrUniqueValue".
782 syncopePersistenceUnit WARN [main] openjpa.Runtime - Found no
persistent property in
"org.apache.syncope.core.persistence.beans.AbstractAttr"
793 syncopePersistenceUnit WARN [main] openjpa.Runtime - Found no
persistent property in
"org.apache.syncope.core.persistence.beans.role.RSchema"
795 syncopePersistenceUnit WARN [main] openjpa.Runtime - Found no
persistent property in
"org.apache.syncope.core.persistence.beans.AccountPolicy"
811 syncopePersistenceUnit WARN [main] openjpa.Runtime - Found no
persistent property in
"org.apache.syncope.core.persistence.beans.PasswordPolicy"
836 syncopePersistenceUnit WARN [main] openjpa.Runtime - Found no
persistent property in
"org.apache.syncope.core.persistence.beans.role.RDerSchema"
839 syncopePersistenceUnit WARN [main] openjpa.Runtime - Found no
persistent property in
"org.apache.syncope.core.persistence.beans.SyncPolicy"
850 syncopePersistenceUnit WARN [main] openjpa.Runtime - Found no
persistent property in
"org.apache.syncope.core.persistence.beans.role.RVirSchema"
858 syncopePersistenceUnit WARN [main] openjpa.Runtime - Found no
persistent property in
"org.apache.syncope.core.persistence.beans.user.USchema"
860 syncopePersistenceUnit WARN [main] openjpa.Runtime - Found no
persistent property in
"org.apache.syncope.core.persistence.beans.user.UDerSchema"
868 syncopePersistenceUnit WARN [main] openjpa.Runtime - Found no
persistent property in
"org.apache.syncope.core.persistence.beans.user.UVirSchema"
870 syncopePersistenceUnit WARN [main] openjpa.Runtime - Found no
persistent property in
"org.apache.syncope.core.persistence.beans.membership.MSchema"
872 syncopePersistenceUnit WARN [main] openjpa.Runtime - Found no
persistent property in
"org.apache.syncope.core.persistence.beans.membership.MDerSchema"
874 syncopePersistenceUnit WARN [main] openjpa.Runtime - Found no
persistent property in
"org.apache.syncope.core.persistence.beans.membership.MVirSchema"
879 syncopePersistenceUnit INFO [main] openjpa.Tool - Enhancer
running on type
"org.apache.syncope.core.persistence.beans.membership.MAttrUniqueValue".
888 syncopePersistenceUnit INFO [main] openjpa.Tool - Enhancer
running on type
"org.apache.syncope.core.persistence.beans.membership.MAttr".
899 syncopePersistenceUnit INFO [main] openjpa.Tool - Enhancer
running on type
"org.apache.syncope.core.persistence.beans.role.SyncopeRole".
929 syncopePersistenceUnit INFO [main] openjpa.Tool - Enhancer
running on type
"org.apache.syncope.core.persistence.beans.user.UAttrUniqueValue".
937 syncopePersistenceUnit INFO [main] openjpa.Tool - Enhancer
running on type "org.apache.syncope.core.persistence.beans.role.RAttr".
950 syncopePersistenceUnit INFO [main] openjpa.Tool - Enhancer
running on type "org.apache.syncope.core.persistence.beans.role.RMapping".
959 syncopePersistenceUnit INFO [main] openjpa.Tool - Enhancer
running on type "org.apache.syncope.core.persistence.beans.Report".
972 syncopePersistenceUnit INFO [main] openjpa.Tool - Enhancer
running on type "org.apache.syncope.core.persistence.beans.Policy".
981 syncopePersistenceUnit INFO [main] openjpa.Tool - Enhancer
running on type "org.apache.syncope.core.persistence.beans.ConnInstance".
999 syncopePersistenceUnit INFO [main] openjpa.Tool - Enhancer
running on type
"org.apache.syncope.core.persistence.beans.ReportletConfInstance".
1006 syncopePersistenceUnit INFO [main] openjpa.Tool - Enhancer
running on type "org.apache.syncope.core.persistence.beans.TaskExec".
1010 syncopePersistenceUnit INFO [main] openjpa.Tool - Enhancer
running on type
"org.apache.syncope.core.persistence.beans.user.UMappingItem".
1015 syncopePersistenceUnit INFO [main] openjpa.Tool - Enhancer
running on type
"org.apache.syncope.core.persistence.beans.membership.MAttrValue".
1020 syncopePersistenceUnit INFO [main] openjpa.Tool - Enhancer
running on type
"org.apache.syncope.core.persistence.beans.role.RMappingItem".
1025 syncopePersistenceUnit INFO [main] openjpa.Tool - Enhancer
running on type
"org.apache.syncope.core.persistence.beans.user.SyncopeUser".
1051 syncopePersistenceUnit INFO [main] openjpa.Tool - Enhancer
running on type
"org.apache.syncope.core.persistence.beans.membership.Membership".
1064 syncopePersistenceUnit INFO [main] openjpa.Tool - Enhancer
running on type "org.apache.syncope.core.persistence.beans.user.UAttr".
1073 syncopePersistenceUnit INFO [main] openjpa.Tool - Enhancer
running on type "org.apache.syncope.core.persistence.beans.role.RAttrValue".
1078 syncopePersistenceUnit INFO [main] openjpa.Tool - Enhancer
running on type "org.apache.syncope.core.persistence.beans.ReportExec".
1083 syncopePersistenceUnit INFO [main] openjpa.Tool - Enhancer
running on type "org.apache.syncope.core.persistence.beans.user.UMapping".
1090 syncopePersistenceUnit INFO [main] openjpa.Tool - Enhancer
running on type "org.apache.syncope.core.persistence.beans.user.UAttrValue".
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources
(default-testResources) @ core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO]
[INFO] --- maven-dependency-plugin:2.7:copy (set-bundles) @ core ---
[INFO] Configured Artifact:
org.connid.bundles:org.connid.bundles.db.table:2.1.5:jar
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Syncope sample project ..................... SUCCESS [2.019s]
[INFO] Apache Syncope sample project core ................ FAILURE [2.610s]
[INFO] Apache Syncope sample project console ............. SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4.964s
[INFO] Finished at: Fri Jun 07 14:35:50 CEST 2013
[INFO] Final Memory: 31M/343M
[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. Failure to find
org.connid.bundles:org.connid.bundles.db.table:jar:2.1.5 in
https://repository.apache.org/content/repositories/snapshots/ was cached
in the local repository, resolution will not be reattempted until the
update interval of ASF has elapsed or updates are forced
[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]$
But if I remove the xml wiki advicefor :
_QUOTE_
and adding the following rows to maven-dependency-plugin
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.connid.bundles</groupId>
<artifactId>${connid.bundle.name}</artifactId>
<version>${connid.bundle.version}</version>
<outputDirectory>${bundles.directory}</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
_UNQUOTE_
and life with maven becomes less complicated:-)
:
[INFO] Building war:
/home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/console/target/syncope-console.war
[INFO] WEB-INF/web.xml already added, skipping
[INFO]
[INFO] --- maven-site-plugin:3.2:attach-descriptor (attach-descriptor) @
console ---
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Syncope sample project ..................... SUCCESS [1.944s]
[INFO] Apache Syncope sample project core ................ SUCCESS [17.333s]
[INFO] Apache Syncope sample project console ............. SUCCESS [48.293s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1:07.913s
[INFO] Finished at: Fri Jun 07 14:50:00 CEST 2013
[INFO] Final Memory: 30M/467M
[INFO]
------------------------------------------------------------------------
[nik@anvil syncope-archetype]$
rgds,
Nik
Re: Extending Syncope: Install connector bundles
Posted by Francesco Chicchiriccò <il...@apache.org>.
On 07/06/2013 12:49, Nik wrote:
> 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/)
> [...]
> 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?
No, you simply need to check where you put the wrong groupId :-)
It has to be
<groupId>org.connid.bundles.db</groupId>
<artifactId>org.connid.bundles.db.table</artifactId>
everywhere: check again and you will find the mistake.
Regards.
--
Francesco Chicchiriccò
ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
http://people.apache.org/~ilgrosso/
Re: Extending Syncope: Install connector bundles
Posted by Nik <ni...@usharesoft.com>.
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
Re: Extending Syncope: Install connector bundles
Posted by andrea patricelli <an...@tirasa.net>.
Il 07/06/2013 12:04, Nik ha scritto:
> Hi Anrea,
>
> Thanks for getting back to me.
>
> Trying your suggestion gives:
>
> [nik@anvil syncope-archetype]$ diff pom.xml gen_pom_ori.xml
> 31,32d30
> < <connid.bundle.version>2.1.5</connid.bundle.version>
> < <connid.bundle.name>org.connid.bundles.db.table</connid.bundle.name>
> 84,89d81
> < <dependency>
> < <groupId>org.connid.bundles.db</groupId>
> < <artifactId>org.connid.bundles.db.table</artifactId>
> < <version>${connid.db.table.version}</version>
> < <scope>test</scope>
> < </dependency>
> [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...
> [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.db.table:jar is missing. @ line
> 110, column 18
> [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
> [nik@anvil syncope-archetype]$
>
> rgds,
> Nik
>> Il 07/06/2013 11:05, Nik ha scritto:
>>> Hi IDM'ers,
>>>
>>> Back to my original issue.
>>>
>>> My goal:
>>>
>>> - to create a project that has all my required connectors
>>> under/opt/syncope/bundles/after executing
>>> mvn clean package -Dbundles.directory=/opt/syncope/bundles
>>> -Dlog.directory=/opt/syncope/log
>>>
>>>
>>> i.ethese jars
>>> org.connid.bundles.csvdir-0.7.jar
>>> org.connid.bundles.ldap-1.3.5.jar
>>> org.connid.bundles.soap-1.2.6.jar
>>> org.connid.bundles.db.table-2.1.5.jar
>>>
>>> So I have worked on this ML with Massi in finding out, that without
>>> doing anything I can get by default:
>>>
>>> org.connid.bundles.csvdir-0.7.jar
>>> org.connid.bundles.ldap-1.3.5.jar
>>> org.connid.bundles.soap-1.2.6.jar
>>>
>>> under /opt/syncope/bundles/
>>> (using gen_pom_ori.xml, core_pom_ori.xml & console_pom_ori.xml
>>> (attached))
>>>
>>> VIZ:
>>> [INFO] --- maven-site-plugin:3.2:attach-descriptor
>>> (attach-descriptor) @ console ---
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>> [INFO] Reactor Summary:
>>> [INFO]
>>> [INFO] Apache Syncope sample project ..................... SUCCESS
>>> [2.106s]
>>> [INFO] Apache Syncope sample project core ................ SUCCESS
>>> [31.816s]
>>> [INFO] Apache Syncope sample project console ............. SUCCESS
>>> [48.148s]
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>> [INFO] BUILD SUCCESS
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>> [INFO] Total time: 1:22.421s
>>> [INFO] Finished at: Fri Jun 07 10:35:20 CEST 2013
>>> [INFO] Final Memory: 27M/286M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>> [nik@anvil syncope-archetype]$ ls -l /opt/syncope/bundles/
>>> total 4924
>>> -rw-rw-r--. 1 nik nik 1515037 Jun 7 10:34
>>> org.connid.bundles.csvdir-0.7.jar
>>> -rw-rw-r--. 1 nik nik 204027 Jun 7 10:34
>>> org.connid.bundles.ldap-1.3.5.jar
>>> -rw-rw-r--. 1 nik nik 3320691 Jun 7 10:34
>>> org.connid.bundles.soap-1.2.6.jar
>>> [nik@anvil syncope-archetype]$
>>>
>>>
>>>
>>> Now, if I follow the instructions in [1] (as best I can)I adjust the
>>> poms to gen_pom_db.xml core_pom_db.xml & console_pom_db.xml (attached)
>>> and I get the following build failure:
>>>
>>> VIZ:
>>> 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]
>>> ------------------------------------------------------------------------
>>>
>>> [INFO] Reactor Build Order:
>>> [INFO]
>>> [INFO] Apache Syncope sample project
>>> [INFO] Apache Syncope sample project core
>>> [INFO] Apache Syncope sample project console
>>> [INFO]
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>> [INFO] Building Apache Syncope sample project 1.1.2-SNAPSHOT
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>> [INFO]
>>> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @
>>> syncope-archetype ---
>>> [INFO] Deleting
>>> /home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/target
>>> [INFO]
>>> [INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-java) @
>>> syncope-archetype ---
>>> [INFO]
>>> [INFO] --- gmaven-plugin:1.5:execute (default) @ syncope-archetype ---
>>> [INFO]
>>> [INFO] --- maven-resources-plugin:2.6:copy-resources
>>> (copy-javadoc-legal-files) @ syncope-archetype ---
>>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>>> [INFO] Copying 0 resource
>>> [INFO]
>>> [INFO] --- maven-site-plugin:3.2:attach-descriptor
>>> (attach-descriptor) @ syncope-archetype ---
>>> [INFO]
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>> [INFO] Building Apache Syncope sample project core 1.1.2-SNAPSHOT
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>> [WARNING] The POM for
>>> org.connid.bundles:org.connid.bundles.db.table:jar:2.1.5 is missing,
>>> no dependency information available
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>> [INFO] Reactor Summary:
>>> [INFO]
>>> [INFO] Apache Syncope sample project ..................... SUCCESS
>>> [2.052s]
>>> [INFO] Apache Syncope sample project core ................ FAILURE
>>> [0.679s]
>>> [INFO] Apache Syncope sample project console ............. SKIPPED
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>> [INFO] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>> [INFO] Total time: 3.060s
>>> [INFO] Finished at: Fri Jun 07 10:51:55 CEST 2013
>>> [INFO] Final Memory: 20M/216M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>> [ERROR] Failed to execute goal on project core: Could not resolve
>>> dependencies for project org.apache.syncope:core:war:1.1.2-SNAPSHOT:
>>> Failure to find
>>> org.connid.bundles:org.connid.bundles.db.table:jar:2.1.5 in
>>> https://repository.apache.org/content/repositories/snapshots/ was
>>> cached in the local repository, resolution will not be reattempted
>>> until the update interval of ASF has elapsed or updates are forced
>>> -> [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]$
>>>
>>>
>>>
>>> My question is, what is missing in my pom definitions or in the doc
>>> [1] to get the org.connid.bundles.db.table-2.1.5.jar
>>> added under /opt/syncope/bundles/?
>>>
>>>
>>> Regards,
>>> Nik
>>>
>>> [1]
>>> https://cwiki.apache.org/confluence/display/SYNCOPE/Install+connector+bundles
>>>
>>>
>>>> Hi Massi,
>>>>
>>>> I understand this stand point.
>>>>
>>>> I have already thought about unravelling the war and re-creating it
>>>> with the extra/optional bits - but it
>>>> seems against the open source spirit of building apache syncope
>>>> projects with maven (from my ignorant/debutant
>>>> perspective on the subject).
>>>>
>>>> Anyway, we have other rather "messy" options to package software
>>>> for our use, for the moment, things may change in
>>>> the long term.
>>>>
>>>> Thanks for the advice in any case.
>>>>
>>>> rgds,
>>>> Nik
>>>>
>>>>
>>>>> Sorry Nik,
>>>>> but this is a tipical architectural question and the right answer
>>>>> would be possible only if we were directly involved into your
>>>>> project.
>>>>>
>>>>> A possible solution (I HAVE NOT TESTED IT) is to execute package
>>>>> phase with "deployment directory" after put jar bundle files in
>>>>> syncope-core.war.
>>>>>
>>>>> On 05/06/2013 13:52, Nik wrote:
>>>>>> So here is my real question Massi. This is what I really want.
>>>>>> When I generate syncope-core how can I do it so the deafult
>>>>>> connectors are part of the syncope-core.war? The goal is to
>>>>>> help me do a package install and deploy from less bits.
>>>>>>
>>>>>> Nik
>>>>
>>>
>>>
>> Hi Nik,
>> you have to set db-table dependency in your parent POM as follows:
>>
>> <dependency>
>> <groupId>org.connid.bundles.db</groupId>
>> <artifactId>org.connid.bundles.db.table</artifactId>
>> <version>${connid.db.table.version}</version>
>> <scope>test</scope>
>> </dependency>
>>
>> Regards,
>> Andrea
>>
>
You're welcome,
you have to change this dependency also in core POM, accordingly:
<dependency>
<groupId>org.connid.bundles.db</groupId>
<artifactId>org.connid.bundles.db.table</artifactId>
<scope>test</scope>
</dependency>
--
Dott. Andrea Patricelli
Tel +393204524292
Trainee @ Tirasa S.r.l.
Viale D'Annunzio 267 - 65127 Pescara
Tel +390859116307 / FAX +39 0859111173
http://www.tirasa.net
Re: Extending Syncope: Install connector bundles
Posted by Nik <ni...@usharesoft.com>.
Hi Anrea,
Thanks for getting back to me.
Trying your suggestion gives:
[nik@anvil syncope-archetype]$ diff pom.xml gen_pom_ori.xml
31,32d30
< <connid.bundle.version>2.1.5</connid.bundle.version>
< <connid.bundle.name>org.connid.bundles.db.table</connid.bundle.name>
84,89d81
< <dependency>
< <groupId>org.connid.bundles.db</groupId>
< <artifactId>org.connid.bundles.db.table</artifactId>
< <version>${connid.db.table.version}</version>
< <scope>test</scope>
< </dependency>
[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...
[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.db.table:jar is missing. @ line
110, column 18
[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
[nik@anvil syncope-archetype]$
rgds,
Nik
> Il 07/06/2013 11:05, Nik ha scritto:
>> Hi IDM'ers,
>>
>> Back to my original issue.
>>
>> My goal:
>>
>> - to create a project that has all my required connectors
>> under/opt/syncope/bundles/after executing
>> mvn clean package -Dbundles.directory=/opt/syncope/bundles
>> -Dlog.directory=/opt/syncope/log
>>
>>
>> i.ethese jars
>> org.connid.bundles.csvdir-0.7.jar
>> org.connid.bundles.ldap-1.3.5.jar
>> org.connid.bundles.soap-1.2.6.jar
>> org.connid.bundles.db.table-2.1.5.jar
>>
>> So I have worked on this ML with Massi in finding out, that without
>> doing anything I can get by default:
>>
>> org.connid.bundles.csvdir-0.7.jar
>> org.connid.bundles.ldap-1.3.5.jar
>> org.connid.bundles.soap-1.2.6.jar
>>
>> under /opt/syncope/bundles/
>> (using gen_pom_ori.xml, core_pom_ori.xml & console_pom_ori.xml
>> (attached))
>>
>> VIZ:
>> [INFO] --- maven-site-plugin:3.2:attach-descriptor
>> (attach-descriptor) @ console ---
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Apache Syncope sample project ..................... SUCCESS
>> [2.106s]
>> [INFO] Apache Syncope sample project core ................ SUCCESS
>> [31.816s]
>> [INFO] Apache Syncope sample project console ............. SUCCESS
>> [48.148s]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD SUCCESS
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 1:22.421s
>> [INFO] Finished at: Fri Jun 07 10:35:20 CEST 2013
>> [INFO] Final Memory: 27M/286M
>> [INFO]
>> ------------------------------------------------------------------------
>> [nik@anvil syncope-archetype]$ ls -l /opt/syncope/bundles/
>> total 4924
>> -rw-rw-r--. 1 nik nik 1515037 Jun 7 10:34
>> org.connid.bundles.csvdir-0.7.jar
>> -rw-rw-r--. 1 nik nik 204027 Jun 7 10:34
>> org.connid.bundles.ldap-1.3.5.jar
>> -rw-rw-r--. 1 nik nik 3320691 Jun 7 10:34
>> org.connid.bundles.soap-1.2.6.jar
>> [nik@anvil syncope-archetype]$
>>
>>
>>
>> Now, if I follow the instructions in [1] (as best I can)I adjust the
>> poms to gen_pom_db.xml core_pom_db.xml & console_pom_db.xml (attached)
>> and I get the following build failure:
>>
>> VIZ:
>> 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]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Build Order:
>> [INFO]
>> [INFO] Apache Syncope sample project
>> [INFO] Apache Syncope sample project core
>> [INFO] Apache Syncope sample project console
>> [INFO]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Building Apache Syncope sample project 1.1.2-SNAPSHOT
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO]
>> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @
>> syncope-archetype ---
>> [INFO] Deleting
>> /home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/target
>> [INFO]
>> [INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-java) @
>> syncope-archetype ---
>> [INFO]
>> [INFO] --- gmaven-plugin:1.5:execute (default) @ syncope-archetype ---
>> [INFO]
>> [INFO] --- maven-resources-plugin:2.6:copy-resources
>> (copy-javadoc-legal-files) @ syncope-archetype ---
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] Copying 0 resource
>> [INFO]
>> [INFO] --- maven-site-plugin:3.2:attach-descriptor
>> (attach-descriptor) @ syncope-archetype ---
>> [INFO]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Building Apache Syncope sample project core 1.1.2-SNAPSHOT
>> [INFO]
>> ------------------------------------------------------------------------
>> [WARNING] The POM for
>> org.connid.bundles:org.connid.bundles.db.table:jar:2.1.5 is missing,
>> no dependency information available
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Apache Syncope sample project ..................... SUCCESS
>> [2.052s]
>> [INFO] Apache Syncope sample project core ................ FAILURE
>> [0.679s]
>> [INFO] Apache Syncope sample project console ............. SKIPPED
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 3.060s
>> [INFO] Finished at: Fri Jun 07 10:51:55 CEST 2013
>> [INFO] Final Memory: 20M/216M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal on project core: Could not resolve
>> dependencies for project org.apache.syncope:core:war:1.1.2-SNAPSHOT:
>> Failure to find
>> org.connid.bundles:org.connid.bundles.db.table:jar:2.1.5 in
>> https://repository.apache.org/content/repositories/snapshots/ was
>> cached in the local repository, resolution will not be reattempted
>> until the update interval of ASF has elapsed or updates are forced ->
>> [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]$
>>
>>
>>
>> My question is, what is missing in my pom definitions or in the doc
>> [1] to get the org.connid.bundles.db.table-2.1.5.jar
>> added under /opt/syncope/bundles/?
>>
>>
>> Regards,
>> Nik
>>
>> [1]
>> https://cwiki.apache.org/confluence/display/SYNCOPE/Install+connector+bundles
>>
>>
>>> Hi Massi,
>>>
>>> I understand this stand point.
>>>
>>> I have already thought about unravelling the war and re-creating it
>>> with the extra/optional bits - but it
>>> seems against the open source spirit of building apache syncope
>>> projects with maven (from my ignorant/debutant
>>> perspective on the subject).
>>>
>>> Anyway, we have other rather "messy" options to package software for
>>> our use, for the moment, things may change in
>>> the long term.
>>>
>>> Thanks for the advice in any case.
>>>
>>> rgds,
>>> Nik
>>>
>>>
>>>> Sorry Nik,
>>>> but this is a tipical architectural question and the right answer
>>>> would be possible only if we were directly involved into your project.
>>>>
>>>> A possible solution (I HAVE NOT TESTED IT) is to execute package
>>>> phase with "deployment directory" after put jar bundle files in
>>>> syncope-core.war.
>>>>
>>>> On 05/06/2013 13:52, Nik wrote:
>>>>> So here is my real question Massi. This is what I really want.
>>>>> When I generate syncope-core how can I do it so the deafult
>>>>> connectors are part of the syncope-core.war? The goal is to
>>>>> help me do a package install and deploy from less bits.
>>>>>
>>>>> Nik
>>>
>>
>>
> Hi Nik,
> you have to set db-table dependency in your parent POM as follows:
>
> <dependency>
> <groupId>org.connid.bundles.db</groupId>
> <artifactId>org.connid.bundles.db.table</artifactId>
> <version>${connid.db.table.version}</version>
> <scope>test</scope>
> </dependency>
>
> Regards,
> Andrea
>
Re: Extending Syncope: Install connector bundles
Posted by andrea patricelli <an...@tirasa.net>.
Il 07/06/2013 11:05, Nik ha scritto:
> Hi IDM'ers,
>
> Back to my original issue.
>
> My goal:
>
> - to create a project that has all my required connectors
> under/opt/syncope/bundles/after executing
> mvn clean package -Dbundles.directory=/opt/syncope/bundles
> -Dlog.directory=/opt/syncope/log
>
>
> i.ethese jars
> org.connid.bundles.csvdir-0.7.jar
> org.connid.bundles.ldap-1.3.5.jar
> org.connid.bundles.soap-1.2.6.jar
> org.connid.bundles.db.table-2.1.5.jar
>
> So I have worked on this ML with Massi in finding out, that without
> doing anything I can get by default:
>
> org.connid.bundles.csvdir-0.7.jar
> org.connid.bundles.ldap-1.3.5.jar
> org.connid.bundles.soap-1.2.6.jar
>
> under /opt/syncope/bundles/
> (using gen_pom_ori.xml, core_pom_ori.xml & console_pom_ori.xml
> (attached))
>
> VIZ:
> [INFO] --- maven-site-plugin:3.2:attach-descriptor (attach-descriptor)
> @ console ---
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Syncope sample project ..................... SUCCESS
> [2.106s]
> [INFO] Apache Syncope sample project core ................ SUCCESS
> [31.816s]
> [INFO] Apache Syncope sample project console ............. SUCCESS
> [48.148s]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1:22.421s
> [INFO] Finished at: Fri Jun 07 10:35:20 CEST 2013
> [INFO] Final Memory: 27M/286M
> [INFO]
> ------------------------------------------------------------------------
> [nik@anvil syncope-archetype]$ ls -l /opt/syncope/bundles/
> total 4924
> -rw-rw-r--. 1 nik nik 1515037 Jun 7 10:34
> org.connid.bundles.csvdir-0.7.jar
> -rw-rw-r--. 1 nik nik 204027 Jun 7 10:34
> org.connid.bundles.ldap-1.3.5.jar
> -rw-rw-r--. 1 nik nik 3320691 Jun 7 10:34
> org.connid.bundles.soap-1.2.6.jar
> [nik@anvil syncope-archetype]$
>
>
>
> Now, if I follow the instructions in [1] (as best I can)I adjust the
> poms to gen_pom_db.xml core_pom_db.xml & console_pom_db.xml (attached)
> and I get the following build failure:
>
> VIZ:
> 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]
> ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO]
> [INFO] Apache Syncope sample project
> [INFO] Apache Syncope sample project core
> [INFO] Apache Syncope sample project console
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache Syncope sample project 1.1.2-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @
> syncope-archetype ---
> [INFO] Deleting
> /home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/target
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-java) @
> syncope-archetype ---
> [INFO]
> [INFO] --- gmaven-plugin:1.5:execute (default) @ syncope-archetype ---
> [INFO]
> [INFO] --- maven-resources-plugin:2.6:copy-resources
> (copy-javadoc-legal-files) @ syncope-archetype ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO]
> [INFO] --- maven-site-plugin:3.2:attach-descriptor (attach-descriptor)
> @ syncope-archetype ---
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache Syncope sample project core 1.1.2-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [WARNING] The POM for
> org.connid.bundles:org.connid.bundles.db.table:jar:2.1.5 is missing,
> no dependency information available
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Syncope sample project ..................... SUCCESS
> [2.052s]
> [INFO] Apache Syncope sample project core ................ FAILURE
> [0.679s]
> [INFO] Apache Syncope sample project console ............. SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 3.060s
> [INFO] Finished at: Fri Jun 07 10:51:55 CEST 2013
> [INFO] Final Memory: 20M/216M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project core: Could not resolve
> dependencies for project org.apache.syncope:core:war:1.1.2-SNAPSHOT:
> Failure to find
> org.connid.bundles:org.connid.bundles.db.table:jar:2.1.5 in
> https://repository.apache.org/content/repositories/snapshots/ was
> cached in the local repository, resolution will not be reattempted
> until the update interval of ASF has elapsed or updates are forced ->
> [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]$
>
>
>
> My question is, what is missing in my pom definitions or in the doc
> [1] to get the org.connid.bundles.db.table-2.1.5.jar
> added under /opt/syncope/bundles/?
>
>
> Regards,
> Nik
>
> [1]
> https://cwiki.apache.org/confluence/display/SYNCOPE/Install+connector+bundles
>
>
>> Hi Massi,
>>
>> I understand this stand point.
>>
>> I have already thought about unravelling the war and re-creating it
>> with the extra/optional bits - but it
>> seems against the open source spirit of building apache syncope
>> projects with maven (from my ignorant/debutant
>> perspective on the subject).
>>
>> Anyway, we have other rather "messy" options to package software for
>> our use, for the moment, things may change in
>> the long term.
>>
>> Thanks for the advice in any case.
>>
>> rgds,
>> Nik
>>
>>
>>> Sorry Nik,
>>> but this is a tipical architectural question and the right answer
>>> would be possible only if we were directly involved into your project.
>>>
>>> A possible solution (I HAVE NOT TESTED IT) is to execute package
>>> phase with "deployment directory" after put jar bundle files in
>>> syncope-core.war.
>>>
>>> On 05/06/2013 13:52, Nik wrote:
>>>> So here is my real question Massi. This is what I really want.
>>>> When I generate syncope-core how can I do it so the deafult
>>>> connectors are part of the syncope-core.war? The goal is to
>>>> help me do a package install and deploy from less bits.
>>>>
>>>> Nik
>>
>
>
Hi Nik,
you have to set db-table dependency in your parent POM as follows:
<dependency>
<groupId>org.connid.bundles.db</groupId>
<artifactId>org.connid.bundles.db.table</artifactId>
<version>${connid.db.table.version}</version>
<scope>test</scope>
</dependency>
Regards,
Andrea
--
Dott. Andrea Patricelli
Tel +393204524292
Trainee @ Tirasa S.r.l.
Viale D'Annunzio 267 - 65127 Pescara
Tel +390859116307 / FAX +39 0859111173
http://www.tirasa.net
Re: Extending Syncope: Install connector bundles
Posted by Nik <ni...@usharesoft.com>.
Hi IDM'ers,
Back to my original issue.
My goal:
- to create a project that has all my required connectors
under/opt/syncope/bundles/after executing
mvn clean package -Dbundles.directory=/opt/syncope/bundles
-Dlog.directory=/opt/syncope/log
i.ethese jars
org.connid.bundles.csvdir-0.7.jar
org.connid.bundles.ldap-1.3.5.jar
org.connid.bundles.soap-1.2.6.jar
org.connid.bundles.db.table-2.1.5.jar
So I have worked on this ML with Massi in finding out, that without
doing anything I can get by default:
org.connid.bundles.csvdir-0.7.jar
org.connid.bundles.ldap-1.3.5.jar
org.connid.bundles.soap-1.2.6.jar
under /opt/syncope/bundles/
(using gen_pom_ori.xml, core_pom_ori.xml & console_pom_ori.xml (attached))
VIZ:
[INFO] --- maven-site-plugin:3.2:attach-descriptor (attach-descriptor) @
console ---
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Syncope sample project ..................... SUCCESS [2.106s]
[INFO] Apache Syncope sample project core ................ SUCCESS [31.816s]
[INFO] Apache Syncope sample project console ............. SUCCESS [48.148s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1:22.421s
[INFO] Finished at: Fri Jun 07 10:35:20 CEST 2013
[INFO] Final Memory: 27M/286M
[INFO]
------------------------------------------------------------------------
[nik@anvil syncope-archetype]$ ls -l /opt/syncope/bundles/
total 4924
-rw-rw-r--. 1 nik nik 1515037 Jun 7 10:34 org.connid.bundles.csvdir-0.7.jar
-rw-rw-r--. 1 nik nik 204027 Jun 7 10:34 org.connid.bundles.ldap-1.3.5.jar
-rw-rw-r--. 1 nik nik 3320691 Jun 7 10:34 org.connid.bundles.soap-1.2.6.jar
[nik@anvil syncope-archetype]$
Now, if I follow the instructions in [1] (as best I can)I adjust the
poms to gen_pom_db.xml core_pom_db.xml & console_pom_db.xml (attached)
and I get the following build failure:
VIZ:
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]
------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Apache Syncope sample project
[INFO] Apache Syncope sample project core
[INFO] Apache Syncope sample project console
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Syncope sample project 1.1.2-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @
syncope-archetype ---
[INFO] Deleting
/home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-java) @
syncope-archetype ---
[INFO]
[INFO] --- gmaven-plugin:1.5:execute (default) @ syncope-archetype ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:copy-resources
(copy-javadoc-legal-files) @ syncope-archetype ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-site-plugin:3.2:attach-descriptor (attach-descriptor) @
syncope-archetype ---
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Syncope sample project core 1.1.2-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[WARNING] The POM for
org.connid.bundles:org.connid.bundles.db.table:jar:2.1.5 is missing, no
dependency information available
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Syncope sample project ..................... SUCCESS [2.052s]
[INFO] Apache Syncope sample project core ................ FAILURE [0.679s]
[INFO] Apache Syncope sample project console ............. SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3.060s
[INFO] Finished at: Fri Jun 07 10:51:55 CEST 2013
[INFO] Final Memory: 20M/216M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project core: Could not resolve
dependencies for project org.apache.syncope:core:war:1.1.2-SNAPSHOT:
Failure to find org.connid.bundles:org.connid.bundles.db.table:jar:2.1.5
in https://repository.apache.org/content/repositories/snapshots/ was
cached in the local repository, resolution will not be reattempted until
the update interval of ASF has elapsed or updates are forced -> [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]$
My question is, what is missing in my pom definitions or in the doc [1]
to get the org.connid.bundles.db.table-2.1.5.jar
added under /opt/syncope/bundles/?
Regards,
Nik
[1]
https://cwiki.apache.org/confluence/display/SYNCOPE/Install+connector+bundles
> Hi Massi,
>
> I understand this stand point.
>
> I have already thought about unravelling the war and re-creating it
> with the extra/optional bits - but it
> seems against the open source spirit of building apache syncope
> projects with maven (from my ignorant/debutant
> perspective on the subject).
>
> Anyway, we have other rather "messy" options to package software for
> our use, for the moment, things may change in
> the long term.
>
> Thanks for the advice in any case.
>
> rgds,
> Nik
>
>
>> Sorry Nik,
>> but this is a tipical architectural question and the right answer
>> would be possible only if we were directly involved into your project.
>>
>> A possible solution (I HAVE NOT TESTED IT) is to execute package
>> phase with "deployment directory" after put jar bundle files in
>> syncope-core.war.
>>
>> On 05/06/2013 13:52, Nik wrote:
>>> So here is my real question Massi. This is what I really want.
>>> When I generate syncope-core how can I do it so the deafult
>>> connectors are part of the syncope-core.war? The goal is to
>>> help me do a package install and deploy from less bits.
>>>
>>> Nik
>
Re: Extending Syncope: Install connector bundles
Posted by Nik <ni...@usharesoft.com>.
Hi Massi,
I understand this stand point.
I have already thought about unravelling the war and re-creating it with
the extra/optional bits - but it
seems against the open source spirit of building apache syncope projects
with maven (from my ignorant/debutant
perspective on the subject).
Anyway, we have other rather "messy" options to package software for our
use, for the moment, things may change in
the long term.
Thanks for the advice in any case.
rgds,
Nik
> Sorry Nik,
> but this is a tipical architectural question and the right answer
> would be possible only if we were directly involved into your project.
>
> A possible solution (I HAVE NOT TESTED IT) is to execute package phase
> with "deployment directory" after put jar bundle files in
> syncope-core.war.
>
> On 05/06/2013 13:52, Nik wrote:
>> So here is my real question Massi. This is what I really want.
>> When I generate syncope-core how can I do it so the deafult
>> connectors are part of the syncope-core.war? The goal is to
>> help me do a package install and deploy from less bits.
>>
>> Nik
Re: Extending Syncope: Install connector bundles
Posted by Massimiliano Perrone <ma...@tirasa.net>.
Sorry Nik,
but this is a tipical architectural question and the right answer would
be possible only if we were directly involved into your project.
A possible solution (I HAVE NOT TESTED IT) is to execute package phase
with "deployment directory" after put jar bundle files in syncope-core.war.
On 05/06/2013 13:52, Nik wrote:
> So here is my real question Massi. This is what I really want.
> When I generate syncope-core how can I do it so the deafult
> connectors are part of the syncope-core.war? The goal is to
> help me do a package install and deploy from less bits.
>
> Nik
>> ;)
>>
>> On 05/06/2013 13:39, Nik wrote:
>>> I'm having an "ah-ha" moment Massi :-)
>>>
>>> I don't do anything and I get all the default connectors (in red) :-)
>>>
>>> [INFO]
>>> [INFO] --- maven-resources-plugin:2.6:testResources
>>> (default-testResources) @ core ---
>>> [INFO] Not copying test resources
>>> [INFO]
>>> [INFO] --- maven-dependency-plugin:2.7:copy (set-bundles) @ core ---
>>> [INFO] Configured Artifact:
>>> org.connid.bundles.soap:org.connid.bundles.soap:1.2.6:jar
>>> [INFO] Configured Artifact:
>>> org.connid.bundles:org.connid.bundles.csvdir:0.7:jar
>>> [INFO] Configured Artifact:
>>> org.connid.bundles:org.connid.bundles.ldap:1.3.5:jar
>>> [INFO] Copying org.connid.bundles.soap-1.2.6.jar to
>>> /opt/syncope/bundles/org.connid.bundles.soap-1.2.6.jar
>>> [INFO] Copying org.connid.bundles.csvdir-0.7.jar to
>>> /opt/syncope/bundles/org.connid.bundles.csvdir-0.7.jar
>>> [INFO] Copying org.connid.bundles.ldap-1.3.5.jar to
>>> /opt/syncope/bundles/org.connid.bundles.ldap-1.3.5.jar
>>> [INFO]
>>> [INFO] --- maven-compiler-plugin:3.1:testCompile
>>> (default-testCompile) @ core ---
>>> [INFO] Not compiling test sources
>>> [INFO]
>>> [INFO] --- maven-surefire-plugin:2.14:test (default-test) @ core ---
>>> [INFO] Tests are skipped.
>>> [INFO]
>>> [INFO] --- maven-war-plugin:2.1.1:war (default-war) @ core ---
>>> [INFO] Packaging webapp
>>> [INFO] Assembling webapp [core] in
>>> [/home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/core/target/syncope]
>>> [INFO] Processing war project
>>> [INFO] Copying webapp resources
>>> [/home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/core/src/main/webapp]
>>> [INFO] Processing overlay [ id org.apache.syncope:syncope-core]
>>> [INFO] Webapp assembled in [1356 msecs]
>>> [INFO] Building war:
>>> /home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/core/target/syncope.war
>>> [INFO] WEB-INF/web.xml already added, skipping
>>> [INFO]
>>> [INFO] --- maven-site-plugin:3.2:attach-descriptor
>>> (attach-descriptor) @ core ---
>>> [INFO]
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Building Apache Syncope sample project console 1.1.2-SNAPSHOT
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO]
>>> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ console ---
>>> [INFO] Deleting
>>> /home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/console/target
>>> [INFO]
>>> [INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-java) @
>>> console ---
>>> [INFO]
>>> [INFO] --- gmaven-plugin:1.5:execute (default) @ console ---
>>> [INFO]
>>> [INFO] --- maven-resources-plugin:2.6:resources (default-resources)
>>> @ console ---
>>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>>> [INFO] Copying 4 resources
>>> [INFO]
>>> [INFO] --- maven-resources-plugin:2.6:copy-resources
>>> (copy-javadoc-legal-files) @ console ---
>>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>>> [INFO] Copying 0 resource
>>> [INFO]
>>> [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @
>>> console ---
>>> [INFO] No sources to compile
>>> [INFO]
>>> [INFO] --- maven-resources-plugin:2.6:testResources
>>> (default-testResources) @ console ---
>>> [INFO] Not copying test resources
>>> [INFO]
>>> [INFO] --- maven-dependency-plugin:2.7:copy (set-bundles) @ console ---
>>> [INFO] Configured Artifact:
>>> org.connid.bundles.soap:org.connid.bundles.soap:1.2.6:jar
>>> [INFO] Configured Artifact:
>>> org.connid.bundles:org.connid.bundles.csvdir:0.7:jar
>>> [INFO] Configured Artifact:
>>> org.connid.bundles:org.connid.bundles.ldap:1.3.5:jar
>>> [INFO] org.connid.bundles.soap:org.connid.bundles.soap:1.2.6:jar
>>> already exists in /opt/syncope/bundles
>>> [INFO] org.connid.bundles:org.connid.bundles.csvdir:0.7:jar already
>>> exists in /opt/syncope/bundles
>>> [INFO] org.connid.bundles:org.connid.bundles.ldap:1.3.5:jar already
>>> exists in /opt/syncope/bundles
>>> [INFO]
>>> [INFO] --- maven-compiler-plugin:3.1:testCompile
>>> (default-testCompile) @ console ---
>>> [INFO] Not compiling test sources
>>> [INFO]
>>> [INFO] --- maven-surefire-plugin:2.14:test (default-test) @ console ---
>>> [INFO] Tests are skipped.
>>> [INFO]
>>> [INFO] --- maven-war-plugin:2.1.1:war (default-war) @ console ---
>>> [INFO] Packaging webapp
>>> [INFO] Assembling webapp [console] in
>>> [/home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/console/target/syncope-console]
>>> [INFO] Processing war project
>>> [INFO] Copying webapp resources
>>> [/home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/console/src/main/webapp]
>>> [INFO] Processing overlay [ id org.apache.syncope:syncope-console]
>>> [INFO] Webapp assembled in [913 msecs]
>>> [INFO] Building war:
>>> /home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/console/target/syncope-console.war
>>> [INFO] WEB-INF/web.xml already added, skipping
>>> [INFO]
>>> [INFO] --- maven-site-plugin:3.2:attach-descriptor
>>> (attach-descriptor) @ console ---
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Reactor Summary:
>>> [INFO]
>>> [INFO] Apache Syncope sample project ..................... SUCCESS
>>> [2.858s]
>>> [INFO] Apache Syncope sample project core ................ SUCCESS
>>> [9.715s]
>>> [INFO] Apache Syncope sample project console ............. SUCCESS
>>> [2.468s]
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] BUILD SUCCESS
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 15.562s
>>> [INFO] Finished at: Wed Jun 05 13:33:29 CEST 2013
>>> [INFO] Final Memory: 25M/224M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [nik@anvil syncope-archetype]$
>>>
>>> [nik@anvil syncope-archetype]$ ls -lR /opt/syncope/
>>> /opt/syncope/:
>>> total 8
>>> drwxrwxrwx. 2 root root 4096 Jun 5 13:33 bundles
>>> drwxrwxrwx. 2 root root 4096 May 22 17:29 log
>>>
>>> /opt/syncope/bundles:
>>> total 4924
>>> -rw-rw-r--. 1 nik nik 1515037 Jun 5 13:33
>>> org.connid.bundles.csvdir-0.7.jar
>>> -rw-rw-r--. 1 nik nik 204027 Jun 5 13:33
>>> org.connid.bundles.ldap-1.3.5.jar
>>> -rw-rw-r--. 1 nik nik 3320691 Jun 5 13:33
>>> org.connid.bundles.soap-1.2.6.jar
>>>
>>> /opt/syncope/log:
>>> total 0
>>> [nik@anvil syncope-archetype]$
>>>
>>> Great.
>>>
>>> So here is my question. This is what I really want.
>>> When I generate syncope-core how can I do it so the deafult
>>> connectors are part of the syncope-core.war? The goal is to
>>> help me do a package install and deploy from less bits.
>>>
>>> rgds,
>>> Nik
>>>
>>>
>>>> Nik,
>>>> you have NOT to define follow bundle:
>>>> *) CSV
>>>> *) LDAP
>>>> *) SOAP
>>>> because they are already defined into Syncope project.
>>>> You have to define a bundle in your project's pom for example to db
>>>> table or AD bundle, because they aren't used by default.
>>>>
>>>> Massi
>>>>
>>>> On 05/06/2013 10:52, Nik wrote:
>>>>> Getting there Massi.
>>>>>
>>>>> So with workaround to
>>>>> https://issues.apache.org/jira/browse/SYNCOPE-388and defining the
>>>>> connectors correctly in the pom, I get the following now:
>>>>>
>>>>> mvn clean package -Dmaven.test.skip=true
>>>>> -Dbundles.directory=/opt/syncope/bundles
>>>>> -Dlog.directory=/opt/syncope/log
>>>>> :
>>>>> :
>>>>> INFO]
>>>>> [INFO] --- maven-resources-plugin:2.6:testResources
>>>>> (default-testResources) @ core ---
>>>>> [INFO] Not copying test resources
>>>>> [INFO]
>>>>> [INFO] --- maven-dependency-plugin:2.7:copy (set-bundles) @ core ---
>>>>> [INFO] Configured Artifact:
>>>>> org.connid.bundles:org.connid.bundles.csvdir:0.7:jar
>>>>> [INFO] org.connid.bundles:org.connid.bundles.csvdir:0.7:jar
>>>>> already exists in /opt/syncope/bundles
>>>>> [INFO]
>>>>> [INFO] --- maven-compiler-plugin:3.1:testCompile
>>>>> (default-testCompile) @ core ---
>>>>> [INFO] Not compiling test sources
>>>>> [INFO]
>>>>> [INFO] --- maven-surefire-plugin:2.14.1:test (default-test) @ core ---
>>>>> [INFO] Tests are skipped.
>>>>> [INFO]
>>>>> [INFO] --- maven-war-plugin:2.1.1:war (default-war) @ core ---
>>>>> [INFO] Packaging webapp
>>>>> [INFO] Assembling webapp [core] in
>>>>> [/home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/core/target/syncope]
>>>>> [INFO] Processing war project
>>>>> [INFO] Copying webapp resources
>>>>> [/home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/core/src/main/webapp]
>>>>> [INFO] Processing overlay [ id org.apache.syncope:syncope-core]
>>>>> [INFO] Webapp assembled in [739 msecs]
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Reactor Summary:
>>>>> [INFO]
>>>>> [INFO] Apache Syncope sample project ..................... SUCCESS
>>>>> [2.001s]
>>>>> [INFO] Apache Syncope sample project core ................ FAILURE
>>>>> [3.656s]
>>>>> [INFO] Apache Syncope sample project console ............. SKIPPED
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] BUILD FAILURE
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Total time: 6.024s
>>>>> [INFO] Finished at: Wed Jun 05 10:49:31 CEST 2013
>>>>> [INFO] Final Memory: 29M/342M
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [ERROR] Failed to execute goal
>>>>> org.apache.maven.plugins:maven-war-plugin:2.1.1:war (default-war)
>>>>> on project core: Execution default-war of goal
>>>>> org.apache.maven.plugins:maven-war-plugin:2.1.1:war failed: For
>>>>> artifact {org.connid.bundles:org.connid.bundles.csvdir:null:jar}:
>>>>> The version cannot be empty. -> [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/PluginExecutionException
>>>>> [ERROR]
>>>>> [ERROR] After correcting the problems, you can resume the build
>>>>> with the command
>>>>> [ERROR] mvn <goals> -rf :core
>>>>> [nik@anvil syncope-archetype]$
>>>>> [nik@anvil syncope-archetype]$ ls -lrt /opt/syncope/bundles/total 1480
>>>>> -rw-rw-r--. 1 nik nik 1515037 Jun 5 10:34
>>>>> org.connid.bundles.csvdir-0.7.jar
>>>>> [nik@anvil syncope-archetype]$
>>>>>
>>>>> So I'm now missing the ldap/DB/SOAP connectors
>>>>> and I get the maven plugin error.
>>>>> rgds,
>>>>> Nik
>>>>>> On 05/06/2013 10:30, Nik wrote:
>>>>>>> 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
>>>>>>
>>>>>> Yeah, this is the right way to configure a bundle in pom, but
>>>>>> Syncope downloads soap bundle by default.
>>>>>>
>>>>
>>>>
>>>> --
>>>> 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)
>>>
>>
>>
>> --
>> 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)
>
--
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)
Re: Extending Syncope: Install connector bundles
Posted by Nik <ni...@usharesoft.com>.
So here is my real question Massi. This is what I really want.
When I generate syncope-core how can I do it so the deafult
connectors are part of the syncope-core.war? The goal is to
help me do a package install and deploy from less bits.
Nik
> ;)
>
> On 05/06/2013 13:39, Nik wrote:
>> I'm having an "ah-ha" moment Massi :-)
>>
>> I don't do anything and I get all the default connectors (in red) :-)
>>
>> [INFO]
>> [INFO] --- maven-resources-plugin:2.6:testResources
>> (default-testResources) @ core ---
>> [INFO] Not copying test resources
>> [INFO]
>> [INFO] --- maven-dependency-plugin:2.7:copy (set-bundles) @ core ---
>> [INFO] Configured Artifact:
>> org.connid.bundles.soap:org.connid.bundles.soap:1.2.6:jar
>> [INFO] Configured Artifact:
>> org.connid.bundles:org.connid.bundles.csvdir:0.7:jar
>> [INFO] Configured Artifact:
>> org.connid.bundles:org.connid.bundles.ldap:1.3.5:jar
>> [INFO] Copying org.connid.bundles.soap-1.2.6.jar to
>> /opt/syncope/bundles/org.connid.bundles.soap-1.2.6.jar
>> [INFO] Copying org.connid.bundles.csvdir-0.7.jar to
>> /opt/syncope/bundles/org.connid.bundles.csvdir-0.7.jar
>> [INFO] Copying org.connid.bundles.ldap-1.3.5.jar to
>> /opt/syncope/bundles/org.connid.bundles.ldap-1.3.5.jar
>> [INFO]
>> [INFO] --- maven-compiler-plugin:3.1:testCompile
>> (default-testCompile) @ core ---
>> [INFO] Not compiling test sources
>> [INFO]
>> [INFO] --- maven-surefire-plugin:2.14:test (default-test) @ core ---
>> [INFO] Tests are skipped.
>> [INFO]
>> [INFO] --- maven-war-plugin:2.1.1:war (default-war) @ core ---
>> [INFO] Packaging webapp
>> [INFO] Assembling webapp [core] in
>> [/home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/core/target/syncope]
>> [INFO] Processing war project
>> [INFO] Copying webapp resources
>> [/home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/core/src/main/webapp]
>> [INFO] Processing overlay [ id org.apache.syncope:syncope-core]
>> [INFO] Webapp assembled in [1356 msecs]
>> [INFO] Building war:
>> /home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/core/target/syncope.war
>> [INFO] WEB-INF/web.xml already added, skipping
>> [INFO]
>> [INFO] --- maven-site-plugin:3.2:attach-descriptor
>> (attach-descriptor) @ core ---
>> [INFO]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Building Apache Syncope sample project console 1.1.2-SNAPSHOT
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO]
>> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ console ---
>> [INFO] Deleting
>> /home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/console/target
>> [INFO]
>> [INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-java) @ console ---
>> [INFO]
>> [INFO] --- gmaven-plugin:1.5:execute (default) @ console ---
>> [INFO]
>> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
>> console ---
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] Copying 4 resources
>> [INFO]
>> [INFO] --- maven-resources-plugin:2.6:copy-resources
>> (copy-javadoc-legal-files) @ console ---
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] Copying 0 resource
>> [INFO]
>> [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @
>> console ---
>> [INFO] No sources to compile
>> [INFO]
>> [INFO] --- maven-resources-plugin:2.6:testResources
>> (default-testResources) @ console ---
>> [INFO] Not copying test resources
>> [INFO]
>> [INFO] --- maven-dependency-plugin:2.7:copy (set-bundles) @ console ---
>> [INFO] Configured Artifact:
>> org.connid.bundles.soap:org.connid.bundles.soap:1.2.6:jar
>> [INFO] Configured Artifact:
>> org.connid.bundles:org.connid.bundles.csvdir:0.7:jar
>> [INFO] Configured Artifact:
>> org.connid.bundles:org.connid.bundles.ldap:1.3.5:jar
>> [INFO] org.connid.bundles.soap:org.connid.bundles.soap:1.2.6:jar
>> already exists in /opt/syncope/bundles
>> [INFO] org.connid.bundles:org.connid.bundles.csvdir:0.7:jar already
>> exists in /opt/syncope/bundles
>> [INFO] org.connid.bundles:org.connid.bundles.ldap:1.3.5:jar already
>> exists in /opt/syncope/bundles
>> [INFO]
>> [INFO] --- maven-compiler-plugin:3.1:testCompile
>> (default-testCompile) @ console ---
>> [INFO] Not compiling test sources
>> [INFO]
>> [INFO] --- maven-surefire-plugin:2.14:test (default-test) @ console ---
>> [INFO] Tests are skipped.
>> [INFO]
>> [INFO] --- maven-war-plugin:2.1.1:war (default-war) @ console ---
>> [INFO] Packaging webapp
>> [INFO] Assembling webapp [console] in
>> [/home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/console/target/syncope-console]
>> [INFO] Processing war project
>> [INFO] Copying webapp resources
>> [/home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/console/src/main/webapp]
>> [INFO] Processing overlay [ id org.apache.syncope:syncope-console]
>> [INFO] Webapp assembled in [913 msecs]
>> [INFO] Building war:
>> /home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/console/target/syncope-console.war
>> [INFO] WEB-INF/web.xml already added, skipping
>> [INFO]
>> [INFO] --- maven-site-plugin:3.2:attach-descriptor
>> (attach-descriptor) @ console ---
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Apache Syncope sample project ..................... SUCCESS
>> [2.858s]
>> [INFO] Apache Syncope sample project core ................ SUCCESS
>> [9.715s]
>> [INFO] Apache Syncope sample project console ............. SUCCESS
>> [2.468s]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD SUCCESS
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 15.562s
>> [INFO] Finished at: Wed Jun 05 13:33:29 CEST 2013
>> [INFO] Final Memory: 25M/224M
>> [INFO]
>> ------------------------------------------------------------------------
>> [nik@anvil syncope-archetype]$
>>
>> [nik@anvil syncope-archetype]$ ls -lR /opt/syncope/
>> /opt/syncope/:
>> total 8
>> drwxrwxrwx. 2 root root 4096 Jun 5 13:33 bundles
>> drwxrwxrwx. 2 root root 4096 May 22 17:29 log
>>
>> /opt/syncope/bundles:
>> total 4924
>> -rw-rw-r--. 1 nik nik 1515037 Jun 5 13:33
>> org.connid.bundles.csvdir-0.7.jar
>> -rw-rw-r--. 1 nik nik 204027 Jun 5 13:33
>> org.connid.bundles.ldap-1.3.5.jar
>> -rw-rw-r--. 1 nik nik 3320691 Jun 5 13:33
>> org.connid.bundles.soap-1.2.6.jar
>>
>> /opt/syncope/log:
>> total 0
>> [nik@anvil syncope-archetype]$
>>
>> Great.
>>
>> So here is my question. This is what I really want.
>> When I generate syncope-core how can I do it so the deafult
>> connectors are part of the syncope-core.war? The goal is to
>> help me do a package install and deploy from less bits.
>>
>> rgds,
>> Nik
>>
>>
>>> Nik,
>>> you have NOT to define follow bundle:
>>> *) CSV
>>> *) LDAP
>>> *) SOAP
>>> because they are already defined into Syncope project.
>>> You have to define a bundle in your project's pom for example to db
>>> table or AD bundle, because they aren't used by default.
>>>
>>> Massi
>>>
>>> On 05/06/2013 10:52, Nik wrote:
>>>> Getting there Massi.
>>>>
>>>> So with workaround to
>>>> https://issues.apache.org/jira/browse/SYNCOPE-388and defining the
>>>> connectors correctly in the pom, I get the following now:
>>>>
>>>> mvn clean package -Dmaven.test.skip=true
>>>> -Dbundles.directory=/opt/syncope/bundles
>>>> -Dlog.directory=/opt/syncope/log
>>>> :
>>>> :
>>>> INFO]
>>>> [INFO] --- maven-resources-plugin:2.6:testResources
>>>> (default-testResources) @ core ---
>>>> [INFO] Not copying test resources
>>>> [INFO]
>>>> [INFO] --- maven-dependency-plugin:2.7:copy (set-bundles) @ core ---
>>>> [INFO] Configured Artifact:
>>>> org.connid.bundles:org.connid.bundles.csvdir:0.7:jar
>>>> [INFO] org.connid.bundles:org.connid.bundles.csvdir:0.7:jar already
>>>> exists in /opt/syncope/bundles
>>>> [INFO]
>>>> [INFO] --- maven-compiler-plugin:3.1:testCompile
>>>> (default-testCompile) @ core ---
>>>> [INFO] Not compiling test sources
>>>> [INFO]
>>>> [INFO] --- maven-surefire-plugin:2.14.1:test (default-test) @ core ---
>>>> [INFO] Tests are skipped.
>>>> [INFO]
>>>> [INFO] --- maven-war-plugin:2.1.1:war (default-war) @ core ---
>>>> [INFO] Packaging webapp
>>>> [INFO] Assembling webapp [core] in
>>>> [/home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/core/target/syncope]
>>>> [INFO] Processing war project
>>>> [INFO] Copying webapp resources
>>>> [/home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/core/src/main/webapp]
>>>> [INFO] Processing overlay [ id org.apache.syncope:syncope-core]
>>>> [INFO] Webapp assembled in [739 msecs]
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Reactor Summary:
>>>> [INFO]
>>>> [INFO] Apache Syncope sample project ..................... SUCCESS
>>>> [2.001s]
>>>> [INFO] Apache Syncope sample project core ................ FAILURE
>>>> [3.656s]
>>>> [INFO] Apache Syncope sample project console ............. SKIPPED
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] BUILD FAILURE
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 6.024s
>>>> [INFO] Finished at: Wed Jun 05 10:49:31 CEST 2013
>>>> [INFO] Final Memory: 29M/342M
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [ERROR] Failed to execute goal
>>>> org.apache.maven.plugins:maven-war-plugin:2.1.1:war (default-war)
>>>> on project core: Execution default-war of goal
>>>> org.apache.maven.plugins:maven-war-plugin:2.1.1:war failed: For
>>>> artifact {org.connid.bundles:org.connid.bundles.csvdir:null:jar}:
>>>> The version cannot be empty. -> [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/PluginExecutionException
>>>> [ERROR]
>>>> [ERROR] After correcting the problems, you can resume the build
>>>> with the command
>>>> [ERROR] mvn <goals> -rf :core
>>>> [nik@anvil syncope-archetype]$
>>>> [nik@anvil syncope-archetype]$ ls -lrt /opt/syncope/bundles/total 1480
>>>> -rw-rw-r--. 1 nik nik 1515037 Jun 5 10:34
>>>> org.connid.bundles.csvdir-0.7.jar
>>>> [nik@anvil syncope-archetype]$
>>>>
>>>> So I'm now missing the ldap/DB/SOAP connectors
>>>> and I get the maven plugin error.
>>>> rgds,
>>>> Nik
>>>>> On 05/06/2013 10:30, Nik wrote:
>>>>>> 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
>>>>>
>>>>> Yeah, this is the right way to configure a bundle in pom, but
>>>>> Syncope downloads soap bundle by default.
>>>>>
>>>
>>>
>>> --
>>> 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)
>>
>
>
> --
> 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)
Re: Extending Syncope: Install connector bundles
Posted by Massimiliano Perrone <ma...@tirasa.net>.
;)
On 05/06/2013 13:39, Nik wrote:
> I'm having an "ah-ha" moment Massi :-)
>
> I don't do anything and I get all the default connectors (in red) :-)
>
> [INFO]
> [INFO] --- maven-resources-plugin:2.6:testResources
> (default-testResources) @ core ---
> [INFO] Not copying test resources
> [INFO]
> [INFO] --- maven-dependency-plugin:2.7:copy (set-bundles) @ core ---
> [INFO] Configured Artifact:
> org.connid.bundles.soap:org.connid.bundles.soap:1.2.6:jar
> [INFO] Configured Artifact:
> org.connid.bundles:org.connid.bundles.csvdir:0.7:jar
> [INFO] Configured Artifact:
> org.connid.bundles:org.connid.bundles.ldap:1.3.5:jar
> [INFO] Copying org.connid.bundles.soap-1.2.6.jar to
> /opt/syncope/bundles/org.connid.bundles.soap-1.2.6.jar
> [INFO] Copying org.connid.bundles.csvdir-0.7.jar to
> /opt/syncope/bundles/org.connid.bundles.csvdir-0.7.jar
> [INFO] Copying org.connid.bundles.ldap-1.3.5.jar to
> /opt/syncope/bundles/org.connid.bundles.ldap-1.3.5.jar
> [INFO]
> [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile)
> @ core ---
> [INFO] Not compiling test sources
> [INFO]
> [INFO] --- maven-surefire-plugin:2.14:test (default-test) @ core ---
> [INFO] Tests are skipped.
> [INFO]
> [INFO] --- maven-war-plugin:2.1.1:war (default-war) @ core ---
> [INFO] Packaging webapp
> [INFO] Assembling webapp [core] in
> [/home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/core/target/syncope]
> [INFO] Processing war project
> [INFO] Copying webapp resources
> [/home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/core/src/main/webapp]
> [INFO] Processing overlay [ id org.apache.syncope:syncope-core]
> [INFO] Webapp assembled in [1356 msecs]
> [INFO] Building war:
> /home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/core/target/syncope.war
> [INFO] WEB-INF/web.xml already added, skipping
> [INFO]
> [INFO] --- maven-site-plugin:3.2:attach-descriptor (attach-descriptor)
> @ core ---
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache Syncope sample project console 1.1.2-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ console ---
> [INFO] Deleting
> /home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/console/target
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-java) @ console ---
> [INFO]
> [INFO] --- gmaven-plugin:1.5:execute (default) @ console ---
> [INFO]
> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
> console ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 4 resources
> [INFO]
> [INFO] --- maven-resources-plugin:2.6:copy-resources
> (copy-javadoc-legal-files) @ console ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO]
> [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @
> console ---
> [INFO] No sources to compile
> [INFO]
> [INFO] --- maven-resources-plugin:2.6:testResources
> (default-testResources) @ console ---
> [INFO] Not copying test resources
> [INFO]
> [INFO] --- maven-dependency-plugin:2.7:copy (set-bundles) @ console ---
> [INFO] Configured Artifact:
> org.connid.bundles.soap:org.connid.bundles.soap:1.2.6:jar
> [INFO] Configured Artifact:
> org.connid.bundles:org.connid.bundles.csvdir:0.7:jar
> [INFO] Configured Artifact:
> org.connid.bundles:org.connid.bundles.ldap:1.3.5:jar
> [INFO] org.connid.bundles.soap:org.connid.bundles.soap:1.2.6:jar
> already exists in /opt/syncope/bundles
> [INFO] org.connid.bundles:org.connid.bundles.csvdir:0.7:jar already
> exists in /opt/syncope/bundles
> [INFO] org.connid.bundles:org.connid.bundles.ldap:1.3.5:jar already
> exists in /opt/syncope/bundles
> [INFO]
> [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile)
> @ console ---
> [INFO] Not compiling test sources
> [INFO]
> [INFO] --- maven-surefire-plugin:2.14:test (default-test) @ console ---
> [INFO] Tests are skipped.
> [INFO]
> [INFO] --- maven-war-plugin:2.1.1:war (default-war) @ console ---
> [INFO] Packaging webapp
> [INFO] Assembling webapp [console] in
> [/home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/console/target/syncope-console]
> [INFO] Processing war project
> [INFO] Copying webapp resources
> [/home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/console/src/main/webapp]
> [INFO] Processing overlay [ id org.apache.syncope:syncope-console]
> [INFO] Webapp assembled in [913 msecs]
> [INFO] Building war:
> /home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/console/target/syncope-console.war
> [INFO] WEB-INF/web.xml already added, skipping
> [INFO]
> [INFO] --- maven-site-plugin:3.2:attach-descriptor (attach-descriptor)
> @ console ---
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Syncope sample project ..................... SUCCESS
> [2.858s]
> [INFO] Apache Syncope sample project core ................ SUCCESS
> [9.715s]
> [INFO] Apache Syncope sample project console ............. SUCCESS
> [2.468s]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 15.562s
> [INFO] Finished at: Wed Jun 05 13:33:29 CEST 2013
> [INFO] Final Memory: 25M/224M
> [INFO]
> ------------------------------------------------------------------------
> [nik@anvil syncope-archetype]$
>
> [nik@anvil syncope-archetype]$ ls -lR /opt/syncope/
> /opt/syncope/:
> total 8
> drwxrwxrwx. 2 root root 4096 Jun 5 13:33 bundles
> drwxrwxrwx. 2 root root 4096 May 22 17:29 log
>
> /opt/syncope/bundles:
> total 4924
> -rw-rw-r--. 1 nik nik 1515037 Jun 5 13:33
> org.connid.bundles.csvdir-0.7.jar
> -rw-rw-r--. 1 nik nik 204027 Jun 5 13:33
> org.connid.bundles.ldap-1.3.5.jar
> -rw-rw-r--. 1 nik nik 3320691 Jun 5 13:33
> org.connid.bundles.soap-1.2.6.jar
>
> /opt/syncope/log:
> total 0
> [nik@anvil syncope-archetype]$
>
> Great.
>
> So here is my question. This is what I really want.
> When I generate syncope-core how can I do it so the deafult
> connectors are part of the syncope-core.war? The goal is to
> help me do a package install and deploy from less bits.
>
> rgds,
> Nik
>
>
>> Nik,
>> you have NOT to define follow bundle:
>> *) CSV
>> *) LDAP
>> *) SOAP
>> because they are already defined into Syncope project.
>> You have to define a bundle in your project's pom for example to db
>> table or AD bundle, because they aren't used by default.
>>
>> Massi
>>
>> On 05/06/2013 10:52, Nik wrote:
>>> Getting there Massi.
>>>
>>> So with workaround to
>>> https://issues.apache.org/jira/browse/SYNCOPE-388and defining the
>>> connectors correctly in the pom, I get the following now:
>>>
>>> mvn clean package -Dmaven.test.skip=true
>>> -Dbundles.directory=/opt/syncope/bundles
>>> -Dlog.directory=/opt/syncope/log
>>> :
>>> :
>>> INFO]
>>> [INFO] --- maven-resources-plugin:2.6:testResources
>>> (default-testResources) @ core ---
>>> [INFO] Not copying test resources
>>> [INFO]
>>> [INFO] --- maven-dependency-plugin:2.7:copy (set-bundles) @ core ---
>>> [INFO] Configured Artifact:
>>> org.connid.bundles:org.connid.bundles.csvdir:0.7:jar
>>> [INFO] org.connid.bundles:org.connid.bundles.csvdir:0.7:jar already
>>> exists in /opt/syncope/bundles
>>> [INFO]
>>> [INFO] --- maven-compiler-plugin:3.1:testCompile
>>> (default-testCompile) @ core ---
>>> [INFO] Not compiling test sources
>>> [INFO]
>>> [INFO] --- maven-surefire-plugin:2.14.1:test (default-test) @ core ---
>>> [INFO] Tests are skipped.
>>> [INFO]
>>> [INFO] --- maven-war-plugin:2.1.1:war (default-war) @ core ---
>>> [INFO] Packaging webapp
>>> [INFO] Assembling webapp [core] in
>>> [/home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/core/target/syncope]
>>> [INFO] Processing war project
>>> [INFO] Copying webapp resources
>>> [/home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/core/src/main/webapp]
>>> [INFO] Processing overlay [ id org.apache.syncope:syncope-core]
>>> [INFO] Webapp assembled in [739 msecs]
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Reactor Summary:
>>> [INFO]
>>> [INFO] Apache Syncope sample project ..................... SUCCESS
>>> [2.001s]
>>> [INFO] Apache Syncope sample project core ................ FAILURE
>>> [3.656s]
>>> [INFO] Apache Syncope sample project console ............. SKIPPED
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 6.024s
>>> [INFO] Finished at: Wed Jun 05 10:49:31 CEST 2013
>>> [INFO] Final Memory: 29M/342M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] Failed to execute goal
>>> org.apache.maven.plugins:maven-war-plugin:2.1.1:war (default-war) on
>>> project core: Execution default-war of goal
>>> org.apache.maven.plugins:maven-war-plugin:2.1.1:war failed: For
>>> artifact {org.connid.bundles:org.connid.bundles.csvdir:null:jar}:
>>> The version cannot be empty. -> [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/PluginExecutionException
>>> [ERROR]
>>> [ERROR] After correcting the problems, you can resume the build with
>>> the command
>>> [ERROR] mvn <goals> -rf :core
>>> [nik@anvil syncope-archetype]$
>>> [nik@anvil syncope-archetype]$ ls -lrt /opt/syncope/bundles/total 1480
>>> -rw-rw-r--. 1 nik nik 1515037 Jun 5 10:34
>>> org.connid.bundles.csvdir-0.7.jar
>>> [nik@anvil syncope-archetype]$
>>>
>>> So I'm now missing the ldap/DB/SOAP connectors
>>> and I get the maven plugin error.
>>> rgds,
>>> Nik
>>>> On 05/06/2013 10:30, Nik wrote:
>>>>> 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
>>>>
>>>> Yeah, this is the right way to configure a bundle in pom, but
>>>> Syncope downloads soap bundle by default.
>>>>
>>
>>
>> --
>> 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)
>
--
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)
Re: Extending Syncope: Install connector bundles
Posted by Nik <ni...@usharesoft.com>.
I'm having an "ah-ha" moment Massi :-)
I don't do anything and I get all the default connectors (in red) :-)
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources
(default-testResources) @ core ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-dependency-plugin:2.7:copy (set-bundles) @ core ---
[INFO] Configured Artifact:
org.connid.bundles.soap:org.connid.bundles.soap:1.2.6:jar
[INFO] Configured Artifact:
org.connid.bundles:org.connid.bundles.csvdir:0.7:jar
[INFO] Configured Artifact:
org.connid.bundles:org.connid.bundles.ldap:1.3.5:jar
[INFO] Copying org.connid.bundles.soap-1.2.6.jar to
/opt/syncope/bundles/org.connid.bundles.soap-1.2.6.jar
[INFO] Copying org.connid.bundles.csvdir-0.7.jar to
/opt/syncope/bundles/org.connid.bundles.csvdir-0.7.jar
[INFO] Copying org.connid.bundles.ldap-1.3.5.jar to
/opt/syncope/bundles/org.connid.bundles.ldap-1.3.5.jar
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @
core ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.14:test (default-test) @ core ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-war-plugin:2.1.1:war (default-war) @ core ---
[INFO] Packaging webapp
[INFO] Assembling webapp [core] in
[/home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/core/target/syncope]
[INFO] Processing war project
[INFO] Copying webapp resources
[/home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/core/src/main/webapp]
[INFO] Processing overlay [ id org.apache.syncope:syncope-core]
[INFO] Webapp assembled in [1356 msecs]
[INFO] Building war:
/home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/core/target/syncope.war
[INFO] WEB-INF/web.xml already added, skipping
[INFO]
[INFO] --- maven-site-plugin:3.2:attach-descriptor (attach-descriptor) @
core ---
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Syncope sample project console 1.1.2-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ console ---
[INFO] Deleting
/home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/console/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-java) @ console ---
[INFO]
[INFO] --- gmaven-plugin:1.5:execute (default) @ console ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
console ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO]
[INFO] --- maven-resources-plugin:2.6:copy-resources
(copy-javadoc-legal-files) @ console ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ console ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources
(default-testResources) @ console ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-dependency-plugin:2.7:copy (set-bundles) @ console ---
[INFO] Configured Artifact:
org.connid.bundles.soap:org.connid.bundles.soap:1.2.6:jar
[INFO] Configured Artifact:
org.connid.bundles:org.connid.bundles.csvdir:0.7:jar
[INFO] Configured Artifact:
org.connid.bundles:org.connid.bundles.ldap:1.3.5:jar
[INFO] org.connid.bundles.soap:org.connid.bundles.soap:1.2.6:jar already
exists in /opt/syncope/bundles
[INFO] org.connid.bundles:org.connid.bundles.csvdir:0.7:jar already
exists in /opt/syncope/bundles
[INFO] org.connid.bundles:org.connid.bundles.ldap:1.3.5:jar already
exists in /opt/syncope/bundles
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @
console ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.14:test (default-test) @ console ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-war-plugin:2.1.1:war (default-war) @ console ---
[INFO] Packaging webapp
[INFO] Assembling webapp [console] in
[/home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/console/target/syncope-console]
[INFO] Processing war project
[INFO] Copying webapp resources
[/home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/console/src/main/webapp]
[INFO] Processing overlay [ id org.apache.syncope:syncope-console]
[INFO] Webapp assembled in [913 msecs]
[INFO] Building war:
/home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/console/target/syncope-console.war
[INFO] WEB-INF/web.xml already added, skipping
[INFO]
[INFO] --- maven-site-plugin:3.2:attach-descriptor (attach-descriptor) @
console ---
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Syncope sample project ..................... SUCCESS [2.858s]
[INFO] Apache Syncope sample project core ................ SUCCESS [9.715s]
[INFO] Apache Syncope sample project console ............. SUCCESS [2.468s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 15.562s
[INFO] Finished at: Wed Jun 05 13:33:29 CEST 2013
[INFO] Final Memory: 25M/224M
[INFO]
------------------------------------------------------------------------
[nik@anvil syncope-archetype]$
[nik@anvil syncope-archetype]$ ls -lR /opt/syncope/
/opt/syncope/:
total 8
drwxrwxrwx. 2 root root 4096 Jun 5 13:33 bundles
drwxrwxrwx. 2 root root 4096 May 22 17:29 log
/opt/syncope/bundles:
total 4924
-rw-rw-r--. 1 nik nik 1515037 Jun 5 13:33 org.connid.bundles.csvdir-0.7.jar
-rw-rw-r--. 1 nik nik 204027 Jun 5 13:33 org.connid.bundles.ldap-1.3.5.jar
-rw-rw-r--. 1 nik nik 3320691 Jun 5 13:33 org.connid.bundles.soap-1.2.6.jar
/opt/syncope/log:
total 0
[nik@anvil syncope-archetype]$
Great.
So here is my question. This is what I really want.
When I generate syncope-core how can I do it so the deafult
connectors are part of the syncope-core.war? The goal is to
help me do a package install and deploy from less bits.
rgds,
Nik
> Nik,
> you have NOT to define follow bundle:
> *) CSV
> *) LDAP
> *) SOAP
> because they are already defined into Syncope project.
> You have to define a bundle in your project's pom for example to db
> table or AD bundle, because they aren't used by default.
>
> Massi
>
> On 05/06/2013 10:52, Nik wrote:
>> Getting there Massi.
>>
>> So with workaround to
>> https://issues.apache.org/jira/browse/SYNCOPE-388and defining the
>> connectors correctly in the pom, I get the following now:
>>
>> mvn clean package -Dmaven.test.skip=true
>> -Dbundles.directory=/opt/syncope/bundles -Dlog.directory=/opt/syncope/log
>> :
>> :
>> INFO]
>> [INFO] --- maven-resources-plugin:2.6:testResources
>> (default-testResources) @ core ---
>> [INFO] Not copying test resources
>> [INFO]
>> [INFO] --- maven-dependency-plugin:2.7:copy (set-bundles) @ core ---
>> [INFO] Configured Artifact:
>> org.connid.bundles:org.connid.bundles.csvdir:0.7:jar
>> [INFO] org.connid.bundles:org.connid.bundles.csvdir:0.7:jar already
>> exists in /opt/syncope/bundles
>> [INFO]
>> [INFO] --- maven-compiler-plugin:3.1:testCompile
>> (default-testCompile) @ core ---
>> [INFO] Not compiling test sources
>> [INFO]
>> [INFO] --- maven-surefire-plugin:2.14.1:test (default-test) @ core ---
>> [INFO] Tests are skipped.
>> [INFO]
>> [INFO] --- maven-war-plugin:2.1.1:war (default-war) @ core ---
>> [INFO] Packaging webapp
>> [INFO] Assembling webapp [core] in
>> [/home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/core/target/syncope]
>> [INFO] Processing war project
>> [INFO] Copying webapp resources
>> [/home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/core/src/main/webapp]
>> [INFO] Processing overlay [ id org.apache.syncope:syncope-core]
>> [INFO] Webapp assembled in [739 msecs]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Apache Syncope sample project ..................... SUCCESS
>> [2.001s]
>> [INFO] Apache Syncope sample project core ................ FAILURE
>> [3.656s]
>> [INFO] Apache Syncope sample project console ............. SKIPPED
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 6.024s
>> [INFO] Finished at: Wed Jun 05 10:49:31 CEST 2013
>> [INFO] Final Memory: 29M/342M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-war-plugin:2.1.1:war (default-war) on
>> project core: Execution default-war of goal
>> org.apache.maven.plugins:maven-war-plugin:2.1.1:war failed: For
>> artifact {org.connid.bundles:org.connid.bundles.csvdir:null:jar}: The
>> version cannot be empty. -> [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/PluginExecutionException
>> [ERROR]
>> [ERROR] After correcting the problems, you can resume the build with
>> the command
>> [ERROR] mvn <goals> -rf :core
>> [nik@anvil syncope-archetype]$
>> [nik@anvil syncope-archetype]$ ls -lrt /opt/syncope/bundles/total 1480
>> -rw-rw-r--. 1 nik nik 1515037 Jun 5 10:34
>> org.connid.bundles.csvdir-0.7.jar
>> [nik@anvil syncope-archetype]$
>>
>> So I'm now missing the ldap/DB/SOAP connectors
>> and I get the maven plugin error.
>> rgds,
>> Nik
>>> On 05/06/2013 10:30, Nik wrote:
>>>> 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
>>>
>>> Yeah, this is the right way to configure a bundle in pom, but
>>> Syncope downloads soap bundle by default.
>>>
>
>
> --
> 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)
Re: Extending Syncope: Install connector bundles
Posted by Massimiliano Perrone <ma...@tirasa.net>.
Nik,
you have NOT to define follow bundle:
*) CSV
*) LDAP
*) SOAP
because they are already defined into Syncope project.
You have to define a bundle in your project's pom for example to db
table or AD bundle, because they aren't used by default.
Massi
On 05/06/2013 10:52, Nik wrote:
> Getting there Massi.
>
> So with workaround to
> https://issues.apache.org/jira/browse/SYNCOPE-388and defining the
> connectors correctly in the pom, I get the following now:
>
> mvn clean package -Dmaven.test.skip=true
> -Dbundles.directory=/opt/syncope/bundles -Dlog.directory=/opt/syncope/log
> :
> :
> INFO]
> [INFO] --- maven-resources-plugin:2.6:testResources
> (default-testResources) @ core ---
> [INFO] Not copying test resources
> [INFO]
> [INFO] --- maven-dependency-plugin:2.7:copy (set-bundles) @ core ---
> [INFO] Configured Artifact:
> org.connid.bundles:org.connid.bundles.csvdir:0.7:jar
> [INFO] org.connid.bundles:org.connid.bundles.csvdir:0.7:jar already
> exists in /opt/syncope/bundles
> [INFO]
> [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile)
> @ core ---
> [INFO] Not compiling test sources
> [INFO]
> [INFO] --- maven-surefire-plugin:2.14.1:test (default-test) @ core ---
> [INFO] Tests are skipped.
> [INFO]
> [INFO] --- maven-war-plugin:2.1.1:war (default-war) @ core ---
> [INFO] Packaging webapp
> [INFO] Assembling webapp [core] in
> [/home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/core/target/syncope]
> [INFO] Processing war project
> [INFO] Copying webapp resources
> [/home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/core/src/main/webapp]
> [INFO] Processing overlay [ id org.apache.syncope:syncope-core]
> [INFO] Webapp assembled in [739 msecs]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Syncope sample project ..................... SUCCESS
> [2.001s]
> [INFO] Apache Syncope sample project core ................ FAILURE
> [3.656s]
> [INFO] Apache Syncope sample project console ............. SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 6.024s
> [INFO] Finished at: Wed Jun 05 10:49:31 CEST 2013
> [INFO] Final Memory: 29M/342M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-war-plugin:2.1.1:war (default-war) on
> project core: Execution default-war of goal
> org.apache.maven.plugins:maven-war-plugin:2.1.1:war failed: For
> artifact {org.connid.bundles:org.connid.bundles.csvdir:null:jar}: The
> version cannot be empty. -> [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/PluginExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with
> the command
> [ERROR] mvn <goals> -rf :core
> [nik@anvil syncope-archetype]$
> [nik@anvil syncope-archetype]$ ls -lrt /opt/syncope/bundles/total 1480
> -rw-rw-r--. 1 nik nik 1515037 Jun 5 10:34
> org.connid.bundles.csvdir-0.7.jar
> [nik@anvil syncope-archetype]$
>
> So I'm now missing the ldap/DB/SOAP connectors
> and I get the maven plugin error.
> rgds,
> Nik
>> On 05/06/2013 10:30, Nik wrote:
>>> 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
>>
>> Yeah, this is the right way to configure a bundle in pom, but Syncope
>> downloads soap bundle by default.
>>
--
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)
Re: Extending Syncope: Install connector bundles
Posted by Nik <ni...@usharesoft.com>.
Getting there Massi.
So with workaround to
https://issues.apache.org/jira/browse/SYNCOPE-388and defining the
connectors correctly in the pom, I get the following now:
mvn clean package -Dmaven.test.skip=true
-Dbundles.directory=/opt/syncope/bundles -Dlog.directory=/opt/syncope/log
:
:
INFO]
[INFO] --- maven-resources-plugin:2.6:testResources
(default-testResources) @ core ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-dependency-plugin:2.7:copy (set-bundles) @ core ---
[INFO] Configured Artifact:
org.connid.bundles:org.connid.bundles.csvdir:0.7:jar
[INFO] org.connid.bundles:org.connid.bundles.csvdir:0.7:jar already
exists in /opt/syncope/bundles
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @
core ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.14.1:test (default-test) @ core ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-war-plugin:2.1.1:war (default-war) @ core ---
[INFO] Packaging webapp
[INFO] Assembling webapp [core] in
[/home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/core/target/syncope]
[INFO] Processing war project
[INFO] Copying webapp resources
[/home/nik/UShareSoft/WKS/syncopeOnGlassfish/syncope-archetype/core/src/main/webapp]
[INFO] Processing overlay [ id org.apache.syncope:syncope-core]
[INFO] Webapp assembled in [739 msecs]
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Syncope sample project ..................... SUCCESS [2.001s]
[INFO] Apache Syncope sample project core ................ FAILURE [3.656s]
[INFO] Apache Syncope sample project console ............. SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 6.024s
[INFO] Finished at: Wed Jun 05 10:49:31 CEST 2013
[INFO] Final Memory: 29M/342M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-war-plugin:2.1.1:war (default-war) on
project core: Execution default-war of goal
org.apache.maven.plugins:maven-war-plugin:2.1.1:war failed: For artifact
{org.connid.bundles:org.connid.bundles.csvdir:null:jar}: The version
cannot be empty. -> [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/PluginExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR] mvn <goals> -rf :core
[nik@anvil syncope-archetype]$
[nik@anvil syncope-archetype]$ ls -lrt /opt/syncope/bundles/total 1480
-rw-rw-r--. 1 nik nik 1515037 Jun 5 10:34 org.connid.bundles.csvdir-0.7.jar
[nik@anvil syncope-archetype]$
So I'm now missing the ldap/DB/SOAP connectors
and I get the maven plugin error.
rgds,
Nik
> On 05/06/2013 10:30, Nik wrote:
>> 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
>
> Yeah, this is the right way to configure a bundle in pom, but Syncope
> downloads soap bundle by default.
>
Re: Extending Syncope: Install connector bundles
Posted by Massimiliano Perrone <ma...@tirasa.net>.
On 05/06/2013 10:30, Nik wrote:
> 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
Yeah, this is the right way to configure a bundle in pom, but Syncope
downloads soap bundle by default.
>> 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)
>>
>
--
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)
Re: Extending Syncope: Install connector bundles
Posted by Nik <ni...@usharesoft.com>.
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)
>
Re: Extending Syncope: Install connector bundles
Posted by Massimiliano Perrone <ma...@tirasa.net>.
find ${syncope-bundles-directory} - name org.connid.bundles.soap-1.2.6.jar
where ${syncope-bundles-directory} is something like /opt/syncope/bundles
On 05/06/2013 10:26, Nik wrote:
> 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)
>
--
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)
Re: Extending Syncope: Install connector bundles
Posted by Nik <ni...@usharesoft.com>.
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)
Re: Extending Syncope: Install connector bundles
Posted by Massimiliano Perrone <ma...@tirasa.net>.
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)