-
Notifications
You must be signed in to change notification settings - Fork 910
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ARTEMIS-4353 clean up Maven dependencies #4544
Conversation
@gemmellr, I know you've worked on the More generally, I wonder if we shouldn't move all the test support classes (e.g. |
I havent actually yet looked at this, but a few comments before I get to it:
One thing to consider is, moving any tests from e.g artemis-server into e.g integration-tests will reduce the set of tests run in the PR check. They could be retained in the PR run tests (if still seeming suitable) by including them in the integration-tests subset run by surefure when enabling the fast-tests profile (see the pom). |
caf5cde
to
b33449a
Compare
I backed out the commons-configuration2 change and sent #4548 instead. Also, I removed any additions of the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are a number of warnings from duplicate definitions that need fixed:
https://github.com/apache/activemq-artemis/actions/runs/5511789477/jobs/10047790267?pr=4544#step:5:9
Warning:
Warning: Some problems were encountered while building the effective model for org.apache.activemq:artemis-log-annotation-processor:jar:2.30.0-SNAPSHOT
Warning: 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.seleniumhq.selenium:selenium-api:jar -> duplicate declaration of version ${selenium.version} @ org.apache.activemq:artemis-pom:2.30.0-SNAPSHOT, /home/runner/work/activemq-artemis/activemq-artemis/pom.xml, line 1057, column 22
Warning:
Warning: Some problems were encountered while building the effective model for org.apache.activemq.tests:soak-tests:jar:2.30.0-SNAPSHOT
Warning: 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.activemq.tests:artemis-test-support:jar -> duplicate declaration of version ${project.version} @ line 140, column 19
Warning:
Warning: Some problems were encountered while building the effective model for org.apache.activemq.tests:stress-tests:jar:2.30.0-SNAPSHOT
Warning: 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.activemq.tests:artemis-test-support:jar -> duplicate declaration of version ${project.version} @ line 126, column 19
Warning:
Warning: Some problems were encountered while building the effective model for org.apache.activemq.tests:smoke-tests:jar:2.30.0-SNAPSHOT
Warning: 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.seleniumhq.selenium:selenium-api:jar -> duplicate declaration of version (?) @ line 171, column 19
Warning: 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.activemq.tests:artemis-test-support:jar -> duplicate declaration of version ${project.version} @ line 261, column 19
Warning:
Warning: Some problems were encountered while building the effective model for org.apache.activemq:artemis-pom:pom:2.30.0-SNAPSHOT
Warning: 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.seleniumhq.selenium:selenium-api:jar -> duplicate declaration of version ${selenium.version} @ line 1057, column 22
Warning:
Warning: It is highly recommended to fix these problems because they threaten the stability of your build.
Warning:
Warning: For this reason, future Maven versions might no longer support building such malformed projects.
artemis-quorum-ri/src/test/java/org/apache/activemq/artemis/quorum/DistributedLockTest.java
Outdated
Show resolved
Hide resolved
844da76
to
cb7307f
Compare
This commit contains the following changes: - eliminate used, undeclared dependencies - eliminate unused, declared dependencies - fix scope for test dependencies - eliminate org.hamcrest completely as its use involved deprecated code as well as dependencies from multiple versions
This commit contains the following changes: