Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Best practices for including resources outside of project base directory [Cont'd]

My piece of advice is to restructure your project in such way that including resources from external directories is no longer necessary.
It's beneficial in the long run, because your build will be simpler and less confusing, easier to maintain and less likely to break in the future.
That's a lesson I've learned the hard way over the years of using Maven :)


On 06/25/2012 04:44 PM, Collin Peters wrote:
Hi all,

I asked a question last October (here regarding a warning I was getting that a directory reference to be included in the WAR was "outside of project base directory".   The exact warning is 'Access "/home/collin/code/connector/webapp/../sql" directory outside of project base directory'

In that response Fred pointed me to a sample test in the m2e-wtp which is similar.  I have changed my syntax as such as still get a warning.  To be clear, everything works, this is just an annoyance of a warning that is always visible in Eclipse.

I am wondering if there is anything else on this topic?  Is there any way to suppress this warning?

Collin Peters
(206) 855-6656 (Direct Line)

m2e-users mailing list

Back to the top