This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
<build> | |
... | |
<plugins> | |
... | |
<plugin> | |
<artifactId>maven-war-plugin</artifactId> | |
<configuration> | |
<filteringDeploymentDescriptors>true</filteringDeploymentDescriptors> | |
<packagingExcludes>${war.packaging.excludes}</packagingExcludes> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
<!-- Filters --> | |
<filter> | |
<filter-name>...</filter-name> | |
<filter-class>...</filter-class> | |
</filter> | |
... | |
${backdoor.filter} | |
... | |
<!-- Filter mappings --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
<build> | |
... | |
<plugins> | |
... | |
<plugin> | |
<groupId>org.mortbay.jetty</groupId> | |
<artifactId>jetty-maven-plugin</artifactId> | |
<configuration> | |
... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<profile> | |
<id>slowTask</id> | |
<activation> | |
<property> | |
<name>!skipSlowTask</name> | |
</property> | |
</activation> | |
<build> | |
<plugins> | |
<plugin> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@IfProfileValue(name = "integration", value = "true") | |
@RunWith(SpringJUnit4ClassRunner.class) | |
@ContextConfiguration(locations = { "/applicationContext-itest.xml" }) | |
public class MyIntegrationTest { | |
... | |
@Test | |
public void is_this_integration_test_working() { | |
... | |
} | |
... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<properties> | |
<integration>true</integration> | |
... | |
</properties> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@IfProfileValue(name = "slowtests", value = "true") | |
@RunWith(SpringJUnit4ClassRunner.class) | |
@ContextConfiguration(locations = { "/applicationContext-itest.xml" }) | |
public class MySlowIntegrationTest { | |
... | |
@Test | |
public void is_this_slowtest_working() { | |
... | |
} | |
... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
<profiles> | |
... | |
<profile> | |
<id>test-data-creator</id> | |
<activation> | |
<property> | |
<name>!skip.test-data</name> | |
</property> | |
</activation> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
repo_dirs=$( ls -d1 $@ ) | |
for repo_dir in ${repo_dirs[@]} | |
do | |
cd $repo_dir | |
echo "checking if $repo_dir is a git repo" | |
if [[ -d .git ]] | |
then | |
echo "Garbage collecting $repo_dir" | |
git gc |
OlderNewer