Re: Syncope 2.1.0 installer problem: Invocation Problem calling org.apache.syncope.installer.processes.ArchetypeProcess

2018-07-10 Thread Francesco Chicchiriccò

On 10/07/2018 14:39, Francesco Chicchiriccò wrote:

On 10/07/2018 14:35, Francesco Chicchiriccò wrote:

On 10/07/2018 14:26, gatherer wrote:

Am Tue, 10 Jul 2018 12:17:41 +0200
schrieb gatherer :


Am Tue, 10 Jul 2018 11:38:06 +0200
schrieb Francesco Chicchiriccò :


Hi,
this problems sounds a consequence of SYNCOPE-1334 [1], which should
be fixed anytime soon.

To be sure, can you please paste the log files content into
pastebin.com or similar? Thanks.

Hi,

turning on stacktrace on izpack installer shows some more info:

devel@linux-rphr:~/Downloads> java -DSTACKTRACE=true -jar
syncope-installer-2.1.0-uber.jar Command line arguments:
SEVERE: Invocation Problem calling:
org.apache.syncope.installer.processes.ArchetypeProcess
java.lang.reflect.InvocationTargetException at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method) at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 


at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 


at java.base/java.lang.reflect.Method.invoke(Method.java:566) at
com.izforge.izpack.panels.process.ProcessPanelWorker$ExecutableClass.run(ProcessPanelWorker.java:757) 


at
com.izforge.izpack.panels.process.ProcessPanelWorker$ProcessingJob.run(ProcessPanelWorker.java:471) 


at
com.izforge.izpack.panels.process.ProcessPanelWorker.runJob(ProcessPanelWorker.java:415) 


at
com.izforge.izpack.panels.process.ProcessPanelWorker.run(ProcessPanelWorker.java:350) 


at java.base/java.lang.Thread.run(Thread.java:834) Caused by:
java.lang.NoClassDefFoundError:
org/apache/maven/shared/utils/cli/StreamConsumer at
java.base/java.lang.ClassLoader.defineClass1(Native Method) at
java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016) at
java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174) 


at
java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:801) 


at
java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:699) 


at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:622) 


at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580) 


at
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) 


at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) at
org.apache.syncope.installer.processes.ArchetypeProcess.run(ArchetypeProcess.java:62) 
...

9 more Caused by: java.lang.ClassNotFoundException:
org.apache.maven.shared.utils.cli.StreamConsumer at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582) 


at
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) 


at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) ...
19 more


Question: which Maven version did you set for usage with Syncope 
installer?


Secondly: since you are on Linux, you could go with generating a 
Maven project [1], applying the workaround suggested on SYNCOPE-1334 
and finally customizing the sources for your actual DBMS [2] (if not 
PostgreSQL) and Java EE container (if not Tomcat) [3].


Now you can build according to the mvn command in [4], e.g.

mvn clean verify \
   -Dconf.directory=/opt/syncope/conf \
   -Dbundles.directory=/opt/syncope/bundles \
   -Dlog.directory=/opt/syncope/log

then copy the property files into the appropriate directories, and 
deploy the generated WAR files.


...even simpler: you can use Docker [5].

Please consider that, due to a temporary issue, 2.1.0 images are not 
yet available on DockerHub: just use 2.1.1-SNAPSHOT, in case, for 
product evaluation purposes.


FYI, Syncope 2.1.0 images are now published to DockerHub.
Regards.


[1] https://syncope.apache.org/docs/getting-started.html#maven-project
[2] https://syncope.apache.org/docs/reference-guide.html#dbms
[3] 
https://syncope.apache.org/docs/reference-guide.html#javaee-container

[4] https://syncope.apache.org/docs/reference-guide.html#customization

[5] https://syncope.apache.org/docs/getting-started.html#docker



--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/



Apache Syncope version 2.1 findings

2018-07-10 Thread Mikael Ekblom
Hi,


I have now tested the 2.1 version or let us say that the installation procedure 
was tested. My installation path was from 2.0.9. My findings are the following:


  1.  I had the same regarding the Junit version error message regarding 
syncope console, but I did not delete the junit dependency in the console 
pom-file. I just added the version information as  4.8.1  
dummy value and it went through.
  2.  The database script generated the required sql-file as expected, but I 
