Re: Issue in calling antrun plugin.
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;http://maven.apache.org/maven-v4_0_0.xsd%22 modelVersion4.0.0/modelVersion groupIdcom.verizon.scp/groupId artifactIdmy-scp/artifactId packagingjar/packaging version1.0-SNAPSHOT/version nameMaven Quick Start Archetype/name url http://maven.apache.org/url dependencies dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version scopetest/scope /dependency /dependencies !-- plugins plugin groupId org.apache.maven.plugins/groupId artifactIdmaven-antrun-plugin/artifactId version1.0-alpha-1-SNAPSHOT /version goals goal idrun/id configuration tasks ant dir=. target=scpd1/ /tasks /configuration /goal /goals /plugin /plugins -- pluginManagement plugin artifactIdmaven-antrun-plugin/artifactId version1.0-SNAPSHOT/version goals goal idrun/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
Re: Issue in calling antrun plugin.
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 groupIdcom.verizon.scp/groupId artifactIdmy-scp/artifactId packagingjar/packaging version1.0-SNAPSHOT/version nameMaven Quick Start Archetype/name url http://maven.apache.org/url dependencies dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version scopetest/scope /dependency /dependencies !-- plugins plugin groupId org.apache.maven.plugins/groupId artifactIdmaven-antrun-plugin/artifactId version1.0-alpha-1-SNAPSHOT /version goals goal idrun/id configuration tasks ant dir=. target=scpd1/ /tasks /configuration /goal /goals /plugin /plugins -- pluginManagement plugin artifactIdmaven-antrun-plugin/artifactId version1.0-SNAPSHOT/version goals goal idrun/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
Re: Issue in calling antrun plugin.
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; modelVersion4.0.0/modelVersion groupIdcom.verizon.scp/groupId artifactIdmy-scp/artifactId packagingjar/packaging version1.0-SNAPSHOT/version nameMaven Quick Start Archetype/name urlhttp://maven.apache.org/url dependencies dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version scopetest/scope /dependency /dependencies !-- plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-antrun-plugin/artifactId version1.0-alpha-1-SNAPSHOT /version goals goal idrun/id configuration tasks ant dir=. target=scpd1/ /tasks /configuration /goal /goals /plugin /plugins -- pluginManagement plugin artifactIdmaven-antrun-plugin/artifactId version1.0-SNAPSHOT/version goals goal idrun/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
Issue in calling antrun plugin.
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; modelVersion4.0.0/modelVersion groupIdcom.verizon.scp/groupId artifactIdmy-scp/artifactId packagingjar/packaging version1.0-SNAPSHOT/version nameMaven Quick Start Archetype/name urlhttp://maven.apache.org/url dependencies dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version scopetest/scope /dependency /dependencies !-- plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-antrun-plugin/artifactId version1.0-alpha-1-SNAPSHOT /version goals goal idrun/id configuration tasks ant dir=. target=scpd1/ /tasks /configuration /goal /goals /plugin /plugins -- pluginManagement plugin artifactIdmaven-antrun-plugin/artifactId version1.0-SNAPSHOT/version goals goal idrun/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