|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
3 |
| - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
4 | 4 |
|
5 |
| - <modelVersion>4.0.0</modelVersion> |
| 5 | + <modelVersion>4.0.0</modelVersion> |
6 | 6 |
|
7 |
| - <parent> |
8 |
| - <groupId>org.springframework.data</groupId> |
9 |
| - <artifactId>spring-data-mongodb-parent</artifactId> |
10 |
| - <version>2.0.0.BUILD-SNAPSHOT</version> |
11 |
| - <relativePath>../pom.xml</relativePath> |
12 |
| - </parent> |
| 7 | + <parent> |
| 8 | + <groupId>org.springframework.data</groupId> |
| 9 | + <artifactId>spring-data-mongodb-parent</artifactId> |
| 10 | + <version>2.0.0.BUILD-SNAPSHOT</version> |
| 11 | + <relativePath>../pom.xml</relativePath> |
| 12 | + </parent> |
13 | 13 |
|
14 |
| - <artifactId>spring-data-mongodb-benchmarks</artifactId> |
15 |
| - <packaging>jar</packaging> |
| 14 | + <artifactId>spring-data-mongodb-benchmarks</artifactId> |
| 15 | + <packaging>jar</packaging> |
16 | 16 |
|
17 |
| - <name>Spring Data MongoDB - Microbenchmarks</name> |
| 17 | + <name>Spring Data MongoDB - Microbenchmarks</name> |
18 | 18 |
|
19 |
| - <properties> |
20 |
| - <skipTests>true</skipTests> <!-- Skip tests by default; run only if -DskipTests=false is specified or benchmarks profile is activated --> |
21 |
| - <bundlor.enabled>false</bundlor.enabled> |
22 |
| - </properties> |
| 19 | + <properties> |
| 20 | + <!-- Skip tests by default; run only if -DskipTests=false is specified or benchmarks profile is activated --> |
| 21 | + <skipTests>true</skipTests> |
| 22 | + </properties> |
23 | 23 |
|
24 |
| - <dependencies> |
25 |
| - <dependency> |
26 |
| - <groupId>${project.groupId}</groupId> |
27 |
| - <artifactId>spring-data-mongodb</artifactId> |
28 |
| - <version>${project.version}</version> |
29 |
| - </dependency> |
30 |
| - <dependency> |
31 |
| - <groupId>junit</groupId> |
32 |
| - <artifactId>junit</artifactId> |
33 |
| - <version>${junit}</version> |
34 |
| - <scope>compile</scope> |
35 |
| - </dependency> |
36 |
| - <dependency> |
37 |
| - <groupId>org.openjdk.jmh</groupId> |
38 |
| - <artifactId>jmh-core</artifactId> |
39 |
| - <version>${jmh.version}</version> |
40 |
| - </dependency> |
41 |
| - <dependency> |
42 |
| - <groupId>org.openjdk.jmh</groupId> |
43 |
| - <artifactId>jmh-generator-annprocess</artifactId> |
44 |
| - <version>${jmh.version}</version> |
45 |
| - <scope>provided</scope> |
46 |
| - </dependency> |
47 |
| - </dependencies> |
| 24 | + <dependencies> |
48 | 25 |
|
49 |
| - <profiles> |
| 26 | + <dependency> |
| 27 | + <groupId>${project.groupId}</groupId> |
| 28 | + <artifactId>spring-data-mongodb</artifactId> |
| 29 | + <version>${project.version}</version> |
| 30 | + </dependency> |
50 | 31 |
|
51 |
| - <profile> |
52 |
| - <id>benchmarks</id> |
53 |
| - <properties> |
54 |
| - <skipTests>false</skipTests> |
55 |
| - </properties> |
56 |
| - </profile> |
57 |
| - </profiles> |
| 32 | + <dependency> |
| 33 | + <groupId>junit</groupId> |
| 34 | + <artifactId>junit</artifactId> |
| 35 | + <version>${junit}</version> |
| 36 | + <scope>compile</scope> |
| 37 | + </dependency> |
58 | 38 |
|
59 |
| - <build> |
60 |
| - <plugins> |
61 |
| - <plugin> |
62 |
| - <artifactId>maven-jar-plugin</artifactId> |
63 |
| - <executions> |
64 |
| - <execution> |
65 |
| - <id>default-jar</id> |
66 |
| - <phase>never</phase> |
67 |
| - </execution> |
68 |
| - </executions> |
69 |
| - </plugin> |
70 |
| - <plugin> |
71 |
| - <artifactId>maven-surefire-plugin</artifactId> |
72 |
| - <configuration> |
73 |
| - <testSourceDirectory>${project.build.sourceDirectory}</testSourceDirectory> |
74 |
| - <testClassesDirectory>${project.build.outputDirectory}</testClassesDirectory> |
75 |
| - <excludes> |
76 |
| - <exclude>**/AbstractMicrobenchmark.java</exclude> |
77 |
| - <exclude>**/*$*.class</exclude> |
78 |
| - <exclude>**/generated/*.class</exclude> |
79 |
| - </excludes> |
80 |
| - <includes> |
81 |
| - <include>**/*Benchmark*</include> |
82 |
| - </includes> |
83 |
| - <systemPropertyVariables> |
84 |
| - <benchmarkReportDir>${project.build.directory}/reports/performance</benchmarkReportDir> |
85 |
| - <project.version>${project.version}</project.version> |
86 |
| - </systemPropertyVariables> |
87 |
| - </configuration> |
88 |
| - </plugin> |
89 |
| - </plugins> |
90 |
| - </build> |
| 39 | + <dependency> |
| 40 | + <groupId>org.openjdk.jmh</groupId> |
| 41 | + <artifactId>jmh-core</artifactId> |
| 42 | + <version>${jmh.version}</version> |
| 43 | + </dependency> |
| 44 | + |
| 45 | + <dependency> |
| 46 | + <groupId>org.openjdk.jmh</groupId> |
| 47 | + <artifactId>jmh-generator-annprocess</artifactId> |
| 48 | + <version>${jmh.version}</version> |
| 49 | + <scope>provided</scope> |
| 50 | + </dependency> |
| 51 | + |
| 52 | + </dependencies> |
| 53 | + |
| 54 | + <profiles> |
| 55 | + |
| 56 | + <profile> |
| 57 | + <id>benchmarks</id> |
| 58 | + <properties> |
| 59 | + <skipTests>false</skipTests> |
| 60 | + </properties> |
| 61 | + </profile> |
| 62 | + </profiles> |
| 63 | + |
| 64 | + <build> |
| 65 | + <plugins> |
| 66 | + <plugin> |
| 67 | + <groupId>pl.project13.maven</groupId> |
| 68 | + <artifactId>git-commit-id-plugin</artifactId> |
| 69 | + <version>2.2.2</version> |
| 70 | + <executions> |
| 71 | + <execution> |
| 72 | + <goals> |
| 73 | + <goal>revision</goal> |
| 74 | + </goals> |
| 75 | + </execution> |
| 76 | + </executions> |
| 77 | + </plugin> |
| 78 | + <plugin> |
| 79 | + <artifactId>maven-jar-plugin</artifactId> |
| 80 | + <executions> |
| 81 | + <execution> |
| 82 | + <id>default-jar</id> |
| 83 | + <phase>never</phase> |
| 84 | + </execution> |
| 85 | + </executions> |
| 86 | + </plugin> |
| 87 | + <plugin> |
| 88 | + <artifactId>maven-surefire-plugin</artifactId> |
| 89 | + <configuration> |
| 90 | + <testSourceDirectory>${project.build.sourceDirectory}</testSourceDirectory> |
| 91 | + <testClassesDirectory>${project.build.outputDirectory}</testClassesDirectory> |
| 92 | + <excludes> |
| 93 | + <exclude>**/AbstractMicrobenchmark.java</exclude> |
| 94 | + <exclude>**/*$*.class</exclude> |
| 95 | + <exclude>**/generated/*.class</exclude> |
| 96 | + </excludes> |
| 97 | + <includes> |
| 98 | + <include>**/*Benchmark*</include> |
| 99 | + </includes> |
| 100 | + <systemPropertyVariables> |
| 101 | + <benchmarkReportDir>${project.build.directory}/reports/performance</benchmarkReportDir> |
| 102 | + <project.version>${project.version}</project.version> |
| 103 | + <git.dirty>${git.dirty}</git.dirty> |
| 104 | + <git.commit.id>${git.commit.id}</git.commit.id> |
| 105 | + <git.branch>${git.branch}</git.branch> |
| 106 | + </systemPropertyVariables> |
| 107 | + </configuration> |
| 108 | + </plugin> |
| 109 | + </plugins> |
| 110 | + </build> |
91 | 111 | </project>
|
0 commit comments