Getting away from SNAPSHOTS! (Was Re: [jboss-dev] Re: A few more AOP/tmp failures to go)
Andrew Lee Rubinger
andrew.rubinger at redhat.com
Thu Feb 12 20:38:56 EST 2009
We determined in early April last year that SNAPSHOTs would be banned
from AS. I suppose the exception was made for this 5.0.1 developments
to allow for testing without re-cutting releases of MC and AOP.
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171809
The problem with versioned SNAPSHOTs is that they'll transitively bring
in non-versioned SNAPSHOTs.
Could be addressed by:
http://jira.codehaus.org/browse/MDEPLOY-77
S,
ALR
Jason T. Greene wrote:
> Errors like this make me think that maven snapshots are generally a bad
> idea.
>
> Awhile back someone (DML I think?) suggested using timestamp releases
> instead (i.e. module-1234484452.jar). This would guarantee that a given
> build for a source revision is always reproducible. In addition you can
> actually rollback to a previous timestamp version should something go
> wrong.
>
> Thoughts?
>
>
> Dimitris Andreadis wrote:
>> I've rolledback the change for now.
>>
>> https://jira.jboss.org/jira/browse/JBAS-6496
>>
>> Dimitris Andreadis wrote:
>>> Richard needs to fix the build first:
>>>
>>> _default:compile-classes:
>>> [mkdir] Created dir:
>>> /qa/services/hudson/hudson_workspace/workspace/JBoss-AS-5.0.x/JBossAS_5_0/webservices/output/classes
>>>
>>> [mkdir] Created dir:
>>> /qa/services/hudson/hudson_workspace/workspace/JBoss-AS-5.0.x/JBossAS_5_0/webservices/output/gen-src
>>>
>>> [javac] Compiling 47 source files to
>>> /qa/services/hudson/hudson_workspace/workspace/JBoss-AS-5.0.x/JBossAS_5_0/webservices/output/classes
>>>
>>> /qa/services/hudson/hudson_workspace/workspace/JBoss-AS-5.0.x/JBossAS_5_0/webservices/src/main/org/jboss/wsf/container/jboss50/transport/DynamicEndpointDeploymentAspect.java:29:
>>> package org.jboss.classloading.spi.dependency does not exist
>>> import org.jboss.classloading.spi.dependency.ClassLoading;
>>> ^
>>> /qa/services/hudson/hudson_workspace/workspace/JBoss-AS-5.0.x/JBossAS_5_0/webservices/src/main/org/jboss/wsf/container/jboss50/transport/DynamicEndpointDeploymentAspect.java:30:
>>> package org.jboss.classloading.spi.dependency does not exist
>>> import org.jboss.classloading.spi.dependency.Module;
>>> ^
>>> /qa/services/hudson/hudson_workspace/workspace/JBoss-AS-5.0.x/JBossAS_5_0/webservices/src/main/org/jboss/wsf/container/jboss50/deployment/metadata/EJBArchiveMetaDataAdapterEJB21.java:141:
>>> warning: [deprecation] determineJndiName() in
>>> org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData has been
>>> deprecated
>>> targetBean.setJndiName(jbossSessionBean.determineJndiName());
>>> ^
>>> /qa/services/hudson/hudson_workspace/workspace/JBoss-AS-5.0.x/JBossAS_5_0/webservices/src/main/org/jboss/wsf/container/jboss50/deployment/metadata/EJBArchiveMetaDataAdapterEJB21.java:142:
>>> warning: [deprecation] determineLocalJndiName() in
>>> org.jboss.metadata.ejb.jboss.JBossEnterpriseBeanMetaData has been
>>> deprecated
>>>
>>> targetBean.setLocalJndiName(jbossBeansMetaData.determineLocalJndiName());
>>>
>>> ^
>>> /qa/services/hudson/hudson_workspace/workspace/JBoss-AS-5.0.x/JBossAS_5_0/webservices/src/main/org/jboss/wsf/container/jboss50/transport/DynamicEndpointDeploymentAspect.java:90:
>>> cannot find symbol
>>> symbol : class Module
>>> location: class
>>> org.jboss.wsf.container.jboss50.transport.DynamicEndpointDeploymentAspect
>>>
>>> mutableAttachments.addAttachment(Module.class,
>>> ClassLoading.getModuleForClassLoader(epLoader));
>>> ^
>>> /qa/services/hudson/hudson_workspace/workspace/JBoss-AS-5.0.x/JBossAS_5_0/webservices/src/main/org/jboss/wsf/container/jboss50/transport/DynamicEndpointDeploymentAspect.java:90:
>>> cannot find symbol
>>> symbol : variable ClassLoading
>>> location: class
>>> org.jboss.wsf.container.jboss50.transport.DynamicEndpointDeploymentAspect
>>>
>>> mutableAttachments.addAttachment(Module.class,
>>> ClassLoading.getModuleForClassLoader(epLoader));
>>> ^
>>> Note: Some input files use unchecked or unsafe operations.
>>> Note: Recompile with -Xlint:unchecked for details.
>>> 4 errors
>>> 2 warnings
>>> _______________________________________________
>>> jboss-development mailing list
>>> jboss-development at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/jboss-development
>> _______________________________________________
>> jboss-development mailing list
>> jboss-development at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jboss-development
>
>
--
Andrew Lee Rubinger
Sr. Software Engineer
JBoss, a division of Red Hat, Inc.
http://exitcondition.alrubinger.com
More information about the jboss-development
mailing list