jira-importer opened a new issue, #333:
URL: https://github.com/apache/maven-install-plugin/issues/333

   **[Karl Heinz 
Marbaise](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=khmarbaise)**
 opened 
**[MINSTALL-204](https://issues.apache.org/jira/browse/MINSTALL-204?redirect=false)**
 and commented
   
   Just try to use the maven-install-plugin version 4.0.0-beta-1 with Maven 
4.0.0-beta-4 fails with the following:
   
   ```
   [INFO] 
--------------------------------------------------------------------------------------------------------------------------
   [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-install-plugin:4.0.0-beta-1:install 
(default-install) on project maven-buch: Execution default-install of goal 
org.apache.maven.plugins:maven-install-plugin:4.0.0-beta-1:install failed: An 
API incompatibility was encountered while executing 
org.apache.maven.plugins:maven-install-plugin:4.0.0-beta-1:install: 
java.lang.NoSuchMethodError: 'org.apache.maven.api.Artifact 
org.apache.maven.api.Project.getPomArtifact()'
   [ERROR] -----------------------------------------------------
   [ERROR] realm =    
plugin>org.apache.maven.plugins:maven-install-plugin:4.0.0-beta-1
   [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
   [ERROR] urls[0] = 
file:/Users/khm/.m2/repository/org/apache/maven/plugins/maven-install-plugin/4.0.0-beta-1/maven-install-plugin-4.0.0-beta-1.jar
   [ERROR] urls[1] = 
file:/Users/khm/.m2/repository/org/apache/maven/plugin-tools/maven-plugin-annotations/4.0.0-beta-1/maven-plugin-annotations-4.0.0-beta-1.jar
   [ERROR] Number of foreign imports: 1
   [ERROR] import: Entry[import  from realm ClassRealm[maven.api.v4, parent: 
null]]
   [ERROR] 
   [ERROR] -----------------------------------------------------
   [ERROR] 
   [ERROR] -> [Help 1]
   [ERROR] 
   [ERROR] To see the full stack trace of the errors, re-run Maven with the 
'-e' switch
   [ERROR] Re-run Maven using the '-X' switch to enable verbose output
   [ERROR] 
   
   ```
   
   
   
   ---
   
   **Affects:** 4.0.0-beta-1
   
   **Issue Links:**
   - [MINSTALL-208](https://issues.apache.org/jira/browse/MINSTALL-208) Upgrade 
to Maven 4.0.0-rc-2
    (_**"is fixed by"**_)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to