[jboss-dev-forums] [Design of JBoss Build System] - Maven build broken again - Microcontainer

adrian@jboss.org do-not-reply at jboss.com
Mon Oct 15 06:47:41 EDT 2007


Why 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.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095181#4095181

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095181



More information about the jboss-dev-forums mailing list