Well I found the issue.
Even though java -version was pointing to 1.5, my env variable java_home was pointing to
1.4.
Thnaks guys
Manoj
-----Original Message-----
From: devs-bounces(a)xwiki.org [mailto:devs-bounces@xwiki.org] On Behalf Of Pascal Voitot
Sent: Thursday, January 22, 2009 10:50 AM
To: XWiki Developers
Subject: Re: [xwiki-devs] [ANN] XWiki Enterprise 1.7.1 Released
What a shame :)
What happens when you go directly into xar-plugin and launch maven install?
Pascal
On Thu, Jan 22, 2009 at 4:02 PM, Mathew, Manoj (JPMC) < manoj.x.mathew(a)jpmorgan.com>
wrote:
C:\>java -version
java version "1.5.0_16"
-----Original Message-----
From: devs-bounces(a)xwiki.org [mailto:devs-bounces@xwiki.org] On Behalf
Of Ludovic Dubost
Sent: Wednesday, January 21, 2009 5:41 PM
To: XWiki Developers
Subject: Re: [xwiki-devs] [ANN] XWiki Enterprise 1.7.1 Released
This
com/xpn/xwiki/tool/xar/XarMojo (Unsupported major.minor version 49.0
Sounds like a Java version issue. Maybe you are running a too old java
version
Ludovic
Mathew, Manoj (JPMC) a écrit :
Hi
I am trying to build enterprise and get the following error. (I
downloaded using svn client from HEAD). Please help me.
C:\xwiki\source\enterprise\trunk>set MAVEN_OPTS=-Xmx600m [INFO]
Scanning for projects...
[INFO] Reactor build order:
[INFO] XWiki Products - Enterprise - Parent POM
[INFO] XWiki Products - Enterprise - Wiki
[INFO] XWiki Products - Enterprise - Database - Parent POM
[INFO] XWiki Products - Enterprise - Database - HSQLDB
[INFO] XWiki Products - Enterprise - Web
[INFO] XWiki Products - Enterprise - Distribution - Parent POM
[INFO] XWiki Products - Enterprise - Distribution - Jetty
[INFO] XWiki Products - Enterprise - Distribution - Jetty - HSQLDB
[INFO]
--------------------------------------------------------------------
--
-- [INFO] Building XWiki Products - Enterprise - Parent POM
[INFO] task-segment: [install]
[INFO]
--------------------------------------------------------------------
--
-- [INFO] Setting property: classpath.resource.loader.class =>
'org.codehaus.plexus ..velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [remote-resources:process {execution:
xwiki-license-resources}] [INFO] [site:attach-descriptor] [INFO]
[install:install] [INFO] Installing
C:\xwiki\source\enterprise\trunk\pom.xml to C:\Documents and S
ettings\v105953\.m2\repository\com\xpn\xwiki\products\xwiki-enterpri
se
-p
arent\1.
8-SNAPSHOT\xwiki-enterprise-parent-1.8-SNAPSHOT.pom
[INFO]
--------------------------------------------------------------------
--
-- [INFO] Building XWiki Products - Enterprise - Wiki
[INFO] task-segment: [install]
[INFO]
--------------------------------------------------------------------
--
--
Downloading:
http://maven.xwiki.org/externals/opensymphony/quartz/1.6.0/quartz-1
..6.0.pom
Downloading:
http://maven.xwiki.org/releases/opensymphony/quartz/1.6.0/quartz-1.
6.0.pom
Downloading:
http://repo1.maven.org/maven2/opensymphony/quartz/1.6.0/quartz-1.6.
0.pom
[INFO] [remote-resources:process {execution:
xwiki-license-resources}] [INFO] [resources:resources] [INFO] Using
default encoding to copy filtered resources.
[WARNING] Attempting to build MavenProject instance for Artifact
(com.xpn.xwiki.
platform.tools:xwiki-xar-plugin:1.13-20090121.104832-4) of type:
maven-plugin; c
onstructing POM artifact instead.
-----------------------------------------------------
this realm =
app0.child-container[com.xpn.xwiki.platform.tools:xwiki-xar-plugin]
urls[0] = file:/C:/Documents and
Settings/v105953/.m2/repository/com/xpn/xwiki/p
latform/tools/xwiki-xar-plugin/1.13-SNAPSHOT/xwiki-xar-plugin-1.13-S
NA
PS
HOT.jar
urls[1] = file:/C:/Documents and
Settings/v105953/.m2/repository/org/codehaus/pl
exus/plexus-utils/1.5.6/plexus-utils-1.5.6.jar
urls[2] = file:/C:/Documents and
Settings/v105953/.m2/repository/org/codehaus/pl
exus/plexus-archiver/1.0-alpha-10/plexus-archiver-1.0-alpha-10.jar
urls[3] = file:/C:/Documents and
Settings/v105953/.m2/repository/org/codehaus/pl
exus/plexus-io/1.0-alpha-2/plexus-io-1.0-alpha-2.jar
urls[4] = file:/C:/Documents and
Settings/v105953/.m2/repository/dom4j/dom4j/1.6
..1/dom4j-1.6.1.jar
urls[5] = file:/C:/Documents and
Settings/v105953/.m2/repository/xml-apis/xml-ap
is/1.0.b2/xml-apis-1.0.b2.jar
Number of imports: 6
import: org.codehaus.classworlds.Entry@4891bb28
import: org.codehaus.classworlds.Entry@f8e44ca4
import: org.codehaus.classworlds.Entry@c51bc9e7
import: org.codehaus.classworlds.Entry@bece5185
import: org.codehaus.classworlds.Entry@3fee8e37
import: org.codehaus.classworlds.Entry@3fee19d8
this realm = plexus.core
urls[0] = file:/C:/apache-maven-2.0.9/lib/maven-2.0.9-uber.jar
urls[1] = file:/C:/Documents and
Settings/v105953/.m2/repository/org/codehaus/pl
exus/plexus-utils/1.1/plexus-utils-1.1.jar
urls[2] = file:/C:/Documents and
Settings/v105953/.m2/repository/com/xpn/xwiki/p
latform/tools/xwiki-xar-handlers/1.9-SNAPSHOT/xwiki-xar-handlers-1.9
-S
NA
PSHOT.ja
r
Number of imports: 6
import: org.codehaus.classworlds.Entry@4891bb28
import: org.codehaus.classworlds.Entry@f8e44ca4
import: org.codehaus.classworlds.Entry@c51bc9e7
import: org.codehaus.classworlds.Entry@bece5185
import: org.codehaus.classworlds.Entry@3fee8e37
import: org.codehaus.classworlds.Entry@3fee19d8
-----------------------------------------------------
[INFO]
--------------------------------------------------------------------
--
--
[ERROR] BUILD ERROR
[INFO]
--------------------------------------------------------------------
--
-- [INFO] Internal error in the plugin manager executing goal
'com.xpn.xwiki.platfo
rm.tools:xwiki-xar-plugin:1.13-SNAPSHOT:xar': Unable to find the
mojo 'com.xpn.x
wiki.platform.tools:xwiki-xar-plugin:1.13-SNAPSHOT:xar' in the plugin 'com.xpn.x
wiki.platform.tools:xwiki-xar-plugin'
com/xpn/xwiki/tool/xar/XarMojo (Unsupported major.minor version
49.0) [INFO]
--------------------------------------------------------------------
--
-- [INFO] For more information, run Maven with the -e switch [INFO]
--------------------------------------------------------------------
--
--
[INFO] Total time: 20 seconds
[INFO] Finished at: Wed Jan 21 15:55:58 EST 2009 [INFO] Final Memory:
17M/31M [INFO]
--------------------------------------------------------------------
--
--
Generally, this communication is for informational purposes only and
it is not intended as an offer or solicitation for the purchase or
sale of any financial instrument or as an official confirmation of
any transaction. In the event you are receiving the offering
materials attached below related to your interest in hedge funds or
private equity, this communication may be intended as an offer or
solicitation for the purchase or sale of such fund(s). All market
prices, data and other information are not warranted as to
completeness or accuracy and are subject to change without notice.
Any comments or statements made herein do not necessarily reflect
those of JPMorgan Chase & Co., its subsidiaries and affiliates.
This transmission may contain information that is privileged,
confidential, legally privileged, and/or exempt from disclosure
under applicable law. If you are not the intended recipient, you are
hereby notified that any disclosure, copying, distribution, or use
of the information contained herein (including any reliance
thereon) is STRICTLY PROHIBITED. Although this transmission and any
attachments are believed to be free of any virus or other defect
that might affect any computer system into which it is received and
opened, it is the responsibility of the recipient to ensure that it
is virus free and no responsibility is accepted by JPMorgan Chase &
Co., its subsidiaries and affiliates, as applicable, for any loss or
damage arising in any way from its use. If you received this
transmission in error, please immediately contact the sender and
destroy the material in its entirety, whether in electronic or hard copy format. Thank
you.
Please refer to
http://www.jpmorgan.com/pages/disclosures for
disclosures relating to UK legal entities.
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Ludovic Dubost
Blog:
http://blog.ludovic.org/
XWiki:
http://www.xwiki.com
Skype: ldubost GTalk: ldubost
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
Generally, this communication is for informational purposes only and
it is not intended as an offer or solicitation for the purchase or
sale of any financial instrument or as an official confirmation of any
transaction. In the event you are receiving the offering materials
attached below related to your interest in hedge funds or private
equity, this communication may be intended as an offer or solicitation
for the purchase or sale of such fund(s). All market prices, data and
other information are not warranted as to completeness or accuracy and
are subject to change without notice.
Any comments or statements made herein do not necessarily reflect
those of JPMorgan Chase & Co., its subsidiaries and affiliates.
This transmission may contain information that is privileged,
confidential, legally privileged, and/or exempt from disclosure under
applicable law. If you are not the intended recipient, you are hereby
notified that any disclosure, copying, distribution, or use of the
information contained herein (including any reliance
thereon) is STRICTLY PROHIBITED. Although this transmission and any
attachments are believed to be free of any virus or other defect that
might affect any computer system into which it is received and opened,
it is the responsibility of the recipient to ensure that it is virus
free and no responsibility is accepted by JPMorgan Chase & Co., its
subsidiaries and affiliates, as applicable, for any loss or damage
arising in any way from its use. If you received this transmission in
error, please immediately contact the sender and destroy the material
in its entirety, whether in electronic or hard copy format. Thank you.
Please refer to
http://www.jpmorgan.com/pages/disclosures for
disclosures relating to UK legal entities.
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
Generally, this communication is for informational purposes only
and it is not intended as an offer or solicitation for the purchase
or sale of any financial instrument or as an official confirmation
of any transaction. In the event you are receiving the offering
materials attached below related to your interest in hedge funds or
private equity, this communication may be intended as an offer or
solicitation for the purchase or sale of such fund(s). All market
prices, data and other information are not warranted as to
completeness or accuracy and are subject to change without notice.
Any comments or statements made herein do not necessarily reflect
those of JPMorgan Chase & Co., its subsidiaries and affiliates.
This transmission may contain information that is privileged,
confidential, legally privileged, and/or exempt from disclosure
under applicable law. If you are not the intended recipient, you
are hereby notified that any disclosure, copying, distribution, or
use of the information contained herein (including any reliance
thereon) is STRICTLY PROHIBITED. Although this transmission and any
attachments are believed to be free of any virus or other defect
that might affect any computer system into which it is received and
opened, it is the responsibility of the recipient to ensure that it
is virus free and no responsibility is accepted by JPMorgan Chase &
Co., its subsidiaries and affiliates, as applicable, for any loss
or damage arising in any way from its use. If you received this
transmission in error, please immediately contact the sender and
destroy the material in its entirety, whether in electronic or hard
copy format. Thank you.
Please refer to
http://www.jpmorgan.com/pages/disclosures for
disclosures relating to UK legal entities.