It seems the problem is tougher that I initially though.
I had forgot that the maven plugin needs servicemix-core to build.
You may need to do:
   cd servicemix-jbi
   mvn install
   mvn -Dmaven.test.skip=true install
   mvn install
   cd ../servicemix/servicemix-core
   mvn -Dmaven.test.skip=true install
   cd ../tooling/jbi-maven-plugin
   mvn -Dmaven.test.skip=true install
   cd ..
   mvn -Dmaven.test.skip=true install


On 8/1/06, jthorn721 <[EMAIL PROTECTED]> wrote:


I downloaded the latest servicemix source from svn, using maven 2.0.4 I
then
did a mvn -N install in the main directory with no errors, I then went
into
tooling and did a mvn install and got the following error, anybody have an
idea why its not finding the class?

[WARNING] Goal prefix is: jbi; Maven currently expects it to be jbi
[INFO] Using 3 extractors.
[INFO] Applying extractor for language: java
[INFO] Extractor for language: java found 10 mojo descriptors.
[INFO] Applying extractor for language: bsh
[INFO] Extractor for language: bsh found 0 mojo descriptors.
[INFO] Applying extractor for language: ant
[INFO] Extractor for language: ant found 16 mojo descriptors.
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[WARNING] POM for
'org.apache.servicemix:servicemix-core:pom:3.0-incubating-SNAPSHOT:compile
'
is invalid. It will be ignored for artifact resolution. Reason: Failed to
validate POM
[WARNING]
        Artifact junit:junit:jar:3.8.1:test retains local scope 'test'
overriding broader scope 'compile'
        given by a dependency. If this is not intended, modify or remove
the
local scope.

[INFO] [compiler:compile]
Compiling 20 source files to
c:\Java\trunk\tooling\jbi-maven-plugin\target\classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure


c:\Java\trunk\tooling\jbi-maven-plugin\src\main\java\org\apache\servicemix\maven\plugin\jbi\ServiceMixMojo.java:[21,17]
package javax.jbi does not exist


c:\Java\trunk\tooling\jbi-maven-plugin\src\main\java\org\apache\servicemix\maven\plugin\jbi\IsDeployedTask.java:[30,43]
cannot access javax.jbi.management.LifeCycleMBean
file javax\jbi\management\LifeCycleMBean.class not found
                        String result = acs.listSharedLibraries(null,
name);


c:\Java\trunk\tooling\jbi-maven-plugin\src\main\java\org\apache\servicemix\maven\plugin\jbi\ServiceMixMojo.java:[96,33]
cannot find symbol
symbol  : class JBIException
location: class org.apache.servicemix.maven.plugin.jbi.ServiceMixMojo


c:\Java\trunk\tooling\jbi-maven-plugin\src\main\java\org\apache\servicemix\maven\plugin\jbi\ServiceMixMojo.java:[112,25]
cannot find symbol
symbol  : class JBIException
location: class org.apache.servicemix.maven.plugin.jbi.ServiceMixMojo


[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Tue Aug 01 11:52:05 CDT 2006
[INFO] Final Memory: 10M/19M
[INFO]
------------------------------------------------------------------------
--
View this message in context:
http://www.nabble.com/maven-2-install-error.-tf2034848.html#a5598613
Sent from the ServiceMix - Dev forum at Nabble.com.




--
Cheers,
Guillaume Nodet

Reply via email to