maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wayne Fay <wayne...@gmail.com>
Subject Re: Is there a way to change the webapp directory name?
Date Thu, 22 Apr 2010 06:43:18 GMT
> directories. The JDeveloper plugin reads the java source directory from the
> sourceDirectory element in the pom.xml file but there is no element for the
> webapp directory.

As I said previously... it sounds like you will need to add this
feature to the maven-jdev-plugin. Get the source code, add the
feature, and submit a patch to Myfaces/Trinidad so they might include
your addition in a future release.

Here's the source:
http://svn.apache.org/repos/asf/myfaces/trinidad-maven/trunk/maven-jdev-plugin

If you look at JDeveloperMojo.java file, you'll see they are
definitely NOT reading the webapp config:
      // TODO: read configuration for war:war goal
      File webappDir = new File(project.getBasedir(), "src/main/webapp");
      // TODO: read configuration for compiler:complie goal
      File outputDir =
        new File(project.getBuild().getDirectory(), "classes");

This is not something this email list can help you with. Please go
talk to the Myfaces/Trinidad people.

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message