|
12 | 12 | <artifactId>oncrpc4j-benchmarks</artifactId>
|
13 | 13 | <packaging>jar</packaging>
|
14 | 14 |
|
15 |
| - <profiles> |
16 |
| - <profile> |
17 |
| - <id>benchmark</id> |
18 |
| - <build> |
19 |
| - <plugins> |
20 |
| - <plugin> |
21 |
| - <groupId>org.codehaus.mojo</groupId> |
22 |
| - <artifactId>exec-maven-plugin</artifactId> |
23 |
| - <executions> |
24 |
| - <execution> |
25 |
| - <goals> |
26 |
| - <goal>exec</goal> |
27 |
| - </goals> |
28 |
| - <phase>integration-test</phase> |
29 |
| - </execution> |
30 |
| - </executions> |
31 |
| - <configuration> |
32 |
| - <executable>java</executable> |
33 |
| - <classpathScope>test</classpathScope> |
34 |
| - <arguments> |
35 |
| - <argument>-classpath</argument> |
36 |
| - <classpath /> |
37 |
| - <argument>org.dcache.oncrpc4j.benchmarks.BenchmarkRunner</argument> |
38 |
| - <argument>.*</argument> |
39 |
| - </arguments> |
40 |
| - </configuration> |
41 |
| - </plugin> |
42 |
| - </plugins> |
43 |
| - </build> |
44 |
| - </profile> |
45 |
| - </profiles> |
46 |
| - |
47 | 15 | <!--
|
48 | 16 | EXTERNAL DEPENDENCIES
|
49 | 17 | -->
|
|
75 | 43 | <artifactId>oncrpc4j-core</artifactId>
|
76 | 44 | <version>${project.version}</version>
|
77 | 45 | </dependency>
|
| 46 | + <dependency> |
| 47 | + <groupId>org.slf4j</groupId> |
| 48 | + <artifactId>slf4j-nop</artifactId> |
| 49 | + <version>1.7.36</version> |
| 50 | + </dependency> |
78 | 51 |
|
79 | 52 | </dependencies>
|
80 | 53 |
|
| 54 | + <build> |
| 55 | + <plugins> |
| 56 | + <plugin> |
| 57 | + <groupId>org.apache.maven.plugins</groupId> |
| 58 | + <artifactId>maven-shade-plugin</artifactId> |
| 59 | + <version>3.3.0</version> |
| 60 | + <executions> |
| 61 | + <execution> |
| 62 | + <phase>package</phase> |
| 63 | + <goals> |
| 64 | + <goal>shade</goal> |
| 65 | + </goals> |
| 66 | + <configuration> |
| 67 | + <transformers> |
| 68 | + <transformer |
| 69 | + implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| 70 | + <mainClass>org.openjdk.jmh.Main</mainClass> |
| 71 | + </transformer> |
| 72 | + <transformer |
| 73 | + implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> |
| 74 | + </transformers> |
| 75 | + <filters> |
| 76 | + <filter> |
| 77 | + <!-- |
| 78 | + Shading signed JARs will fail without this. |
| 79 | + http://stackoverflow.com/questions/999489/invalid-signature-file-when-attempting-to-run-a-jar |
| 80 | + --> |
| 81 | + <artifact>*:*</artifact> |
| 82 | + <excludes> |
| 83 | + <exclude>META-INF/*.SF</exclude> |
| 84 | + <exclude>META-INF/*.DSA</exclude> |
| 85 | + <exclude>META-INF/*.RSA</exclude> |
| 86 | + </excludes> |
| 87 | + </filter> |
| 88 | + </filters> |
| 89 | + </configuration> |
| 90 | + </execution> |
| 91 | + </executions> |
| 92 | + </plugin> |
| 93 | + </plugins> |
| 94 | + </build> |
81 | 95 | </project>
|
0 commit comments