Hi Maxim,

I made the update of maven in another shell than try to build om...

I set java home and path now manually...

Compilation works with mvn 3.3.9

I will build it now and check so far to vote later on...

Thanks Peter

Am 04.03.2016 um 12:33 schrieb Maxim Solodovnik:
what is the output of "mvn -V" ?

On Fri, Mar 4, 2016 at 5:32 PM, Maxim Solodovnik <solomax...@gmail.com>
wrote:

wait a second
class version 51.0 == java7
it seems your maven uses java6 somehow ....

On Fri, Mar 4, 2016 at 5:31 PM, Maxim Solodovnik <solomax...@gmail.com>
wrote:

According to: http://maven.apache.org/download.cgi Java7 is required
I personally was able to build RC1 using maven 3.3.9 and oracle java7.

It seems your maven was built using java8 ....
where you have downloaded it?

On Fri, Mar 4, 2016 at 5:23 PM, Peter Dähn <da...@vcrp.de> wrote:

different Error...

  mvn --version
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
2015-11-10T17:41:47+01:00)
Maven home: /usr/local/apache-maven-3.3.9
Java version: 1.7.0_60, vendor: Oracle Corporation
Java home: /usr/lib/jvm/jdk1.7.0_60/jre
Default locale: de_DE, platform encoding: UTF-8
OS name: "linux", version: "3.13.0-74-lowlatency", arch: "amd64",
family: "unix"

mvn clean install
Exception in thread "main" java.lang.UnsupportedClassVersionError:
org/apache/maven/cli/MavenCli : Unsupported major.minor version 51.0
     at java.lang.ClassLoader.defineClass1(Native Method)
     at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
     at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
     at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
     at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
     at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
     at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
     at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:401)
     at
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)
     at
org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
     at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:254)
     at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
     at
org.codehaus.plexus.classworlds.launcher.Launcher.getMainClass(Launcher.java:144)
     at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:266)
     at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
     at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
     at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

Do I need Java8?

Greetings Peter



Am 04.03.2016 um 11:57 schrieb Maxim Solodovnik:

