That's the pom.xml of my application!
<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"> <parent> <groupId>org.jasig</groupId> <artifactId>jasig-parent</artifactId> <version>7</version> </parent> <modelVersion>4.0.0</modelVersion> <groupId>org.jasig.cas</groupId> <artifactId>cas-server</artifactId> <packaging>pom</packaging> <name>JA-SIG Central Authentication Service</name> <version>3.3.1</version> <url>http://www.ja-sig.org/products/cas/</url> <ciManagement> <system>QuickBuild</system> <url>http://developer.ja-sig.org/builds/</url> </ciManagement> <inceptionYear>2004</inceptionYear> <licenses> <license> <name>JA-SIG License for Use</name> <url> http://www.ja-sig.org/products/cas/overview/license/ </url> <distribution>manual</distribution> </license> </licenses> <build> <testResources> <testResource> <directory>${basedir}/src/test/resources</directory> </testResource> </testResources> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <executions> <execution> <id>enforce-versions</id> <goals> <goal>enforce</goal> </goals> <configuration> <rules> <requireMavenVersion> <version>2.0.10</version> </requireMavenVersion> <requireJavaVersion> <version>1.5</version> </requireJavaVersion> </rules> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clover-plugin</artifactId> <configuration> <licenseLocation> ${basedir}/src/test/clover/clover.license </licenseLocation> <jdk>1.5</jdk> <generateXml>true</generateXml> <generateHtml>true</generateHtml> <includes> <include>**/*.java</include> </includes> <excludes> <exclude>**/CasVersion.java</exclude> <exclude> **/SamlCompliantUniqueTicketIdGenerator.java </exclude> </excludes> </configuration> <executions> <execution> <!-- <phase>site</phase>--> <goals> <goal>instrument</goal> <goal>clover</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <includes> <include>**/*Tests.java</include> </includes> <excludes> <exclude>**/Abstract*.java</exclude> </excludes> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.5</source> <target>1.5</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <configuration> <source>2.1</source> <target>2.1</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifest> <addDefaultImplementationEntries>true</addDefaultImplementationEntries> </manifest> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <version>2.2-beta-1</version> <configuration> <descriptors> <descriptor>${basedir}/assembly.xml</descriptor> </descriptors> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>org.inspektr</groupId> <artifactId>inspektr-core</artifactId> <version>0.7.0</version> <scope>compile</scope> <exclusions> <exclusion> <groupId>org.springframework</groupId> <artifactId>spring-jdbc</artifactId> </exclusion> <exclusion> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> </exclusion> <exclusion> <groupId>org.springframework</groupId> <artifactId>spring-beans</artifactId> </exclusion> <exclusion> <groupId>org.springframework</groupId> <artifactId>spring-aop</artifactId> </exclusion> <exclusion> <groupId>org.springframework</groupId> <artifactId>spring-support</artifactId> </exclusion> <exclusion> <groupId>org.springframework.security</groupId> <artifactId>spring-security-core</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>commons-lang</groupId> <artifactId>commons-lang</artifactId> <version>2.2</version> <scope>runtime</scope> </dependency> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>1.1</version> <type>jar</type> <exclusions> <exclusion> <groupId>log4j</groupId> <artifactId>log4j</artifactId> </exclusion> <exclusion> <groupId>logkit</groupId> <artifactId>logkit</artifactId> </exclusion> <exclusion> <groupId>avalon-framework</groupId> <artifactId>avalon-framework</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <version>${spring.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.15</version> <type>jar</type> <scope>test</scope> <exclusions> <exclusion> <groupId>com.sun.jmx</groupId> <artifactId>jmxri</artifactId> </exclusion> <exclusion> <groupId>com.sun.jdmk</groupId> <artifactId>jmxtools</artifactId> </exclusion> <exclusion> <groupId>javax.jms</groupId> <artifactId>jms</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webflow</artifactId> <version>1.0.5</version> <scope>compile</scope> <exclusions> <exclusion> <artifactId>spring-portlet</artifactId> <groupId>org.springframework</groupId> </exclusion> <exclusion> <groupId>org.springframework</groupId> <artifactId>spring-struts</artifactId> </exclusion> <exclusion> <groupId>org.springframework</groupId> <artifactId>spring-mock</artifactId> </exclusion> <exclusion> <artifactId>commons-validator</artifactId> <groupId>commons-validator</groupId> </exclusion> <exclusion> <artifactId>commons-el</artifactId> <groupId>commons-el</groupId> </exclusion> <exclusion> <groupId>commons-fileupload</groupId> <artifactId>commons-fileupload</artifactId> </exclusion> <exclusion> <groupId>org.apache.myfaces.core</groupId> <artifactId>myfaces-impl</artifactId> </exclusion> <exclusion> <groupId>struts</groupId> <artifactId>struts</artifactId> </exclusion> <exclusion> <groupId>org.springframework</groupId> <artifactId>spring-web</artifactId> </exclusion> <exclusion> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>2.4</version> <scope>provided</scope> </dependency> </dependencies> <repositories> <repository> <id>jasig-repository</id> <name>JA-SIG Maven2 Repository</name> <url>http://developer.ja-sig.org/maven2</url> </repository> </repositories> <modules> <module>cas-server-core</module> <module>cas-server-support-generic</module> <module>cas-server-support-jdbc</module> <module>cas-server-support-ldap</module> <module>cas-server-support-legacy</module> <module>cas-server-support-openid</module> <module>cas-server-support-radius</module> <module>cas-server-support-spnego</module> <module>cas-server-support-trusted</module> <module>cas-server-support-x509</module> <module>cas-server-integration-jboss</module> <module>cas-server-integration-berkeleydb</module> <module>cas-server-integration-memcached</module> <module>cas-server-integration-restlet</module> <module>cas-server-webapp</module> </modules> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> </plugin> <!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <minmemory>128m</minmemory> <maxmemory>512</maxmemory> </configuration> </plugin> --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jxr-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> </plugin> </plugins> </reporting> <properties> <issues.projectKey>CAS</issues.projectKey> <scm.path>/cas3</scm.path> <spring.version>2.5.6</spring.version> </properties> </project> Thanks 2009/2/26 Nick Stolwijk <[email protected]>: > Could you show us your pom file? Are you trying to build a Maven 1 > project with Maven 2? This will not work. You'll have to convert your > project to Maven 2 before you are able to run it with Maven 2. > > Hth, > > Nick Stolwijk > ~Java Developer~ > > Iprofs BV. > Claus Sluterweg 125 > 2012 WS Haarlem > www.iprofs.nl > > > > On Thu, Feb 26, 2009 at 1:56 PM, Vinicius Borges <[email protected]> > wrote: >> Hello Brett, >> >> Where I type this? In the mvn command? >> If will be, the command mvn clean package install groupID = >> org.apache.maven.plugins was not recognized... >> >> Thanks! >> >> >> 2009/2/26 Brett Porter <[email protected]>: >>> Try groupID = org.apache.maven.plugins instead. You're using a plugin from >>> Maven 1.x. >>> >>> Cheers, >>> Brett >>> >>> On 26/02/2009, at 11:20 PM, Vinicius Borges wrote: >>> >>>> Hello Everybody, >>>> >>>> I wanto to build my application with Maven 2.0.10 and I've received this >>>> error: >>>> >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] Building JA-SIG CAS Web Application >>>> [INFO] task-segment: [clean, package, install] >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> Downloading: >>>> http://repo1.maven.org/maven2/maven/maven-war-plugin/20030413.023708/maven-war-plugin-20030413.023708.pom >>>> 165b downloaded >>>> Downloading: >>>> http://repo1.maven.org/maven2/maven/maven-war-plugin/20030413.023708/maven-war-plugin-20030413.023708.jar >>>> 4K downloaded >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [ERROR] FATAL ERROR >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] The PluginDescriptor for the plugin Plugin >>>> [maven:maven-war-plugin] was not found. >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] Trace >>>> java.lang.IllegalStateException: The PluginDescriptor for the plugin >>>> Plugin [maven:maven-war-plugin] was not found. >>>> at >>>> org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:327) >>>> at >>>> org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:212) >>>> at >>>> org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:176) >>>> at >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1275) >>>> at >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifecycle(DefaultLifecycleExecutor.java:1239) >>>> at >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:1005) >>>> at >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478) >>>> at >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331) >>>> at >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:292) >>>> at >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) >>>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) >>>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) >>>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:301) >>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>>> at >>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>>> at >>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>>> at java.lang.reflect.Method.invoke(Method.java:585) >>>> at >>>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) >>>> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) >>>> at >>>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) >>>> at org.codehaus.classworlds.Launcher.main(Launcher.java:375) >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] Total time: 48 minutes 34 seconds >>>> [INFO] Finished at: Thu Feb 26 08:51:13 BRT 2009 >>>> [INFO] Final Memory: 27M/52M >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> >>>> What should be this error? >>>> >>>> Thanks >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [email protected] >>>> For additional commands, e-mail: [email protected] >>>> >>> >>> -- >>> Brett Porter >>> [email protected] >>> http://blogs.exist.com/bporter/ >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
