[ 
https://jira.codehaus.org/browse/MINVOKER-166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=348822#comment-348822
 ] 

Karl-Heinz Marbaise edited comment on MINVOKER-166 at 6/26/14 1:03 PM:
-----------------------------------------------------------------------

Do you say it will fail on a pom artifact? Where you have packaging pom? If yes 
there is something wrong with your project configuration which is an other 
story...

Can you please remove the line
{code}
<mergeUserSettings>true</mergeUserSettings>
{code}
Just for checking it?


was (Author: khmarbaise):
Can you please remove the line
{code}
<mergeUserSettings>true</mergeUserSettings>
{code}
Just for checking it?

> Failing in relationship with Maven 3.2.2
> ----------------------------------------
>
>                 Key: MINVOKER-166
>                 URL: https://jira.codehaus.org/browse/MINVOKER-166
>             Project: Maven Invoker Plugin
>          Issue Type: Bug
>    Affects Versions: 1.8
>         Environment: Maven 3.2.2
>            Reporter: Karl-Heinz Marbaise
>            Priority: Blocker
>
> Message of Cody Fyler on the users list:
> I just update to 3.2.2 from 3.2.1 and am now getting the error below from the 
> maven-invoker-plugin. Using Java 1.8.20.
> {code}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-invoker-plugin:1.8:run (integration-test) on 
> project base-pom: Execution integration-test of goal 
> org.apache.maven.plugins:maven-invoker-plugin:1.8:run failed: An API 
> incompatibility was encountered while executing 
> org.apache.maven.plugins:maven-invoker-plugin:1.8:run: 
> java.lang.NoSuchMethodError: 
> org.apache.maven.settings.Settings.getRuntimeInfo()Lorg/apache/maven/settings/RuntimeInfo;
> {code}
> Here is the configuration from my pom.xml:
> {code:xml}
> <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-invoker-plugin</artifactId>
>         <version>1.8</version>
>         <inherited>false</inherited>
>         <executions>
>                 <execution>
>                         <id>pre-integration-test</id>
>                         <goals>
>                                 <goal>install</goal>
>                         </goals>
>                 </execution>
>                 <execution>
>                         <id>integration-test</id>
>                         <goals>
>                                 <goal>run</goal>
>                         </goals>
>                         <configuration>
>                                 <addTestClassPath>false</addTestClassPath>
>                                 
> <settingsFile>${basedir}/src/test/resources/settings.xml</settingsFile>
>                                 <cloneAllFiles>true</cloneAllFiles>
>                                 <cloneClean>true</cloneClean>
>                                 
> <cloneProjectsTo>${project.build.directory}/it/projects</cloneProjectsTo>
>                                 <mergeUserSettings>true</mergeUserSettings>
>                                 <parallelThreads>4</parallelThreads>
>                                 
> <projectsDirectory>${basedir}/src/test/resources/parent</projectsDirectory>
>                                 <properties>
>                                         
> <BUILD_NUMBER>${BUILD_NUMBER}</BUILD_NUMBER>
>                                         <dryRun>true</dryRun>
>                                         <jacoco>true</jacoco>
>                                         
> <jenkins.build.number>${BUILD_NUMBER}</jenkins.build.number>
>                                         
> <ignoreSnapshots>true</ignoreSnapshots>
>                                 </properties>
>                                 
> <pom>${basedir}/src/test/resources/parent/pom.xml</pom>
>                                 <showErrors>true</showErrors>
>                                 <showVersion>true</showVersion>
>                                 <streamLogs>true</streamLogs>
>                                 <debug>false</debug>
>                                 <goals>
>                                         <!--goal>clean</goal -->
>                                         <goal>install</goal>
>                                         <goal>sonar:sonar</goal>
>                                         <goal>release:prepare</goal>
>                                         <goal>release:perform</goal>
>                                 </goals>
>                         </configuration>
>                 </execution>
>         </executions>
>         <configuration>
>                 <filterProperties>
>                         <artifactory.host>something.com</artifactory.host>
>                 </filterProperties>
>                 
> <localRepositoryPath>${localRepositoryPath}</localRepositoryPath>
>         </configuration>
> </plugin>
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to