Skip to content
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

MODE-2383 Fixed the way binary distributions are built so that there is no need to install *-with-dependency artifacts in the Maven repository. #1342

Merged
merged 1 commit into from Dec 8, 2014

Conversation

hchiorean
Copy link
Member

No description provided.

…is no need to install *-with-dependency artifacts in the Maven repository.
<includes>
<include>*:*:*:module-with-dependencies</include>
</includes>
</dependencySet>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One disadvantage of doing it this way is that we have to explicitly maintain the fileSets when adding/removing modules. Shouldn't be too hard, but we may end up forgetting. I guess we kind of had to do this anyway in the modeshape-distribution.pom, so maybe it's not that much of a change.

OTOH, the big benefit to doing it this way is that no longer do we have to install the with-dependencies artifacts locally or deploy them into the official Maven repository.

Is this correct? Are there other benefits?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in short, yes: <dependencySet> s are resolved via the Maven repo which in turn, contains only installed artifacts which in turn, must be "attached" (to an assembly) which in turn, will be deployed 😉

@rhauch
Copy link
Contributor

rhauch commented Dec 5, 2014

Overall, I think this looks good. And per my comment above, I think this doesn't really change the amount of work required when adding/removing modules.

So assuming my conclusions are correct, this looks good.

hchiorean pushed a commit that referenced this pull request Dec 8, 2014
MODE-2383 Fixed the way binary distributions are built so that there is no need to install *-with-dependency artifacts in the Maven repository.
@hchiorean hchiorean merged commit a3e0390 into ModeShape:master Dec 8, 2014
@hchiorean hchiorean deleted the MODE-2383 branch December 8, 2014 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants