Ludwig Magnusson wrote:

> Hello!
> 
> I know that the maven-eclipse-plugin somehow can figure out that a
> dependency actually exists as a project in workspace and therefore add
> that project to the build path instead of trying to download a jar-file
> from a remote repository.
> 
> My question is:
> 
> Is this possible for any dependency or just multi-module-projects?
> 
>  
> 
> In my case, the project is NOT multi-module.

Only multi-module. However, it is easy to use a dummy project (name it 
dummy.pom) just for this purpose:

========= %< =========
<project>
  <groupId>dummy</groupId>
  <artifactId>dummy-eclipse</artifactId>
  <version>SNAPSHOT</version>
  <packaging>pom</packaging>
  <modules>
    <module>project1</module>
    <module>c:/src/project2</module>
    <module>../../project3</module>
  </modules>
</project>
========= %< =========

mvn ecliplse:eclipse -f dummy.pom

- Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to