commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: [all] Preventing assembly archives from being deployed to nexus.
Date Sat, 02 Dec 2017 21:22:06 GMT
Hi Rob,

Note that for Commons Daemon we do want to deploy the bin zip that contains
the Windows DLL/EXEs.

Some folks, like me, depend on it in order to include the Windows EXE/DLLs
in builds.

Gary

On Sat, Dec 2, 2017 at 2:06 PM, Rob Tompkins <chtompki@gmail.com> wrote:

> Hello all,
>
> In my work on the [build-plugin], I’ve come across the following mechanism
> to prevent the [maven-assembly-plugin] from deploying the artifacts to
> nexus. If in the configuration section of the plugin, you put
> “<attach>false</attach>” the archives that the [maven-assembly-plugin]
> creates will not get pushed up to nexus. For example I have locally in
> [text] the following:
>
>  <plugin>
>         <artifactId>maven-assembly-plugin</artifactId>
>         <configuration>
>                 <descriptors>
>                 <descriptor>src/assembly/bin.xml</descriptor>
>                         <descriptor>src/assembly/src.xml</descriptor>
>                 </descriptors>
>                 <tarLongFileMode>gnu</tarLongFileMode>
>                 <attach>false</attach>
>         </configuration>
> </plugin>
>
> and with that, using "-Ptest-deploy" profile, the archives aren’t pushed
> to "./target/deploy”.
>
> As previously stated, my plan is to streamline the release process
> considerably with java updates to the build plugin, but for the time being,
> this should be helpful.
>
> Cheers,
> -Rob
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message