had to manually run most of it to double check that i got all the relations and 
indexes set. I noted during this process that the table ownership was changed 
from syncope to the default postgres DBA user, so I had to change this 
manually. This was for the new relations that were created through the sql 
scipt file. Easily fixed though.
  3.  The core is not so keen on starting...:) The rest is up and running 
(enduser and syncope-console) but not the core. The log claims the following:
 *
17:31:00.300 ERROR org.flowable.engine.impl.cmd.ValidateV5EntitiesCmd - Found 
v5 process definitions that are the latest version. Enable the 
'flowable5CompatibilityEnabled' property in the process engine configuration 
and make sure the flowable5-compatibility dependency is available on the 
classpath
17:31:00.304 ERROR org.flowable.engine.impl.cmd.ValidateV5EntitiesCmd - Found 
v5 process definition with id: userWorkflow:61:5012291, and key: userWorkflow
  4.  I hope that I do not have to recreate every user due to this error...:)

Regarding number 3: can I somehow affect this during run time within 
workflow.properties or must it be done within the source and the corresponding 
xml configuration for flowable itself? The flowable engine has not been in use 
here before. I just do not find out right now where this configuration change 
should go?


Otherwise...all my own customization did compile for version 2.1 also after 
some modifications. Optional seems to be in pretty heavy use:) More has 
been packed into interfaces.


I just need to get the core started...:)


Regards,


Mikael




Re: Syncope 2.1.0 installer problem: Invocation Problem calling org.apache.syncope.installer.processes.ArchetypeProcess

2018-07-10 Thread Francesco Chicchiriccò

On 10/07/2018 14:35, Francesco Chicchiriccò wrote:

On 10/07/2018 14:26, gatherer wrote:

Am Tue, 10 Jul 2018 12:17:41 +0200
schrieb gatherer :


Am Tue, 10 Jul 2018 11:38:06 +0200
schrieb Francesco Chicchiriccò :


Hi,
this problems sounds a consequence of SYNCOPE-1334 [1], which should
be fixed anytime soon.

To be sure, can you please paste the log files content into
pastebin.com or similar? Thanks.

Hi,

turning on stacktrace on izpack installer shows some more info:

devel@linux-rphr:~/Downloads> java -DSTACKTRACE=true -jar
syncope-installer-2.1.0-uber.jar Command line arguments:
SEVERE: Invocation Problem calling:
org.apache.syncope.installer.processes.ArchetypeProcess
java.lang.reflect.InvocationTargetException at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method) at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 


at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 


at java.base/java.lang.reflect.Method.invoke(Method.java:566) at
com.izforge.izpack.panels.process.ProcessPanelWorker$ExecutableClass.run(ProcessPanelWorker.java:757) 


at
com.izforge.izpack.panels.process.ProcessPanelWorker$ProcessingJob.run(ProcessPanelWorker.java:471) 


at
com.izforge.izpack.panels.process.ProcessPanelWorker.runJob(ProcessPanelWorker.java:415) 


at
com.izforge.izpack.panels.process.ProcessPanelWorker.run(ProcessPanelWorker.java:350) 


at java.base/java.lang.Thread.run(Thread.java:834) Caused by:
java.lang.NoClassDefFoundError:
org/apache/maven/shared/utils/cli/StreamConsumer at
java.base/java.lang.ClassLoader.defineClass1(Native Method) at
java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016) at
java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174) 


at
java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:801) 


at
java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:699) 


at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:622) 


at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580) 


at
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) 


at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) at
org.apache.syncope.installer.processes.ArchetypeProcess.run(ArchetypeProcess.java:62) 
...

9 more Caused by: java.lang.ClassNotFoundException:
org.apache.maven.shared.utils.cli.StreamConsumer at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582) 


at
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) 


at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) ...
19 more


Question: which Maven version did you set for usage with Syncope 
installer?


Secondly: since you are on Linux, you could go with generating a Maven 
project [1], applying the workaround suggested on SYNCOPE-1334 and 
finally customizing the sources for your actual DBMS [2] (if not 
PostgreSQL) and Java EE container (if not Tomcat) [3].


Now you can build according to the mvn command in [4], e.g.

mvn clean verify \
   -Dconf.directory=/opt/syncope/conf \
   -Dbundles.directory=/opt/syncope/bundles \
   -Dlog.directory=/opt/syncope/log

then copy the property files into the appropriate directories, and 
deploy the generated WAR files.


...even simpler: you can use Docker [5].

Please consider that, due to a temporary issue, 2.1.0 images are not yet 
available on DockerHub: just use 2.1.1-SNAPSHOT, in case, for product 
evaluation purposes.


Regards.


[1] https://syncope.apache.org/docs/getting-started.html#maven-project
[2] https://syncope.apache.org/docs/reference-guide.html#dbms
[3] https://syncope.apache.org/docs/reference-guide.html#javaee-container
[4] https://syncope.apache.org/docs/reference-guide.html#customization

[5] https://syncope.apache.org/docs/getting-started.html#docker

--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/



Re: Syncope 2.1.0 installer problem: Invocation Problem calling org.apache.syncope.installer.processes.ArchetypeProcess

2018-07-10 Thread Francesco Chicchiriccò

On 10/07/2018 14:26, gatherer wrote:

Am Tue, 10 Jul 2018 12:17:41 +0200
schrieb gatherer :


Am Tue, 10 Jul 2018 11:38:06 +0200
schrieb Francesco Chicchiriccò :


Hi,
this problems sounds a consequence of SYNCOPE-1334 [1], which should
be fixed anytime soon.

To be sure, can you please paste the log files content into
pastebin.com or similar? Thanks.

Hi,

turning on stacktrace on izpack installer shows some more info:

devel@linux-rphr:~/Downloads> java -DSTACKTRACE=true -jar
syncope-installer-2.1.0-uber.jar Command line arguments:
SEVERE: Invocation Problem calling:
org.apache.syncope.installer.processes.ArchetypeProcess
java.lang.reflect.InvocationTargetException at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method) at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566) at
com.izforge.izpack.panels.process.ProcessPanelWorker$ExecutableClass.run(ProcessPanelWorker.java:757)
at
com.izforge.izpack.panels.process.ProcessPanelWorker$ProcessingJob.run(ProcessPanelWorker.java:471)
at
com.izforge.izpack.panels.process.ProcessPanelWorker.runJob(ProcessPanelWorker.java:415)
at
com.izforge.izpack.panels.process.ProcessPanelWorker.run(ProcessPanelWorker.java:350)
at java.base/java.lang.Thread.run(Thread.java:834) Caused by:
java.lang.NoClassDefFoundError:
org/apache/maven/shared/utils/cli/StreamConsumer at
java.base/java.lang.ClassLoader.defineClass1(Native Method) at
java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016) at
java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)
at
java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:801)
at
java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:699)
at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:622)
at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) at
org.apache.syncope.installer.processes.ArchetypeProcess.run(ArchetypeProcess.java:62)
 ...
9 more Caused by: java.lang.ClassNotFoundException:
org.apache.maven.shared.utils.cli.StreamConsumer at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
at
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) ...
19 more


Question: which Maven version did you set for usage with Syncope installer?

Secondly: since you are on Linux, you could go with generating a Maven 
project [1], applying the workaround suggested on SYNCOPE-1334 and 
finally customizing the sources for your actual DBMS [2] (if not 
PostgreSQL) and Java EE container (if not Tomcat) [3].


Now you can build according to the mvn command in [4], e.g.

mvn clean verify \
   -Dconf.directory=/opt/syncope/conf \
   -Dbundles.directory=/opt/syncope/bundles \
   -Dlog.directory=/opt/syncope/log

then copy the property files into the appropriate directories, and 
deploy the generated WAR files.


HTH
Regareds.

[1] https://syncope.apache.org/docs/getting-started.html#maven-project
[2] https://syncope.apache.org/docs/reference-guide.html#dbms
[3] https://syncope.apache.org/docs/reference-guide.html#javaee-container
[4] https://syncope.apache.org/docs/reference-guide.html#customization

--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/



Re: Syncope 2.1.0 installer problem: Invocation Problem calling org.apache.syncope.installer.processes.ArchetypeProcess

2018-07-10 Thread gatherer
Am Tue, 10 Jul 2018 12:17:41 +0200
schrieb gatherer :

