You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Wendell Beckwith <wb...@gmail.com> on 2005/09/03 01:21:43 UTC

How to set a plugin's prefix?

I really hate to be dense, but I have created a settings.cml file with the 
following content and placed it in my .m2 directory, and the project itsself 
to no avail. I simply can't execute my plugin by the prefix. I looked at 
test it0031 and this provides no clues (for me at least) on how to configure 
this. Is there a better explanation or roadmap on how to achieve this 
behavior? If I need to actually debug maven to discover what is or isn't 
going on where do I start? What code should I be setting break points in?

Wb

Re: How to set a plugin's prefix?

Posted by Wendell Beckwith <wb...@gmail.com>.
Damn! I was all set to bitch about how it still doesn't work because I have 
done the following 2 steps so many times that I ultimately gave up on it, 
and now bam it magically works with 2B1. Thanks to all who offered comments 
and help, maybe the 52nd time is the charm.

Wb


On 9/18/05, Brett Porter <br...@gmail.com> wrote:
> 
> I'm not happy with the process right now, and there is an open bug for it. 
> Here are the steps:
> 
> 1) m2 -DupdateReleaseInfo=true install (on the plugin, only required once 
> per version)
> 2) add your group ID to plugin groups in settings.xml
> 
> Docs will be improved post-beta-1 now that we have promised not to change 
> anything :)
> 
> - Brett
> 
> On 9/18/05, Wendell Beckwith < wbeckwith@gmail.com> wrote:
> > 
> > I started the thread and still haven't figured out what is wrong. I 
> > believe 
> > there is a step missing from the tea leaves one has to read to get it to
> > work. It has been my hope that someone would solve it before I got back
> > around to trying to deal with it. It would be great if a dev wrote the 
> > steps 
> > from a - z of what is required to do this. I was hoping for improved 
> > docs
> > with 2.0B1, but that doesn't seem to be the case yet.
> > 
> > Wb
> > 
> > On 9/18/05, Rinku <rahul.thakur.xdev@gmail.com > wrote:
> > >
> > > Hi,
> > >
> > > I followed this thread but afraid I am still not sure how and where I 
> > can
> > > set up a 'prefix' for Mojo that I have written.
> > >
> > > I have :
> > > a) created a MOJO project and implemented MOJO 
> > > b) added pluginGroups in my settings.xml
> > > c) notice that maven-metadata-*.xml is being created (but don't see 
> > any
> > > prefix info) . Is there I need to be aware of while running
> > > install:install 
> > > on a Mojo to set up a prefix?
> > >
> > > Appreciate any pointers.
> > >
> > > Thanks in advance,
> > >
> > > Rahul
> > >
> > 
> > 
>

Re: How to set a plugin's prefix?

Posted by Brett Porter <br...@gmail.com>.
I'm not happy with the process right now, and there is an open bug for it. 
Here are the steps:

1) m2 -DupdateReleaseInfo=true install (on the plugin, only required once 
per version)
2) add your group ID to plugin groups in settings.xml

Docs will be improved post-beta-1 now that we have promised not to change 
anything :)

- Brett

On 9/18/05, Wendell Beckwith <wb...@gmail.com> wrote:
> 
> I started the thread and still haven't figured out what is wrong. I 
> believe
> there is a step missing from the tea leaves one has to read to get it to
> work. It has been my hope that someone would solve it before I got back
> around to trying to deal with it. It would be great if a dev wrote the 
> steps
> from a - z of what is required to do this. I was hoping for improved docs
> with 2.0B1, but that doesn't seem to be the case yet.
> 
> Wb
> 
> On 9/18/05, Rinku <ra...@gmail.com> wrote:
> >
> > Hi,
> >
> > I followed this thread but afraid I am still not sure how and where I 
> can
> > set up a 'prefix' for Mojo that I have written.
> >
> > I have :
> > a) created a MOJO project and implemented MOJO
> > b) added pluginGroups in my settings.xml
> > c) notice that maven-metadata-*.xml is being created (but don't see any
> > prefix info) . Is there I need to be aware of while running
> > install:install
> > on a Mojo to set up a prefix?
> >
> > Appreciate any pointers.
> >
> > Thanks in advance,
> >
> > Rahul
> >
> 
>

Re: How to set a plugin's prefix?

Posted by Wendell Beckwith <wb...@gmail.com>.
I started the thread and still haven't figured out what is wrong. I believe 
there is a step missing from the tea leaves one has to read to get it to 
work. It has been my hope that someone would solve it before I got back 
around to trying to deal with it. It would be great if a dev wrote the steps 
from a - z of what is required to do this. I was hoping for improved docs 
with 2.0B1, but that doesn't seem to be the case yet.

Wb

