[Design of EJB 3.0] - Maven Version Resolution Differences 2.0.8 / 2.0.9
by ALRubinger
This is by far the worst I've seen to date. As of Revision 73768, EJB3 Build is broken in Maven 2.0.8 and working in 2.0.9.
"Maven 2.0.8" wrote : core $> mvn clean install
| ...
| Rule 0: org.apache.maven.plugin.enforcer.BannedDependencies failed with message: Found Banned Dependency: org.jboss.microcontainer:jboss-container:jar:2.0.0.Beta10
| Found Banned Dependency: org.jboss:javassist:jar:3.6.0.GA
|
| $> /opt/apache/maven/apache-maven-2.0.8/bin/mvn dependency:tree -Dincludes=org.jboss.microcontainer:jboss-container
| [INFO] [dependency:tree]
| [INFO] org.jboss.ejb3:jboss-ejb3-core:jar:0.1.2-SNAPSHOT
| [INFO] \- org.jboss.jbossas:jboss-as-system-jmx:jar:5.0.0.Beta4:provided
| [INFO] \- org.jboss.jbossas:jboss-as-jmx:jar:5.0.0.Beta4:provided
| [INFO] \- org.jboss.microcontainer:jboss-container:jar:2.0.0.Beta10:provided (version managed from 2.0.0.Beta6)
|
| $> /opt/apache/maven/apache-maven-2.0.8/bin/mvn -Dplugin=dependency help:describe
| Group Id: org.apache.maven.plugins
| Artifact Id: maven-dependency-plugin
| Version: 2.0
| Goal Prefix: dependency
Fantastic. Dependency Plugin version 2.0. Let's try the same thing in 2.0.9, where the build succeeds.
"Maven 2.0.9" wrote : $> /opt/apache/maven/apache-maven-2.0.9/bin/mvn dependency:tree -Dincludes=org.jboss.microcontainer:jboss-container
| {nothing}
|
| $> /opt/apache/maven/apache-maven-2.0.9/bin/mvn -Dplugin=dependency help:describe
| Group Id: org.apache.maven.plugins
| Artifact Id: maven-dependency-plugin
| Version: 2.0
| Goal Prefix: dependency
WTF? No dependency on org.jboss.microcontainer:jboss-container, yet the Dependency Plugin is the same version.
S,
ALR
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154158#4154158
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154158
16 years
[Design of Messaging on JBoss (Messaging/JBoss)] - Some serious issues with new journal code for AIO
by timfox
Further to what Clebert and I discussed yesterday, and in the process of making some small changes to the journal I have discovered several major bugs / issues in the changes that were added to the journal when integrating the AIO journal.
1) appendAddRecord(final long id, final byte recordType, final EncodingSupport record):
Why bother with a callback - much easier just to call write with sync = true? (less code)
2) public void appendAddRecord(final long id, final byte recordType, final byte[] record) throws Exception
same as 1)
3) public void appendDeleteRecord(long id) throws Exception
same as 1)
4) public void appendAddRecordTransactional(final long txID, final byte recordType, final long id,
final byte[] record) throws Exception
Previous code was always using callbacks - even if the journal didn't support callbacks
5) public void appendUpdateRecordTransactional(final long txID, byte recordType, final long id,
final byte[] record) throws Exception
same as 4)
6) public void appendDeleteRecordTransactional(final long txID, final long id) throws Exception
Same as 4)
7) public void appendPrepareRecord(final long txID) throws Exception
Two bugs in this one
a) Previous code was always using callbacks - even if the journal didn't support callbacks
b) Not waiting for completion on prepare
8) public void appendRollbackRecord(final long txID) throws Exception
The bug here is that it doesn't wait for completion of all the transactional operations that came before it. It only waits for completion if the current operation
Some of these are pretty critical bugs, I can only asume the new functionality test coverage isn't sufficient since these weren't caught.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154143#4154143
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154143
16 years