> Am Tue, 10 Jul 2018 11:38:06 +0200
> schrieb Francesco Chicchiriccò :
> 
> > 
> > Hi,
> > this problems sounds a consequence of SYNCOPE-1334 [1], which should
> > be fixed anytime soon.
> > 
> > To be sure, can you please paste the log files content into
> > pastebin.com or similar? Thanks.  
> 

Hi,

turning on stacktrace on izpack installer shows some more info:

devel@linux-rphr:~/Downloads> java -DSTACKTRACE=true -jar
syncope-installer-2.1.0-uber.jar Command line arguments: 
SEVERE: Invocation Problem calling:
org.apache.syncope.installer.processes.ArchetypeProcess
java.lang.reflect.InvocationTargetException at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method) at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566) at
com.izforge.izpack.panels.process.ProcessPanelWorker$ExecutableClass.run(ProcessPanelWorker.java:757)
at
com.izforge.izpack.panels.process.ProcessPanelWorker$ProcessingJob.run(ProcessPanelWorker.java:471)
at
com.izforge.izpack.panels.process.ProcessPanelWorker.runJob(ProcessPanelWorker.java:415)
at
com.izforge.izpack.panels.process.ProcessPanelWorker.run(ProcessPanelWorker.java:350)
at java.base/java.lang.Thread.run(Thread.java:834) Caused by:
java.lang.NoClassDefFoundError:
org/apache/maven/shared/utils/cli/StreamConsumer at
java.base/java.lang.ClassLoader.defineClass1(Native Method) at
java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016) at
java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)
at
java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:801)
at
java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:699)
at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:622)
at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) at
org.apache.syncope.installer.processes.ArchetypeProcess.run(ArchetypeProcess.java:62)
 ...
9 more Caused by: java.lang.ClassNotFoundException:
org.apache.maven.shared.utils.cli.StreamConsumer at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
at
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) ...
19 more

Regards,
gatherer


Re: Syncope 2.1.0 installer problem: Invocation Problem calling org.apache.syncope.installer.processes.ArchetypeProcess

2018-07-10 Thread gatherer
Am Tue, 10 Jul 2018 11:38:06 +0200
schrieb Francesco Chicchiriccò :

> 
> Hi,
> this problems sounds a consequence of SYNCOPE-1334 [1], which should
> be fixed anytime soon.
> 
> To be sure, can you please paste the log files content into
> pastebin.com or similar? Thanks.

Logfiles seem to be all 0 byte in size.

devel@linux-rphr:/var/tmp/syncope> find .
.
./conf
./log
./bundles
./modeler
./Install_V2.1.0_20180710084705_16763250086703872919.log
./Install_V2.1.0_20180710092652_12334673980247105624.log
./Install_V2.1.0_20180710093238_8533641478984742670.log
devel@linux-rphr:/var/tmp/syncope> ll
insgesamt 0
drwxr-xr-x 1 devel users 0 10. Jul 08:46 bundles
drwxr-xr-x 1 devel users 0 10. Jul 08:46 conf
-rw-r--r-- 1 devel users 0 10. Jul 08:47
Install_V2.1.0_20180710084705_16763250086703872919.log 
-rw-r--r-- 1 devel users 0 10. Jul 09:26
Install_V2.1.0_20180710092652_12334673980247105624.log 
-rw-r--r-- 1 devel users 0 10. Jul 09:32
Install_V2.1.0_20180710093238_8533641478984742670.log 
drwxr-xr-x 1 devel users 0 10. Jul 08:46 log 
drwxr-xr-x 1 devel users 0 10. Jul 08:46 modeler

Any flags i can set to the installer or some other places i should look
for logs?


> 
> Regards.
> 
> [1] https://issues.apache.org/jira/browse/SYNCOPE-1334
> 



Re: Syncope 2.1.0 installer problem: Invocation Problem calling org.apache.syncope.installer.processes.ArchetypeProcess

2018-07-10 Thread Francesco Chicchiriccò

On 10/07/2018 09:09, gatherer wrote:

Hi,

