[Design the new POJO MicroContainer] - Changing dependencies in poms
by adrian@jboss.org
When you update build/pom.xml to change a version of a related project
can you please:
1) Create a JIRA issue for it and link to the release notes for that release.
2) Update the relevant .classpath files
(1) Is a new requirement for all JBoss Projects.
There is a JIRA issue type of "Release"
and I've created a new component type called "Release" for the MC project.
Here's an example
http://jira.jboss.com/jira/browse/JBMICROCONT-245
NOTE: This is also a requirement for thirdparty jars.
I'd recommend you copy the release notes into the task for thirdparty
jars since there's no guarantee any thirdparty link will remain valid
over the long term.
(2) is optional, but it would be friendly, otherwise we end up with different
subprojects referencing different versions (e.g. because only one uses a new feature)
and Eclipse gets confused when running tests or showing source.
SNAPSHOTS:
This does not apply to snapshot releases. We do NOT reference
snapshots from our official releases. They will get a JIRA issue
when we include the non-snapshot release.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133108#4133108
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133108
16 years, 7 months
[Design of EJB 3.0] - Restricting scanning for ejbs
by scott.stark@jboss.org
One problem I ran into in a cts test is the Ejb3Deployment scanning for annotated ejbs. There are tests where wars are including annotated ejbs. When such a war is bundled with the ejb jar that should be the deployment unit for the Seems like we need a mode that disables the scanning ejbs in non-ejb units. The war is not actually treated as ejb unit because the deployBeansFromLib() method only processes units with JBossMetaData. However, the war is registered as an ejb container with the Ejb3Registry, and when ejbs are resolved based on its interface by the DeploymentEjbResolver, there are duplicate ejbs seen.
I'm not sure why we are scanning for classes if there is no JBossMetaData. Perhaps its a hangover from before having an annotation deployer. I'm going to bypass the scanning if there is no JBossMetaData. Probably need to revisit this for using ejb3 in modes outside of the server if its not going to rely on the mc deployer architecture.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133070#4133070
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133070
16 years, 7 months