maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From emerson <echofloripa.y...@gmail.com>
Subject Re: Maven generating invalid eclipse projects
Date Wed, 13 Oct 2010 12:35:03 GMT
> The first step is to run eclipse:eclipse
>
> Then copy the generated files somewhere.
>
> The second step is to manually fix eclipse so that it is how you expect it.
>
> Then copy those files somewhere.
>
> Compare the two and file a bug report
> http://maven.apache.org/plugins/maven-eclipse-plugin/
>
> Better yet, download the source, run a new integration test and then a
> fix for the problem before you submit the bug report.
>
> A lot of people are moving to m2eclipse http://m2eclipse.sonatype.org/.
> There are only a few developers looking at m-e-p.
>

Does the m2eclipse creates eclipse config from the pom, ina
multi-module configuration?

regards
Emerson

On 12 October 2010 07:23, Barrie Treloar <baerrach@gmail.com> wrote:
> On Mon, Oct 11, 2010 at 10:00 PM, emerson <echofloripa.yell@gmail.com> wrote:
>> Hi
>>
>> I configured a integration test only project, in a way that every
>> module uses a configuration that is stored in the parent folder.
>> I implemented this way:
>>
>> In the parent pom (in the root of the tree):
>>
>>     <properties>
>>      <envType>local</envType> <!-- Default Environment value -->
>>      <envProps>../autotestProperties/</envProps>
>>    </properties>
>>        <build>
>>    <resources>
>>      <resource>
>>        <directory>${envProps}/resources</directory>
>>        <filtering>true</filtering>
>>      </resource>
>>    </resources>
>>    <filters>
>>        <filter>${envProps}/env/${envType}.properties</filter>
>>    </filters>
>>
>> Then each module will get the generated configuration at the classpath.
>>
>> As far as maven goes, it works fine, but when I generate the
>> correspondent eclipse project, it tries to add the resource entry, but
>> all it gets is a incorrect build path entry:
>>
>> "Build path entry is missing:
>> home/emerson/workspace/trunk/autotests/autotestProperties/resources"
>>
>> Is there anyway to stop eclipse from trying to create this entry?
>>
>> The normal use of this will be for the developers and qa to create the
>> project structure using  "maven eclipse:eclipse install -DskipTests"
>> once via maven and then run the tests straight from eclipse.
>

> ---------------------------------------------------------------------
> 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


Mime
View raw message