|
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 3 | + <modelVersion>4.0.0</modelVersion> |
| 4 | + |
| 5 | + <groupId>com.javaetmoi.benchmark</groupId> |
| 6 | + <artifactId>java-object-mapper-benchmark</artifactId> |
| 7 | + <version>1.0.0-SNAPSHOT</version> |
| 8 | + <packaging>jar</packaging> |
| 9 | + |
| 10 | + <name>JMH benchmark of Object-to-Object mapping frameworks/</name> |
| 11 | + |
| 12 | + <prerequisites> |
| 13 | + <maven>3.0</maven> |
| 14 | + </prerequisites> |
| 15 | + |
| 16 | + <properties> |
| 17 | + <version.orkika>1.1.6</version.orkika> |
| 18 | + <version.dozer>5.3.2</version.dozer> |
| 19 | + <version.modelmapper>0.7.5</version.modelmapper> |
| 20 | + <version.mapstruct>1.0.0.CR2</version.mapstruct> |
| 21 | + <version.selma>0.12</version.selma> |
| 22 | + <version.jmh>1.0</version.jmh> |
| 23 | + <version.junit>4.12</version.junit> |
| 24 | + |
| 25 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 26 | + <javac.target>1.6</javac.target> |
| 27 | + <uberjar.name>benchmarks</uberjar.name> |
| 28 | + </properties> |
| 29 | + |
| 30 | + <dependencies> |
| 31 | + <dependency> |
| 32 | + <groupId>org.openjdk.jmh</groupId> |
| 33 | + <artifactId>jmh-core</artifactId> |
| 34 | + <version>${version.jmh}</version> |
| 35 | + </dependency> |
| 36 | + <dependency> |
| 37 | + <groupId>org.openjdk.jmh</groupId> |
| 38 | + <artifactId>jmh-generator-annprocess</artifactId> |
| 39 | + <version>${version.jmh}</version> |
| 40 | + <scope>provided</scope> |
| 41 | + </dependency> |
| 42 | + |
| 43 | + <dependency> |
| 44 | + <groupId>ma.glasnost.orika</groupId> |
| 45 | + <artifactId>orika-core</artifactId> |
| 46 | + <version>${version.orkika}</version> |
| 47 | + </dependency> |
| 48 | + |
| 49 | + <dependency> |
| 50 | + <groupId>net.sf.dozer</groupId> |
| 51 | + <artifactId>dozer</artifactId> |
| 52 | + <version>${version.dozer}</version> |
| 53 | + </dependency> |
| 54 | + |
| 55 | + <dependency> |
| 56 | + <groupId>org.modelmapper</groupId> |
| 57 | + <artifactId>modelmapper</artifactId> |
| 58 | + <version>${version.modelmapper}</version> |
| 59 | + </dependency> |
| 60 | + |
| 61 | + <dependency> |
| 62 | + <groupId>org.mapstruct</groupId> |
| 63 | + <artifactId>mapstruct</artifactId> |
| 64 | + <version>${version.mapstruct}</version> |
| 65 | + </dependency> |
| 66 | + |
| 67 | + <dependency> |
| 68 | + <groupId>fr.xebia.extras</groupId> |
| 69 | + <artifactId>selma</artifactId> |
| 70 | + <version>${version.selma}</version> |
| 71 | + </dependency> |
| 72 | + |
| 73 | + <dependency> |
| 74 | + <groupId>junit</groupId> |
| 75 | + <artifactId>junit</artifactId> |
| 76 | + <version>${version.junit}</version> |
| 77 | + <scope>test</scope> |
| 78 | + </dependency> |
| 79 | + </dependencies> |
| 80 | + |
| 81 | + <build> |
| 82 | + <plugins> |
| 83 | + <plugin> |
| 84 | + <groupId>org.apache.maven.plugins</groupId> |
| 85 | + <artifactId>maven-compiler-plugin</artifactId> |
| 86 | + <version>3.1</version> |
| 87 | + <configuration> |
| 88 | + <compilerVersion>${javac.target}</compilerVersion> |
| 89 | + <source>${javac.target}</source> |
| 90 | + <target>${javac.target}</target> |
| 91 | + </configuration> |
| 92 | + </plugin> |
| 93 | + <plugin> |
| 94 | + <groupId>org.apache.maven.plugins</groupId> |
| 95 | + <artifactId>maven-shade-plugin</artifactId> |
| 96 | + <version>2.2</version> |
| 97 | + <executions> |
| 98 | + <execution> |
| 99 | + <phase>package</phase> |
| 100 | + <goals> |
| 101 | + <goal>shade</goal> |
| 102 | + </goals> |
| 103 | + <configuration> |
| 104 | + <finalName>${uberjar.name}</finalName> |
| 105 | + <transformers> |
| 106 | + <transformer |
| 107 | + implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| 108 | + <mainClass>org.openjdk.jmh.Main</mainClass> |
| 109 | + </transformer> |
| 110 | + </transformers> |
| 111 | + </configuration> |
| 112 | + </execution> |
| 113 | + </executions> |
| 114 | + </plugin> |
| 115 | + |
| 116 | + <plugin> |
| 117 | + <groupId>org.bsc.maven</groupId> |
| 118 | + <artifactId>maven-processor-plugin</artifactId> |
| 119 | + <version>2.2.3</version> |
| 120 | + <configuration> |
| 121 | + <defaultOutputDirectory> |
| 122 | + ${project.build.directory}/generated-sources |
| 123 | + </defaultOutputDirectory> |
| 124 | + <processors> |
| 125 | + <processor>org.mapstruct.ap.MappingProcessor</processor> |
| 126 | + <processor>fr.xebia.extras.selma.codegen.MapperProcessor</processor> |
| 127 | + </processors> |
| 128 | + </configuration> |
| 129 | + <executions> |
| 130 | + <execution> |
| 131 | + <id>process</id> |
| 132 | + <phase>generate-sources</phase> |
| 133 | + <goals> |
| 134 | + <goal>process</goal> |
| 135 | + </goals> |
| 136 | + </execution> |
| 137 | + </executions> |
| 138 | + <dependencies> |
| 139 | + <dependency> |
| 140 | + <groupId>org.mapstruct</groupId> |
| 141 | + <artifactId>mapstruct-processor</artifactId> |
| 142 | + <version>${version.mapstruct}</version> |
| 143 | + </dependency> |
| 144 | + <dependency> |
| 145 | + <groupId>fr.xebia.extras</groupId> |
| 146 | + <artifactId>selma-processor</artifactId> |
| 147 | + <version>${version.selma}</version> |
| 148 | + </dependency> |
| 149 | + </dependencies> |
| 150 | + </plugin> |
| 151 | + </plugins> |
| 152 | + <pluginManagement> |
| 153 | + <plugins> |
| 154 | + <plugin> |
| 155 | + <artifactId>maven-clean-plugin</artifactId> |
| 156 | + <version>2.5</version> |
| 157 | + </plugin> |
| 158 | + <plugin> |
| 159 | + <artifactId>maven-deploy-plugin</artifactId> |
| 160 | + <version>2.8.1</version> |
| 161 | + </plugin> |
| 162 | + <plugin> |
| 163 | + <artifactId>maven-install-plugin</artifactId> |
| 164 | + <version>2.5.1</version> |
| 165 | + </plugin> |
| 166 | + <plugin> |
| 167 | + <artifactId>maven-jar-plugin</artifactId> |
| 168 | + <version>2.4</version> |
| 169 | + </plugin> |
| 170 | + <plugin> |
| 171 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 172 | + <version>2.9.1</version> |
| 173 | + </plugin> |
| 174 | + <plugin> |
| 175 | + <artifactId>maven-resources-plugin</artifactId> |
| 176 | + <version>2.6</version> |
| 177 | + </plugin> |
| 178 | + <plugin> |
| 179 | + <artifactId>maven-site-plugin</artifactId> |
| 180 | + <version>3.3</version> |
| 181 | + </plugin> |
| 182 | + <plugin> |
| 183 | + <artifactId>maven-source-plugin</artifactId> |
| 184 | + <version>2.2.1</version> |
| 185 | + </plugin> |
| 186 | + <plugin> |
| 187 | + <artifactId>maven-surefire-plugin</artifactId> |
| 188 | + <version>2.17</version> |
| 189 | + </plugin> |
| 190 | + </plugins> |
| 191 | + </pluginManagement> |
| 192 | + </build> |
| 193 | + |
| 194 | +</project> |
0 commit comments