Fixed.
Thanks.

Emmanuel

----- Original Message ----- 
From: "Al Robertson" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Friday, March 26, 2004 6:02 PM
Subject: pom:validate not working in rc2 - org/xml/sax/SAXException


> pom:validate appears to be broken since I've upgraded to rc2.
> This is the relevant extract from >maven -X pom
>
> pom:validate:
> [DEBUG] Adding reference: validate.path ->
>     [java] [VERBOSE] Executing
> 'D:\WebSphere\WSAD51\runtimes\base_v5\java\jre\bin\java.exe' with
> arguments:
> '-classpath'
>
'E:\robertsona\.maven\repository\isorelax\jars\isorelax-20030108.jar;E:\robe
rtsona\.maven\repository\thaiopensource\jars\jing-20030619.jar;E:\robertsona
\.maven\repository\xerces\jars\xerces-2.4.0.jar'
> 'com.thaiopensource.relaxng.util.Driver'
> 'E:\java\maven/maven-project.xsd'
> 'E:\cube\CubeEAR\project.xml'
>
> The ' characters around the executable and arguments are
> not part of the command.
>
>     [java] [DEBUG] Execute:Java13CommandLauncher: Executing
> 'D:\WebSphere\WSAD51\runtimes\base_v5\java\jre\bin\java.exe' with
> arguments:
> '-classpath'
>
'E:\robertsona\.maven\repository\isorelax\jars\isorelax-20030108.jar;E:\robe
rtsona\.maven\repository\thaiopensource\jars\jing-20030619.jar;E:\robertsona
\.maven\repository\xerces\jars\xerces-2.4.0.jar'
> 'com.thaiopensource.relaxng.util.Driver'
> 'E:\java\maven/maven-project.xsd'
> 'E:\cube\CubeEAR\project.xml'
>
> The ' characters around the executable and arguments are
> not part of the command.
>
>     [java] java.lang.NoClassDefFoundError: org/xml/sax/SAXException
>     [java] Exception in thread "main"
>     [java] [ERROR] Java Result: 1
>
> The xml-apis jar was missing in the forked java cp.
>
> Adding "<pathelement path="${plugin.getDependencyPath('xml-apis')}"/>" to
> line 38 of the plugin.jelly fixed it for me.
> pom:validate:
> [DEBUG] Adding reference: validate.path ->
>     [java] [VERBOSE] Executing
> 'D:\WebSphere\WSAD51\runtimes\base_v5\java\jre\bin\java.exe' with
> arguments:
> '-classpath'
>
'E:\robertsona\.maven\repository\isorelax\jars\isorelax-20030108.jar;E:\robe
rtsona\.maven\repository\thaiopensource\jars\jing-20030619.jar;E:\robertsona
\.maven\repository\xerces\jars\xerces-2.4.0.jar;E:\robertsona\.maven\reposit
ory\xml-apis\jars\xml-apis-1.0.b2.jar'
> 'com.thaiopensource.relaxng.util.Driver'
> 'E:\java\maven/maven-project.xsd'
> 'E:\cube\CubeEAR\project.xml'
>
> The ' characters around the executable and arguments are
> not part of the command.
>
>     [java] [DEBUG] Execute:Java13CommandLauncher: Executing
> 'D:\WebSphere\WSAD51\runtimes\base_v5\java\jre\bin\java.exe' with
> arguments:
> '-classpath'
>
'E:\robertsona\.maven\repository\isorelax\jars\isorelax-20030108.jar;E:\robe
rtsona\.maven\repository\thaiopensource\jars\jing-20030619.jar;E:\robertsona
\.maven\repository\xerces\jars\xerces-2.4.0.jar;E:\robertsona\.maven\reposit
ory\xml-apis\jars\xml-apis-1.0.b2.jar'
> 'com.thaiopensource.relaxng.util.Driver'
> 'E:\java\maven/maven-project.xsd'
> 'E:\cube\CubeEAR\project.xml'
>
> The ' characters around the executable and arguments are
> not part of the command.
>
> attaining goal build:end
> BUILD SUCCESSFUL
>
> Can someone try it out/have a look at it? It might be something I've done
> on my machine :-)
> Also will raise it in jira.
> Al
>
> Digital Union UK
> [EMAIL PROTECTED]
> www.digitalunion.com
>
> t: +44 (0) 1483 889482  m:+44 (0) 7713 631367  f: +44 (0) 1483 889450
>
> The information in this email and in any attachment(s) is confidential. If
> you are not the named addressee(s) or if you receive this email in error
> then any distribution, copying or use of this communication or the
> information in it is strictly prohibited.
> While attachments are virus checked, Digital Union UK Limited does not
> accept any liability in respect of any virus which is not detected.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to