[mevenide-user] Mevenide, Netbeans and Problem with Custom warSourceDirectory Setting
Josh <[email protected]> Sun, 14 Sep 2008 11:08:55 -0400
| Newsgroups | gmane.comp.jakarta.turbine.maven.mevenide.user |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_9316_2636952.1221404935508
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hello -
I've configured the maven-war-plugin to override the warSourceDirectory
to use a folder named "WebContent" rather than the default src/main/webapp.
This is because we have code checked into SVN that is oriented toward an
eclipse wtp-based project structure. However - currently, we're evaluating
netbeans and the mevenide plugin and we're having problems getting the
plugin to recoginize this overridden setting. The command line build works
fine. However, meven-ide does not show the files in the "Web Files" section
of the projects view. As a result, I can't create new source code files.
Any ideas?
Here's a quick summary of our config and problem (in a less wordy format):
1. Netbean 6.1
2. Meven IDE (latest version as of last week).
3. Superpom that configured such that "warSourceDirectory" is a non-standard
folder.
4. Maven project (with artifactType of 'war') that references the superpom.
Problem:
MevenIde will not recognize the warSourceDirectory thus disallowing us to
create new web files (it assume 'src/main/webapp', which won't work for us).
Thanks!
Josh
------=_Part_9316_2636952.1221404935508
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
<div dir="ltr">Hello - <br><br> I've configured the maven-war-plugin to override the warSourceDirectory to use a folder named "WebContent" rather than the default src/main/webapp. This is because we have code checked into SVN that is oriented toward an eclipse wtp-based project structure. However - currently, we're evaluating netbeans and the mevenide plugin and we're having problems getting the plugin to recoginize this overridden setting. The command line build works fine. However, meven-ide does not show the files in the "Web Files" section of the projects view. As a result, I can't create new source code files. Any ideas?<br>
<br>Here's a quick summary of our config and problem (in a less wordy format):<br><br>1. Netbean 6.1<br>2. Meven IDE (latest version as of last week).<br>3. Superpom that configured such that "warSourceDirectory" is a non-standard folder.<br>
4. Maven project (with artifactType of 'war') that references the superpom.<br><br>Problem:<br><br>MevenIde will not recognize the warSourceDirectory thus disallowing us to create new web files (it assume 'src/main/webapp', which won't work for us). <br>
<br>Thanks!<br><br>Josh<br></div>
------=_Part_9316_2636952.1221404935508--