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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to