Can you double-check with latest maven (3.3.9 if I'm not mistaken)

WBR, Maxim
(from mobile, sorry for the typos)
On Mar 4, 2016 16:47, "Peter Dähn" <da...@vcrp.de> wrote:

Hi Maxime,
sorry I was one day out of office...

and sorry again, I did (somehow) the checkout from the trunk...

By now i made a checkout from RC1

svn checkout

https://svn.apache.org/repos/asf/openmeetings/application/tags/3.1.0RC1/
cd 3.1.0RC1/
mvn clean install

[INFO] Scanning for projects...
[INFO]

------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Openmeetings
[INFO] Openmeetings Util
[INFO] Openmeetings DB
[INFO] Openmeetings Core
[INFO] Openmeetings Install
[INFO] Openmeetings Service
[INFO] Openmeetings Webservices
[INFO] Openmeetings Web
[INFO] Openmeetings Flash
[INFO] Openmeetings Screen Sharing applet
[INFO] Openmeetings Server
[INFO]
[INFO] Using the builder

org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder
with a thread count of 1
[INFO]
[INFO]

------------------------------------------------------------------------
[INFO] Building Openmeetings 3.1.0-SNAPSHOT
[INFO]

------------------------------------------------------------------------
Downloading:

https://repository.apache.org/content/groups/snapshots/org/apache/rat/apache-rat-plugin/0.12-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata
org.apache.rat:apache-rat-plugin:0.12-SNAPSHOT/maven-metadata.xml
from/to
apache-snapshots (
https://repository.apache.org/content/groups/snapshots):
java.lang.RuntimeException: Could not generate DH keypair
[WARNING] Failure to transfer
org.apache.rat:apache-rat-plugin:0.12-SNAPSHOT/maven-metadata.xml from
https://repository.apache.org/content/groups/snapshots was cached in
the
local repository, resolution will not be reattempted until the update
interval of apache-snapshots has elapsed or updates are forced.
Original
error: Could not transfer metadata
org.apache.rat:apache-rat-plugin:0.12-SNAPSHOT/maven-metadata.xml
from/to
apache-snapshots (
https://repository.apache.org/content/groups/snapshots):
java.lang.RuntimeException: Could not generate DH keypair
Downloading:

https://repository.apache.org/content/groups/snapshots/org/apache/rat/apache-rat-plugin/0.12-SNAPSHOT/apache-rat-plugin-0.12-SNAPSHOT.pom
[INFO]

------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Openmeetings ...................................... FAILURE [
5.147 s]
[INFO] Openmeetings Util ................................. SKIPPED
[INFO] Openmeetings DB ................................... SKIPPED
[INFO] Openmeetings Core ................................. SKIPPED
[INFO] Openmeetings Install .............................. SKIPPED
[INFO] Openmeetings Service .............................. SKIPPED
[INFO] Openmeetings Webservices .......................... SKIPPED
[INFO] Openmeetings Web .................................. SKIPPED
[INFO] Openmeetings Flash ................................ SKIPPED
[INFO] Openmeetings Screen Sharing applet ................ SKIPPED
[INFO] Openmeetings Server ............................... SKIPPED
[INFO]

------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]

------------------------------------------------------------------------
[INFO] Total time: 13.480 s
[INFO] Finished at: 2016-03-04T11:19:11+01:00
[INFO] Final Memory: 15M/159M
[INFO]

------------------------------------------------------------------------
[ERROR] Plugin org.apache.rat:apache-rat-plugin:0.12-SNAPSHOT or one of
its dependencies could not be resolved: Failed to read artifact
descriptor
for org.apache.rat:apache-rat-plugin:jar:0.12-SNAPSHOT: Could not
transfer
artifact org.apache.rat:apache-rat-plugin:pom:0.12-SNAPSHOT from/to
apache-snapshots (
https://repository.apache.org/content/groups/snapshots):
java.lang.RuntimeException: Could not generate DH keypair: Prime size
must
be multiple of 64, and can only range from 512 to 1024 (inclusive) ->
[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/PluginResolutionException


Download and unpack the tar.gz results in the same error...

Server runs Ubuntu 14.04 (LTS)

mvn --version
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9;
2014-02-14T18:37:52+01:00)
Maven home: /usr/share/maven3
Java version: 1.7.0_60, vendor: Oracle Corporation
Java home: /usr/lib/jvm/jdk1.7.0_60/jre
Default locale: de_DE, platform encoding: UTF-8
OS name: "linux", version: "3.13.0-74-lowlatency", arch: "amd64",
family:
"unix"


any Ideas?

Greetings Peter


Am 03.03.2016 um 06:39 schrieb Maxim Solodovnik:

Hello Peter,
what were your steps?
Surprisingly you are building "Openmeetings 4.0.0-SNAPSHOT" (not
3.1.0)
this particular error "Could not generate DH keypair: Prime size must
be
multiple of 64, and can only range from 512 to 1024" might be caused
by
corporate proxy server sitting in the middle .... (never saw error
like
this before :( )

I just tried as follows:
1) download


https://dist.apache.org/repos/dist/dev/openmeetings/3.1.0/rc1/src/apache-openmeetings-3.1.0-src.tar.gz
2) unpack to the new folder
3) run "mvn clean install"
everything seems to work as expected


On Wed, Mar 2, 2016 at 3:30 PM, Peter Dähn <da...@vcrp.de> wrote:

Hi Maxim,

unfortunately I'm unable to build RC1.

I got the following error during build:

mvn clean install
[INFO] Scanning for projects...
[INFO]

------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Openmeetings
[INFO] Openmeetings Util
[INFO] Openmeetings DB
[INFO] Openmeetings Core
[INFO] Openmeetings Install
[INFO] Openmeetings Service
[INFO] Openmeetings Webservices
[INFO] Openmeetings Web
[INFO] Openmeetings Flash
[INFO] Openmeetings Screen Sharing applet
[INFO] Openmeetings Server
[INFO]
[INFO] Using the builder


org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder
with a thread count of 1
[INFO]
[INFO]

------------------------------------------------------------------------
[INFO] Building Openmeetings 4.0.0-SNAPSHOT
[INFO]

------------------------------------------------------------------------
Downloading:


https://repository.apache.org/content/groups/snapshots/org/apache/rat/apache-rat-plugin/0.12-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata
org.apache.rat:apache-rat-plugin:0.12-SNAPSHOT/maven-metadata.xml
from/to
apache-snapshots (
https://repository.apache.org/content/groups/snapshots
):
java.lang.RuntimeException: Could not generate DH keypair
[WARNING] Failure to transfer
org.apache.rat:apache-rat-plugin:0.12-SNAPSHOT/maven-metadata.xml
from
https://repository.apache.org/content/groups/snapshots was cached
in the
local repository, resolution will not be reattempted until the update
interval of apache-snapshots has elapsed or updates are forced.
Original
error: Could not transfer metadata
org.apache.rat:apache-rat-plugin:0.12-SNAPSHOT/maven-metadata.xml
from/to
apache-snapshots (
https://repository.apache.org/content/groups/snapshots
):
java.lang.RuntimeException: Could not generate DH keypair
Downloading:


https://repository.apache.org/content/groups/snapshots/org/apache/rat/apache-rat-plugin/0.12-SNAPSHOT/apache-rat-plugin-0.12-SNAPSHOT.pom
[INFO]

------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Openmeetings ...................................... FAILURE [
2.059 s]
[INFO] Openmeetings Util ................................. SKIPPED
[INFO] Openmeetings DB ................................... SKIPPED
[INFO] Openmeetings Core ................................. SKIPPED
[INFO] Openmeetings Install .............................. SKIPPED
[INFO] Openmeetings Service .............................. SKIPPED
[INFO] Openmeetings Webservices .......................... SKIPPED
[INFO] Openmeetings Web .................................. SKIPPED
[INFO] Openmeetings Flash ................................ SKIPPED
[INFO] Openmeetings Screen Sharing applet ................ SKIPPED
[INFO] Openmeetings Server ............................... SKIPPED
[INFO]

------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]

