Details
Description
Upon generation of a struts2 portlet project via the archetype(struts2-archetype-portlet) i Have the following in my pom
<plugin> <groupId>org.mortbay.jetty</groupId> <artifactId>maven-jetty-plugin</artifactId> <version>6.1.21</version> <configuration> <webXml>/Users/lukaszlenart/Projects/Apache/STRUTS_2_3_8/archetypes/struts2-archetype-portlet/target/pluto-resources/web.xml</webXml> <webAppConfig> <contextPath>/struts2-archetype-portlet</contextPath> <defaultsDescriptor>/WEB-INF/jetty-pluto-web-default.xml</defaultsDescriptor> </webAppConfig> <systemProperties> <systemProperty> <name>org.apache.pluto.embedded.portletIds</name> <value>HelloPortlet</value> </systemProperty> </systemProperties> <scanIntervalSeconds>10</scanIntervalSeconds> <scanTargets> <scanTarget>src/main/webapp/WEB-INF</scanTarget> <scanTarget>src/main/webapp/WEB-INF/web.xml</scanTarget> <scanTarget>src/main/resources/struts.xml</scanTarget> </scanTargets> </configuration> <dependencies> <dependency> <groupId>com.bekk.boss</groupId> <artifactId>maven-jetty-pluto-embedded</artifactId> <version>1.0.1</version> </dependency> </dependencies> </plugin>
The major point is that it still makes reference to the file on your system , and package names still remain as ${package} in the source files.