On 4/13/2010 10:04 AM, Marshall Schor wrote:
> In the org.apache:apache:7 pom, a common parent-pom for apache projects,
> I see in the apache-release profile section, a part which creates the
> source-release artifact.
>
> This runs the maven-assembly-plugin, and passes it a dependency on
> org.apache.apache.resources:apache-source-release-assembly-descriptor:1.0.2.
>
> In the configuration, it specifies a descriptorRef of
> ${sourceReleaseAssemblyDescriptor}.
>
> I looked in the documentation for the maven-assembly-plugin, and can't
> find this usage documented.
>
> So - some questions:
>
> Is the value of descriptorRef ( ${sourceReleaseAssemblyDescriptor} ) a
> maven "property"? If so, where is it set?
>
> The "descriptorRef" parameter is documented to refer to one of 4
> built-in assembly descriptors. Is this usage allowing it to refer to
> some other non-built-in descriptor? If so, how is the linkage
> established (I presume via the "dependency" element, but what name(s)?
> need to match with what to make this magic happen?
>
I found the answer to this here:
http://www.sonatype.com/books/mvnref-book/reference/assemblies-sect-best-practices.html#assemblies-sect-standard-reusable
It doesn't however describe the "property", but instead uses a plain
string. So I still have that question...
-Marshall
> Or, have I guessed incorrectly as to what is happening here ;-) ?
>
> -Marshall
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]