Interestingly, everything works correctly if I use a prefix of " axis2-aar".
Not quite sure why.
[/Users/dave/projects/gpsdata/webservice] mvn help:describe
-Dplugin=axis2-aar
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'help'.
[INFO]
------------------------------------------------------------------------
[INFO] Building webservice
[INFO] task-segment: [help:describe] (aggregator-style)
[INFO]
------------------------------------------------------------------------
[INFO] [help:describe {execution: default-cli}]
[INFO] org.apache.axis2:axis2-aar-maven-plugin:1.5.1
Name: Apache Axis2 - tool - AAR Maven Plugin
Description: A Maven 2 plugin for creating Axis 2 service archives (aar
files)
Group Id: org.apache.axis2
Artifact Id: axis2-aar-maven-plugin
Version: 1.5.1
Goal Prefix: axis2-aar
This plugin has 4 goals:
axis2-aar:aar
Description: Build a aar.
Deprecated. No reason given
axis2-aar:deployaar
Description: Deploys an AAR to the Axis2 server.
Deprecated. No reason given
axis2-aar:exploded
Description: Generate the exploded aar
Deprecated. No reason given
axis2-aar:inplace
Description: Generates aar in the source directory
Deprecated. No reason given
For more information, run 'mvn help:describe [...] -Ddetail'
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Tue Mar 16 12:48:11 NZDT 2010
[INFO] Final Memory: 7M/13M
[INFO]
------------------------------------------------------------------------
[/Users/dave/projects/gpsdata/webservice]
nw31304 wrote:
>
> I'm having the same problem, even after having read the maven plugin
> prefix mapping link. MThe relevant portion of my POM is:
>
> <build>
> <plugins>
> <plugin>
> <groupId>org.apache.axis2</groupId>
> <artifactId>axis2-aar-maven-plugin</artifactId>
> <version>1.5.1</version>
> <configuration>
> <goalPrefix>aar</goalPrefix>
> </configuration>
> </plugin>
> </plugins>
> </build>
>
> Here's the result:
>
> [/Users/dave/projects/gpsdata/webservice] mvn aar:exploded
> [INFO] Scanning for projects...
> Downloading:
> http://repo1.maven.org/maven2/org/apache/axis2/axis2-aar-maven-plugin/1.5.1/axis2-aar-maven-plugin-1.5.1.pom
>
> Downloading:
> http://repo1.maven.org/maven2/org/apache/axis2/axis2-aar-maven-plugin/1.5.1/axis2-aar-maven-plugin-1.5.1.jar
>
> [INFO] Searching repository for plugin with prefix: 'aar'.
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] The plugin 'org.apache.maven.plugins:maven-aar-plugin' does not
> exist or no valid version could be found
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Tue Mar 16 12:38:18 NZDT 2010
> [INFO] Final Memory: 3M/5M
> [INFO]
> ------------------------------------------------------------------------
>
> So even though maven locates the plugin and installs it into the repo, it
> cannot find it for use. Obviously I've missed something obvious.
>
> --Dave
>
>
> Wendy Smoak-3 wrote:
>>
>> On Mon, Jan 5, 2009 at 12:49 PM, Martin Gainty <[email protected]>
>> wrote:
>>
>>> Page Not Found
>>
>> What page is not found? The one Justin mentioned is there:
>> http://maven.apache.org/guides/introduction/introduction-to-plugin-prefix-mapping.html
>>
>> (Watch wrapping, you may have to reconstruct the url if your mail
>> client breaks it.)
>>
>> --
>> Wendy
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>>
>
>
--
View this message in context:
http://old.nabble.com/The-PluginDescriptor-for-the-plugin-Plugin--org.apache.maven.plugins%3Amaven-aar-plugin--was-not-found.-tp21296536p27911879.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]