On 9/18/05, Rinku <ra...@gmail.com> wrote:
> 
> Hi,
> 
> I followed this thread but afraid I am still not sure how and where I can
> set up a 'prefix' for Mojo that I have written.
> 
> I have :
> a) created a MOJO project and implemented MOJO
> b) added pluginGroups in my settings.xml
> c) notice that maven-metadata-*.xml is being created (but don't see any
> prefix info) . Is there I need to be aware of while running 
> install:install
> on a Mojo to set up a prefix?
> 
> Appreciate any pointers.
> 
> Thanks in advance,
> 
> Rahul
>

Re: How to set a plugin's prefix?

Posted by Rinku <ra...@gmail.com>.
Hi,

I followed this thread but afraid I am still not sure how and where I can 
set up a 'prefix' for Mojo that I have written.

I have :
a) created a MOJO project and implemented MOJO
b) added pluginGroups in my settings.xml
c) notice that maven-metadata-*.xml is being created (but don't see any 
prefix info) . Is there I need to be aware of while running install:install 
on a Mojo to set up a prefix?

Appreciate any pointers.

Thanks in advance,

Rahul


----- Original Message ----- 
From: "Brett Porter" <br...@gmail.com>
Cc: "Maven Users List" <us...@maven.apache.org>
Sent: Tuesday, September 06, 2005 10:27 AM
Subject: Re: How to set a plugin's prefix?


Take a look at maven-core-it/it0031 - this verifies that a different groupId
works, and shows the appropriate settings.xml for the goal.

