On Tue, Nov 11, 2008 at 1:38 PM, Rice Yeh <[EMAIL PROTECTED]> wrote:
> Hi,
>  I have a artifact with classifer. I want to install source jar with
> classifier also. Although I can generate the source jar with classifier. But
> I find the source jar installed in local repository is still without
> classifier as shown in the following:
>
> <!-- configure plugin to generate classifier -->
>            <plugin>
>                <groupId>org.apache.maven.plugins</groupId>
>                <artifactId>maven-source-plugin</artifactId>
>                <configuration>
>                    <finalName>${project.build.finalName}-jdk15</finalName>
>                </configuration>
>            </plugin>
>
> * installation still install as-measurement-1.0
> .0-SNAPSHOT-jdk15-sources.jar to as-measurement-1.0.0-SNAPSHOT-sources.jar
>
> [INFO] Installing
> C:\projects\xsf\jdk15\as-measurement\target\as-measurement-1.0
> .0-SNAPSHOT-jdk15-sources.jar to C:\Documents and
> Settings\riceyeh\.m2\repositor
> y\as\as-measurement\1.0.0-SNAPSHOT\as-measurement-1.0.0-SNAPSHOT-sources.jar

I'm sorry I'm not going to be much help.

Suggestions are:

Have you run with mvn -X to see how the plugin is being configured.
That may give you some clues as to the value being used.
Then you might want to pull out the maven-source-plugin source and see
what it is doing with this value.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to