You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Rahul <ra...@clear.net.nz> on 2005/06/06 22:29:38 UTC

Build failure "m2 eclipse:eclipse"

Hi,

Emmanuel - Thank you for your note on setting up M2 as Eclipse project 
(separate thread).

I am getting a build failure with messasges below. Any ideas?

TIA,
Rahul

[INFO] Building Maven Checkstyle Plugin
[INFO] 
----------------------------------------------------------------------------
Downloading: 
http://www.ibiblio.org/maven2//org/apache/maven/plugins/maven-report-parent/2.0-SNAPSHOT/maven-report-parent-
2.0-SNAPSHOT.pom
[WARNING] Unable to get resource from repository 
http://repo1.maven.org/maven2
Downloading: 
http://www.ibiblio.org/maven2//org/apache/maven/plugins/maven-report-parent/2.0-SNAPSHOT/maven-report-parent-
2.0-SNAPSHOT.pom
[WARNING] Unable to get resource from repository 
http://repo1.maven.org/maven2
Downloading: 
http://www.ibiblio.org/maven2//org/apache/maven/plugins/maven-report-parent/2.0-SNAPSHOT/maven-report-parent-
2.0-SNAPSHOT.pom
[WARNING] Unable to get resource from repository 
http://repo1.maven.org/maven2
[INFO] 
----------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] 
----------------------------------------------------------------------------
[INFO] Main Error:
  Unable to download the artifact from any repository
  org.apache.maven.plugins:maven-report-parent:2.0-SNAPSHOT:pom

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

Root error:
  Unable to download the artifact from any repository
[INFO] 
----------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Tue Jun 07 08:26:40 NZST 2005
[INFO] Final Memory: 3M/6M
[INFO] 
----------------------------------------------------------------------------





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


Re: Build failure "m2 eclipse:eclipse"

Posted by Emmanuel Venisse <em...@venisse.net>.
pom projects are now excluded from eclipse project generation.

Emmanuel

Trygve Laugstøl wrote:
> On Tue, Jun 07, 2005 at 08:00:46PM +1200, Rahul wrote:
> 
>>Thanks Emmanuel, that fixed the build failure!
>>
>>I ran "m2 eclipse:eclipse" and notice that there are nested/overlapping 
>>Eclipse projects created for each component (One in root and a project 
>>each of each of the components). I don't think Eclipse supports 
>>importing nested projects and I am wondering how you have imported them 
>>into your Eclipse workspace? Are you ignoring the project created in the 
>>root directory?
> 
> 
> They will have to be ignored for the reasons you're saying. The Eclipse
> plugin should not generate the project files for projects with
> packaging=pom.
> 
> --
> Trygve


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


Re: Build failure "m2 eclipse:eclipse"

Posted by Trygve Laugstøl <tr...@student.matnat.uio.no>.
On Tue, Jun 07, 2005 at 08:00:46PM +1200, Rahul wrote:
> 
> Thanks Emmanuel, that fixed the build failure!
> 
> I ran "m2 eclipse:eclipse" and notice that there are nested/overlapping 
> Eclipse projects created for each component (One in root and a project 
> each of each of the components). I don't think Eclipse supports 
> importing nested projects and I am wondering how you have imported them 
> into your Eclipse workspace? Are you ignoring the project created in the 
> root directory?

They will have to be ignored for the reasons you're saying. The Eclipse
plugin should not generate the project files for projects with
packaging=pom.

--
Trygve

Re: Build failure "m2 eclipse:eclipse"

Posted by Rahul <ra...@clear.net.nz>.
Thanks Emmanuel, that fixed the build failure!

I ran "m2 eclipse:eclipse" and notice that there are nested/overlapping 
Eclipse projects created for each component (One in root and a project 
each of each of the components). I don't think Eclipse supports 
importing nested projects and I am wondering how you have imported them 
into your Eclipse workspace? Are you ignoring the project created in the 
root directory?

Thanks,

Rahul




Emmanuel Venisse wrote:

> ok, run "m2 -N install" in maven-reports for install it in your local 
> repository.
>
> Emmanuel
>
> Rahul wrote:
>
>> Hi,
>>
>> Emmanuel - Thank you for your note on setting up M2 as Eclipse 
>> project (separate thread).
>>
>> I am getting a build failure with messasges below. Any ideas?
>>
>> TIA,
>> Rahul
>>
>> [INFO] Building Maven Checkstyle Plugin
>> [INFO] 
>> ---------------------------------------------------------------------------- 
>>
>> Downloading: 
>> http://www.ibiblio.org/maven2//org/apache/maven/plugins/maven-report-parent/2.0-SNAPSHOT/maven-report-parent- 
>>
>> 2.0-SNAPSHOT.pom
>> [WARNING] Unable to get resource from repository 
>> http://repo1.maven.org/maven2
>> Downloading: 
>> http://www.ibiblio.org/maven2//org/apache/maven/plugins/maven-report-parent/2.0-SNAPSHOT/maven-report-parent- 
>>
>> 2.0-SNAPSHOT.pom
>> [WARNING] Unable to get resource from repository 
>> http://repo1.maven.org/maven2
>> Downloading: 
>> http://www.ibiblio.org/maven2//org/apache/maven/plugins/maven-report-parent/2.0-SNAPSHOT/maven-report-parent- 
>>
>> 2.0-SNAPSHOT.pom
>> [WARNING] Unable to get resource from repository 
>> http://repo1.maven.org/maven2
>> [INFO] 
>> ---------------------------------------------------------------------------- 
>>
>> [INFO] BUILD FAILURE
>> [INFO] 
>> ---------------------------------------------------------------------------- 
>>
>> [INFO] Main Error:
>>  Unable to download the artifact from any repository
>>  org.apache.maven.plugins:maven-report-parent:2.0-SNAPSHOT:pom
>>
>> from the specified remote repositories:
>>  http://repo1.maven.org/maven2, http://repo1.maven.org/maven2, 
>> http://repo1.maven.org/maven2
>>
>> Root error:
>>  Unable to download the artifact from any repository
>> [INFO] 
>> ---------------------------------------------------------------------------- 
>>
>> [INFO] Total time: 4 seconds
>> [INFO] Finished at: Tue Jun 07 08:26:40 NZST 2005
>> [INFO] Final Memory: 3M/6M
>> [INFO] 
>> ---------------------------------------------------------------------------- 
>>
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>
>



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


Re: Build failure "m2 eclipse:eclipse"

Posted by Emmanuel Venisse <em...@venisse.net>.
ok, run "m2 -N install" in maven-reports for install it in your local 
repository.

Emmanuel

Rahul wrote:
> Hi,
> 
> Emmanuel - Thank you for your note on setting up M2 as Eclipse project 
> (separate thread).
> 
> I am getting a build failure with messasges below. Any ideas?
> 
> TIA,
> Rahul
> 
> [INFO] Building Maven Checkstyle Plugin
> [INFO] 
> ---------------------------------------------------------------------------- 
> 
> Downloading: 
> http://www.ibiblio.org/maven2//org/apache/maven/plugins/maven-report-parent/2.0-SNAPSHOT/maven-report-parent- 
> 
> 2.0-SNAPSHOT.pom
> [WARNING] Unable to get resource from repository 
> http://repo1.maven.org/maven2
> Downloading: 
> http://www.ibiblio.org/maven2//org/apache/maven/plugins/maven-report-parent/2.0-SNAPSHOT/maven-report-parent- 
> 
> 2.0-SNAPSHOT.pom
> [WARNING] Unable to get resource from repository 
> http://repo1.maven.org/maven2
> Downloading: 
> http://www.ibiblio.org/maven2//org/apache/maven/plugins/maven-report-parent/2.0-SNAPSHOT/maven-report-parent- 
> 
> 2.0-SNAPSHOT.pom
> [WARNING] Unable to get resource from repository 
> http://repo1.maven.org/maven2
> [INFO] 
> ---------------------------------------------------------------------------- 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> ---------------------------------------------------------------------------- 
> 
> [INFO] Main Error:
>  Unable to download the artifact from any repository
>  org.apache.maven.plugins:maven-report-parent:2.0-SNAPSHOT:pom
> 
> from the specified remote repositories:
>  http://repo1.maven.org/maven2, http://repo1.maven.org/maven2, 
> http://repo1.maven.org/maven2
> 
> Root error:
>  Unable to download the artifact from any repository
> [INFO] 
> ---------------------------------------------------------------------------- 
> 
> [INFO] Total time: 4 seconds
> [INFO] Finished at: Tue Jun 07 08:26:40 NZST 2005
> [INFO] Final Memory: 3M/6M
> [INFO] 
> ---------------------------------------------------------------------------- 
> 
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 
> 
> 


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