On 9/6/05, Wendell Beckwith <wb...@gmail.com> wrote:
>
> I have since updated to r278671 and rebuilt maven to no avail. Now
> currently I'm only updating and building maven-compoments, but do I need 
> to
> updated and build any other components?
>
> Wb
> On 9/4/05, Brett Porter <br...@gmail.com> wrote:
> >
> > It's possible that there was a bug when the plugins.xml file could not
> > be found remotely.
> >
> > The code has been rewritten recently (it now doesn't use plugins.xml but
> > maven-metadata-*.xml). What SVN rev is your m2 build from?
> >
> > - Brett
> >
> > On 9/5/05, Wendell Beckwith < wbeckwith@gmail.com> wrote:
> > >
> > > Also here is a copy of a run using the groupId and using the prefix
> > > where it
> > > fails.
> > >
> > >
> > > E:\dev\workspace\runtime>m2
> > > com.intervoice.maven.plugins:maven-hello-plugin:hello
> > > [INFO] maven-hello-plugin: using locally installed snapshot
> > > [INFO]
> > >
> > > ----------------------------------------------------------------------------
> > > [INFO] Building Runtime
> > > [INFO] task-segment: [
> > > com.intervoice.maven.plugins:maven-hello-plugin:hello]
> > > [INFO]
> > > ----------------------------------------------------------------------------
> > >
> > > [INFO] [hello:hello]
> > > *** Before ***
> > > [INFO] Hello Configured Maven
> > > *** After ***
> > > [INFO]
> > >
> > > ----------------------------------------------------------------------------
> > > [INFO] BUILD SUCCESSFUL
> > > [INFO]
> > >
> > > ----------------------------------------------------------------------------
> > > [INFO] Total time: < 1 second
> > > [INFO] Finished at: Sun Sep 04 11:34:37 CDT 2005
> > > [INFO] Final Memory: 1M/3M
> > > [INFO]
> > > ----------------------------------------------------------------------------
> > >
> > >
> > > E:\dev\workspace\runtime>m2 hello:hello
> > > [INFO] Retrieving plugins.xml (plugin mappings) for group: '
> > > com.intervoice.maven.plugins'
> > > [WARNING] Cannot resolve plugin-mapping metadata for groupId:
> > > com.intervoice.maven.plugins - IGNORING.
> > > [INFO] Retrieving plugins.xml (plugin mappings) for group: '
> > > org.apache.maven.plugins'
> > > [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
> > > '474e017fdc
> > > f6842eb0a46087c31c1bc610b1372d'; remote =
> > > '908ceb9e48e5e6ad4b0b262d62f241a40bee4
> > > 603' - IGNORING
> > > [INFO] Refreshing plugin mapping metadata; looking for plugin with
> > > prefix:
> > > 'hello'.
> > > [WARNING] Cannot resolve plugin-mapping metadata for groupId:
> > > org.apache.maven.plugins - IGNORING.
> > > [INFO] maven-hello-plugin: checking for updates from central-plugins
> > > [INFO] Retrieving release information for maven-hello-plugin
> > > Downloading:
> > >
> > > http://repo1.maven.org/maven2/plugins/org/apache/maven/plugins/maven-hello-plugin/RELEASE/maven-hello-plugin-RELEASE.pom
> > > [WARNING] Unable to get resource from repository
> > > http://repo1.maven.org/maven2/plugins
> > > [WARNING]
> > > ***** Using defaults for missing POM
> > > org.apache.maven.plugins:maven-hello-plugin:pom:RELEASE *****
> > >
> > > Downloading:
> > >
> > > http://repo1.maven.org/maven2/plugins/org/apache/maven/plugins/maven-hello-plugin/RELEASE/maven-hello-plugin-RELEASE.jar
> > > [WARNING] Unable to get resource from repository
> > > http://repo1.maven.org/maven2/plugins
> > > [INFO] Cannot find mojo descriptor for: 'hello:hello' - Treating as
> > > non-aggregator.
> > > [INFO]
> > > ----------------------------------------------------------------------------
> > >
> > > [INFO] Building Runtime
> > > [INFO] task-segment: [hello:hello]
> > > [INFO]
> > >
> > > ----------------------------------------------------------------------------
> > > Downloading:
> > >
> > > http://repo1.maven.org/maven2/plugins/org/apache/maven/plugins/maven-hello-plugin/RELEASE/maven-hello-plugin-RELEASE.jar
> > > [WARNING] Unable to get resource from repository
> > > http://repo1.maven.org/maven2/plugins
> > > [INFO]
> > >
> > > ----------------------------------------------------------------------------
> > > [INFO] BUILD FAILURE
> > > [INFO]
> > > ----------------------------------------------------------------------------
> > >
> > > [INFO] Main Error:
> > > Mojo could not be found - check that the goal name is correct
> > > org.apache.maven.plugins:maven-hello-plugin:RELEASE:maven-plugin
> > >
> > > from the specified remote repositories:
> > > http://repo1.maven.org/maven2/plugins
> > >
> > > Root error:
> > > Unable to download the artifact from any repository
> > > [INFO]
> > >
> > > ----------------------------------------------------------------------------
> > > [INFO] Total time: < 1 second
> > > [INFO] Finished at: Sun Sep 04 11:35:06 CDT 2005
> > > [INFO] Final Memory: 1M/3M
> > > [INFO]
> > >
> > > ----------------------------------------------------------------------------
> > >
> > > E:\dev\workspace\runtime>
> > >
> > > Wb
> > >
> > > On 9/4/05, Wendell Beckwith <wb...@gmail.com> wrote:
> > > >
> > > > Yes, the com/intervoice/maven/plugins/plugins.xml has the following:
> > >
> > > >
> > > > <metadata>
> > > > <groupId>com.intervoice.maven.plugins</groupId>
> > > > <plugins>
> > > > <plugin>
> > > > <prefix>hello</prefix>
> > > > <artifactId>maven-hello-plugin</artifactId>
> > > > </plugin>
> > > > </plugins>
> > > > </metadata>
> > > >
> > > > Wb
> > >
> > >
> >
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: How to set a plugin's prefix?

Posted by Brett Porter <br...@gmail.com>.
Take a look at maven-core-it/it0031 - this verifies that a different groupId 
works, and shows the appropriate settings.xml for the goal.

On 9/6/05, Wendell Beckwith <wb...@gmail.com> wrote:
> 
> I have since updated to r278671 and rebuilt maven to no avail. Now 
> currently I'm only updating and building maven-compoments, but do I need to 
> updated and build any other components?
> 
> Wb
> On 9/4/05, Brett Porter <br...@gmail.com> wrote:
> > 
> > It's possible that there was a bug when the plugins.xml file could not 
> > be found remotely.
> > 
> > The code has been rewritten recently (it now doesn't use plugins.xml but 
> > maven-metadata-*.xml). What SVN rev is your m2 build from?
> > 
> > - Brett
> > 
> > On 9/5/05, Wendell Beckwith < wbeckwith@gmail.com> wrote:
> > > 
> > > Also here is a copy of a run using the groupId and using the prefix 
> > > where it
> > > fails.
> > > 
> > > 
> > > E:\dev\workspace\runtime>m2
> > > com.intervoice.maven.plugins:maven-hello-plugin:hello
> > > [INFO] maven-hello-plugin: using locally installed snapshot 
> > > [INFO]
> > > 
> > > ----------------------------------------------------------------------------
> > > [INFO] Building Runtime
> > > [INFO] task-segment: [
> > > com.intervoice.maven.plugins:maven-hello-plugin:hello]
> > > [INFO]
> > > ---------------------------------------------------------------------------- 
> > > 
> > > [INFO] [hello:hello]
> > > *** Before ***
> > > [INFO] Hello Configured Maven
> > > *** After ***
> > > [INFO]
> > > 
> > > ----------------------------------------------------------------------------
> > > [INFO] BUILD SUCCESSFUL
> > > [INFO]
> > > 
> > > ----------------------------------------------------------------------------
> > > [INFO] Total time: < 1 second
> > > [INFO] Finished at: Sun Sep 04 11:34:37 CDT 2005
> > > [INFO] Final Memory: 1M/3M
> > > [INFO]
> > > ---------------------------------------------------------------------------- 
> > > 
> > > 
> > > E:\dev\workspace\runtime>m2 hello:hello
> > > [INFO] Retrieving plugins.xml (plugin mappings) for group: '
> > > com.intervoice.maven.plugins'
> > > [WARNING] Cannot resolve plugin-mapping metadata for groupId:
> > > com.intervoice.maven.plugins - IGNORING.
> > > [INFO] Retrieving plugins.xml (plugin mappings) for group: '
> > > org.apache.maven.plugins'
> > > [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
> > > '474e017fdc
> > > f6842eb0a46087c31c1bc610b1372d'; remote = 
> > > '908ceb9e48e5e6ad4b0b262d62f241a40bee4
> > > 603' - IGNORING
> > > [INFO] Refreshing plugin mapping metadata; looking for plugin with 
> > > prefix:
> > > 'hello'.
> > > [WARNING] Cannot resolve plugin-mapping metadata for groupId:
> > > org.apache.maven.plugins - IGNORING.
> > > [INFO] maven-hello-plugin: checking for updates from central-plugins
> > > [INFO] Retrieving release information for maven-hello-plugin
> > > Downloading:
> > > 
> > > http://repo1.maven.org/maven2/plugins/org/apache/maven/plugins/maven-hello-plugin/RELEASE/maven-hello-plugin-RELEASE.pom
> > > [WARNING] Unable to get resource from repository
> > > http://repo1.maven.org/maven2/plugins
> > > [WARNING]
> > > ***** Using defaults for missing POM
> > > org.apache.maven.plugins:maven-hello-plugin:pom:RELEASE *****
> > > 
> > > Downloading:
> > > 
> > > http://repo1.maven.org/maven2/plugins/org/apache/maven/plugins/maven-hello-plugin/RELEASE/maven-hello-plugin-RELEASE.jar
> > > [WARNING] Unable to get resource from repository
> > > http://repo1.maven.org/maven2/plugins
> > > [INFO] Cannot find mojo descriptor for: 'hello:hello' - Treating as
> > > non-aggregator.
> > > [INFO]
> > > ---------------------------------------------------------------------------- 
> > > 
> > > [INFO] Building Runtime
> > > [INFO] task-segment: [hello:hello]
> > > [INFO]
> > > 
> > > ----------------------------------------------------------------------------
> > > Downloading:
> > > 
> > > http://repo1.maven.org/maven2/plugins/org/apache/maven/plugins/maven-hello-plugin/RELEASE/maven-hello-plugin-RELEASE.jar
> > > [WARNING] Unable to get resource from repository
> > > http://repo1.maven.org/maven2/plugins
> > > [INFO]
> > > 
> > > ----------------------------------------------------------------------------
> > > [INFO] BUILD FAILURE
> > > [INFO]
> > > ---------------------------------------------------------------------------- 
> > > 
> > > [INFO] Main Error:
> > > Mojo could not be found - check that the goal name is correct
> > > org.apache.maven.plugins:maven-hello-plugin:RELEASE:maven-plugin
> > > 
> > > from the specified remote repositories:
> > > http://repo1.maven.org/maven2/plugins
> > > 
> > > Root error:
> > > Unable to download the artifact from any repository
> > > [INFO]
> > > 
> > > ----------------------------------------------------------------------------
> > > [INFO] Total time: < 1 second 
> > > [INFO] Finished at: Sun Sep 04 11:35:06 CDT 2005
> > > [INFO] Final Memory: 1M/3M
> > > [INFO]
> > > 
> > > ----------------------------------------------------------------------------
> > > 
> > > E:\dev\workspace\runtime>
> > > 
> > > Wb
> > > 
> > > On 9/4/05, Wendell Beckwith <wb...@gmail.com> wrote:
> > > >
> > > > Yes, the com/intervoice/maven/plugins/plugins.xml has the following: 
> > > 
> > > >
> > > > <metadata> 
> > > > <groupId>com.intervoice.maven.plugins</groupId>
> > > > <plugins>
> > > > <plugin>
> > > > <prefix>hello</prefix>
> > > > <artifactId>maven-hello-plugin</artifactId> 
> > > > </plugin>
> > > > </plugins>
> > > > </metadata>
> > > >
> > > > Wb
> > > 
> > > 
> > 
>

Re: How to set a plugin's prefix?

Posted by Wendell Beckwith <wb...@gmail.com>.
I have since updated to r278671 and rebuilt maven to no avail. Now currently 
I'm only updating and building maven-compoments, but do I need to updated 
and build any other components?

Wb
On 9/4/05, Brett Porter <br...@gmail.com> wrote:
> 
> It's possible that there was a bug when the plugins.xml file could not be 
> found remotely.
> 
> The code has been rewritten recently (it now doesn't use plugins.xml but 
> maven-metadata-*.xml). What SVN rev is your m2 build from?
> 
> - Brett
> 
> On 9/5/05, Wendell Beckwith <wb...@gmail.com> wrote:
> > 
> > Also here is a copy of a run using the groupId and using the prefix 
> > where it
> > fails.
> > 
> > 
> > E:\dev\workspace\runtime>m2
> > com.intervoice.maven.plugins:maven-hello-plugin:hello
> > [INFO] maven-hello-plugin: using locally installed snapshot 
> > [INFO]
> > 
> > ----------------------------------------------------------------------------
> > [INFO] Building Runtime
> > [INFO] task-segment: [
> > com.intervoice.maven.plugins:maven-hello-plugin:hello]
> > [INFO]
> > ---------------------------------------------------------------------------- 
> > 
> > [INFO] [hello:hello]
> > *** Before ***
> > [INFO] Hello Configured Maven
> > *** After ***
> > [INFO]
> > 
> > ----------------------------------------------------------------------------
> > [INFO] BUILD SUCCESSFUL
> > [INFO]
> > 
> > ----------------------------------------------------------------------------
> > [INFO] Total time: < 1 second
> > [INFO] Finished at: Sun Sep 04 11:34:37 CDT 2005
> > [INFO] Final Memory: 1M/3M
> > [INFO]
> > ---------------------------------------------------------------------------- 
> > 
> > 
> > E:\dev\workspace\runtime>m2 hello:hello
> > [INFO] Retrieving plugins.xml (plugin mappings) for group: '
> > com.intervoice.maven.plugins'
> > [WARNING] Cannot resolve plugin-mapping metadata for groupId:
> > com.intervoice.maven.plugins - IGNORING.
> > [INFO] Retrieving plugins.xml (plugin mappings) for group: '
> > org.apache.maven.plugins'
> > [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
> > '474e017fdc
> > f6842eb0a46087c31c1bc610b1372d'; remote = 
> > '908ceb9e48e5e6ad4b0b262d62f241a40bee4
> > 603' - IGNORING
> > [INFO] Refreshing plugin mapping metadata; looking for plugin with 
> > prefix:
> > 'hello'.
> > [WARNING] Cannot resolve plugin-mapping metadata for groupId:
> > org.apache.maven.plugins - IGNORING.
> > [INFO] maven-hello-plugin: checking for updates from central-plugins
> > [INFO] Retrieving release information for maven-hello-plugin
> > Downloading:
> > 
> > http://repo1.maven.org/maven2/plugins/org/apache/maven/plugins/maven-hello-plugin/RELEASE/maven-hello-plugin-RELEASE.pom
> > [WARNING] Unable to get resource from repository
> > http://repo1.maven.org/maven2/plugins
> > [WARNING]
> > ***** Using defaults for missing POM
> > org.apache.maven.plugins:maven-hello-plugin:pom:RELEASE *****
> > 
> > Downloading:
> > 
> > http://repo1.maven.org/maven2/plugins/org/apache/maven/plugins/maven-hello-plugin/RELEASE/maven-hello-plugin-RELEASE.jar
> > [WARNING] Unable to get resource from repository
> > http://repo1.maven.org/maven2/plugins
> > [INFO] Cannot find mojo descriptor for: 'hello:hello' - Treating as
> > non-aggregator.
> > [INFO]
> > ---------------------------------------------------------------------------- 
> > 
> > [INFO] Building Runtime
> > [INFO] task-segment: [hello:hello]
> > [INFO]
> > 
> > ----------------------------------------------------------------------------
> > Downloading:
> > 
> > http://repo1.maven.org/maven2/plugins/org/apache/maven/plugins/maven-hello-plugin/RELEASE/maven-hello-plugin-RELEASE.jar
> > [WARNING] Unable to get resource from repository
> > http://repo1.maven.org/maven2/plugins
> > [INFO]
> > 
> > ----------------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO]
> > ---------------------------------------------------------------------------- 
> > 
> > [INFO] Main Error:
> > Mojo could not be found - check that the goal name is correct
> > org.apache.maven.plugins:maven-hello-plugin:RELEASE:maven-plugin
> > 
> > from the specified remote repositories:
> > http://repo1.maven.org/maven2/plugins
> > 
> > Root error:
> > Unable to download the artifact from any repository
> > [INFO]
> > 
> > ----------------------------------------------------------------------------
> > [INFO] Total time: < 1 second 
> > [INFO] Finished at: Sun Sep 04 11:35:06 CDT 2005
> > [INFO] Final Memory: 1M/3M
> > [INFO]
> > 
> > ----------------------------------------------------------------------------
> > 
> > E:\dev\workspace\runtime>
> > 
> > Wb
> > 
> > On 9/4/05, Wendell Beckwith <wb...@gmail.com> wrote:
> > >
> > > Yes, the com/intervoice/maven/plugins/plugins.xml has the following:
> > >
> > > <metadata> 
> > > <groupId>com.intervoice.maven.plugins</groupId>
> > > <plugins>
> > > <plugin>
> > > <prefix>hello</prefix>
> > > <artifactId>maven-hello-plugin</artifactId> 
> > > </plugin>
> > > </plugins>
> > > </metadata>
> > >
> > > Wb
> > 
> > 
>

Re: How to set a plugin's prefix?

Posted by Brett Porter <br...@gmail.com>.
It's possible that there was a bug when the plugins.xml file could not be 
found remotely.

The code has been rewritten recently (it now doesn't use plugins.xml but 
maven-metadata-*.xml). What SVN rev is your m2 build from?

- Brett

On 9/5/05, Wendell Beckwith <wb...@gmail.com> wrote:
> 
> Also here is a copy of a run using the groupId and using the prefix where 
> it
> fails.
> 
> 
> E:\dev\workspace\runtime>m2
> com.intervoice.maven.plugins:maven-hello-plugin:hello
> [INFO] maven-hello-plugin: using locally installed snapshot
> [INFO]
> 
> ----------------------------------------------------------------------------
> [INFO] Building Runtime
> [INFO] task-segment: [
> com.intervoice.maven.plugins:maven-hello-plugin:hello]
> [INFO]
> 
> ----------------------------------------------------------------------------
> [INFO] [hello:hello]
> *** Before ***
> [INFO] Hello Configured Maven
> *** After ***
> [INFO]
> 
> ----------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO]
> 
> ----------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Sun Sep 04 11:34:37 CDT 2005
> [INFO] Final Memory: 1M/3M
> [INFO]
> 
> ----------------------------------------------------------------------------
> 
> E:\dev\workspace\runtime>m2 hello:hello
> [INFO] Retrieving plugins.xml (plugin mappings) for group: '
> com.intervoice.maven.plugins'
> [WARNING] Cannot resolve plugin-mapping metadata for groupId:
> com.intervoice.maven.plugins - IGNORING.
> [INFO] Retrieving plugins.xml (plugin mappings) for group: '
> org.apache.maven.plugins'
> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
> '474e017fdc
> f6842eb0a46087c31c1bc610b1372d'; remote =
> '908ceb9e48e5e6ad4b0b262d62f241a40bee4
> 603' - IGNORING
> [INFO] Refreshing plugin mapping metadata; looking for plugin with prefix:
> 'hello'.
> [WARNING] Cannot resolve plugin-mapping metadata for groupId:
> org.apache.maven.plugins - IGNORING.
> [INFO] maven-hello-plugin: checking for updates from central-plugins
> [INFO] Retrieving release information for maven-hello-plugin
> Downloading:
> 
> http://repo1.maven.org/maven2/plugins/org/apache/maven/plugins/maven-hello-plugin/RELEASE/maven-hello-plugin-RELEASE.pom
> [WARNING] Unable to get resource from repository
> http://repo1.maven.org/maven2/plugins
> [WARNING]
> ***** Using defaults for missing POM
> org.apache.maven.plugins:maven-hello-plugin:pom:RELEASE *****
> 
> Downloading:
> 
> http://repo1.maven.org/maven2/plugins/org/apache/maven/plugins/maven-hello-plugin/RELEASE/maven-hello-plugin-RELEASE.jar
> [WARNING] Unable to get resource from repository
> http://repo1.maven.org/maven2/plugins
> [INFO] Cannot find mojo descriptor for: 'hello:hello' - Treating as
> non-aggregator.
> [INFO]
> 
> ----------------------------------------------------------------------------
> [INFO] Building Runtime
> [INFO] task-segment: [hello:hello]
> [INFO]
> 
> ----------------------------------------------------------------------------
> Downloading:
> 
> http://repo1.maven.org/maven2/plugins/org/apache/maven/plugins/maven-hello-plugin/RELEASE/maven-hello-plugin-RELEASE.jar
> [WARNING] Unable to get resource from repository
> http://repo1.maven.org/maven2/plugins
> [INFO]
> 
> ----------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> 
> ----------------------------------------------------------------------------
> [INFO] Main Error:
> Mojo could not be found - check that the goal name is correct
> org.apache.maven.plugins:maven-hello-plugin:RELEASE:maven-plugin
> 
> from the specified remote repositories:
> http://repo1.maven.org/maven2/plugins
> 
> Root error:
> Unable to download the artifact from any repository
> [INFO]
> 
> ----------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Sun Sep 04 11:35:06 CDT 2005
> [INFO] Final Memory: 1M/3M
> [INFO]
> 
> ----------------------------------------------------------------------------
> 
> E:\dev\workspace\runtime>
> 
> Wb
> 
> On 9/4/05, Wendell Beckwith <wb...@gmail.com> wrote:
> >
> > Yes, the com/intervoice/maven/plugins/plugins.xml has the following:
> >
> > <metadata>
> > <groupId>com.intervoice.maven.plugins</groupId>
> > <plugins>
> > <plugin>
> > <prefix>hello</prefix>
> > <artifactId>maven-hello-plugin</artifactId>
> > </plugin>
> > </plugins>
> > </metadata>
> >
> > Wb
> 
>

Re: How to set a plugin's prefix?

Posted by Wendell Beckwith <wb...@gmail.com>.
Also here is a copy of a run using the groupId and using the prefix where it 
fails.


E:\dev\workspace\runtime>m2 
com.intervoice.maven.plugins:maven-hello-plugin:hello
[INFO] maven-hello-plugin: using locally installed snapshot
[INFO] 
----------------------------------------------------------------------------
[INFO] Building Runtime
[INFO] task-segment: [com.intervoice.maven.plugins:maven-hello-plugin:hello]
[INFO] 
----------------------------------------------------------------------------
[INFO] [hello:hello]
*** Before ***
[INFO] Hello Configured Maven
*** After ***
[INFO] 
----------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] 
----------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Sun Sep 04 11:34:37 CDT 2005
[INFO] Final Memory: 1M/3M
[INFO] 
----------------------------------------------------------------------------

