|
1 | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
2 | | - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
3 | | - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
4 | | - <modelVersion>4.0.0</modelVersion> |
5 | | - |
6 | | - <groupId>ch.qos.logback</groupId> |
7 | | - <artifactId>logback-perf</artifactId> |
8 | | - <version>1.0</version> |
9 | | - <packaging>jar</packaging> |
10 | | - |
11 | | - <name>Logback-perf</name> |
12 | | - |
13 | | - <properties> |
14 | | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
15 | | - <jmh.version>1.29</jmh.version> |
16 | | - <javac.target>9</javac.target> |
17 | | - <uberjar.name>benchmarks</uberjar.name> |
18 | | - <!-- <lb.version>1.3.0-alpha10-SNAPSHOT</lb.version> --> |
19 | | - <!-- <lb.version>1.3.0-alpha9</lb.version> --> |
20 | | - <lb.version>1.3.0-alpha11</lb.version> |
21 | | - <slf4j.version>2.0.0-alpha7</slf4j.version> |
22 | | - <!--<reloadj.version>1.2.20-SNAPSHOT</reloadj.version> --> |
23 | | - <reloadj.version>1.2.19</reloadj.version> |
24 | | - |
25 | | - </properties> |
26 | | - |
27 | | - <dependencies> |
28 | | - <dependency> |
29 | | - <groupId>org.openjdk.jmh</groupId> |
30 | | - <artifactId>jmh-core</artifactId> |
31 | | - <version>${jmh.version}</version> |
32 | | - </dependency> |
33 | | - <dependency> |
34 | | - <groupId>org.openjdk.jmh</groupId> |
35 | | - <artifactId>jmh-generator-annprocess</artifactId> |
36 | | - <version>${jmh.version}</version> |
37 | | - <scope>provided</scope> |
38 | | - </dependency> |
39 | | - |
40 | | - |
41 | | - <dependency> |
42 | | - <groupId>org.slf4j</groupId> |
43 | | - <artifactId>slf4j-api</artifactId> |
44 | | - <version>${slf4j.version}</version> |
45 | | - </dependency> |
46 | | - |
47 | | - <dependency> |
48 | | - <groupId>ch.qos.logback</groupId> |
49 | | - <artifactId>logback-classic</artifactId> |
50 | | - <version>${lb.version}</version> |
51 | | - </dependency> |
52 | | - |
53 | | - <dependency> |
54 | | - <groupId>ch.qos.logback</groupId> |
55 | | - <artifactId>logback-classic</artifactId> |
56 | | - <type>test-jar</type> |
57 | | - <version>${lb.version}</version> |
58 | | - </dependency> |
59 | | - |
60 | | - <dependency> |
61 | | - <groupId>ch.qos.reload4j</groupId> |
62 | | - <artifactId>reload4j</artifactId> |
63 | | - <version>${reloadj.version}</version> |
64 | | - </dependency> |
65 | | - |
66 | | - <dependency> |
67 | | - <groupId>org.apache.logging.log4j</groupId> |
68 | | - <artifactId>log4j-core</artifactId> |
69 | | - <version>2.17.0</version> |
70 | | - </dependency> |
71 | | - |
72 | | - <dependency> |
73 | | - <groupId>com.lmax</groupId> |
74 | | - <artifactId>disruptor</artifactId> |
75 | | - <version>3.4.2</version> |
76 | | - </dependency> |
77 | | - |
78 | | - <dependency> |
79 | | - <groupId>junit</groupId> |
80 | | - <artifactId>junit</artifactId> |
81 | | - <version>4.10</version> |
82 | | - </dependency> |
83 | | - |
84 | | - |
85 | | - </dependencies> |
86 | | - |
87 | | - |
88 | | - <build> |
89 | | - <plugins> |
90 | | - <plugin> |
91 | | - <groupId>org.apache.maven.plugins</groupId> |
92 | | - <artifactId>maven-compiler-plugin</artifactId> |
93 | | - <version>3.1</version> |
94 | | - <configuration> |
95 | | - <compilerVersion>${javac.target}</compilerVersion> |
96 | | - <source>${javac.target}</source> |
97 | | - <target>${javac.target}</target> |
98 | | - </configuration> |
99 | | - </plugin> |
100 | | - |
101 | | - <plugin> |
102 | | - <groupId>org.apache.maven.plugins</groupId> |
103 | | - <artifactId>maven-shade-plugin</artifactId> |
104 | | - <version>2.2</version> |
105 | | - <executions> |
106 | | - <execution> |
107 | | - <phase>package</phase> |
108 | | - <goals> |
109 | | - <goal>shade</goal> |
110 | | - </goals> |
111 | | - <configuration> |
112 | | - <finalName>${uberjar.name}</finalName> |
113 | | - <transformers> |
114 | | - <transformer |
115 | | - implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
116 | | - <mainClass>org.openjdk.jmh.Main</mainClass> |
117 | | - </transformer> |
118 | | - </transformers> |
119 | | - <filters> |
120 | | - <filter> |
121 | | - <!-- Shading signed JARs will fail without this. http://stackoverflow.com/questions/999489/invalid-signature-file-when-attempting-to-run-a-jar --> |
122 | | - <artifact>*:*</artifact> |
123 | | - <excludes> |
124 | | - <exclude>META-INF/*.SF</exclude> |
125 | | - <exclude>META-INF/*.DSA</exclude> |
126 | | - <exclude>META-INF/*.RSA</exclude> |
127 | | - </excludes> |
128 | | - </filter> |
129 | | - </filters> |
130 | | - </configuration> |
131 | | - </execution> |
132 | | - </executions> |
133 | | - </plugin> |
134 | | - |
135 | | - </plugins> |
136 | | - <pluginManagement> |
137 | | - <plugins> |
138 | | - <plugin> |
139 | | - <artifactId>maven-clean-plugin</artifactId> |
140 | | - <version>2.5</version> |
141 | | - </plugin> |
142 | | - <plugin> |
143 | | - <artifactId>maven-deploy-plugin</artifactId> |
144 | | - <version>2.8.1</version> |
145 | | - </plugin> |
146 | | - <plugin> |
147 | | - <artifactId>maven-install-plugin</artifactId> |
148 | | - <version>2.5.1</version> |
149 | | - </plugin> |
150 | | - <plugin> |
151 | | - <artifactId>maven-jar-plugin</artifactId> |
152 | | - <version>2.4</version> |
153 | | - </plugin> |
154 | | - <plugin> |
155 | | - <artifactId>maven-javadoc-plugin</artifactId> |
156 | | - <version>2.9.1</version> |
157 | | - </plugin> |
158 | | - <plugin> |
159 | | - <artifactId>maven-resources-plugin</artifactId> |
160 | | - <version>2.6</version> |
161 | | - </plugin> |
162 | | - <plugin> |
163 | | - <artifactId>maven-site-plugin</artifactId> |
164 | | - <version>3.3</version> |
165 | | - </plugin> |
166 | | - <plugin> |
167 | | - <artifactId>maven-source-plugin</artifactId> |
168 | | - <version>2.2.1</version> |
169 | | - </plugin> |
170 | | - <plugin> |
171 | | - <artifactId>maven-surefire-plugin</artifactId> |
172 | | - <version>2.17</version> |
173 | | - </plugin> |
174 | | - </plugins> |
175 | | - </pluginManagement> |
176 | | - </build> |
| 2 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | + <modelVersion>4.0.0</modelVersion> |
| 5 | + |
| 6 | + <groupId>ch.qos.logback</groupId> |
| 7 | + <artifactId>logback-perf</artifactId> |
| 8 | + <version>1.0</version> |
| 9 | + <packaging>jar</packaging> |
| 10 | + |
| 11 | + <name>Logback-perf</name> |
| 12 | + |
| 13 | + <properties> |
| 14 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 15 | + <jmh.version>1.29</jmh.version> |
| 16 | + <javac.target>9</javac.target> |
| 17 | + <uberjar.name>benchmarks</uberjar.name> |
| 18 | + <!-- <lb.version>1.3.0-alpha10-SNAPSHOT</lb.version> --> |
| 19 | + <!-- <lb.version>1.3.0-alpha9</lb.version> --> |
| 20 | + <lb.version>1.4.2-SNAPSHOT</lb.version> |
| 21 | + <slf4j.version>2.0.1</slf4j.version> |
| 22 | + <!--<reloadj.version>1.2.20-SNAPSHOT</reloadj.version> --> |
| 23 | + <reloadj.version>1.2.19</reloadj.version> |
| 24 | + <log4j2.version>2.17.2</log4j2.version> |
| 25 | + </properties> |
| 26 | + |
| 27 | + <dependencies> |
| 28 | + <dependency> |
| 29 | + <groupId>org.openjdk.jmh</groupId> |
| 30 | + <artifactId>jmh-core</artifactId> |
| 31 | + <version>${jmh.version}</version> |
| 32 | + </dependency> |
| 33 | + <dependency> |
| 34 | + <groupId>org.openjdk.jmh</groupId> |
| 35 | + <artifactId>jmh-generator-annprocess</artifactId> |
| 36 | + <version>${jmh.version}</version> |
| 37 | + <scope>provided</scope> |
| 38 | + </dependency> |
| 39 | + |
| 40 | + |
| 41 | + <dependency> |
| 42 | + <groupId>org.slf4j</groupId> |
| 43 | + <artifactId>slf4j-api</artifactId> |
| 44 | + <version>${slf4j.version}</version> |
| 45 | + </dependency> |
| 46 | + |
| 47 | + <dependency> |
| 48 | + <groupId>ch.qos.logback</groupId> |
| 49 | + <artifactId>logback-classic</artifactId> |
| 50 | + <version>${lb.version}</version> |
| 51 | + </dependency> |
| 52 | + |
| 53 | + <dependency> |
| 54 | + <groupId>ch.qos.logback</groupId> |
| 55 | + <artifactId>logback-classic</artifactId> |
| 56 | + <type>test-jar</type> |
| 57 | + <version>${lb.version}</version> |
| 58 | + </dependency> |
| 59 | + |
| 60 | + <dependency> |
| 61 | + <groupId>ch.qos.reload4j</groupId> |
| 62 | + <artifactId>reload4j</artifactId> |
| 63 | + <version>${reloadj.version}</version> |
| 64 | + </dependency> |
| 65 | + |
| 66 | + <dependency> |
| 67 | + <groupId>org.apache.logging.log4j</groupId> |
| 68 | + <artifactId>log4j-core</artifactId> |
| 69 | + <version>${log4j2.version}</version> |
| 70 | + </dependency> |
| 71 | + |
| 72 | + <dependency> |
| 73 | + <groupId>com.lmax</groupId> |
| 74 | + <artifactId>disruptor</artifactId> |
| 75 | + <version>3.4.2</version> |
| 76 | + </dependency> |
| 77 | + |
| 78 | + <dependency> |
| 79 | + <groupId>junit</groupId> |
| 80 | + <artifactId>junit</artifactId> |
| 81 | + <version>4.10</version> |
| 82 | + </dependency> |
| 83 | + |
| 84 | + |
| 85 | + </dependencies> |
| 86 | + |
| 87 | + |
| 88 | + <build> |
| 89 | + <plugins> |
| 90 | + <plugin> |
| 91 | + <groupId>org.apache.maven.plugins</groupId> |
| 92 | + <artifactId>maven-compiler-plugin</artifactId> |
| 93 | + <version>3.1</version> |
| 94 | + <configuration> |
| 95 | + <compilerVersion>${javac.target}</compilerVersion> |
| 96 | + <source>${javac.target}</source> |
| 97 | + <target>${javac.target}</target> |
| 98 | + </configuration> |
| 99 | + </plugin> |
| 100 | + |
| 101 | + <plugin> |
| 102 | + <groupId>org.apache.maven.plugins</groupId> |
| 103 | + <artifactId>maven-shade-plugin</artifactId> |
| 104 | + <version>2.2</version> |
| 105 | + <executions> |
| 106 | + <execution> |
| 107 | + <phase>package</phase> |
| 108 | + <goals> |
| 109 | + <goal>shade</goal> |
| 110 | + </goals> |
| 111 | + <configuration> |
| 112 | + <finalName>${uberjar.name}</finalName> |
| 113 | + <transformers> |
| 114 | + <transformer |
| 115 | + implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| 116 | + <mainClass>org.openjdk.jmh.Main</mainClass> |
| 117 | + </transformer> |
| 118 | + </transformers> |
| 119 | + <filters> |
| 120 | + <filter> |
| 121 | + <!-- Shading signed JARs will fail without this. http://stackoverflow.com/questions/999489/invalid-signature-file-when-attempting-to-run-a-jar --> |
| 122 | + <artifact>*:*</artifact> |
| 123 | + <excludes> |
| 124 | + <exclude>META-INF/*.SF</exclude> |
| 125 | + <exclude>META-INF/*.DSA</exclude> |
| 126 | + <exclude>META-INF/*.RSA</exclude> |
| 127 | + </excludes> |
| 128 | + </filter> |
| 129 | + </filters> |
| 130 | + </configuration> |
| 131 | + </execution> |
| 132 | + </executions> |
| 133 | + </plugin> |
| 134 | + |
| 135 | + </plugins> |
| 136 | + <pluginManagement> |
| 137 | + <plugins> |
| 138 | + <plugin> |
| 139 | + <artifactId>maven-clean-plugin</artifactId> |
| 140 | + <version>2.5</version> |
| 141 | + </plugin> |
| 142 | + <plugin> |
| 143 | + <artifactId>maven-deploy-plugin</artifactId> |
| 144 | + <version>2.8.1</version> |
| 145 | + </plugin> |
| 146 | + <plugin> |
| 147 | + <artifactId>maven-install-plugin</artifactId> |
| 148 | + <version>2.5.1</version> |
| 149 | + </plugin> |
| 150 | + <plugin> |
| 151 | + <artifactId>maven-jar-plugin</artifactId> |
| 152 | + <version>2.4</version> |
| 153 | + </plugin> |
| 154 | + <plugin> |
| 155 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 156 | + <version>2.9.1</version> |
| 157 | + </plugin> |
| 158 | + <plugin> |
| 159 | + <artifactId>maven-resources-plugin</artifactId> |
| 160 | + <version>2.6</version> |
| 161 | + </plugin> |
| 162 | + <plugin> |
| 163 | + <artifactId>maven-site-plugin</artifactId> |
| 164 | + <version>3.3</version> |
| 165 | + </plugin> |
| 166 | + <plugin> |
| 167 | + <artifactId>maven-source-plugin</artifactId> |
| 168 | + <version>2.2.1</version> |
| 169 | + </plugin> |
| 170 | + <plugin> |
| 171 | + <artifactId>maven-surefire-plugin</artifactId> |
| 172 | + <version>2.17</version> |
| 173 | + </plugin> |
| 174 | + </plugins> |
| 175 | + </pluginManagement> |
| 176 | + </build> |
177 | 177 |
|
178 | 178 | </project> |
0 commit comments