You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by stéphane bouchet <St...@emn.fr> on 2005/07/07 12:21:10 UTC
error when generate .classpath file using eclipse plugin
Hi,
I am using maven 1.0.2 with JDK 1.5 and eclipse 3.1M6
i am trying to set up a multiproject and when i use 'maven eclipse' to generate
.classpath files, i got an error when i try to add an eclipse dependency.
I follow the described structure :
<dependency>
<groupId>MYAPP</groupId>
<artifactId>MYAPP-common</artifactId>
<version>SNAPSHOT</version>
<type>jar</type>
<properties>
<eclipse.dependency>true</eclipse.dependency>
</properties>
</dependency>
but when i look into the generated .classpath, i get an entry like :
<classpathentry kind="src" path="C:/MYAPP-common"></classpathentry>
rather than 'path="MYAPP-common'.
Can anyone help me ?
Stéphane
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: error when generate .classpath file using eclipse plugin
Posted by stéphane bouchet <St...@emn.fr>.
Hi
After looking at my properties file, i removed the line
maven.eclipse.classpath.include that caused the error.
But Now the project is not dependent.
when i launch maven eclipse, i got :
Tentative de téléchargement de MYAPP-common-SNAPSHOT.jar.
Response content length is not known
ATTENTION: Impossible de télécharger MYAPP-common-SNAPSHOT.jar.
BUILD FAILED
File...... C:\Documents and
Settings\sbouchet\.maven\cache\maven-multiproject-plugin-1.4.1\plugin.jelly
Element... maven:reactor
Line...... 218
Column.... 9
Le processus ne peut continuer à cause de la dépendance manquante suivante:
MYAPP-common-SNAPSHOT.jar
stéphane bouchet a écrit :
> Hi,
>
> I am using maven 1.0.2 with JDK 1.5 and eclipse 3.1M6
>
> i am trying to set up a multiproject and when i use 'maven eclipse' to
> generate .classpath files, i got an error when i try to add an eclipse
> dependency.
>
> I follow the described structure :
> <dependency>
> <groupId>MYAPP</groupId>
> <artifactId>MYAPP-common</artifactId>
> <version>SNAPSHOT</version>
> <type>jar</type>
> <properties>
> <eclipse.dependency>true</eclipse.dependency>
> </properties>
> </dependency>
>
> but when i look into the generated .classpath, i get an entry like :
>
> <classpathentry kind="src" path="C:/MYAPP-common"></classpathentry>
> rather than 'path="MYAPP-common'.
>
>
> Can anyone help me ?
>
>
>
> Stéphane
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org