E:\dev\workspace\runtime>m2 hello:hello
[INFO] Retrieving plugins.xml (plugin mappings) for group: '
com.intervoice.maven.plugins'
[WARNING] Cannot resolve plugin-mapping metadata for groupId: 
com.intervoice.maven.plugins - IGNORING.
[INFO] Retrieving plugins.xml (plugin mappings) for group: '
org.apache.maven.plugins'
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
'474e017fdc
f6842eb0a46087c31c1bc610b1372d'; remote = 
'908ceb9e48e5e6ad4b0b262d62f241a40bee4
603' - IGNORING
[INFO] Refreshing plugin mapping metadata; looking for plugin with prefix: 
'hello'.
[WARNING] Cannot resolve plugin-mapping metadata for groupId: 
org.apache.maven.plugins - IGNORING.
[INFO] maven-hello-plugin: checking for updates from central-plugins
[INFO] Retrieving release information for maven-hello-plugin
Downloading: 
http://repo1.maven.org/maven2/plugins/org/apache/maven/plugins/maven-hello-plugin/RELEASE/maven-hello-plugin-RELEASE.pom
[WARNING] Unable to get resource from repository 
http://repo1.maven.org/maven2/plugins
[WARNING]
***** Using defaults for missing POM 
org.apache.maven.plugins:maven-hello-plugin:pom:RELEASE *****

