I am getting this error message:
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
'org.apache.maven.plugins:maven-i
zpack-plugin' does not exist or no valid version could be found
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor
---
this is my pom.xml that includes the maven plugin - any ideas? Everything
looks correct to me.
<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>
<parent>
<groupId>com.acme</groupId>
<artifactId>izpack.parent-pom</artifactId>
<version>1.0</version>
</parent>
<groupId>com.acme</groupId>
<artifactId>izpack-maven-plugin</artifactId>
<version>2.1.0</version>
<name>Amp Patch (izpack)</name>
<packaging>pom</packaging>
<dependencies>
<!-- this will override the one in the plugin -->
<dependency>
<groupId>org.izpack</groupId>
<artifactId>izpack</artifactId>
<version>4.1.1</version>
<!-- dont want to download this artifact when retrieve the
installer as transitive dependency -->
<optional>true</optional>
</dependency>
</dependencies>
<!--
*********************************************************************
-->
<build>
<defaultGoal>package</defaultGoal>
<pluginManagement>
<plugins>
<!-- ***************************************************************
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.3</version>
<configuration>
<tasks>
<copy todir="${staging.dir}">
<fileset dir="${basedir}/src/main/java/izpack" />
</copy>
</tasks>
</configuration>
<executions>
<execution>
<id>create-staging-area</id>
<phase>process-resources</phase>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- ***************************************************************
-->
<plugin>
<groupId>org.codehaus.izpack</groupId>
<artifactId>izpack-maven-plugin</artifactId>
<version>1.0-alpha-4</version>
<!-- common configuration by all executions -->
<configuration>
<izpackBasedir>${staging.dir}</izpackBasedir>
</configuration>
<executions>
<execution>
<id>standard-installer</id>
<phase>package</phase>
<goals>
<goal>izpack</goal>
</goals>
</execution>
<!--
<execution>
<id>web-installer</id>
<phase>package</phase>
<goals>
<goal>izpack</goal>
</goals>
<configuration>
<descriptor>${basedir}/izpack/install-web.xml</descriptor>
<kind>web</kind>
</configuration>
</execution>
-->
</executions>
</plugin>
<!-- ***********************************************************
-->
<!--
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ant-plugin</artifactId>
<version>2.1</version>
</plugin>
-->
</plugins>
</pluginManagement>
</build>
<!-- *******************************************************************
-->
<properties>
<staging.dir>${project.build.directory}/staging</staging.dir>
</properties>
</project>
--
View this message in context:
http://www.nabble.com/maven-plugin-problem-%28can-not-solve-after-many-tries%29-tp20964990p20964990.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org