You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Charles Souillard <Ch...@ext.bull.net> on 2006/01/23 09:59:26 UTC

SM compilation with maven 1

Hi all,

Is it now possible to compile SM using maven 1 ?
I just tries with the latest head and I get the following errors... (the 
same as last week...)

Thanks for your help.
Charles


test:test:
    [echo] No tests to run.
Copying: from 
'/home/souillac/serviceMix/trunk/servicemix-jbi/target/servicemix-jbi-3.0-SNAPSHOT.jar' 
to: 
'/home/souillac/.maven/repository/org.apache.servicemix/jars/servicemix-jbi-3.0-SNAPSHOT.jar'
Copying: from 
'/home/souillac/serviceMix/trunk/servicemix-jbi/project.xml' to: 
'/home/souillac/.maven/repository/org.apache.servicemix/poms/servicemix-jbi-3.0-SNAPSHOT.pom'
+----------------------------------------
| Executing default ServiceMix :: Core
| Memory: 6M/10M
+----------------------------------------
Attempting to download servicemix-jbi-3.0-SNAPSHOT.jar.
Response content length is not known
Artifact /org.apache.servicemix/jars/servicemix-jbi-3.0-SNAPSHOT.jar 
doesn't exists in remote repository, but it exists locally
Attempting to download activemq-4.0-SNAPSHOT.jar.
Response content length is not known
Attempting to download activemq-ra-4.0-SNAPSHOT.jar.
Response content length is not known
Attempting to download activecluster-1.1-SNAPSHOT.jar.
Response content length is not known
Attempting to download ddlutils-1.0-SNAPSHOT.jar.
Response content length is not known

jar:jar:

jar:install:

default:

build:end:

build:start:

java:prepare-filesystem:

java:compile:
    [echo] Compiling to 
/home/souillac/serviceMix/trunk/servicemix-core/target/classes
    [javac] Compiling 245 source files to 
/home/souillac/serviceMix/trunk/servicemix-core/target/classes
error: error reading 
/home/souillac/.maven/repository/xml-apis/jars/xml-apis-1.3.02.jar; 
error in opening zip file
/home/souillac/serviceMix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/jaxp/SourceTransformer.java:20: 
package org.apache.xalan.xsltc.trax does not exist
import org.apache.xalan.xsltc.trax.DOM2SAX;
                                   ^
/home/souillac/serviceMix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/jaxp/SourceTransformer.java:21: 
package org.apache.xalan.xsltc.trax does not exist
import org.apache.xalan.xsltc.trax.SAX2DOM;
                                   ^
/home/souillac/serviceMix/trunk/servicemix-core/src/main/java/org/apache/servicemix/tck/SpringTestSupport.java:23: 
package org.apache.xpath does not exist
import org.apache.xpath.CachedXPathAPI;
                        ^
/home/souillac/serviceMix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/jaxp/SourceTransformer.java:236: 
cannot find symbol
symbol  : class DOM2SAX
location: class org.apache.servicemix.jbi.jaxp.SourceTransformer
        DOM2SAX converter = new DOM2SAX(source.getNode());
        ^
/home/souillac/serviceMix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/jaxp/SourceTransformer.java:236: 
cannot find symbol
symbol  : class DOM2SAX
location: class org.apache.servicemix.jbi.jaxp.SourceTransformer
        DOM2SAX converter = new DOM2SAX(source.getNode());
                                ^
/home/souillac/serviceMix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/jaxp/SourceTransformer.java:246: 
cannot find symbol
symbol  : class SAX2DOM
location: class org.apache.servicemix.jbi.jaxp.SourceTransformer
        SAX2DOM converter = new SAX2DOM(createDocument());
        ^
/home/souillac/serviceMix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/jaxp/SourceTransformer.java:246: 
cannot find symbol
symbol  : class SAX2DOM
location: class org.apache.servicemix.jbi.jaxp.SourceTransformer
        SAX2DOM converter = new SAX2DOM(createDocument());
                                ^
/home/souillac/serviceMix/trunk/servicemix-core/src/main/java/org/apache/servicemix/tck/SpringTestSupport.java:92: 
cannot find symbol
symbol  : class CachedXPathAPI
location: class org.apache.servicemix.tck.SpringTestSupport
        CachedXPathAPI cachedXPathAPI = new CachedXPathAPI();
        ^
