Installing CAS Server : A required class is missing: org/apache/maven/surefire/util/NestedCheckedException -


i not familiar tomcat, followed tutorial. run until launched maven clean package. output gives me following error :

[info] internal error in plugin manager executing goal 'org.apache.maven.plugins:maven-surefire-plugin:2.10:test': unable load mojo 'org.apache.maven.plugins:maven-surefire-plugin:2.10:test' in plugin 'org.apache.maven.plugins:maven-surefire-plugin'. required class missing: org/apache/maven/surefire/util/nestedruntimeexception org.apache.maven.surefire.util.nestedruntimeexception 

i have checked on net , seems error common, none of methods indicated worked : have rm -rf .m2/repository/org/

my pom.xml follows :

<?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/xsd/maven-4.0.0.xsd "> <modelversion>4.0.0</modelversion> <groupid>sso.mydomain.com</groupid> <artifactid>local-cas</artifactid> <packaging>war</packaging> <version>1.0-snapshot</version>  <build>     <plugins>         <plugin>              <artifactid>maven-war-plugin</artifactid>                          <configuration>                              <warname>cas</warname>                          </configuration>                     </plugin>     </plugins> </build>  <dependencies>     <dependency>         <groupid>org.jasig.cas</groupid>         <artifactid>cas-server-webapp</artifactid>         <version>${cas.version}</version>         <type>war</type>         <scope>runtime</scope>     </dependency> </dependencies>  <properties>     <cas.version>3.5.2</cas.version> </properties>      <repositories>      <repository>               <id>ja-sig</id>               <url>http://oss.sonatype.org/content/repositories/releases/ </url>          </repository>     </repositories> 

my conf : ubuntu, maven 2.2.1 have spent hour in this. idea ?


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -