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
Create parent POM module #874
Conversation
@@ -8,7 +8,7 @@ | |||
</parent> | |||
|
|||
<artifactId>fcrepo-kernel-modeshape</artifactId> | |||
<name>Fedora Repository Kernel Implementation based on Modeshape</name> | |||
<name>Fedora Repository Kernel Implementation (Modeshape)</name> | |||
<description>The Fedora Commons repository kernel: Provides the basic abstractions at the heart of the Fedora |
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.
Shouldn't this description say something about Modeshape?
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.
Yes, it should.
I think the |
Please rebase on master. |
@awoods this branch is up to date with regard to master |
@@ -162,47 +143,34 @@ | |||
<version>${guava.version}</version> | |||
</dependency> | |||
<dependency> | |||
<groupId>org.apache.abdera</groupId> | |||
<artifactId>abdera-parser</artifactId> |
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.
Who did you determine that abdera-parser
is not needed?
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.
Abdera had something to do with RSS, right?
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.
Yes. https://abdera.apache.org/
I am not concerned about it going away, but more interested in the technique for determining it is not needed.
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.
My basic technique was this: what packages does the artifact export? And are they used in the code anywhere?
Sometimes, there is a transitive dependency conflict and it is necessary to explicitly load a particular version so that the class loader can resolve dependencies properly, but this did not appear to be the case with abdera.
<execution> | ||
<id>default-integration-test</id> | ||
<goals> | ||
<goal>integration-test</goal> |
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.
The recommendation from the Maven docs seems to suggest our original configuration of the plugin, i.e. having both integration-test
and verify
.
https://maven.apache.org/surefire/maven-failsafe-plugin/usage.html
The updates look good. In doing some testing I have run into issues with the following: cd fcrepo-message-consumer
mvn javadoc:test-aggregate cd fcrepo-module-auth-xacml
mvn javadoc:jar cd fcrepo4-swordserver
mvn javadoc:test-aggregate |
@awoods: I have added some additional PRs for the projects listed, related to this change. See the Jira ticket for details. |
Resolved with: 99397f6 |
https://jira.duraspace.org/browse/FCREPO-1684
This is a first stab at cleaning up the maven configuration. The idea is that this will eliminate a lot of the redundant maven configuration across modules that may not inherit directly from the
fcrepo
maven POM. As a guiding principle, I created thefcrepo-parent
to be the sort of POM artifact that I wish existed when configuringfcrepo-camel
andfcrepo-camel-toolbox
. I have verified separately thatfcrepo-camel
builds correctly when usingfcrepo-parent
as a parent POM (i.e. after eliminating most of the existing plugin configuration infcrepo-camel/pom.xml
).I have some open questions related to this PR:
enunciate
andjmeter
plugins in the fcrepo pom file, though I'm not sure they are being used. I also didn't touch thelifecycle-mapping
plugin: I don't use eclipse, but others do, so I assume it is relevant for them.mvn site
and the release/deployment-related phases, so I would appreciate it if @awoods could verify that this configuration actually does what I intend it to do: that is, to make deployment, site generation and releases easier and more consistent across projects.