Using the Syncope 2.1.0 installer
(http://www.apache.org/dyn/closer.lua/syncope/2.1.0/syncope-installer-2.1.0-uber.jar)
at "step 11 of 12" I get a window called "Post Processing Error" with
the following message:

"Invocation Problem calling
org.apache.syncope.installer.processes.ArchetypeProcess,
org/apache/maven/shared/utils/cli/StreamConsumer"

Any hints?

Older install using 2.0.9 worked.


Java:
openjdk version "11-internal" 2018-09-25
OpenJDK Runtime Environment (build 11-internal+19-suse-1.1-x8664)
OpenJDK 64-Bit Server VM (build 11-internal+19-suse-1.1-x8664, mixed
mode)

devel@linux-rphr:~> /opt/mvn/bin/mvn -version
Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe;
2018-06-17T20:33:14+02:00) Maven home: /opt/mvn
Java version: 11-internal, vendor: Oracle Corporation,
runtime: /usr/lib64/jvm/java-11-openjdk-11 Default locale: de_DE,
platform encoding: UTF-8 OS name: "linux", version: "4.17.3-1-default",
arch: "amd64", family: "unix"


Hi,
this problems sounds a consequence of SYNCOPE-1334 [1], which should be 
fixed anytime soon.


To be sure, can you please paste the log files content into pastebin.com 
or similar? Thanks.


Regards.

[1] https://issues.apache.org/jira/browse/SYNCOPE-1334

--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/



Re: Maven install problem with Apache Syncope 2.1.0

2018-07-10 Thread Francesco Chicchiriccò

On 10/07/2018 11:04, Filipe Silva wrote:

Hi

I create the project
mvn archetype:generate \
 -DarchetypeGroupId=org.apache.syncope \
 -DarchetypeArtifactId=syncope-archetype \
 -DarchetypeRepository=http://repo1.maven.org/maven2  \
 -DarchetypeVersion=2.1.0


then in the folder I made

|mvn clean install Got ERROR |
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] 'dependencies.dependency.version' for junit:junit:jar is 
missing. @ pt.up:syncope-console:[unknown-version], 
/home/fsilva/idm210/upidm/console/pom.xml, line 101, column 17

 @

(...)

Workaround is to clean in console/pom.xml the



   
   junit
   junit
   test
 



Hi Filipe,
thanks for reporting.

This problem is confirmed: please open an issue on JIRA, thanks.

Regards.

--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/



Maven install problem with Apache Syncope 2.1.0

2018-07-10 Thread Filipe Silva

  
  



  
  Hi
  
  I create the project
  mvn archetype:generate \
-DarchetypeGroupId=org.apache.syncope \
-DarchetypeArtifactId=syncope-archetype \
-DarchetypeRepository=http://repo1.maven.org/maven2 \
-DarchetypeVersion=2.1.0


then in the folder I made

mvn clean install

Got ERROR




  [INFO] Scanning
for projects...
[ERROR] [ERROR] Some problems were encountered while processing
the POMs:
[ERROR] 'dependencies.dependency.version' for junit:junit:jar is
missing. @ pt.up:syncope-console:[unknown-version],
/home/fsilva/idm210/upidm/console/pom.xml, line 101, column 17
 @ 

(...)

Workaround is to clean in console/pom.xml the 



   
   junit
   junit
   test
 


Regards
FilipeSilva



  



  



Syncope 2.1.0 installer problem: Invocation Problem calling org.apache.syncope.installer.processes.ArchetypeProcess

2018-07-10 Thread gatherer
Hi,

Using the Syncope 2.1.0 installer
(http://www.apache.org/dyn/closer.lua/syncope/2.1.0/syncope-installer-2.1.0-uber.jar)
at "step 11 of 12" I get a window called "Post Processing Error" with
the following message:

"Invocation Problem calling
org.apache.syncope.installer.processes.ArchetypeProcess, 
org/apache/maven/shared/utils/cli/StreamConsumer"

Any hints?

Older install using 2.0.9 worked.


Java:
openjdk version "11-internal" 2018-09-25
OpenJDK Runtime Environment (build 11-internal+19-suse-1.1-x8664)
OpenJDK 64-Bit Server VM (build 11-internal+19-suse-1.1-x8664, mixed
mode)

devel@linux-rphr:~> /opt/mvn/bin/mvn -version
Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe;
2018-06-17T20:33:14+02:00) Maven home: /opt/mvn
Java version: 11-internal, vendor: Oracle Corporation,
runtime: /usr/lib64/jvm/java-11-openjdk-11 Default locale: de_DE,
platform encoding: UTF-8 OS name: "linux", version: "4.17.3-1-default",
arch: "amd64", family: "unix"


Thanks,
gatherer