You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@creadur.apache.org by Gavin <ga...@16degrees.com.au> on 2009/01/19 05:13:46 UTC

mvn install package fails test

Hi All,

I'm doing some testing and results of a mvn install package on trunk gives
me below error, related ot rat-maven-plugin by the looks.

Any ideas on if I need to do something else or if is needed to be fixed this
end (perhaps I need to wait for repos to catch up, dunno) ? :-

[INFO] artifact org.apache.rat:rat-maven-plugin: checking for updates from
central
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] A required plugin was not found: Plugin could not be found - check
that the goal name is correct: Unable to download the artifact from any
repository

Try downloading the file manually from the project website.

Then, install it using the command: 
    mvn install:install-file -DgroupId=org.apache.rat
-DartifactId=rat-maven-plugin -Dversion=0.6-SNAPSHOT
-Dpackaging=maven-plugin -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file
there: 
    mvn deploy:deploy-file -DgroupId=org.apache.rat
-DartifactId=rat-maven-plugin -Dversion=0.6-SNAPSHOT
-Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]


  org.apache.rat:rat-maven-plugin:maven-plugin:0.6-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

  org.apache.rat:rat-maven-plugin:maven-plugin:0.6-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3 minutes 21 seconds
[INFO] Finished at: Mon Jan 19 04:06:06 UTC 2009
[INFO] Final Memory: 45M/149M
[INFO]
------------------------------------------------------------------------
program finished with exit code 1


RE: mvn install package fails test

Posted by Gavin <ga...@16degrees.com.au>.

> -----Original Message-----
> From: Robert Burrell Donkin [mailto:robertburrelldonkin@blueyonder.co.uk]
> Sent: Wednesday, 28 January 2009 8:38 AM
> To: rat-dev@incubator.apache.org
> Subject: RE: mvn install package fails test
> 
> On Tue, 2009-01-27 at 10:01 +1000, Gavin wrote:
> >
> > > -----Original Message-----
> > > From: Robert Burrell Donkin
> [mailto:robertburrelldonkin@blueyonder.co.uk]
> > > Sent: Tuesday, 20 January 2009 7:22 AM
> > > To: rat-dev@incubator.apache.org
> > > Subject: Re: mvn install package fails test
> > >
> > > On Mon, 2009-01-19 at 14:13 +1000, Gavin wrote:
> > > > Hi All,
> > > >
> > > > I'm doing some testing and results of a mvn install package on trunk
> > > gives
> > > > me below error, related ot rat-maven-plugin by the looks.
> > > >
> > > > Any ideas on if I need to do something else or if is needed to be
> fixed
> > > this
> > > > end (perhaps I need to wait for repos to catch up, dunno) ? :-
> > >
> > > this looks to me like it's a problem with the plugin referencing
> itself.
> > > there's probably a clever way round this problem but for now i've just
> > > deleted the pom references to itself so you should be able to build
> > > now.
> > >
> > > (maybe someone who knows more will jump in with a better fix)
> >
> > fwiw it didn't fix it.
> 
> thanks for letting me know
> 
> i have a debian box. hopefully i'll be able to find time to setup a
> suitable environment on there in next day or two.
> 
> > To put you in the loop, I'm testing BuildBot for use at the ASF.
> > I have picked RAT as a test case, currently testing it on my own server
> > and once it passes nicely I'll put it live on the ASF BuildBot instance
> -
> > unless of course there are any objections to me doing so.
> 
> sounds great
> 
> > For folks to investigate further take a look at my test instance which
> is up
> > currently at http://202.60.90.243:8010/waterfall - then choose
> > apache-rat-trunk and drill down through the latest fail build to see if
> > anything helps.
> >
> > I'm just doing a 'mvn install package' so let me know if I should do
> > something else.
> 
> that should be ok
> 
> - robert

Just to let you know, this builds fine on BuildBot now too, so thanks.
I'll add it in to the asf instance in the next few days.

Cheers

Gav...




RE: mvn install package fails test

Posted by Robert Burrell Donkin <ro...@blueyonder.co.uk>.
On Tue, 2009-01-27 at 10:01 +1000, Gavin wrote:
> 
> > -----Original Message-----
> > From: Robert Burrell Donkin [mailto:robertburrelldonkin@blueyonder.co.uk]
> > Sent: Tuesday, 20 January 2009 7:22 AM
> > To: rat-dev@incubator.apache.org
> > Subject: Re: mvn install package fails test
> > 
> > On Mon, 2009-01-19 at 14:13 +1000, Gavin wrote:
> > > Hi All,
> > >
> > > I'm doing some testing and results of a mvn install package on trunk
> > gives
> > > me below error, related ot rat-maven-plugin by the looks.
> > >
> > > Any ideas on if I need to do something else or if is needed to be fixed
> > this
> > > end (perhaps I need to wait for repos to catch up, dunno) ? :-
> > 
> > this looks to me like it's a problem with the plugin referencing itself.
> > there's probably a clever way round this problem but for now i've just
> > deleted the pom references to itself so you should be able to build
> > now.
> > 
> > (maybe someone who knows more will jump in with a better fix)
> 
> fwiw it didn't fix it.

thanks for letting me know

i have a debian box. hopefully i'll be able to find time to setup a
suitable environment on there in next day or two.

> To put you in the loop, I'm testing BuildBot for use at the ASF.
> I have picked RAT as a test case, currently testing it on my own server
> and once it passes nicely I'll put it live on the ASF BuildBot instance -
> unless of course there are any objections to me doing so.

sounds great

> For folks to investigate further take a look at my test instance which is up
> currently at http://202.60.90.243:8010/waterfall - then choose
> apache-rat-trunk and drill down through the latest fail build to see if
> anything helps.
> 
> I'm just doing a 'mvn install package' so let me know if I should do
> something else.

that should be ok

- robert



RE: mvn install package fails test

Posted by Gavin <ga...@16degrees.com.au>.

> -----Original Message-----
> From: Robert Burrell Donkin [mailto:robertburrelldonkin@blueyonder.co.uk]
> Sent: Tuesday, 20 January 2009 7:22 AM
> To: rat-dev@incubator.apache.org
> Subject: Re: mvn install package fails test
> 
> On Mon, 2009-01-19 at 14:13 +1000, Gavin wrote:
> > Hi All,
> >
> > I'm doing some testing and results of a mvn install package on trunk
> gives
> > me below error, related ot rat-maven-plugin by the looks.
> >
> > Any ideas on if I need to do something else or if is needed to be fixed
> this
> > end (perhaps I need to wait for repos to catch up, dunno) ? :-
> 
> this looks to me like it's a problem with the plugin referencing itself.
> there's probably a clever way round this problem but for now i've just
> deleted the pom references to itself so you should be able to build
> now.
> 
> (maybe someone who knows more will jump in with a better fix)

fwiw it didn't fix it.

To put you in the loop, I'm testing BuildBot for use at the ASF.
I have picked RAT as a test case, currently testing it on my own server
and once it passes nicely I'll put it live on the ASF BuildBot instance -
unless of course there are any objections to me doing so.

For folks to investigate further take a look at my test instance which is up
currently at http://202.60.90.243:8010/waterfall - then choose
apache-rat-trunk and drill down through the latest fail build to see if
anything helps.

I'm just doing a 'mvn install package' so let me know if I should do
something else.

Thanks

Gav...

> 
> - robert



Re: mvn install package fails test

Posted by Robert Burrell Donkin <ro...@blueyonder.co.uk>.
On Mon, 2009-01-19 at 14:13 +1000, Gavin wrote:
> Hi All,
> 
> I'm doing some testing and results of a mvn install package on trunk gives
> me below error, related ot rat-maven-plugin by the looks.
> 
> Any ideas on if I need to do something else or if is needed to be fixed this
> end (perhaps I need to wait for repos to catch up, dunno) ? :-

this looks to me like it's a problem with the plugin referencing itself.
there's probably a clever way round this problem but for now i've just
deleted the pom references to itself so you should be able to build
now. 

(maybe someone who knows more will jump in with a better fix) 

- robert