[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [m2e-users] build-helper-maven-plugin and add source support in m2e
|
On Tue, Dec 20, 2011 at 8:17 PM, Igor Fedorenko <igor@xxxxxxxxxxxxxx> wrote:
> m2e 1.0+ does not support source and resource folders outside of project
> basedir.
Okay - thanks for the information :)
Is there any work-around? Or reason why support was ceased? Any plans
to re-add support for resource folders outside of the base dir?
Thanks :)
Best,
Raphael
>
> --
> Regards,
> Igor
>
>
> On 11-12-20 2:14 PM, Raphael André Bauer wrote:
>>
>> Hi,
>>
>>
>> I am using the build-helper-maven-plugin to integrate sources that are
>> outside of the current pom.xml project. I know it's not the best
>> practise, but that's the way it is now.
>>
>> The source nicely compiles on the command line,
>>
>> But m2e has problems making the source available in eclipse.
>>
>> The error message is:
>> Access "/Users/me/workspace/project/gwt/../play/app" directory outside
>> of project base directory.
>>
>> (org.apache.maven.plugins:maven-resources-plugin:2.5:resources:default-resources:process-resources)
>>
>> (Plugin configuration is at the bottom.)
>>
>> Any ideas how to integrate that? I am not sure - but if I am not
>> completely wrong that worked in an older version of m2e.
>>
>> My specs:
>> m2e - Maven Integration for
>> Eclipse 1.0.100.20110804-1717 org.eclipse.m2e.feature.feature.group
>> Eclipse.org
>> - m2e
>> m2e connector for
>> build-helper-maven-plugin 0.14.0.201109282148
>> org.sonatype.m2e.buildhelper.feature.feature.group Sonatype,
>> Inc.
>>
>> Thanks a lot :)
>>
>>
>> Best,
>>
>>
>> Raphael
>>
>>
>> <plugin>
>> <groupId>org.codehaus.mojo</groupId>
>> <artifactId>build-helper-maven-plugin</artifactId>
>> <version>1.7</version>
>> <executions>
>> <execution>
>> <id>add-source</id>
>> <phase>generate-sources</phase>
>> <goals>
>> <goal>add-source</goal>
>> </goals>
>> <configuration>
>> <sources>
>> <source>../play/app/shared</source>
>> </sources>
>> </configuration>
>> </execution>
>> </executions>
>> </plugin>
>> </plugins>
>> _______________________________________________
>> m2e-users mailing list
>> m2e-users@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/m2e-users
>
> _______________________________________________
> m2e-users mailing list
> m2e-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/m2e-users
--
inc: http://ars-machina.raphaelbauer.com
tech: http://ars-codia.raphaelbauer.com
web: http://raphaelbauer.com