aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-server-benchmarks/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-server-benchmarks/pom.xml')
-rw-r--r--server/sonar-server-benchmarks/pom.xml34
1 files changed, 34 insertions, 0 deletions
diff --git a/server/sonar-server-benchmarks/pom.xml b/server/sonar-server-benchmarks/pom.xml
index 47a150f4cd6..c148e190b78 100644
--- a/server/sonar-server-benchmarks/pom.xml
+++ b/server/sonar-server-benchmarks/pom.xml
@@ -97,5 +97,39 @@
<skipBenchmarks>false</skipBenchmarks>
</properties>
</profile>
+ <profile>
+ <id>release</id>
+ <activation><activeByDefault>false</activeByDefault></activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>empty-javadoc-jar</id>
+ <phase>package</phase>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ <configuration>
+ <classifier>javadoc</classifier>
+ </configuration>
+ </execution>
+ <execution>
+ <id>empty-sources-jar</id>
+ <phase>package</phase>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ <configuration>
+ <classifier>sources</classifier>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>