Maven build broken again - Microcontainer
adrian.brock Oct 15, 2007 6:47 AMWhy is Maven trying to download snapshots for artifacts in the same project?
[INFO] ---------------------------------------------------------------------------- [INFO] Building JBoss Deployers Impl [INFO] task-segment: [install] [INFO] ---------------------------------------------------------------------------- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] snapshot org.jboss.microcontainer:jboss-container:2.0.0-SNAPSHOT: checking for updates from snapshots.jboss.org [INFO] snapshot org.jboss.microcontainer:jboss-container:2.0.0-SNAPSHOT: checking for updates from jboss-snapshots Downloading: http://snapshots.jboss.org/maven2//org/jboss/microcontainer/jboss-container/2.0.0-SNAPSHOT/jboss-container-2.0.0-20071003.213349-8.jar 324K downloaded [INFO] snapshot org.jboss.microcontainer:jboss-dependency:2.0.0-SNAPSHOT: checking for updates from snapshots.jboss.org [INFO] snapshot org.jboss.microcontainer:jboss-dependency:2.0.0-SNAPSHOT: checking for updates from jboss-snapshots Downloading: http://snapshots.jboss.org/maven2//org/jboss/microcontainer/jboss-dependency/2.0.0-SNAPSHOT/jboss-dependency-2.0.0-20071003.213349-8.jar 56K downloaded [INFO] [compiler:compile] [INFO] Compiling 1 source file to /home/ejort/microcontainer/deployers-impl/target/classes [WARNING] /home/ejort/microcontainer/deployers-impl/src/main/org/jboss/deployers/plugins/main/MainDeployerImpl.java:[161,28] [deprecation] getDeploymentContext(java.lang.String,boolean) in org.jboss.deployers.structure.spi.main.MainDeployerStructure has been deprecated [WARNING] /home/ejort/microcontainer/deployers-impl/src/main/org/jboss/deployers/plugins/main/MainDeployerImpl.java:[154,28] [deprecation] getDeploymentContext(java.lang.String) in org.jboss.deployers.structure.spi.main.MainDeployerStructure has been deprecated [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] Compiling 1 source file to /home/ejort/microcontainer/deployers-impl/target/tests-classes [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure /home/ejort/microcontainer/deployers-impl/src/tests/org/jboss/test/deployers/deployer/support/TestServiceMetaDataICF.java:[39,67] type org.jboss.managed.spi.factory.InstanceClassFactory does not take parameters /home/ejort/microcontainer/deployers-impl/src/tests/org/jboss/test/deployers/deployer/support/TestServiceMetaDataICF.java:[88,41] cannot find symbol symbol : method unwrap(org.jboss.metatype.api.values.MetaValue,java.lang.Class) location: class org.jboss.metatype.api.values.MetaValueFactory
The class does exist in the Microcontainer's managed project, but it obviously
doesn't exist in the snapshot.