You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/03/26 18:40:33 UTC
[jira] Closed: (MPPOM-3) pom:validate not working in rc2
Message:
The following issue has been closed.
Resolver: Emmanuel Venisse
Date: Fri, 26 Mar 2004 12:39 PM
Done.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPPOM-3
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPPOM-3
Summary: pom:validate not working in rc2
Type: Bug
Status: Closed
Priority: Minor
Resolution: FIXED
Original Estimate: 5 minutes
Time Spent: Unknown
Remaining: 5 minutes
Project: maven-pom-plugin
Fix Fors:
1.4
Assignee: Emmanuel Venisse
Reporter: Al Robertson
Created: Fri, 26 Mar 2004 12:11 PM
Updated: Fri, 26 Mar 2004 12:39 PM
Environment: windows 2K, rc2, pom-1.3
Description:
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:\robertsona\.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:\robertsona\.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:\robertsona\.maven\repository\thaiopensource\jars\jing-20030619.jar;E:\robertsona\.maven\repository\xerces\jars\xerces-2.4.0.jar;E:\robertsona\.maven\repository\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:\robertsona\.maven\repository\thaiopensource\jars\jing-20030619.jar;E:\robertsona\.maven\repository\xerces\jars\xerces-2.4.0.jar;E:\robertsona\.maven\repository\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
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org