We don't want to skip deployment of all the artifacts, just one jar built
in one module for one test, which is not intended to be one of the
artifact's modules. *maybe* we could move it to a separate module, and skip
deploy, but we've already got a lot of module bloat, and I'd prefer not to
make it worse.

On Fri, Aug 19, 2016 at 2:34 PM Gordon Cody <gordon.c...@zafin.com> wrote:

> Perhaps I don't understand what is meant by "not attaching" but if all you
> want to do is skip deployment, the maven-deploy-plugin has this feature:
>                 <configuration>
>                     <skip>true</skip>
>                 </configuration>
> which can be added to the module you do not wish to deploy. We use this in
> order to not deploy .ear files to our artifactory.
>
> Regards, Gord Cody
>
> On Fri, Aug 19, 2016 at 1:37 PM, Karl Heinz Marbaise <khmarba...@gmx.de>
> wrote:
>
> > Hi,
> >
> > On 19/08/16 03:36, Christopher wrote:
> >
> >> Hi Maven Users list,
> >>
> >> What's the best way to create a jar during a build without attaching it?
> >>
> >> Currently, our pom is configured to use the maven-jar-plugin to create
> it,
> >> but that plugin attaches an artifact, which gets deployed. We don't want
> >> that. That doesn't seem to be configurable.
> >>
> >
> > Can you describe why you would like to create a jar which shouldn't be
> > deployed ? May be we can enhance maven-jar-plugin to support such a use
> > case?
> >
> >
> > Kind regards
> > Karl Heinz Marbaise
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> > For additional commands, e-mail: users-h...@maven.apache.org
> >
> >
>
>
> --
> Best Regards, Gord Cody
>
> Release Manager  Zafin Labs Americas Inc.
> 179 Colonnade Road-Suite 100, Ottawa ON, Canada
> Phone: +1 (613) 216-2504  Fax: +1 (613) 688-1374  Mobile: +1 613-601-2734
> Web: http://zafin.com  Email: gordon.c...@zafin.com
>
> --
> Zafin - Canada
>
> --
> http://zafin.com
>
> <http://zafin.com/>
>
> ------------------------------
>
> Connect with us
>
> <http://www.youtube.com/user/ZafinGlobal>
> <http://www.linkedin.com/company/Zafin>  <http://twitter.com/Zafin>
>
> News and Events
>
> Zafin announces 100 person Center of Excellence in Toronto
> <
> http://zafin.com/press-releases/zafin-announces-new-100-person-centre-excellence-toronto/
> >
>
> For the 2nd consecutive year, Zafin named to the Deloitte Fast 50 and Fast
> 500 rankings
> <
> http://zafin.com/press-releases/zafin-named-deloitte-technology-fast-50-fast-500-lists/
> >
>
> <
> http://zafin.com/press-releases/zafin-ranks-16th-on-the-2014-deloitte-technology-fast-50-list/
> >
>

Reply via email to