/home/souillac/serviceMix/trunk/servicemix-core/src/main/java/org/apache/servicemix/tck/SpringTestSupport.java:92: 
cannot find symbol
symbol  : class CachedXPathAPI
location: class org.apache.servicemix.tck.SpringTestSupport
        CachedXPathAPI cachedXPathAPI = new CachedXPathAPI();
                                            ^
/home/souillac/serviceMix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/config/XmlWebApplicationContext.java:25: 
warning: [deprecation] getBeanDefinitionNames(java.lang.Class) in 
org.springframework.beans.factory.ListableBeanFactory has been deprecated
public class XmlWebApplicationContext
       ^
/home/souillac/serviceMix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/config/XmlWebApplicationContext.java:25: 
warning: [deprecation] getBeanDefinitionNames(java.lang.Class) in 
org.springframework.beans.factory.ListableBeanFactory has been deprecated
public class XmlWebApplicationContext
       ^
/home/souillac/serviceMix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/config/XmlWebApplicationContext.java:25: 
warning: [deprecation] getBeanDefinitionNames(java.lang.Class) in 
org.springframework.beans.factory.ListableBeanFactory has been deprecated
public class XmlWebApplicationContext
       ^
/home/souillac/serviceMix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/config/XmlWebApplicationContext.java:25: 
warning: [deprecation] getBeanDefinitionNames(java.lang.Class) in 
org.springframework.beans.factory.ListableBeanFactory has been deprecated
public class XmlWebApplicationContext
       ^
10 errors
4 warnings

BUILD FAILED
File...... 
/home/souillac/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly
Element... maven:reactor
Line...... 217
Column.... 9
Unable to obtain goal [java:compile] -- 
/home/souillac/.maven/cache/maven-java-plugin-1.5/plugin.jelly:63:48: 
<ant:javac> Compile failed; see the compiler error output for details.
Total time: 22 seconds
Finished at: Mon Jan 23 09:46:09 CET 2006



Re: SM compilation with maven 1

Posted by Guillaume Nodet <gu...@worldonline.fr>.
Yes, this works on different platforms.
You may want to check / remove your xalan jar in your local repository 
and retry.

Cheers,
Guillaume Nodet

Charles Souillard wrote:

> Hi all,
>
> Is it now possible to compile SM using maven 1 ?
> I just tries with the latest head and I get the following errors... 
> (the same as last week...)
>
> Thanks for your help.
> Charles
>
>
> test:test:
>    [echo] No tests to run.
> Copying: from 
> '/home/souillac/serviceMix/trunk/servicemix-jbi/target/servicemix-jbi-3.0-SNAPSHOT.jar' 
> to: 
> '/home/souillac/.maven/repository/org.apache.servicemix/jars/servicemix-jbi-3.0-SNAPSHOT.jar' 
>
> Copying: from 
> '/home/souillac/serviceMix/trunk/servicemix-jbi/project.xml' to: 
> '/home/souillac/.maven/repository/org.apache.servicemix/poms/servicemix-jbi-3.0-SNAPSHOT.pom' 
>
> +----------------------------------------
> | Executing default ServiceMix :: Core
> | Memory: 6M/10M
> +----------------------------------------
> Attempting to download servicemix-jbi-3.0-SNAPSHOT.jar.
> Response content length is not known
> Artifact /org.apache.servicemix/jars/servicemix-jbi-3.0-SNAPSHOT.jar 
> doesn't exists in remote repository, but it exists locally
> Attempting to download activemq-4.0-SNAPSHOT.jar.
> Response content length is not known
> Attempting to download activemq-ra-4.0-SNAPSHOT.jar.
> Response content length is not known
> Attempting to download activecluster-1.1-SNAPSHOT.jar.
> Response content length is not known
> Attempting to download ddlutils-1.0-SNAPSHOT.jar.
> Response content length is not known
>
> jar:jar:
>
> jar:install:
>
> default:
>
> build:end:
>
> build:start:
>
> java:prepare-filesystem:
>
> java:compile:
>    [echo] Compiling to 
> /home/souillac/serviceMix/trunk/servicemix-core/target/classes
>    [javac] Compiling 245 source files to 
> /home/souillac/serviceMix/trunk/servicemix-core/target/classes
> error: error reading 
> /home/souillac/.maven/repository/xml-apis/jars/xml-apis-1.3.02.jar; 
> error in opening zip file
> /home/souillac/serviceMix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/jaxp/SourceTransformer.java:20: 
> package org.apache.xalan.xsltc.trax does not exist
> import org.apache.xalan.xsltc.trax.DOM2SAX;
>                                   ^
> /home/souillac/serviceMix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/jaxp/SourceTransformer.java:21: 
> package org.apache.xalan.xsltc.trax does not exist
> import org.apache.xalan.xsltc.trax.SAX2DOM;
>                                   ^
> /home/souillac/serviceMix/trunk/servicemix-core/src/main/java/org/apache/servicemix/tck/SpringTestSupport.java:23: 
> package org.apache.xpath does not exist
> import org.apache.xpath.CachedXPathAPI;
>                        ^
> /home/souillac/serviceMix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/jaxp/SourceTransformer.java:236: 
> cannot find symbol
> symbol  : class DOM2SAX
> location: class org.apache.servicemix.jbi.jaxp.SourceTransformer
>        DOM2SAX converter = new DOM2SAX(source.getNode());
>        ^
> /home/souillac/serviceMix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/jaxp/SourceTransformer.java:236: 
> cannot find symbol
> symbol  : class DOM2SAX
> location: class org.apache.servicemix.jbi.jaxp.SourceTransformer
>        DOM2SAX converter = new DOM2SAX(source.getNode());
>                                ^
> /home/souillac/serviceMix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/jaxp/SourceTransformer.java:246: 
> cannot find symbol
> symbol  : class SAX2DOM
> location: class org.apache.servicemix.jbi.jaxp.SourceTransformer
>        SAX2DOM converter = new SAX2DOM(createDocument());
>        ^
> /home/souillac/serviceMix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/jaxp/SourceTransformer.java:246: 
> cannot find symbol
> symbol  : class SAX2DOM
> location: class org.apache.servicemix.jbi.jaxp.SourceTransformer
>        SAX2DOM converter = new SAX2DOM(createDocument());
>                                ^
> /home/souillac/serviceMix/trunk/servicemix-core/src/main/java/org/apache/servicemix/tck/SpringTestSupport.java:92: 
> cannot find symbol
> symbol  : class CachedXPathAPI
> location: class org.apache.servicemix.tck.SpringTestSupport
>        CachedXPathAPI cachedXPathAPI = new CachedXPathAPI();
>        ^
> /home/souillac/serviceMix/trunk/servicemix-core/src/main/java/org/apache/servicemix/tck/SpringTestSupport.java:92: 
> cannot find symbol
> symbol  : class CachedXPathAPI
> location: class org.apache.servicemix.tck.SpringTestSupport
>        CachedXPathAPI cachedXPathAPI = new CachedXPathAPI();
>                                            ^
> /home/souillac/serviceMix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/config/XmlWebApplicationContext.java:25: 
> warning: [deprecation] getBeanDefinitionNames(java.lang.Class) in 
> org.springframework.beans.factory.ListableBeanFactory has been deprecated
> public class XmlWebApplicationContext
>       ^
> /home/souillac/serviceMix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/config/XmlWebApplicationContext.java:25: 
> warning: [deprecation] getBeanDefinitionNames(java.lang.Class) in 
> org.springframework.beans.factory.ListableBeanFactory has been deprecated
> public class XmlWebApplicationContext
>       ^
> /home/souillac/serviceMix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/config/XmlWebApplicationContext.java:25: 
> warning: [deprecation] getBeanDefinitionNames(java.lang.Class) in 
> org.springframework.beans.factory.ListableBeanFactory has been deprecated
> public class XmlWebApplicationContext
>       ^
> /home/souillac/serviceMix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/config/XmlWebApplicationContext.java:25: 
> warning: [deprecation] getBeanDefinitionNames(java.lang.Class) in 
> org.springframework.beans.factory.ListableBeanFactory has been deprecated
> public class XmlWebApplicationContext
>       ^
> 10 errors
> 4 warnings
>
> BUILD FAILED
> File...... 
> /home/souillac/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly
> Element... maven:reactor
> Line...... 217
> Column.... 9
> Unable to obtain goal [java:compile] -- 
> /home/souillac/.maven/cache/maven-java-plugin-1.5/plugin.jelly:63:48: 
> <ant:javac> Compile failed; see the compiler error output for details.
> Total time: 22 seconds
> Finished at: Mon Jan 23 09:46:09 CET 2006
>
>
>
>