Hi,

I'm using a dependency set in an assembly of mine using the following
config:

<dependencySets>
            <dependencySet>
                <useProjectArtifact>false</useProjectArtifact>
                <outputDirectory>/</outputDirectory>

                <includes>
                    <include>group:artifact1</include>
                    <include>group:artifact1</include>
                    <include>group:artifact1</include>
                </includes>
            </dependencySet>
</dependencySets>

I would like the artifacts to have the output name of whatever their
'finalName' was when they were built.
I understand the default outputFileName mapping is governed by the
following:
<outputFileNameMapping>${artifact.artifactId}-${artifact.version}${dashClassifier?}.${artifact.extension}</outputFileNameMapping>
Looking at the Artifact API, I don't see a way to access the POM of that
artifact, or the finalName directly.

I guess what I can do is create a new dependency set for each one and
declare the output name thrice, but that doesn't seem so clean.

Any ideas?

Reply via email to