Downloading: 
http://repo1.maven.org/maven2/plugins/org/apache/maven/plugins/maven-hello-plugin/RELEASE/maven-hello-plugin-RELEASE.jar
[WARNING] Unable to get resource from repository 
http://repo1.maven.org/maven2/plugins
[INFO] Cannot find mojo descriptor for: 'hello:hello' - Treating as 
non-aggregator.
[INFO] 
----------------------------------------------------------------------------
[INFO] Building Runtime
[INFO] task-segment: [hello:hello]
[INFO] 
----------------------------------------------------------------------------
Downloading: 
http://repo1.maven.org/maven2/plugins/org/apache/maven/plugins/maven-hello-plugin/RELEASE/maven-hello-plugin-RELEASE.jar
[WARNING] Unable to get resource from repository 
http://repo1.maven.org/maven2/plugins
[INFO] 
----------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] 
----------------------------------------------------------------------------
[INFO] Main Error:
Mojo could not be found - check that the goal name is correct
org.apache.maven.plugins:maven-hello-plugin:RELEASE:maven-plugin

from the specified remote repositories:
http://repo1.maven.org/maven2/plugins

Root error:
Unable to download the artifact from any repository
[INFO] 
----------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Sun Sep 04 11:35:06 CDT 2005
[INFO] Final Memory: 1M/3M
[INFO] 
----------------------------------------------------------------------------

E:\dev\workspace\runtime>

Wb

On 9/4/05, Wendell Beckwith <wb...@gmail.com> wrote:
> 
> Yes, the com/intervoice/maven/plugins/plugins.xml has the following:
> 
> <metadata>
> <groupId>com.intervoice.maven.plugins</groupId>
> <plugins>
> <plugin>
> <prefix>hello</prefix>
> <artifactId>maven-hello-plugin</artifactId>
> </plugin>
> </plugins>
> </metadata>
> 
> Wb

Re: How to set a plugin's prefix?

Posted by Wendell Beckwith <wb...@gmail.com>.
Yes, the com/intervoice/maven/plugins/plugins.xml has the following:

<metadata>
<groupId>com.intervoice.maven.plugins</groupId>
<plugins>
<plugin>
<prefix>hello</prefix>
<artifactId>maven-hello-plugin</artifactId>
</plugin>
</plugins>
</metadata>

Wb


On 9/3/05, Brett Porter <br...@gmail.com> wrote:
> 
> That should work. Do you have a file called 
> com/intervoice/maven/plugins/plugins.xml in the local repository? What is 
> it's contents?
> 
> - Brett
> 
> On 9/4/05, Wendell Beckwith <wb...@gmail.com> wrote:
> > 
> > Doh!
> > 
> > Anyway here is the settings.xml, which I have in my .m2 directory:
> > 
> > <settings>
> > <pluginGroups>
> > <pluginGroup>com.intervoice.maven.plugins</pluginGroup>
> > </pluginGroups> 
> > </settings>
> > 
> > What else do I need to provide to get this working?
> > 
> > Wb
> > 
> > On 9/2/05, dan tran <da...@gmail.com> wrote:
> > >
> > > I am not well versed in settings.xml yet.. but if you really post you
> > > settings.xml, it would help ;-)
> > > -D
> > >
> > > On 9/2/05, Wendell Beckwith <wb...@gmail.com> wrote:
> > > >
> > > > I really hate to be dense, but I have created a settings.cml file 
> > with
> > > > the
> > > > following content and placed it in my .m2 directory, and the project
> > > > itsself
> > > > to no avail. I simply can't execute my plugin by the prefix. I 
> > looked at 
> > > > test it0031 and this provides no clues (for me at least) on how to
> > > > configure
> > > > this. Is there a better explanation or roadmap on how to achieve 
> > this
> > > > behavior? If I need to actually debug maven to discover what is or 
> > isn't 
> > > > going on where do I start? What code should I be setting break 
> > points
> > > > in?
> > > >
> > > > Wb
> > > >
> > > >
> > >
> > 
> > 
>

Re: How to set a plugin's prefix?

Posted by Brett Porter <br...@gmail.com>.
That should work. Do you have a file called 
com/intervoice/maven/plugins/plugins.xml in the local repository? What is 
it's contents?

- Brett

On 9/4/05, Wendell Beckwith <wb...@gmail.com> wrote:
> 
> Doh!
> 
> Anyway here is the settings.xml, which I have in my .m2 directory:
> 
> <settings>
> <pluginGroups>
> <pluginGroup>com.intervoice.maven.plugins</pluginGroup>
> </pluginGroups>
> </settings>
> 
> What else do I need to provide to get this working?
> 
> Wb
> 
> On 9/2/05, dan tran <da...@gmail.com> wrote:
> >
> > I am not well versed in settings.xml yet.. but if you really post you
> > settings.xml, it would help ;-)
> > -D
> >
> > On 9/2/05, Wendell Beckwith <wb...@gmail.com> wrote:
> > >
> > > I really hate to be dense, but I have created a settings.cml file with
> > > the
> > > following content and placed it in my .m2 directory, and the project
> > > itsself
> > > to no avail. I simply can't execute my plugin by the prefix. I looked 
> at
> > > test it0031 and this provides no clues (for me at least) on how to
> > > configure
> > > this. Is there a better explanation or roadmap on how to achieve this
> > > behavior? If I need to actually debug maven to discover what is or 
> isn't
> > > going on where do I start? What code should I be setting break points
> > > in?
> > >
> > > Wb
> > >
> > >
> >
> 
>

Re: How to set a plugin's prefix?

Posted by Wendell Beckwith <wb...@gmail.com>.
Doh!

Anyway here is the settings.xml, which I have in my .m2 directory:

<settings>
<pluginGroups>
<pluginGroup>com.intervoice.maven.plugins</pluginGroup>
</pluginGroups>
</settings>

What else do I need to provide to get this working?

Wb

On 9/2/05, dan tran <da...@gmail.com> wrote:
> 
> I am not well versed in settings.xml yet.. but if you really post you 
> settings.xml, it would help ;-)
>  -D
> 
>  On 9/2/05, Wendell Beckwith <wb...@gmail.com> wrote: 
> > 
> > I really hate to be dense, but I have created a settings.cml file with 
> > the
> > following content and placed it in my .m2 directory, and the project 
> > itsself 
> > to no avail. I simply can't execute my plugin by the prefix. I looked at
> > test it0031 and this provides no clues (for me at least) on how to 
> > configure
> > this. Is there a better explanation or roadmap on how to achieve this 
> > behavior? If I need to actually debug maven to discover what is or isn't
> > going on where do I start? What code should I be setting break points 
> > in?
> > 
> > Wb
> > 
> > 
>

Maven 2 Dashboard Plugin

Posted by David Le Strat <dl...@yahoo.com>.
All,

Has there been any discussion on the future of the
dashboard plugin for Maven 2? The m1/m2 plugin matrix
mentions that the implementation might be
significantly different.  Any information would be
greatly appreciated.

Regards,

David Le Strat.

________________________
David Le Strat
Blogging @ http://dlsthoughts.blogspot.com

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: How to set a plugin's prefix?

Posted by dan tran <da...@gmail.com>.
I am not well versed in settings.xml yet.. but if you really post you 
settings.xml, it would help ;-)
 -D

 On 9/2/05, Wendell Beckwith <wb...@gmail.com> wrote: 
> 
> I really hate to be dense, but I have created a settings.cml file with the
> following content and placed it in my .m2 directory, and the project 
> itsself
> to no avail. I simply can't execute my plugin by the prefix. I looked at
> test it0031 and this provides no clues (for me at least) on how to 
> configure
> this. Is there a better explanation or roadmap on how to achieve this
> behavior? If I need to actually debug maven to discover what is or isn't
> going on where do I start? What code should I be setting break points in?
> 
> Wb
> 
>