Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-users] Dependency Plugin - Artifact has not been packaged yet.

In Eclipse Luna, the m2e plugin is complaining about my use of the dependency plugin.

 

<plugin>

               <groupId>org.apache.maven.plugins</groupId>

               <artifactId>maven-dependency-plugin</artifactId>

               <version>2.8</version>

               <executions>

                              <execution>

                                             <goals>

                                                            <goal>copy</goal>

                                             </goals>

                                             <configuration>

                                                            <artifactItems>

                                                                           <artifactItem>

                                                                                          <groupId>com.orci.VATVD.db</groupId>

                                                                                          <artifactId>database</artifactId>

                                                                                          <outputDirectory>${project.build.directory}/VATVD-DGListener-${project.version}</outputDirectory>

                                                                                          <destFileName>VATVD-Database-${project.version}.jar</destFileName>

                                                                           </artifactItem>

                                                            </artifactItems>

                                             </configuration>

                              </execution>

               </executions>

</plugin>

 

The full message I’m getting is as follows:

 

“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:default:process-sources)”

 

This seems to be a problem with the resolution in the plugin and not with my POM.  Any suggestions on getting around this?




This email communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed.
If you are not the intended recipient, please delete this email immediately.

Back to the top