Hi, These are explained here: http://maven.apache.org/pom.html#Maven_Coordinates
Often, with Maven projects, a parent hierarchy is involved and properties are inherited down the line, so unless you need to change versions and know what you are doing, you probably shouldn't. cheers, Steve On 19/08/2011, at 2:06 PM, Anthony Huang wrote: > Hello All, > > I need help. Could anyone tell me about what problem was?, These > problem which i found when i configured the Maven2. > > I want to ask all, what the definitions of these words (talking about Maven2) > : > a).modelVersion > b). groupId > c). artifactId > d). packaging > e). version > > Maybe i was wrong to configure those properties. > > /**** Here are the errors ****/ > > [INFO] Scanning for projects... > [WARNING] > [WARNING] Some problems were encountered while building the effective model > for > edu.university.cas:local-cas:war:1.0-SNAPSHOT > [WARNING] 'build.plugins.plugin.version' for > org.apache.maven.plugins:maven-war- > plugin is missing. @ line 14, column 21 > [WARNING] > [WARNING] It is highly recommended to fix these problems because they > threaten t > he stability of your build. > [WARNING] > [WARNING] For this reason, future Maven versions might no longer support > buildin > g such malformed projects. > [WARNING] > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Building local-cas 1.0-SNAPSHOT > [INFO] > ------------------------------------------------------------------------ > Downloading: > http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefi > re-plugin/2.7.2/maven-surefire-plugin-2.7.2.pom > Downloaded: > http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefir > e-plugin/2.7.2/maven-surefire-plugin-2.7.2.pom (10 KB at 5.5 KB/sec) > Downloading: > http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire/2. > 7.2/surefire-2.7.2.pom > Downloaded: > http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire/2.7 > .2/surefire-2.7.2.pom (11 KB at 18.2 KB/sec) > Downloading: > http://repo1.maven.org/maven2/org/apache/maven/maven-parent/18/mave > n-parent-18.pom > Downloaded: > http://repo1.maven.org/maven2/org/apache/maven/maven-parent/18/maven > -parent-18.pom (24 KB at 29.0 KB/sec) > Downloading: http://repo1.maven.org/maven2/org/apache/apache/8/apache-8.pom > Downloaded: http://repo1.maven.org/maven2/org/apache/apache/8/apache-8.pom > (14 K > B at 23.7 KB/sec) > Downloading: > http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefi > re-plugin/2.7.2/maven-surefire-plugin-2.7.2.jar > Downloaded: > http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefir > e-plugin/2.7.2/maven-surefire-plugin-2.7.2.jar (29 KB at 25.2 KB/sec) > Downloading: > http://oss.sonatype.org/content/repositories/releases/org/jasig/cas > /cas-server-webapp-3.4.2/3.4.2/cas-server-webapp-3.4.2-3.4.2.pom > Downloading: > http://repo1.maven.org/maven2/org/jasig/cas/cas-server-webapp-3.4.2 > /3.4.2/cas-server-webapp-3.4.2-3.4.2.pom > [WARNING] The POM for org.jasig.cas:cas-server-webapp-3.4.2:war:3.4.2 is > missing > , no dependency information available > Downloading: > http://oss.sonatype.org/content/repositories/releases/org/jasig/cas > /cas-server-webapp-3.4.2/3.4.2/cas-server-webapp-3.4.2-3.4.2.war > Downloading: > http://repo1.maven.org/maven2/org/jasig/cas/cas-server-webapp-3.4.2 > /3.4.2/cas-server-webapp-3.4.2-3.4.2.war > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 8.203s > [INFO] Finished at: Sat Aug 20 00:06:17 ICT 2011 > [INFO] Final Memory: 2M/5M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal on project local-cas: Could not resolve > dependenc > ies for project edu.university.cas:local-cas:war:1.0-SNAPSHOT: Could not find > ar > tifact org.jasig.cas:cas-server-webapp-3.4.2:war:3.4.2 in ja-sig > (http://oss.son > atype.org/content/repositories/releases/) -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > swit > ch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > rea > d the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso > lutionException > > /****************/ > > Thank you so much. > > Anthony Huang. > > -- > You are currently subscribed to [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
