Skip to content

Instantly share code, notes, and snippets.

@steinim
Created September 5, 2011 13:27
Show Gist options
  • Save steinim/1194987 to your computer and use it in GitHub Desktop.
Save steinim/1194987 to your computer and use it in GitHub Desktop.
Inkludering av bakdør ved bruk av profilen 'dev' - jetty-maven-plugin
...
<build>
...
<plugins>
...
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<configuration>
...
<scanIntervalSeconds>10</scanIntervalSeconds>
<webAppConfig>
<descriptor>${project.build.directory}/dpost-web/WEB-INF/web.xml</descriptor>
</webAppConfig>
...
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<filteringDeploymentDescriptors>true</filteringDeploymentDescriptors>
<packagingExcludes>${war.packaging.excludes}</packagingExcludes>
</configuration>
</plugin>
...
</plugins>
...
</build>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment