maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael-O <1983-01...@gmx.net>
Subject Exclude specific files from assembly dependency set
Date Sun, 01 Sep 2013 19:25:14 GMT
Hi folks,

I am creating a binary assembly during project release. All release 
artifacts are uploaded to RSO are signed with GPG. The assembly is not 
uploaded to RSO but to SF.net.

Now, I have created the following assembly descriptor:

<assembly ...>
     <id>bin</id>
     <formats>
         <format>zip</format>
         <format>tar.gz</format>
     </formats>
    [...]
     <dependencySets>
         <dependencySet>
             <outputDirectory>lib</outputDirectory>
             <useProjectAttachments>true</useProjectAttachments>
             <excludes>
                 <exclude>org.apache.commons:commons-lang3</exclude>
             </excludes>
         </dependencySet>
     </dependencySets>
</assembly>

Unfortunately, the asc files land in the lib directory because they are 
attached too. I have tried

<exclude>${project.groupId}:${project.artifactId}:asc:${project.version}</exclude>

and

<exclude>${project.groupId}:${project.artifactId}:asc</exclude>

and even

<exclude>*:asc:*</exclude>

but none of them works.

How can I exclude the signature files?

Thanks,

Michael

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


Mime
View raw message