You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by hujirong <ji...@gmail.com> on 2012/04/19 17:08:30 UTC

Why Maven is looking for maven-surefire-plugin:2.10?

[WARNING] The POM for org.apache.maven.plugins:maven-surefire-plugin:jar:2.10
is missing, no dependency information available
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 12.407s
[INFO] Finished at: Thu Apr 19 10:57:17 EDT 2012
[INFO] Final Memory: 9M/512M
[INFO]
------------------------------------------------------------------------
[ERROR] Plugin org.apache.maven.plugins:maven-surefire-plugin:2.10 or one of
its dependencies could not be resolved: Failed to read artifact descripto
r for org.apache.maven.plugins:maven-surefire-plugin:jar:2.10: Could not
find artifact org.apache.maven.plugins:maven-surefire-plugin:pom:2.10 in
nexu
s (http://axddarep01.npr.bngf.local:8080/nexus/content/groups/max-public/)
-> [Help 1]
[ERROR]

Below is my POM, and we don't have that version in our company repository.
Please tell me why Maven is looking for that particular version. Why other
project is fine.


<?xml version="1.0" encoding="UTF-8"?>
<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/maven-v4_0_0.xsd">
	<modelVersion>4.0.0</modelVersion>

	<parent>
		<groupId>com.nbfg.max.maven</groupId>
		<artifactId>max-wesb-pom</artifactId>
		<version>0.0.4-SNAPSHOT</version>
	</parent>

	<groupId>com.nbfg.max.wesb</groupId>
	<artifactId>CDIPubSubMgmtBOLib</artifactId>
	<version>0.0.1-SNAPSHOT</version>
	<name>CDIPubSubMgmtBOLib Mediation</name>

	<dependencies>
		
	</dependencies>

</project>


--
View this message in context: http://maven.40175.n5.nabble.com/Why-Maven-is-looking-for-maven-surefire-plugin-2-10-tp5652018p5652018.html
Sent from the Maven - Users mailing list archive at Nabble.com.

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


Re: Why Maven is looking for maven-surefire-plugin:2.10?

Posted by hujirong <ji...@gmail.com>.
I figured I am using 3.0.3 while the project is using 3.0.4. No more error
after changed to 3.0.3. They don't have that version of jar in Nexus.

Thanks
Jirong

--
View this message in context: http://maven.40175.n5.nabble.com/Why-Maven-is-looking-for-maven-surefire-plugin-2-10-tp5652018p5652683.html
Sent from the Maven - Users mailing list archive at Nabble.com.

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


Re: Why Maven is looking for maven-surefire-plugin:2.10?

Posted by Wayne Fay <wa...@gmail.com>.
> [WARNING] The POM for
> org.apache.maven.plugins:maven-surefire-plugin:jar:2.10
> is missing, no dependency information available
...
> Below is my POM, and we don't have that version in our company repository.
> Please tell me why Maven is looking for that particular version. Why other
> project is fine.

What version of Maven are you running?

If you want Maven to use a SPECIFIC version of a plugin, you must
instruct it to do so via a <plugin> declaration or <pluginManagement>
tag.

Wayne

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