Try adding -cpu (check plugin updates) when building your project. Hope this helps.
Dawn adingfelder wrote: > > When doing a maven build, I get errors where maven is looking at > maven-surefire-plugin. > I tried to disable the tests in my pom.xml but it did not help. > > (I have attached the pom and output below.) > > Thoughts? > > Cheers, > > Andy > > ============================== > pom.xml > ============================== > > <?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> > <groupId>common_java</groupId> > <artifactId>common_java</artifactId> > <version>0.0.1</version> > <build> > <plugins> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-surefire-plugin</artifactId> > <configuration> > <skip>true</skip> > </configuration> > </plugin> > </plugins> > </build> > <dependencies> > <dependency> > <groupId>log4j</groupId> > <artifactId>log4j</artifactId> > <version>1.2.8</version> > </dependency> > <dependency> > <groupId>com.serialio</groupId> > <artifactId>serialIO</artifactId> > <version>7.2</version> > <scope>system</scope> > <systemPath>C:/projects/3rd_party/jars/Serialio-7.2.jar</systemPath> > </dependency> > </dependencies> > </project> > > ============================== > maven output: > ============================== > > [DEBUG] Building Maven user-level plugin registry from: > '<home>\.m2\plugin-registry.xml' > [DEBUG] Building Maven user-level plugin registry from: > '<home>\.m2\plugin-registry.xml' > [INFO] Scanning for projects... > [INFO] > ---------------------------------------------------------------------------- > [INFO] Building Unnamed - common_java:common_java:jar:0.0.1 > [INFO] task-segment: [install] > [INFO] > ---------------------------------------------------------------------------- > [DEBUG] maven-resources-plugin: resolved to version 2.2 from repository > central > [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1 > for project: null:maven-resources-plugin:maven-plugin:2.2 from the > repository. > [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for > project: org.apache.maven.plugins:maven-plugins:pom:1 from the repository. > [DEBUG] Retrieving parent-POM: org.apache:apache::1 for project: > org.apache.maven:maven-parent:pom:1 from the repository. > [DEBUG] maven-compiler-plugin: resolved to version 2.0.1 from repository > central > [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1 > for project: null:maven-compiler-plugin:maven-plugin:2.0.1 from the > repository. > [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for > project: org.apache.maven.plugins:maven-plugins:pom:1 from the repository. > [DEBUG] Retrieving parent-POM: org.apache:apache::1 for project: > org.apache.maven:maven-parent:pom:1 from the repository. > [DEBUG] maven-surefire-plugin: using locally installed snapshot > [DEBUG] Artifact not found - using stub model: Unable to determine the > latest version > > org.apache.maven.plugins:maven-surefire-plugin:pom:LATEST > > > [DEBUG] Using defaults for missing POM > org.apache.maven.plugins:maven-surefire-plugin:pom:LATEST > [DEBUG] maven-surefire-plugin: using locally installed snapshot > [DEBUG] Artifact not found - using stub model: Unable to determine the > release version > > org.apache.maven.plugins:maven-surefire-plugin:pom:RELEASE > > > [DEBUG] Using defaults for missing POM > org.apache.maven.plugins:maven-surefire-plugin:pom:RELEASE > [ERROR] project-execute : common_java:common_java:jar:0.0.1 ( > task-segment: [install] ) > Diagnosis: The plugin 'org.apache.maven.plugins:maven-surefire-plugin' > does not exist or no valid version could be found > FATAL ERROR: Error executing Maven for a project > [ERROR] reactor-execute : C:\projects\common_java > Diagnosis: The plugin 'org.apache.maven.plugins:maven-surefire-plugin' > does not exist or no valid version could be found > FATAL ERROR: Error executing Maven for a project > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] The plugin 'org.apache.maven.plugins:maven-surefire-plugin' does > not exist or no valid version could be found > [INFO] > ------------------------------------------------------------------------ > [DEBUG] Trace The plugin 'org.apache.maven.plugins:maven-surefire-plugin' > does not exist or no valid version could be found > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: < 1 second > [INFO] Finished at: Wed Jan 24 11:38:06 NZDT 2007 > [INFO] Final Memory: 1M/3M > [INFO] > ------------------------------------------------------------------------ > [INFO] Error for project: Unnamed - common_java:common_java:jar:0.0.1 > (during install) > [INFO] > ------------------------------------------------------------------------ > [INFO] The plugin 'org.apache.maven.plugins:maven-surefire-plugin' does > not exist or no valid version could be found > [INFO] > ------------------------------------------------------------------------ > [DEBUG] Trace The plugin 'org.apache.maven.plugins:maven-surefire-plugin' > does not exist or no valid version could be found > [INFO] > ------------------------------------------------------------------------ > [ERROR] reactor-execute : C:\projects\common_java > FATAL ERROR: Error executing Maven for a project > [INFO] BUILD ERRORS > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: < 1 second > [INFO] Finished at: Wed Jan 24 11:38:06 NZDT 2007 > [INFO] Final Memory: 1M/3M > [INFO] > ------------------------------------------------------------------------ > > -- View this message in context: http://www.nabble.com/maven-surefire-plugin-not-found-tf3077800s177.html#a8554566 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
