[Design the new POJO MicroContainer] - Re: Cannot do a release of MC
by alesj
I did try going back to jboss-parent 3, but then I get this error:
| [INFO] Building JBoss Microcontainer AOP MC INT
| [INFO] task-segment: [clean, verify]
| [INFO] ------------------------------------------------------------------------
| [INFO] [clean:clean]
| [INFO] [resources:resources]
| [INFO] Using default encoding to copy filtered resources.
| [INFO] [compiler:compile]
| [INFO] Compiling 99 source files to C:\projects\microcontainer\kernel\aop-mc-int\target\classes
| [WARNING] C:\projects\microcontainer\kernel\aop-mc-int\src\main\org\jboss\aop\microcontainer\integration\AOPDependencyBuilder.java:[89,42] [deprecation] getType() in org.jboss.reflect.spi.TypeInfo has been deprecated
|
| [WARNING] C:\projects\microcontainer\kernel\aop-mc-int\src\main\org\jboss\aop\microcontainer\integration\AOPConstructorJoinpoint.java:[85,56] [deprecation] getType() in org.jboss.reflect.spi.TypeInfo has been deprecated
|
| [WARNING] C:\projects\microcontainer\kernel\aop-mc-int\src\main\org\jboss\aop\microcontainer\lazy\JBossAOPLazyInitializer.java:[58,56] [deprecation] getType() in org.jboss.reflect.spi.TypeInfo has been deprecated
|
| [INFO] [resources:testResources]
| [INFO] Using default encoding to copy filtered resources.
| Downloading: http://snapshots.jboss.org/maven2/org/jboss/microcontainer/jboss-kernel/2...
| Downloading: http://repository.jboss.org/maven2/org/jboss/microcontainer/jboss-kernel/...
| Downloading: http://repository.jboss.org/maven2/org/jboss/microcontainer/jboss-kernel/...
| Downloading: http://repo1.maven.org/maven2/org/jboss/microcontainer/jboss-kernel/2.0.0...
| [INFO] ------------------------------------------------------------------------
| [ERROR] BUILD ERROR
| [INFO] ------------------------------------------------------------------------
| [INFO] Failed to resolve artifact.
|
| Missing:
| ----------
| 1) org.jboss.microcontainer:jboss-kernel:test-jar:tests:2.0.0.Beta14
|
| Try downloading the file manually from the project website.
|
| Then, install it using the command:
| mvn install:install-file -DgroupId=org.jboss.microcontainer -DartifactId=jboss-kernel -Dversion=2.0.0.Beta14 -Dclassifier=tests -Dpackaging=test-jar -Dfile=/path/to/file
|
| Alternatively, if you host your own repository you can deploy the file there:
| mvn deploy:deploy-file -DgroupId=org.jboss.microcontainer -DartifactId=jboss-kernel -Dversion=2.0.0.Beta14 -Dclassifier=tests -Dpackaging=test-jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
|
| Path to dependency:
| 1) org.jboss.microcontainer:jboss-aop-mc-int:jar:2.0.0.Beta14
| 2) org.jboss.microcontainer:jboss-kernel:test-jar:tests:2.0.0.Beta14
|
| ----------
| 1 required artifact is missing.
|
| for artifact:
| org.jboss.microcontainer:jboss-aop-mc-int:jar:2.0.0.Beta14
|
| from the specified remote repositories:
| central (http://repo1.maven.org/maven2),
| jboss-snapshots (http://snapshots.jboss.org/maven2),
| repository.jboss.org (http://repository.jboss.org/maven2),
| snapshots.jboss.org (http://snapshots.jboss.org/maven2),
| jboss (http://repository.jboss.org/maven2)
|
|
| [INFO] ------------------------------------------------------------------------
| [INFO] For more information, run Maven with the -e switch
| [INFO] ------------------------------------------------------------------------
| [INFO] Total time: 57 seconds
| [INFO] Finished at: Fri May 02 13:22:19 CEST 2008
| [INFO] Final Memory: 16M/56M
| [INFO] ------------------------------------------------------------------------
| [INFO] ------------------------------------------------------------------------
| [ERROR] BUILD ERROR
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148311#4148311
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148311
16 years, 8 months
[Design the new POJO MicroContainer] - Cannot do a release of MC
by alesj
I'm trying to get out Microcontainer 2.0.0.Beta14.
But I get this:
| C:\projects\microcontainer\kernel>mvn release:prepare -DdryRun=true
| [INFO] Scanning for projects...
| [INFO] Reactor build order:
| [INFO] JBoss Microcontainer Build
| [INFO] JBoss Microcontainer Dependency
| [INFO] JBoss Microcontainer Kernel
| [INFO] JBoss Microcontainer AOP MC INT
| [INFO] JBoss Microcontainer Spring Int
| [INFO] JBoss Microcontainer Guice Int
| [INFO] JBoss Microcontainer Aggregator
| [INFO] Searching repository for plugin with prefix: 'release'.
| WAGON_VERSION: 1.0-beta-2
| [INFO] ------------------------------------------------------------------------
| [INFO] Building JBoss Microcontainer Aggregator
| [INFO] task-segment: [release:prepare] (aggregator-style)
| [INFO] ------------------------------------------------------------------------
| [INFO] [release:prepare]
| [INFO] Verifying that there are no local modifications...
| [INFO] Executing: svn --non-interactive status
| [INFO] Working directory: C:\projects\microcontainer\kernel
| [INFO] Checking dependencies and plugins for snapshots ...
| What is the release version for "JBoss Microcontainer Aggregator"? (org.jboss.microcontainer:jboss-microcontainer-aggregator) 2.0.0: : 2.0.0.Beta14
| What is SCM release tag or label for "JBoss Microcontainer Aggregator"? (org.jboss.microcontainer:jboss-microcontainer-aggregator) jboss-microcontainer-aggregator-2.0.0.Beta14: : 2.0.0.Beta14
| What is the new development version for "JBoss Microcontainer Aggregator"? (org.jboss.microcontainer:jboss-microcontainer-aggregator) 2.0.1-SNAPSHOT: : 2.0.0-SNAPSHOT
| [INFO] Transforming 'JBoss Microcontainer Build'...
| [INFO] Updating jboss-aop-mc-int to 2.0.0.Beta14
| [INFO] Ignoring artifact version update for expression: ${project.version}
| [INFO] Updating jboss-dependency to 2.0.0.Beta14
| [INFO] Ignoring artifact version update for expression: ${project.version}
| [INFO] Updating jboss-kernel to 2.0.0.Beta14
| [INFO] Ignoring artifact version update for expression: ${project.version}
| [INFO] Updating jboss-kernel to 2.0.0.Beta14
| [INFO] Ignoring artifact version update for expression: ${project.version}
| [INFO] Updating jboss-spring-int to 2.0.0.Beta14
| [INFO] Ignoring artifact version update for expression: ${project.version}
| [INFO] Updating jboss-guice-int to 2.0.0.Beta14
| [INFO] Ignoring artifact version update for expression: ${project.version}
| [INFO] Transforming 'JBoss Microcontainer Dependency'...
| [INFO] Transforming 'JBoss Microcontainer Kernel'...
| [INFO] Updating jboss-dependency to 2.0.0.Beta14
| [INFO] Transforming 'JBoss Microcontainer AOP MC INT'...
| [INFO] Updating jboss-kernel to 2.0.0.Beta14
| [INFO] Updating jboss-kernel to 2.0.0.Beta14
| [INFO] Transforming 'JBoss Microcontainer Spring Int'...
| [INFO] Updating jboss-kernel to 2.0.0.Beta14
| [INFO] Transforming 'JBoss Microcontainer Guice Int'...
| [INFO] Updating jboss-kernel to 2.0.0.Beta14
| [INFO] Transforming 'JBoss Microcontainer Aggregator'...
| [INFO] Generating release POMs...
| [INFO] Generating release POM for 'JBoss Microcontainer Build'...
| [INFO] Generating release POM for 'JBoss Microcontainer Dependency'...
| [INFO] Generating release POM for 'JBoss Microcontainer Kernel'...
| [INFO] Generating release POM for 'JBoss Microcontainer AOP MC INT'...
| [INFO] Generating release POM for 'JBoss Microcontainer Spring Int'...
| [INFO] Generating release POM for 'JBoss Microcontainer Guice Int'...
| [INFO] Generating release POM for 'JBoss Microcontainer Aggregator'...
| [INFO] Full run would be adding [C:\projects\microcontainer\kernel\build\release-pom.xml, C:\projects\microcontainer\kernel\dependency\release-pom.xml, C:\projects\microcontainer\kernel\kernel\release-pom.xml, C:\projects\microcontainer\kernel\aop-mc
| -int\release-pom.xml, C:\projects\microcontainer\kernel\spring-int\release-pom.xml, C:\projects\microcontainer\kernel\guice-int\release-pom.xml, C:\projects\microcontainer\kernel\release-pom.xml]
| [INFO] Executing preparation goals - since this is simulation mode it is running against the original project, not the rewritten ones
| [INFO] Executing goals 'clean verify'...
| [INFO] Executing: mvn clean verify --no-plugin-updates -Prelease -P jboss.repository,local-properties
| [INFO] Scanning for projects...
| [INFO] NOTE: Using release-pom: C:\projects\microcontainer\kernel\release-pom.xml in reactor build.
| [INFO] NOTE: Using release-pom: C:\projects\microcontainer\kernel\build\release-pom.xml in reactor build.
| [INFO] NOTE: Using release-pom: C:\projects\microcontainer\kernel\dependency\release-pom.xml in reactor build.
| [INFO] NOTE: Using release-pom: C:\projects\microcontainer\kernel\kernel\release-pom.xml in reactor build.
| [INFO] NOTE: Using release-pom: C:\projects\microcontainer\kernel\aop-mc-int\release-pom.xml in reactor build.
| [INFO] NOTE: Using release-pom: C:\projects\microcontainer\kernel\spring-int\release-pom.xml in reactor build.
| [INFO] NOTE: Using release-pom: C:\projects\microcontainer\kernel\guice-int\release-pom.xml in reactor build.
| [INFO] Reactor build order:
| [INFO] JBoss Microcontainer Build
| [INFO] JBoss Microcontainer Dependency
| [INFO] JBoss Microcontainer Kernel
| [INFO] JBoss Microcontainer AOP MC INT
| [INFO] JBoss Microcontainer Spring Int
| [INFO] JBoss Microcontainer Guice Int
| [INFO] JBoss Microcontainer Aggregator
| [INFO] ------------------------------------------------------------------------
| [INFO] Building JBoss Microcontainer Build
| [INFO] task-segment: [clean, verify]
| [INFO] ------------------------------------------------------------------------
| [INFO] [clean:clean]
| [INFO] [site:attach-descriptor]
| [INFO] ------------------------------------------------------------------------
| [INFO] Building JBoss Microcontainer Dependency
| [INFO] task-segment: [clean, verify]
| [INFO] ------------------------------------------------------------------------
| [INFO] [clean:clean]
| Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plu...
| [INFO] [resources:resources]
| [INFO] Using default encoding to copy filtered resources.
| [INFO] [compiler:compile]
| [INFO] Compiling 35 source files to C:\projects\microcontainer\kernel\dependency\target\classes
| [INFO] ------------------------------------------------------------------------
| [ERROR] BUILD FAILURE
| [INFO] ------------------------------------------------------------------------
| [INFO] Compilation failure
|
| C:\projects\microcontainer\kernel\dependency\src\main\org\jboss\dependency\spi\CallbackItem.java:[33,29] generics are not supported in -source 1.3
| (try -source 1.5 to enable generics)
| public interface CallbackItem<T>
|
| C:\projects\microcontainer\kernel\dependency\src\main\org\jboss\dependency\plugins\AbstractControllerContextActions.java:[40,14] generics are not supported in -source 1.3
| (try -source 1.5 to enable generics)
| private Map<ControllerState, ControllerContextAction> actions;
|
| C:\projects\microcontainer\kernel\dependency\src\main\org\jboss\dependency\spi\ErrorHandlingMode.java:[31,1] annotations are not supported in -source 1.3
| (try -source 1.5 to enable annotations)
| @JBossXmlEnum(ignoreCase=true)
|
| C:\projects\microcontainer\kernel\dependency\src\main\org\jboss\dependency\spi\ErrorHandlingMode.java:[32,7] 'class' or 'interface' expected
|
| no more tokens - could not parse error message: C:\projects\microcontainer\kernel\dependency\src\main\org\jboss\dependency\spi\ErrorHandlingMode.java:49: 'class' or 'interface' expected
| ^
|
| C:\projects\microcontainer\kernel\dependency\src\main\org\jboss\dependency\plugins\action\SimpleControllerContextAction.java:[32,51] generics are not supported in -source 1.3
| (try -source 1.5 to enable generics)
| public abstract class SimpleControllerContextAction<T extends ControllerContext> extends AccessControllerContextAction<T, T>
|
| C:\projects\microcontainer\kernel\dependency\src\main\org\jboss\dependency\spi\helpers\UnmodifiableControllerContext.java:[67,13] generics are not supported in -source 1.3
| (try -source 1.5 to enable generics)
| public Set<Object> getAliases()
|
| C:\projects\microcontainer\kernel\dependency\src\main\org\jboss\dependency\spi\Cardinality.java:[83,25] for-each loops are not supported in -source 1.3
| (try -source 1.5 to enable for-each loops)
| for (Cardinality c : values)
|
| C:\projects\microcontainer\kernel\dependency\src\main\org\jboss\dependency\plugins\AbstractController.java:[70,15] generics are not supported in -source 1.3
| (try -source 1.5 to enable generics)
| private List<ControllerState> states = new CopyOnWriteArrayList<ControllerState>();
|
| C:\projects\microcontainer\kernel\dependency\src\main\org\jboss\dependency\plugins\AbstractController.java:[152,42] for-each loops are not supported in -source 1.3
| (try -source 1.5 to enable for-each loops)
| for (AbstractController child : children)
|
| C:\projects\microcontainer\kernel\dependency\src\main\org\jboss\dependency\spi\ControllerState.java:[72,21] generics are not supported in -source 1.3
| (try -source 1.5 to enable generics)
| private static Map<String, ControllerState> values = new HashMap<String, ControllerState>();
|
| C:\projects\microcontainer\kernel\dependency\src\main\org\jboss\dependency\plugins\OwnerCallbackItem.java:[37,39] generics are not supported in -source 1.3
| (try -source 1.5 to enable generics)
| public abstract class OwnerCallbackItem<T, C> extends AbstractCallbackItem<T>
|
| C:\projects\microcontainer\kernel\dependency\src\main\org\jboss\dependency\plugins\AttributeCallbackItem.java:[34,34] generics are not supported in -source 1.3
| (try -source 1.5 to enable generics)
| public class AttributeCallbackItem<T> extends OwnerCallbackItem<T, AttributeDispatchContext>
|
| C:\projects\microcontainer\kernel\dependency\src\main\org\jboss\dependency\plugins\action\AccessControllerContextAction.java:[40,51] generics are not supported in -source 1.3
| (try -source 1.5 to enable generics)
| public abstract class AccessControllerContextAction<S extends ControllerContext, T extends ControllerContext> implements ControllerContextAction
|
| C:\projects\microcontainer\kernel\dependency\src\main\org\jboss\dependency\spi\ControllerContext.java:[48,6] generics are not supported in -source 1.3
| (try -source 1.5 to enable generics)
| Set<Object> getAliases();
|
| C:\projects\microcontainer\kernel\dependency\src\main\org\jboss\dependency\spi\ControllerStateModel.java:[32,54] generics are not supported in -source 1.3
| (try -source 1.5 to enable generics)
| public interface ControllerStateModel extends Iterable<ControllerState>
|
| C:\projects\microcontainer\kernel\dependency\src\main\org\jboss\dependency\spi\helpers\UnmodifiableDependencyInfo.java:[51,13] generics are not supported in -source 1.3
| (try -source 1.5 to enable generics)
| public Set<DependencyItem> getIDependOn(Class<?> type)
|
| C:\projects\microcontainer\kernel\dependency\src\main\org\jboss\dependency\plugins\AbstractCallbackItem.java:[37,42] generics are not supported in -source 1.3
| (try -source 1.5 to enable generics)
| public abstract class AbstractCallbackItem<T> extends JBossObject implements CallbackItem<T>
|
| C:\projects\microcontainer\kernel\dependency\src\main\org\jboss\dependency\plugins\SingleCallbackItem.java:[35,31] generics are not supported in -source 1.3
| (try -source 1.5 to enable generics)
| public class SingleCallbackItem<T> extends OwnerCallbackItem<T, InvokeDispatchContext>
|
| C:\projects\microcontainer\kernel\dependency\src\main\org\jboss\dependency\spi\Controller.java:[112,6] generics are not supported in -source 1.3
| (try -source 1.5 to enable generics)
| Set<ControllerContext> getNotInstalled();
|
| C:\projects\microcontainer\kernel\dependency\src\main\org\jboss\dependency\plugins\AbstractDependencyInfo.java:[50,14] generics are not supported in -source 1.3
| (try -source 1.5 to enable generics)
| private Set<DependencyItem> iDependOn = new CopyOnWriteArraySet<DependencyItem>();
| [INFO] ------------------------------------------------------------------------
| [ERROR] BUILD ERROR
|
| [INFO] ------------------------------------------------------------------------
| C:\projects\microcontainer\kernel\dependency\src\main\org\jboss\dependency\plugins\A[INFO] Maven execution failed, exit code: '1'
|
| [INFO] ------------------------------------------------------------------------
| [INFO] For more information, run Maven with the -e switch
| [INFO] ------------------------------------------------------------------------
| [INFO] Total time: 26 seconds
| [INFO] Finished at: Fri May 02 11:53:58 CEST 2008
| [INFO] Final Memory: 7M/12M
| [INFO] ------------------------------------------------------------------------
|
| C:\projects\microcontainer\kernel>
Bringing me back to this thread:
- http://www.jboss.com/index.html?module=bb&op=viewtopic&t=133403
I don't see how was I able to release it before (as stated in this thread) - what changed.
This is preventing me from releasing Classloading and Deployers. :-(
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148300#4148300
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148300
16 years, 8 months