NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
stimpy Posted via mailing list.
|
Posted: Tue Jun 07, 2011 1:53 am Post subject: Netbeans 7.0 RC2 & Maven Dependency Resolution Issue |
|
|
Jason
This may be a little late but I had problems getting genrated code to show
in NB 7.0 until I remembered to add the following to my POM
<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>${basedir}/target/generated/src/main/java</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
FWIW...
This fixed my class resolution problems which resulted from "invisible"
generated code .
--
View this message in context: http://netbeans-org.1045718.n5.nabble.com/Netbeans-7-0-RC2-Maven-Dependency-Resolution-Issue-tp4345312p4460311.html
Sent from the Netbeans IDE Users mailing list archive at Nabble.com. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|