Ticket #359 (closed task: fixed)
Failure to maven-deploy Kauri (to non-default repository?)
| Reported by: | bruno | Owned by: | mpo |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | -- unknown -- | Version: | |
| Keywords: | Cc: | kauri-discuss@… |
Description
When I try to deploy Kauri to alternative repository, as is described here for Lily:
http://docs.outerthought.org/lily-docs-trunk/422-lily/418-lily.html
I run into an, at first sight, strange error about a failure of building the deploy plugin configuration at the kauri-tutorial-myblog project.
Further investigation learns that kauri-tutorial-myblog is a child-module of the Kauri Maven project, but that the reverse relation is not set: kauri-tutorial-myblog does not have a <parent>.
So while kauri-tutorial-myblog will be included in the build, it does not inherit configuration from the parent, leading to the problem I encountered (I wonder if it does not give the same problem for a normal Kauri deploy, as in the recent release?).
Excluding kauri-tutorial-myblog from the modules allowed me to work around the problem.
Change History
comment:2 Changed 3 years ago by bruno
Yes, the ability to skip these modules would be perfect.
Found this:
http://maven.apache.org/plugins/maven-deploy-plugin/faq.html
Quote:
I don't want to deploy one of the artifacts in my multi-module build. Can I skip deployment?
Yes, you can skip deployment of individual modules by configuring the Deploy Plugin as follows:
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>X.Y</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
good catch!
Don't know about how things went during 04-rc release (maybe Freya can chime in)
The steps we follow are described here: http://docs.outerthought.org/kauri-docs-0_4/g2/128-kauri.html
They don't mention an explicit mvn deploy, but I do believe the mvn release will include a deploy. In any case the 04-rc jars seem to be present on http://kauriproject.org/maven/maven2/deploy/org/kauriproject
(No entry for the tutorial however)
As for what to do about it I'm still thinking:
Dunno if mvn has subtle settings to allow for this, but IMHO this is what we should try to achieve, no?
(And not to forget: if needed adapt the release building instructions accordingly)