Hi Your trying Maven1 stuff on Maven2
Hermod -----Original Message----- From: Rajmahendra [mailto:[EMAIL PROTECTED] Sent: Thursday, February 15, 2007 11:23 AM To: [email protected] Subject: Mavan2 simple program not working. hi all i am using JDK 1.5 and Maven 2.0.4 I have written a simple program but its not working pom.xml <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>de.focusdv.bcs</groupId> <artifactId>new-app</artifactId> <packaging>jar</packaging> <version>1.0-SNAPSHOT</version> <name>new-app</name> <url>http://maven.apache.org</url> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> </dependencies> </project> maven.xml <?xml version="1.0"?> <project > <postGoal > <echo>Inside postGoal</echo> </postGoal> <!-- <preGoal name="raj:mygoal" > <attainGoal name="raj:hello"/> <echo>Inside preGoal</echo> </preGoal> --> <goal name="raj:hello"> <echo>Inside raj:call</echo> </goal> <goal name="install:install"> <echo>Inside raj:call</echo> </goal> </project> i am trying to call mvn raj:hello but its not working... i am gettting following error. The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found Please help me -- Thank you, With warm regards, Rajmahendra R Hegde (Raj) Website: http://www.rajmahendra.com/ http://rajmahendra.zaadz.com/ http://360.yahoo.com/rajeshblog/ ---------------------------------------------------------------------------------------------- "Genius is one per cent inspiration and ninety-nine per cent perspiration. Accordingly, a 'genius' is often merely a talented person who has done all of his or her homework." -Thomas Alva Edison (1847 - 1931) * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This email with attachments is solely for the use of the individual or entity to whom it is addressed. Please also be aware that DnB NOR cannot accept any payment orders or other legally binding correspondence with customers as a part of an email. This email message has been virus checked by the anti virus programs used in the DnB NOR Group. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
