I'm not sure why you need to do that. If you name your plugin artifactId
maven-beans-plugin, then you don't need to override the goalPrefix.

-----Original Message-----
From: Bernhard David [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 12, 2008 5:30 AM
To: Maven Users List
Subject: Plugin goalPrefix : Deprecated?

Hello,

when I create a plugin called "maven-beans-plugin" and specify in the
pom

<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-plugin-plugin</artifactId>
        <configuration>
                <goalPrefix>beans</goalPrefix>
        </configuration>
</plugin>

I get the rather odd warning 
[WARNING] Goal prefix is specified as: 'beans'. Maven currently expects
it to be 'beans'.

I've found out that this warning is broadcast by the maven-plugin-plugin
as soon as you specify any goalPrefix at all. 

Does this mean <goalPrefix> is discouraged or deprecated? Can it cause
problems?

Yours,

David Bernhard

---------------------------------------------------------------------
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]

Reply via email to