Artifact has not been packaged yet

前端 未结 5 1889
天命终不由人
天命终不由人 2021-01-01 08:53

I am letting Maven copy some dependency files into a specific location for a GWT project. The maven-dependency-plugin does the job and so far it works. The only

5条回答
  •  灰色年华
    2021-01-01 09:42

    For those returning to this question, it may be useful to report seeing the same problem in Eclipse against maven-dependency-plugin version 2.8. This was in the package phase:

    Artifact has not been packaged yet. When used on reactor artifact, copy should be executed after packaging: see MDEP-187. (org.apache.maven.plugins:maven-dependency-plugin:2.8:copy:copy-proguard:package)

    In this case upgrading to 3.1.1 solved the problem:

    
        org.apache.maven.plugins
        maven-dependency-plugin
        3.1.1
        
            
                copy-proguard
                package
                
                    copy
                
                ...
    

提交回复
热议问题