Trouble Building Spec Project
-----------------------------
Key: SMX4-148
URL: https://issues.apache.org/activemq/browse/SMX4-148
Project: ServiceMix 4
Issue Type: Bug
Reporter: Eric Johnson
Trying to build SMX4 from the all project fails because it cannot build the
JAXP stuff in the specs project.
Here is the error:
[INFO] [jar:jar]
[INFO] Building jar:
/home/emjohnson/smx/smx4/all/specs/locator/target/org.apache.servicemix.specs.locator-1.2-SNAPSHOT.jar
[INFO] [install:install]
[INFO] Installing
/home/emjohnson/smx/smx4/all/specs/locator/target/org.apache.servicemix.specs.locator-1.2-SNAPSHOT.jar
to
/home/emjohnson/.m2/repository/org/apache/servicemix/specs/org.apache.servicemix.specs.locator/1.2-SNAPSHOT/org.apache.servicemix.specs.locator-1.2-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache ServiceMix Specs :: JAXP API 1.4
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [dependency:copy {execution: copy-legal}]
[INFO] Configured Artifact: org.apache.servicemix.legal:legal:1.0:xml
[INFO] Copying legal-1.0.xml to
/home/emjohnson/smx/smx4/all/specs/jaxp-api-1.4/target/legal/legal.xml
[WARNING] POM for 'xml-apis:xml-apis:pom:1.4.01-r709679:compile' is invalid. It
will be ignored for artifact resolution. Reason: Parse error reading POM.
Reason: entity reference name can not contain character =' (position: START_TAG
seen ...org/viewvc/xml/commons/trunk/java/external/?diff_format=h&pathrev=...
@36:94) for project xml-apis:xml-apis at
/home/emjohnson/.m2/repository/xml-apis/xml-apis/1.4.01-r709679/xml-apis-1.4.01-r709679.pom
[INFO] [remote-resources:process {execution: default}]
[WARNING] Attempting to build MavenProject instance for Artifact
(xml-apis:xml-apis:1.4.01-r709679) of type: jar; constructing POM artifact
instead.
[WARNING] Invalid project model for artifact
[xml-apis:xml-apis:1.4.01-r709679]. It will be ignored by the remote resources
Mojo.
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[WARNING] POM for 'xml-apis:xml-apis:pom:1.4.01-r709679:compile' is invalid. It
will be ignored for artifact resolution. Reason: Parse error reading POM.
Reason: entity reference name can not contain character =' (position: START_TAG
seen ...org/viewvc/xml/commons/trunk/java/external/?diff_format=h&pathrev=...
@36:94) for project xml-apis:xml-apis at
/home/emjohnson/.m2/repository/xml-apis/xml-apis/1.4.01-r709679/xml-apis-1.4.01-r709679.pom
[INFO] [compiler:compile]
[INFO] Compiling 14 source files to
/home/emjohnson/smx/smx4/all/specs/jaxp-api-1.4/target/classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
/home/emjohnson/smx/smx4/all/specs/jaxp-api-1.4/src/main/java/javax/xml/stream/FactoryFinder.java:[67,40]
non-static method getSystemProperty(java.lang.String) cannot be referenced
from a static context
/home/emjohnson/smx/smx4/all/specs/jaxp-api-1.4/src/main/java/javax/xml/stream/FactoryFinder.java:[158,49]
non-static method getContextClassLoader() cannot be referenced from a static
context
/home/emjohnson/smx/smx4/all/specs/jaxp-api-1.4/src/main/java/javax/xml/stream/FactoryFinder.java:[196,47]
non-static method getSystemProperty(java.lang.String) cannot be referenced
from a static context
/home/emjohnson/smx/smx4/all/specs/jaxp-api-1.4/src/main/java/javax/xml/stream/FactoryFinder.java:[208,42]
non-static method getSystemProperty(java.lang.String) cannot be referenced
from a static context
/home/emjohnson/smx/smx4/all/specs/jaxp-api-1.4/src/main/java/javax/xml/stream/FactoryFinder.java:[217,42]
non-static method doesFileExist(java.io.File) cannot be referenced from a
static context
/home/emjohnson/smx/smx4/all/specs/jaxp-api-1.4/src/main/java/javax/xml/stream/FactoryFinder.java:[220,59]
non-static method getFileInputStream(java.io.File) cannot be referenced from a
static context
/home/emjohnson/smx/smx4/all/specs/jaxp-api-1.4/src/main/java/javax/xml/stream/FactoryFinder.java:[262,40]
non-static method getContextClassLoader() cannot be referenced from a static
context
/home/emjohnson/smx/smx4/all/specs/jaxp-api-1.4/src/main/java/javax/xml/stream/FactoryFinder.java:[264,32]
non-static method getResourceAsStream(java.lang.ClassLoader,java.lang.String)
cannot be referenced from a static context
/home/emjohnson/smx/smx4/all/specs/jaxp-api-1.4/src/main/java/javax/xml/stream/FactoryFinder.java:[269,36]
non-static method getResourceAsStream(java.lang.ClassLoader,java.lang.String)
cannot be referenced from a static context
/home/emjohnson/smx/smx4/all/specs/jaxp-api-1.4/src/main/java/javax/xml/stream/FactoryFinder.java:[275,32]
non-static method getResourceAsStream(java.lang.ClassLoader,java.lang.String)
cannot be referenced from a static context
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 17 seconds
[INFO] Finished at: Mon Nov 03 18:58:05 EST 2008
[INFO] Final Memory: 58M/63M
[INFO] ------------------------------------------------------------------------
[EMAIL PROTECTED]:~/smx/smx4/all$ mvn -v
Maven version: 2.0.9
Java version: 1.6.0_10
OS name: "linux" version: "2.6.27-7-generic" arch: "i386" Family: "unix"
[EMAIL PROTECTED]:~/smx/smx4/all$
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.