Skip to content

Instantly share code, notes, and snippets.

@KengoTODA
Created September 4, 2012 04:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KengoTODA/3616511 to your computer and use it in GitHub Desktop.
Save KengoTODA/3616511 to your computer and use it in GitHub Desktop.
To explain how I use profile to avoid problem of FindBugs plugin
<profiles>
<profile>
<id>release</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<properties>
<maven.test.skip>true</maven.test.skip>
</properties>
<build>
<resources>
<resource>
<directory>src/main/meta</directory>
<includes>
<include>findbugs.xml</include>
<include>messages.xml</include>
<include>bugrank.txt</include>
</includes>
</resource>
</resources>
</build>
</profile>
</profiles>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment