Re: How to set a plugin's prefix?

2005-09-19 Thread Wendell Beckwith
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 <[EMAIL PROTECTED]> 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 < [EMAIL PROTECTED]> 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 <[EMAIL PROTECTED] > 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?

2005-09-18 Thread Brett Porter
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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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?

2005-09-18 Thread Wendell Beckwith
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 <[EMAIL PROTECTED]> 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?

2005-09-18 Thread Rinku

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" <[EMAIL PROTECTED]>

Cc: "Maven Users List" 
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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 < [EMAIL PROTECTED]> 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]
> >
> > ---

Re: How to set a plugin's prefix?

2005-09-05 Thread Brett Porter
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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 < [EMAIL PROTECTED]> 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
> > >

Re: How to set a plugin's prefix?

2005-09-05 Thread Wendell Beckwith
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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> wrote:
> > >
> > > Yes, the com/intervoice/maven/plugins/plugins.xml has the following:
> > >
> > >  
> > > com.intervoice.maven.plugins
> > > 
> > > 
> > > hello
> > > maven-hello-plugin 
> > > 
> > > 
> > > 
> > >
> > > Wb
> > 
> > 
>


Re: How to set a plugin's prefix?

2005-09-04 Thread Brett Porter
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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> wrote:
> >
> > Yes, the com/intervoice/maven/plugins/plugins.xml has the following:
> >
> > 
> > com.intervoice.maven.plugins
> > 
> > 
> > hello
> > maven-hello-plugin
> > 
> > 
> > 
> >
> > Wb
> 
>


Re: How to set a plugin's prefix?

2005-09-04 Thread Wendell Beckwith
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 <[EMAIL PROTECTED]> wrote:
> 
> Yes, the com/intervoice/maven/plugins/plugins.xml has the following:
> 
> 
> com.intervoice.maven.plugins
> 
> 
> hello
> maven-hello-plugin
> 
> 
> 
> 
> Wb


Re: How to set a plugin's prefix?

2005-09-04 Thread Wendell Beckwith
Yes, the com/intervoice/maven/plugins/plugins.xml has the following:


com.intervoice.maven.plugins


hello
maven-hello-plugin




Wb


On 9/3/05, Brett Porter <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> wrote:
> > 
> > Doh!
> > 
> > Anyway here is the settings.xml, which I have in my .m2 directory:
> > 
> > 
> > 
> > com.intervoice.maven.plugins
> >  
> > 
> > 
> > What else do I need to provide to get this working?
> > 
> > Wb
> > 
> > On 9/2/05, dan tran <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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?

2005-09-03 Thread Brett Porter
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 <[EMAIL PROTECTED]> wrote:
> 
> Doh!
> 
> Anyway here is the settings.xml, which I have in my .m2 directory:
> 
> 
> 
> com.intervoice.maven.plugins
> 
> 
> 
> What else do I need to provide to get this working?
> 
> Wb
> 
> On 9/2/05, dan tran <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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?

2005-09-03 Thread Wendell Beckwith
Doh!

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



com.intervoice.maven.plugins



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

Wb

On 9/2/05, dan tran <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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?

2005-09-02 Thread dan tran
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 <[EMAIL PROTECTED]> 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
> 
>