Not massively complicated, have a look at the responses to this query
about a similar issue. In this case a need to prevent deploying the
sources jar as part of a release.

http://stackoverflow.com/questions/437085/mvn-releaseperform-without-source-ending-up-in-artifactory

On Thu, 2009-12-10 at 10:08 -0500, Jim Collings wrote:
> How complicated is that to do?  We don't generally use profiles around
> here so I've little experience with them.
> 
> On Thu, Dec 10, 2009 at 9:48 AM, Adam Leggett (UPCO)
> <adam.legg...@upco.co.uk> wrote:
> > I believe its the default release profile that triggers the site
> > deployment stuff. There is an option for setting custom ones on the
> > perform mojo:
> >
> > http://maven.apache.org/plugins/maven-release-plugin/perform-mojo.html#releaseProfiles
> >
> >
> > On Thu, 2009-12-10 at 09:25 -0500, Jim Collings wrote:
> >> The objective is to prevent maven's attempt at site deployment.
> >> Everything else, though, I want. Problem is that when I use the xml
> >> below, it ONLY installs.
> >>
> >> So I added goals with install:
> >>
> >> <plugin>
> >>                 <groupId>org.apache.maven.plugins</groupId>
> >>                 <artifactId>maven-release-plugin</artifactId>
> >>                 <version>...someversion...</version>
> >>                 <configuration>
> >>                     <connectionUrl>...appropriate connection
> >> stuff...</connectionUrl>
> >>                     <tagBase>...appropriate connection stuff...</tagBase>
> >>                     <goals>
> >>                     install
> >>                     </goals>
> >>                 </configuration>
> >>  </plugin>
> >>
> >>
> >> Clue?
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> >> For additional commands, e-mail: users-h...@maven.apache.org
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> > For additional commands, e-mail: users-h...@maven.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to