Thanks, I know it is bad practice but it is possible with mvn so I would have expected to be comptabible with m2e.
I will try to find a way to get this done in another way as I'm having some android issue because of this ;) Thanks for the very quick answer. Benoit Billington On Mon, Feb 6, 2012 at 20:07, Igor Fedorenko <[email protected]> wrote: > This is expected. Resources outside of project basedir are considered a > bad practice and are not supported by m2e. There is an outstanding > bugreport [1] about this which I plan to address by adding better error > marker. > > [1] > https://bugs.eclipse.org/bugs/**show_bug.cgi?id=361824<https://bugs.eclipse.org/bugs/show_bug.cgi?id=361824> > > -- > Regards, > Igor > > > On 12-02-06 1:13 PM, Benoit Billington wrote: > >> Hello, >> >> I would like to know if it is normal not to have the external resource >> added to my classpath >> >> >> pom: >> <build> >> <resources> >> <resource> >> <directory>src/main/resources<**/directory> >> <includes> >> <include>**</include> >> </includes> >> </resource> >> <resource> >> <directory>${basedir}/../**chamarade-endpoint/src/main/** >> resources</directory> >> <includes> >> <include>**/*.properties</**include> >> </includes> >> <excludes> >> <exclude>META-INF/**</exclude> >> </excludes> >> </resource> >> </resources> >> .... >> >> >> classpath >> <?xml version="1.0" encoding="UTF-8"?> >> <classpath> >> <classpathentry kind="src" output="target/classes" path="src/main/java"/> >> <classpathentry excluding="**" kind="src" output="target/classes" >> path="src/main/resources"/> >> <classpathentry kind="src" output="target/test-classes" >> path="src/test/java"/> >> <classpathentry kind="con" >> path="org.eclipse.jdt.**launching.JRE_CONTAINER/org.** >> eclipse.jdt.internal.debug.ui.**launcher.StandardVMType/**JavaSE-1.6"/> >> <classpathentry kind="con" >> path="org.eclipse.m2e.MAVEN2_**CLASSPATH_CONTAINER"/> >> <classpathentry kind="output" path="target/classes"/> >> </classpath> >> >> >> Thanks >> >> Benoit Billington >> >> >> >> ______________________________**_________________ >> m2e-users mailing list >> [email protected] >> https://dev.eclipse.org/**mailman/listinfo/m2e-users<https://dev.eclipse.org/mailman/listinfo/m2e-users> >> > ______________________________**_________________ > m2e-users mailing list > [email protected] > https://dev.eclipse.org/**mailman/listinfo/m2e-users<https://dev.eclipse.org/mailman/listinfo/m2e-users> >
_______________________________________________ m2e-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/m2e-users