------------------------------------------------------------------------
[INFO] Total time: 4.186 s
[INFO] Finished at: 2016-03-02T10:30:47+01:00
[INFO] Final Memory: 14M/163M
[INFO]

------------------------------------------------------------------------
[ERROR] Plugin org.apache.rat:apache-rat-plugin:0.12-SNAPSHOT or one
of
its dependencies could not be resolved: Failed to read artifact
descriptor
for org.apache.rat:apache-rat-plugin:jar:0.12-SNAPSHOT: Could not
transfer
artifact org.apache.rat:apache-rat-plugin:pom:0.12-SNAPSHOT from/to
apache-snapshots (
https://repository.apache.org/content/groups/snapshots
):
java.lang.RuntimeException: Could not generate DH keypair: Prime size
must
be multiple of 64, and can only range from 512 to 1024 (inclusive) ->
[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/PluginResolutionException

What went wrong? Any Ideas?

Greetings Peter


Am 01.03.2016 um 19:12 schrieb Maxim Solodovnik:

Dear OpenMeetings Community,

I would like to start a vote about releasing Apache OpenMeetings
3.1.0
RC1

SOAP/REST API was implemented using CXF (Axis2 was removed from the
stack)
Build system is now maven (not ant), SWF client is improved

Main changes are covered in the
Readme:



https://svn.apache.org/repos/asf/openmeetings/application/tags/3.1.0RC1/README

Full Changelog:



https://svn.apache.org/repos/asf/openmeetings/application/tags/3.1.0RC1/CHANGELOG

Release artifacts:
https://dist.apache.org/repos/dist/dev/openmeetings/3.1.0/rc1/

Tag:

https://svn.apache.org/repos/asf/openmeetings/application/tags/3.1.0RC1/

PGP release keys (signed using C467526E):
https://dist.apache.org/repos/dist/dev/openmeetings/3.1.0/rc1/KEYS

Changes: 77 issues were fixed (



https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12333397&projectId=12312720
):

Vote will be open until Saturday 2016/03/05 23:59 GMT.

[ ] +1  approve
[ ] +0  no opinion
[ ] -1  disapprove (and reason why)

My vote is +1.





--
WBR
Maxim aka solomax



--
WBR
Maxim aka solomax



Reply via email to