You can use the build-helper-maven-plugin to add additional source folders.
e.g. <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>1.3</version> <executions> <execution> <id>add-source</id> <phase>generate-sources</phase> <goals> <goal>add-source</goal> </goals> <configuration> <sources> <source>target/generated-sources/generated</source> </sources> </configuration> </execution> </executions> </plugin> with regards, harald -----Ursprüngliche Nachricht----- Von: tbar0711 [mailto:thomas.bart...@kaufland.de] Gesendet: Dienstag, 6. Oktober 2009 17:45 An: users@maven.apache.org Betreff: Maven2 Pom Configuration Hi there, I actually have 2 Maven Projects in Eclipse. The one contains JUnit Tests (let's call it Test). The other (let's call it Core) contains session beans, entities etc. (everything that has to be tested by the JUnit Tests). In my Test project I have added a source folder named bootstrap to the build path. Also I have got a user library with some jars. In my build path I have defined a reference to the Core project (required project on the build path in Projects). All tests are successful (green). Everything's all right. Now I don't want to use my user library any more. I want to realize it via Maven Dependencies. I already put the jars as Maven Dependencies into my pom file and they are all available. If I start my JUnit tests with mvn test within my console I get some errors. The reason for this I think is that I have to inform Maven about my source folder bootstrap and the reference to the Core project. Exactly this is my problem. What I have to write into my pom file to inform Maven about my source folder and the reference to the Core project? Thanks in advance. Kindly regards Tom -- View this message in context: http://www.nabble.com/Maven2-Pom-Configuration-tp25771284p25771284.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org