You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Carlos Palop <cp...@gmail.com> on 2009/04/01 13:09:55 UTC
build error
Hi guys!
Wen i try to package a project I get this error:
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO] task-segment: [package]
[INFO]
------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-resources-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: < 1 second
[INFO] Finished at: Tue Mar 31 12:43:58 CEST 2009
[INFO] Final Memory: 1M/2M
[INFO]
------------------------------------------------------------------------
I've seen the unofficial faqs and i'm using a proxy, I have configured the
settings.xml but the error still there
Thx for all!
Re: build error
Posted by Carlos Palop <cp...@gmail.com>.
Thx 4 all Wayne it was a path error!
2009/4/3 Carlos Palop <cp...@gmail.com>
> That was all, many thanks wayne!!!
>
> Already theres another error whit the pom.xml but i have one in the
> directory
>
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Maven Default Project
> [INFO] task-segment: [package]
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Cannot execute mojo: resources. It requires a project with an
> existing pom.xml, but the build is not using one.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1 second
> [INFO] Finished at: Fri Apr 03 10:24:13 CEST 2009
> [INFO] Final Memory: 3M/6M
> [INFO]
> ------------------------------------------------------------------------
>
>
>
> 2009/4/2 Wayne Fay <wa...@gmail.com>
>
> On Thu, Apr 2, 2009 at 1:26 AM, Carlos Palop <cp...@gmail.com> wrote:
>> > I've configured the proxy in settings.xml like this, we don't have
>> proxy
>> > user and password:
>>
>> Did you remove the <!-- and --> from around the proxy node in
>> settings.xml?
>>
>> Wayne
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
Re: build error
Posted by Carlos Palop <cp...@gmail.com>.
That was all, many thanks wayne!!!
Already theres another error whit the pom.xml but i have one in the
directory
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO] task-segment: [package]
[INFO]
------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Cannot execute mojo: resources. It requires a project with an
existing pom.xml, but the build is not using one.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Fri Apr 03 10:24:13 CEST 2009
[INFO] Final Memory: 3M/6M
[INFO]
------------------------------------------------------------------------
2009/4/2 Wayne Fay <wa...@gmail.com>
> On Thu, Apr 2, 2009 at 1:26 AM, Carlos Palop <cp...@gmail.com> wrote:
> > I've configured the proxy in settings.xml like this, we don't have proxy
> > user and password:
>
> Did you remove the <!-- and --> from around the proxy node in settings.xml?
>
> Wayne
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
Re: build error
Posted by Wayne Fay <wa...@gmail.com>.
On Thu, Apr 2, 2009 at 1:26 AM, Carlos Palop <cp...@gmail.com> wrote:
> I've configured the proxy in settings.xml like this, we don't have proxy
> user and password:
Did you remove the <!-- and --> from around the proxy node in settings.xml?
Wayne
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: build error
Posted by Carlos Palop <cp...@gmail.com>.
I've configured the proxy in settings.xml like this, we don't have proxy
user and password:
<proxy>
<id>optional</id>
<active>true</active>
<protocol>http</protocol>
<username></username>
<password></password>
<host>PROXYUFV.MAIL</host>
<port>8080</port>
<nonProxyHosts></nonProxyHosts>
</proxy>
Then I've tried this:
root@carlos-laptop:/dspace# mvn -U package
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO] task-segment: [package]
[INFO]
------------------------------------------------------------------------
[INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking
for updates from central
[WARNING] repository metadata for: 'artifact
org.apache.maven.plugins:maven-resources-plugin' could not be retrieved from
repository: central due to an error: Error transferring file
[INFO] Repository 'central' will be blacklisted
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-resources-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: 3 minutes 9 seconds
[INFO] Finished at: Thu Apr 02 10:21:11 CEST 2009
[INFO] Final Memory: 1M/2M
[INFO]
------------------------------------------------------------------------
2009/4/1 Wayne Fay <wa...@gmail.com>
> > [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does
> not
> > exist or no valid version could be found
>
>
> Try mvn -U package and see if that resolves it.
>
> Wayne
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
Re: build error
Posted by Wayne Fay <wa...@gmail.com>.
> [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not
> exist or no valid version could be found
Try mvn -U package and see if that resolves it.
Wayne
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org