I was afraid of that.
I eventually manhandled the plugin in my pom.xml files that had pom
packaging to get the .project files, but it doesn't feel right:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<configuration>
<packaging>jar</packaging>
</configuration>
</plugin>
In the end it was a pyrrhic victory. I was hoping to use the eclipse
Import...->Existing Projects into Workspace, but it stops recursing once it
finds a folder with a .project file--which is not terribly useful for a
multi-module projects with many component and sub-component parent poms.
Thanks for the response,
Jim
Arnaud HERITIER wrote:
>
> The plugin doesn't support it.
> I think there's a an issue already opened about that.
> You can vote for it.
>
> It is supported by m2eclipse or Q4E.
>
> Cheers,
>
> Arnaud Héritier
> Software Factory Manager
> eXo platform - http://www.exoplatform.com
> ---
> http://www.aheritier.net
>
>
> On Thu, Nov 5, 2009 at 5:39 PM, james.w.jackson <
> [email protected]> wrote:
>
>>
>> I'm using maven 2.2.1 and maven-eclipse-plugin 2.7 with a multi-module
>> project.
>>
>> When I run 'mvn eclipse:eclipse' in the multi-module project, it doesn't
>> generate .project eclipse files for the projects that are marked as
>> <packaging>pom</packaging>.
>>
>> How can I configure the plugin to generate .project files for projects
>> that
>> have the pom packaging?
>>
>> Thanks,
>> Jim
>> --
>> View this message in context:
>> http://old.nabble.com/maven-eclipse-plugin-configuration-for-pom-packaging-tp26215800p26215800.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
>
--
View this message in context:
http://old.nabble.com/maven-eclipse-plugin-configuration-for-pom-packaging-tp26215800p26222157.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]