Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:java (default-cli)

后端 未结 5 1286
感动是毒
感动是毒 2020-12-10 09:59

Im working on Smooks - Camel Integration.Im stuck with an error.The Build Fails when I try to Run it using mvn exec:java


5条回答
  •  爱一瞬间的悲伤
    2020-12-10 11:02

    Your problem is that you have declare twice the exec-maven-plugin :

    
        org.codehaus.mojo
        exec-maven-plugin
        1.2.1
        
            
                
                    java
                
            
        
        
            C:\apache-camel-2.11.0\examples\camel-example-smooks-  
          integration\src\main\java\example\Main< /mainClass>
        
    
    

    ...

    < plugin>
        < groupId>org.codehaus.mojo
        < artifactId>exec-maven-plugin
        < version>1.2
    < /plugin>
    

提交回复
热议问题