-
1. Re: Eclipse:eclipse settings for parent pom
pgier Mar 21, 2007 8:42 AM (in response to wolfc)Yes, I will add that to the parent. I put the parent in svn here because I didn't have a better place:
https://svn.labs.jboss.org/labs/jbossbuild/jboss-parent/trunk/
I'll take a look at the plugin and see if I can add the option to separate the test classes output. And maybe we can get that in the next release. -
2. Re: Eclipse:eclipse settings for parent pom
pgier Mar 21, 2007 4:55 PM (in response to wolfc)I added version 2-SNAPSHOT of the parent pom to the repository that includes the eclipse plugin configuration.
I also added a 1.1 version of the jboss-deploy plugin that will deploy all artifacts attached to a project (including aggregates). I added this to the pluginManagement section of the parent. This means that it is not enabled by default in the child poms. To enable the deploy plugin in child projects, you just have to reference it in the plugins section like this:<plugins> <plugin> <groupId>jboss.maven-plugins</groupId> <artifactId>jboss-deploy-maven-plugin</artifactId> </plugin> </plugins>
Or you can just copy the configuration from the parent. -
3. Re: Eclipse:eclipse settings for parent pom
wolfc Sep 19, 2007 4:01 AM (in response to wolfc)I'm seeing some classpath settings screwed up, because this got removed (see http://www.jboss.com/index.html?module=bb&op=viewtopic&t=105740).
But is it possible to include the eclipse profile in the parent? -
4. Re: Eclipse:eclipse settings for parent pom
wolfc Sep 19, 2007 5:11 AM (in response to wolfc)And we may need a custom eclipse to allow for:
<testOutputDirectory>target/eclipse-classes-tests</testOutputDirectory>
-
5. Re: Eclipse:eclipse settings for parent pom
pgier Sep 19, 2007 9:50 AM (in response to wolfc)"wolfc" wrote:
I'm seeing some classpath settings screwed up, because this got removed (see http://www.jboss.com/index.html?module=bb&op=viewtopic&t=105740).
But is it possible to include the eclipse profile in the parent?
I'd prefer not to put it in the parent, because then it may work for some projects, and not for others. Can you just add the configuration you need to the individual projects? -
6. Re: Eclipse:eclipse settings for parent pom
wolfc Sep 19, 2007 10:12 AM (in response to wolfc)I was just thinking of the profile, not the default config, so:
<profiles> <profile> <id>eclipse</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-eclipse-plugin</artifactId> <configuration> <downloadSources>true</downloadSources> <buildOutputDirectory>target/eclipse-classes</buildOutputDirectory> </configuration> </plugin> </plugins> </build> </profile> </profiles>
-
7. Re: Eclipse:eclipse settings for parent pom
pgier Sep 19, 2007 10:33 AM (in response to wolfc)Which project is the classpath getting messed up? javaee? The profile is already in the microcontainer parent. We can just add it to the parents of other projects as needed.
-
8. Re: Eclipse:eclipse settings for parent pom
wolfc Sep 19, 2007 11:03 AM (in response to wolfc)metadata project. I've already added the profile. If we can't think of a project that doesn't want the profile, it should be in the parent. Right?