Skip to content

Instantly share code, notes, and snippets.

View steinim's full-sized avatar

Stein Inge Morisbak steinim

View GitHub Profile
@steinim
steinim / pom.xml
Created September 11, 2011 08:50
Integration property set to true in parent pom
<properties>
<integration>true</integration>
...
</properties>
@steinim
steinim / pom.xml
Created September 11, 2011 08:51
Surefire plugin configured for running integration tests
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>true</skip>
<argLine>${commandLineArgs}</argLine>
</configuration>
<executions>
<execution>
<id>unit-test</id>
@steinim
steinim / web.xml
Created September 5, 2011 13:11
Inkludering av bakdør ved bruk av profilen 'dev' - web.xml
...
<!-- Filters -->
<filter>
<filter-name>...</filter-name>
<filter-class>...</filter-class>
</filter>
...
${backdoor.filter}
...
<!-- Filter mappings -->
@steinim
steinim / pom.xml
Created September 5, 2011 12:51
Inkludering av bakdør ved bruk av profilen 'dev'
...
<build>
...
<plugins>
...
<plugin>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<filteringDeploymentDescriptors>true</filteringDeploymentDescriptors>
<packagingExcludes>${war.packaging.excludes}</packagingExcludes>
@steinim
steinim / pom.xml
Created September 5, 2011 13:27
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>
...