You said you were using a beta of Maven 2.0 - please download the
final release from the website.

- Brett

On 10/31/05, Dhivakher Balaji <[EMAIL PROTECTED]> wrote:
> Hi Bret,
>
>   Can u pls be little elaborate on you suggestion. I'm not able to get u
> here...
>
> thanks
>
> Dhiva
>
>
> On 10/30/05, Brett Porter <[EMAIL PROTECTED] > wrote:
> >
> > Only the final 2.0 release is currently supported. Please upgrade.
> >
> > - Brett
> >
> > On 10/26/05, Dhivakher Balaji < [EMAIL PROTECTED]> wrote:
> > > Hi,
> > > I'm new to M2, am working on m2 beta-3, am trying to call an ant script
> in
> > > the m2 pom.xml using antrun plugin when i call the antrun plugin i'm
> getting
> > > AbstractMethodError. can any one help me to overcome this problem
> > >
> > > my 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>com.verizon.scp</groupId>
> > > <artifactId>my-scp</artifactId>
> > > <packaging>jar</packaging>
> > > <version>1.0-SNAPSHOT</version>
> > > <name>Maven Quick Start Archetype</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>
> > >
> > > <!--
> > > <plugins>
> > > <plugin>
> > > <groupId> org.apache.maven.plugins</groupId>
> > > <artifactId>maven-antrun-plugin</artifactId>
> > > <version>1.0-alpha-1-SNAPSHOT </version>
> > > <goals>
> > > <goal>
> > > <id>run</id>
> > > <configuration>
> > > <tasks>
> > > <ant dir="." target="scpd1"/>
> > > </tasks>
> > > </configuration>
> > > </goal>
> > > </goals>
> > > </plugin>
> > > </plugins>
> > > -->
> > > <pluginManagement>
> > > <plugin>
> > > <artifactId>maven-antrun-plugin</artifactId>
> > > <version>1.0-SNAPSHOT</version>
> > > <goals>
> > > <goal>
> > > <id>run</id>
> > > <configuration>
> > > <tasks>
> > > <ant dir="${basedir}" target="scpd1"/>
> > >
> > > </tasks>
> > > </configuration>
> > > </goal>
> > > </goals>
> > > </plugin>
> > > </pluginManagement>
> > > </project>
> > > the error i'm getting:
> > >
> > > [EMAIL PROTECTED] ~/m2/jim-test/my-scp $ m2 antrun:run
> > > [INFO] Searching repository for plugin with prefix: 'antrun'.
> > > [INFO] artifact
> org.apache.maven.plugins:maven-antrun-plugin: checking for
> > > updates from central
> > > [INFO]
> > >
> ----------------------------------------------------------------------------
> > > [INFO] Building Maven Quick Start Archetype
> > > [INFO] task-segment: [antrun:run]
> > > [INFO]
> > >
> ----------------------------------------------------------------------------
> > >
> > > ---------------------------------------------------
> > > constituent[0]: file:/VZ/opt/vzdev/maven- 2.0-beta-2/lib/maven-
> > > core-2.0-beta-2.jar
> > > constituent[1]: file:/VZ/opt/vzdev/maven-2.0-beta-2/lib/plexus-
> > > input-handler-1.0-alpha-2.jar
> > > constituent[2]: file:/VZ/opt/vzdev/maven- 2.0-beta-2/lib/maven-
> > > artifact-2.0-beta-2.jar
> > > constituent[3]: file:/VZ/opt/vzdev/maven-2.0-beta-2/lib/maven-
> > > monitor-2.0-beta-2.jar
> > > constituent[4]: file:/VZ/opt/vzdev/maven- 2.0-beta-2/lib/maven-
> > > plugin-descriptor-2.0-beta-2.jar
> > > constituent[5]: file:/VZ/opt/vzdev/maven-2.0-beta-2/lib/maven-
> > > project-2.0-beta-2.jar
> > > constituent[6]:
> file:/VZ/opt/vzdev/maven-2.0-beta-2/lib/commons-cli-1.0.jar
> > > constituent[7]: file:/VZ/opt/vzdev/maven- 2.0-beta-2/lib/maven-
> > > profile-2.0-beta-2.jar
> > > constituent[8]: file:/VZ/opt/vzdev/maven-2.0-beta-2/lib/maven-
> > > repository-metadata-2.0-beta-2.jar
> > > constituent[9]: file:/VZ/opt/vzdev/maven- 2.0-beta-2 /lib/maven-
> > > plugin-api-2.0-beta-2.jar
> > > constituent[10]: file:/VZ/opt/vzdev/maven-2.0-beta-2/lib/jsch-0.1.21.jar
> > > constituent[11]: file:/VZ/opt/vzdev/maven-2.0-beta-2/lib/wagon-
> > > provider-api-1.0-alpha-4.jar
> > > constituent[12]: file:/VZ/opt/vzdev/maven-2.0-beta-2/lib/maven-
> > > reporting-api-2.0-beta-2.jar
> > > constituent[13]: file:/VZ/opt/vzdev/maven-2.0-beta-2/lib/wagon-
> > > file-1.0-alpha-4.jar
> > > constituent[14]: file:/VZ/opt/vzdev/maven- 2.0-beta-2/lib/maven-
> > > artifact-manager-2.0-beta-2.jar
> > > constituent[15]: file:/VZ/opt/vzdev/maven-2.0-beta-2/lib/maven-
> > > settings-2.0-beta-2.jar
> > > constituent[16]: file:/VZ/opt/vzdev/maven-2.0-beta-2 /lib/maven-
> > > plugin-registry-2.0-beta-2.jar
> > > constituent[17]: file:/VZ/opt/vzdev/maven-2.0-beta-2/lib/maven-
> > > model-2.0-beta-2.jar
> > > constituent[18]: file:/VZ/opt/vzdev/maven-2.0-beta-2/lib/jline-
> 0.9.1.jar
> > > constituent[19]: file:/VZ/opt/vzdev/maven-2.0-beta-2/lib/doxia-
> > > sink-api-1.0-alpha-4.jar
> > > constituent[20]: file:/VZ/opt/vzdev/maven-2.0-beta-2/lib/wagon-
> > > ssh-1.0-alpha-4.jar
> > > constituent[21]: file:/VZ/opt/vzdev/maven- 2.0-beta-2/lib/wagon-
> > > http-lightweight-1.0-alpha-4.jar
> > > ---------------------------------------------------
> > > Exception in thread "main" java.lang.AbstractMethodError
> > > at
> > >
> org.codehaus.plexus.component.configurator.converters.ComponentValueSetter.configure
> > > (ComponentValueSetter.java:252)
> > > at
> > >
> org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter.processConfiguration(
> > > ObjectWithFieldsConverter.java:116)
> > > at
> > >
> org.codehaus.plexus.component.configurator.BasicComponentConfigurator.configureComponent
> > > (BasicComponentConfigurator.java:55)
> > > at
> org.apache.maven.plugin.DefaultPluginManager.populatePluginFields
> (
> > > DefaultPluginManager.java:1049)
> > > at
> org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(
> > > DefaultPluginManager.java:550)
> > > at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo
> (
> > > DefaultPluginManager.java :369)
> > > at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> > > DefaultLifecycleExecutor.java:515)
> > > at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal
> > > (DefaultLifecycleExecutor.java :478)
> > > at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> > > DefaultLifecycleExecutor.java:460)
> > > at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
> (
> > > DefaultLifecycleExecutor.java :278)
> > > at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
> > > DefaultLifecycleExecutor.java:136)
> > > at
> org.apache.maven.DefaultMaven.execute(DefaultMaven.java
> :216)
> > > at org.apache.maven.cli.MavenCli.main
> (MavenCli.java:246)
> > > 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:324)
> > > 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)
> > > [EMAIL PROTECTED] ~/m2/jim-test/my-scp $
> > >
> > > can any one tell me what am i dooing wrong?
> > >
> > >
> > > --
> > > Regards
> > >
> > > Dhiva
> > >
> > >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
>
> --
> Regards
>
>  Dhiva
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to