As per my understanding, the artifactId is nothing but a directory name. correct? I am using the same name for the artifactid as well as directory where the plugin classes are present
makes snese?? Julien CARSIQUE wrote: > > Hello, > > Are you sure that the artifactId is maven-buildnumber-plugin ? > I use buildnumber-maven-plugin > > Cheers, > Julien > > RockRider a écrit : >> Hi >> >> I am trying to use this plugin in my pom >> http://mojo.codehaus.org/buildnumber-maven-plugin/index.html >> >> My pom is as follows: >> <plugin> >> >> <groupId>org.codehaus.mojo</groupId> >> >> <artifactId>maven-buildnumber-plugin</artifactId> >> >> <executions> >> >> <execution> >> >> <phase>validate</phase> >> >> <goals> >> >> <goal>create</goal> >> >> </goals> >> >> </execution> >> >> </executions> >> >> <configuration> >> >> <doCheck>false</doCheck> >> >> <doUpdate>false</doUpdate> >> >> <format>{0,date,yyyy-MM-dd HH:mm:ss}</format> >> >> <items> >> >> <item>timestamp</item> >> >> </items> >> >> </configuration> >> >> </plugin> >> >> ... >> >> ... >> >> <build> >> >> <finalName>${project.artifactId}-${project.version}-r${buildNumber}</finalName> >> >> ... >> </build> >> >> But I am getting this error: >> org.apache.maven.reactor.MavenExecutionException: Parse error reading >> POM. >> Reason: Unrecognised tag: 'executions' (position: START_TAG seen >> ...</artifactId>\n\t\t <executions>... @652:16) for project unknown at >> /home/mig/cruisecontrol/cduweb/checkout/xxxWeb/pom.xml >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/***-Parse-error-reading-POM-***-tp17019499s177p17019689.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
