[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Created simple project and m2e fails to load maven-jar-plugin

> -----Original Message-----
> From: m2e-users-bounces@xxxxxxxxxxx [mailto:m2e-users-
> bounces@xxxxxxxxxxx] On Behalf Of KARR, DAVID
> Sent: Thursday, August 30, 2012 8:15 AM
> To: Maven Integration for Eclipse users mailing list
> Subject: [m2e-users] Created simple project and m2e fails to load
> maven-jar-plugin
> 
> Twice now last evening and this morning I've tried to create a trivial
> Maven project, and after it creates it, I get the following:
> 
> Could not calculate build plan: Plugin org.apache.maven.plugins:maven-
> jar-plugin:2.3.2 or one of its dependencies could not be resolved:
> Failed to read artifact descriptor for org.apache.maven.plugins:maven-
> jar-plugin:jar:2.3.2
> Plugin org.apache.maven.plugins:maven-jar-plugin:2.3.2 or one of its
> dependencies could not be resolved: Failed to read artifact descriptor
> for org.apache.maven.plugins:maven-jar-plugin:jar:2.3.2

Hmm.  Now this has gone away.  One thing I did a few minutes ago that I didn't do last night or earlier this morning was to manually build the project from within Eclipse.  Just about when I did that, the error went away.

> The pom is about as trivial as you can get:
> <project xmlns="http://maven.apache.org/POM/4.0.0";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/xsd/maven-4.0.0.xsd";>
>   <modelVersion>4.0.0</modelVersion>
>   <groupId>com.att.cde</groupId>
>   <artifactId>simple</artifactId>
>   <version>0.0.1-SNAPSHOT</version>
> </project>
> 
> Here's the .project file:
> <?xml version="1.0" encoding="UTF-8"?>
> <projectDescription>
> 	<name>simple</name>
> 	<comment></comment>
> 	<projects>
> 	</projects>
> 	<buildSpec>
> 		<buildCommand>
> 			<name>org.eclipse.m2e.core.maven2Builder</name>
> 			<arguments>
> 			</arguments>
> 		</buildCommand>
> 	</buildSpec>
> 	<natures>
> 		<nature>org.eclipse.m2e.core.maven2Nature</nature>
> 	</natures>
> </projectDescription>
> _______________________________________________
> m2e-users mailing list
> m2e-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/m2e-users