[mevenide-user] Web project with Maven and multiple sources
"Marek Nowicki" <[email protected]> Thu, 21 Feb 2008 17:03:42 +0100
| Newsgroups | gmane.comp.jakarta.turbine.maven.mevenide.user |
|---|---|
| Message-ID | <[email protected]> |
Hello,
I'm creating web project with maven in NetBeans 6.0 (with integrated
mevenide v3.0.10).
Everything was ok, but one of directories should be moved from
src/main/java to src/jaxb/java.
I have added to pom.xml that code:
--- CUT ---
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>src/jaxb/java/</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
--- CUT ---
When I'm compiling/building/starting application it works great, but when
editing IDE shows errors (eg. cannot import aurochs.aml.User which is in
src/jaxb/java folder).
I also don't have "Source Packages" with files from src/jaxb/java.
When I add plugin "org.apache.maven.plugins" to specify where "Web Pages"
is stored, NetBeans added that folder to Project Preview.
How can I resolve that problem? How can I tell NetBeans to use in editing
also directory from plugin (without that the editor?
I'm using newest version of NetBeans (6.0.1) and plugins - yesterday I
have downloaded updates.
regards,
Marek
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email