|
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 |
| - <!-- this POM is released under an Apache 2.0 license --> |
4 |
| - <modelVersion>4.0.0</modelVersion> |
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 2 | + <!-- this POM is released under an Apache 2.0 license --> |
| 3 | + <modelVersion>4.0.0</modelVersion> |
| 4 | + <groupId>net.minidev</groupId> |
| 5 | + <artifactId>accessors-smart</artifactId> |
| 6 | + <version>1.1</version> |
| 7 | + <name>ASM based accessors helper used by json-smart</name> |
| 8 | + <description>Java reflect give poor performance on getter setter an constructor calls, accessors-smart use ASM to speed up those calls. |
| 9 | + </description> |
| 10 | + <packaging>bundle</packaging> |
| 11 | + <url>http://www.minidev.net/</url> |
| 12 | + <organization> |
| 13 | + <name>Chemouni Uriel</name> |
| 14 | + <url>http://www.minidev.net/</url> |
| 15 | + </organization> |
| 16 | + <developers> |
| 17 | + <developer> |
| 18 | + <id>uriel</id> |
| 19 | + <name>Uriel Chemouni</name> |
| 20 | + |
| 21 | + <timezone>GMT+1</timezone> |
| 22 | + <roles> |
| 23 | + </roles> |
| 24 | + </developer> |
| 25 | + </developers> |
| 26 | + <licenses> |
| 27 | + <license> |
| 28 | + <name>The Apache Software License, Version 2.0</name> |
| 29 | + <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 30 | + <distribution>repo</distribution> |
| 31 | + <comments>All files under Apache 2</comments> |
| 32 | + </license> |
| 33 | + </licenses> |
| 34 | + <properties> |
| 35 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 36 | + <maven.compiler.source>1.5</maven.compiler.source> |
| 37 | + <maven.compiler.target>1.5</maven.compiler.target> |
| 38 | + </properties> |
| 39 | + <dependencies> |
| 40 | + <dependency> |
| 41 | + <groupId>junit</groupId> |
| 42 | + <artifactId>junit</artifactId> |
| 43 | + <version>4.12</version> |
| 44 | + <scope>test</scope> |
| 45 | + </dependency> |
| 46 | + <dependency> |
| 47 | + <groupId>org.ow2.asm</groupId> |
| 48 | + <artifactId>asm</artifactId> |
| 49 | + <version>5.0.4</version> |
| 50 | + </dependency> |
| 51 | + </dependencies> |
5 | 52 |
|
6 |
| - <artifactId>accessors-smart</artifactId> |
7 |
| - <packaging>bundle</packaging> |
8 |
| - <version>1.1</version> |
9 |
| - |
10 |
| - <parent> |
11 |
| - <groupId>net.minidev</groupId> |
12 |
| - <artifactId>minidev-parent</artifactId> |
13 |
| - <version>2.2</version> |
14 |
| - <relativePath>../parent/pom.xml</relativePath> |
15 |
| - </parent> |
16 |
| - |
17 |
| - <name>ASM based accessors helper used by json-smart</name> |
18 |
| - |
19 |
| - <description>Java reflect give poor performance on getter setter an constructor calls, |
20 |
| -accessors-smart use ASM to speed up those calls. |
21 |
| -</description> |
22 |
| - <dependencies> |
23 |
| - <dependency> |
24 |
| - <groupId>junit</groupId> |
25 |
| - <artifactId>junit</artifactId> |
26 |
| - <scope>test</scope> |
27 |
| - </dependency> |
28 |
| - <dependency> |
29 |
| - <groupId>org.ow2.asm</groupId> |
30 |
| - <artifactId>asm</artifactId> |
31 |
| - <version>5.0.3</version> |
32 |
| - </dependency> |
33 |
| -<!-- |
34 |
| - <dependency> |
35 |
| - <groupId>asm</groupId> |
36 |
| - <artifactId>asm</artifactId> |
37 |
| - <version>3.3.1</version> |
38 |
| - </dependency> |
39 |
| ---> |
40 |
| - <!-- <dependency> --> |
41 |
| - <!-- <groupId>asm</groupId> --> |
42 |
| - <!-- <artifactId>asm-util</artifactId> --> |
43 |
| - <!-- <version>3.3.1</version> --> |
44 |
| - <!-- </dependency> --> |
45 |
| - </dependencies> |
46 |
| - <build> |
47 |
| - <plugins> |
48 |
| - <plugin> |
49 |
| - <groupId>org.apache.felix</groupId> |
50 |
| - <artifactId>maven-bundle-plugin</artifactId> |
51 |
| - <version>2.3.7</version> |
52 |
| - <extensions>true</extensions> |
53 |
| - <configuration> |
54 |
| - <instructions> |
55 |
| - <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName> |
56 |
| - <Bundle-Name>${project.artifactId}</Bundle-Name> |
57 |
| - <Bundle-Version>${project.version}</Bundle-Version> |
58 |
| - <Export-Package> |
59 |
| - net.minidev.asm, |
60 |
| - net.minidev.asm.ex |
61 |
| - </Export-Package> |
62 |
| - <!-- Private-Package></Private-Package --> |
63 |
| - <Embed-Dependency>asm;groupId=org.ow2.asm;inline=true</Embed-Dependency> |
64 |
| - </instructions> |
65 |
| - </configuration> |
66 |
| - </plugin> |
67 |
| - </plugins> |
68 |
| - </build> |
| 53 | + <!-- updated on 29/10/2015 --> |
| 54 | + <!-- |
| 55 | + <reporting> |
| 56 | + <plugins> |
| 57 | + <plugin> |
| 58 | + <groupId>org.apache.maven.plugins</groupId> |
| 59 | + <artifactId>maven-checkstyle-plugin</artifactId> |
| 60 | + <version>2.17</version> |
| 61 | + <configuration> |
| 62 | + <configLocation>google_checks.xml</configLocation> |
| 63 | + </configuration> |
| 64 | + </plugin> |
| 65 | + </plugins> |
| 66 | + </reporting> |
| 67 | + --> |
| 68 | + <scm> |
| 69 | + <!-- ON GIT HUB --> |
| 70 | + <connection>scm:git:https://github.com/netplex/json-smart-v2.git</connection> |
| 71 | + <developerConnection>scm:git:https://github.com/netplex/json-smart-v2.git</developerConnection> |
| 72 | + <url>https://github.com/netplex/json-smart-v2</url> |
| 73 | + </scm> |
| 74 | + <distributionManagement> |
| 75 | + <snapshotRepository> |
| 76 | + <id>ossrh</id> |
| 77 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 78 | + </snapshotRepository> |
| 79 | + <repository> |
| 80 | + <id>ossrh</id> |
| 81 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 82 | + </repository> |
| 83 | + </distributionManagement> |
| 84 | + <profiles> |
| 85 | + <profile> |
| 86 | + <id>release-sign-artifacts</id> |
| 87 | + <activation> |
| 88 | + <property> |
| 89 | + <!-- will be set by the release plugin upon performing mvn release:perform --> |
| 90 | + <name>performRelease</name> |
| 91 | + <value>true</value> |
| 92 | + </property> |
| 93 | + </activation> |
| 94 | + <properties> |
| 95 | + <gpg.keyname>8E322ED0</gpg.keyname> |
| 96 | + <!-- <gpg.keyname>Uriel Chemouni (dev) <[email protected]></gpg.keyname> --> |
| 97 | + <!-- GPG Key ID to use for signing --> |
| 98 | + </properties> |
| 99 | + <build> |
| 100 | + <plugins> |
| 101 | + <!-- Enable signing of the artifacts For gpg:sign-and-deploy-file it's |
| 102 | + necessary to have a <server> with the repositoryId provided or id="remote-repository" |
| 103 | + defined in settings.xml (it contains the repository's login, psw) Signing: |
| 104 | + mvn gpg:sign-and-deploy-file -DpomFile=target/myapp-1.0.pom -Dfile=target/myapp-1.0.jar |
| 105 | + -Durl=http://oss.sonatype.org/content/repositories/malyvelky/ -DrepositoryId=sonatype_oss |
| 106 | + Note normally it uses the defaul key but we can ovveride it by either setting |
| 107 | + the property gpg.keyname (done in this POM) or by providing -Dkeyname=66AE163A |
| 108 | + on the command line. OR directly w/ gpg (remove space in - -): gpg -u 66AE163A |
| 109 | + - -sign - -detach-sign -a target/dbunit-embeddedderby-parenttest.jar Note: |
| 110 | + "mvn gpg:sign" results in NPE with v 1.o-a.-4, use "mvn package gpg:sign" |
| 111 | + instead; see the issue MGPG-18 --> |
| 112 | + <plugin> |
| 113 | + <!-- updated on 29/07/2015 --> |
| 114 | + <groupId>org.apache.maven.plugins</groupId> |
| 115 | + <artifactId>maven-gpg-plugin</artifactId> |
| 116 | + <version>1.6</version> |
| 117 | + <executions> |
| 118 | + <execution> |
| 119 | + <id>sign-artifacts</id> |
| 120 | + <phase>verify</phase> |
| 121 | + <goals> |
| 122 | + <goal>sign</goal> |
| 123 | + </goals> |
| 124 | + </execution> |
| 125 | + </executions> |
| 126 | + </plugin> |
| 127 | + <!-- Publish also javadocs when releasing - required by Sonatype --> |
| 128 | + <plugin> |
| 129 | + <groupId>org.apache.maven.plugins</groupId> |
| 130 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 131 | + <executions> |
| 132 | + <execution> |
| 133 | + <id>attach-javadocs</id> |
| 134 | + <goals> |
| 135 | + <goal>jar</goal> |
| 136 | + </goals> |
| 137 | + </execution> |
| 138 | + </executions> |
| 139 | + </plugin> |
| 140 | + <!-- Release Plugin (Update version in POM before/after release, create |
| 141 | + tag, deploy) to try: mvn release:prepare -DdryRun=true && mvn release:clean |
| 142 | + to perform: mvn release:prepare release:perform Read http://nexus.sonatype.org/oss-repository-hosting.html#3 |
| 143 | + for instructions on releasing to this project's Sonatype repository --> |
| 144 | + <plugin> |
| 145 | + <groupId>org.apache.maven.plugins</groupId> |
| 146 | + <artifactId>maven-release-plugin</artifactId> |
| 147 | + <version>2.5.2</version> |
| 148 | + <configuration> |
| 149 | + <mavenExecutorId>forked-path</mavenExecutorId> |
| 150 | + <arguments>-Psonatype-oss-release</arguments> |
| 151 | + <autoVersionSubmodules>false</autoVersionSubmodules> |
| 152 | + <useReleaseProfile>false</useReleaseProfile> |
| 153 | + <releaseProfiles>release</releaseProfiles> |
| 154 | + <goals>deploy</goals> |
| 155 | + </configuration> |
| 156 | + </plugin> |
| 157 | + </plugins> |
| 158 | + </build> |
| 159 | + </profile> |
| 160 | + <profile> |
| 161 | + <id>include-sources</id> |
| 162 | + <build> |
| 163 | + <resources> |
| 164 | + <resource> |
| 165 | + <targetPath>/</targetPath> |
| 166 | + <filtering>true</filtering> |
| 167 | + <directory>src/main/java</directory> |
| 168 | + <includes> |
| 169 | + <include>**/*.java</include> |
| 170 | + </includes> |
| 171 | + </resource> |
| 172 | + </resources> |
| 173 | + </build> |
| 174 | + </profile> |
| 175 | + </profiles> |
| 176 | + <build> |
| 177 | + <plugins> |
| 178 | + <plugin> |
| 179 | + <!-- updated on 29/07/2015 --> |
| 180 | + <groupId>org.apache.maven.plugins</groupId> |
| 181 | + <artifactId>maven-source-plugin</artifactId> |
| 182 | + <version>2.4</version> |
| 183 | + <executions> |
| 184 | + <execution> |
| 185 | + <id>bind-sources</id> |
| 186 | + <goals> |
| 187 | + <goal>jar-no-fork</goal> |
| 188 | + </goals> |
| 189 | + </execution> |
| 190 | + </executions> |
| 191 | + </plugin> |
| 192 | + <plugin> |
| 193 | + <!-- updated on 29/10/2015 --> |
| 194 | + <groupId>org.apache.maven.plugins</groupId> |
| 195 | + <artifactId>maven-compiler-plugin</artifactId> |
| 196 | + <version>3.3</version> |
| 197 | + <configuration> |
| 198 | + <encoding>UTF-8</encoding> |
| 199 | + <source>1.6</source> |
| 200 | + <target>1.6</target> |
| 201 | + <excludes> |
| 202 | + <exclude>**/.svn/*</exclude> |
| 203 | + <exclude>**/.svn</exclude> |
| 204 | + </excludes> |
| 205 | + </configuration> |
| 206 | + </plugin> |
| 207 | + <plugin> |
| 208 | + <!-- updated on 29/10/2015 --> |
| 209 | + <groupId>org.apache.maven.plugins</groupId> |
| 210 | + <artifactId>maven-resources-plugin</artifactId> |
| 211 | + <version>2.7</version> |
| 212 | + <configuration> |
| 213 | + <encoding>UTF-8</encoding> |
| 214 | + </configuration> |
| 215 | + </plugin> |
| 216 | + <plugin> |
| 217 | + <!-- updated on 29/10/2015 --> |
| 218 | + <groupId>org.apache.maven.plugins</groupId> |
| 219 | + <artifactId>maven-jar-plugin</artifactId> |
| 220 | + <version>2.6</version> |
| 221 | + <configuration> |
| 222 | + <excludes> |
| 223 | + <exclude>**/.svn/*</exclude> |
| 224 | + <exclude>**/.svn</exclude> |
| 225 | + </excludes> |
| 226 | + </configuration> |
| 227 | + </plugin> |
| 228 | + <plugin> |
| 229 | + <!-- updated on 29/07/2015 --> |
| 230 | + <groupId>org.apache.maven.plugins</groupId> |
| 231 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 232 | + <version>2.10.3</version> |
| 233 | + <!-- ONLY NEEDED With jdk 1.7+ --> |
| 234 | + <configuration> |
| 235 | + <failOnError>false</failOnError> |
| 236 | + <!-- <additionalparam>-Xdoclint:none</additionalparam> --> |
| 237 | + </configuration> |
| 238 | + <executions> |
| 239 | + <execution> |
| 240 | + <id>attach-javadocs</id> |
| 241 | + <goals> |
| 242 | + <goal>jar</goal> |
| 243 | + </goals> |
| 244 | + </execution> |
| 245 | + </executions> |
| 246 | + </plugin> |
| 247 | + <plugin> |
| 248 | + <groupId>org.apache.felix</groupId> |
| 249 | + <artifactId>maven-bundle-plugin</artifactId> |
| 250 | + <version>3.0.0</version> |
| 251 | + <extensions>true</extensions> |
| 252 | + <configuration> |
| 253 | + <instructions> |
| 254 | + <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName> |
| 255 | + <Bundle-Name>${project.artifactId}</Bundle-Name> |
| 256 | + <Bundle-Version>${project.version}</Bundle-Version> |
| 257 | + <Export-Package> |
| 258 | + net.minidev.asm, net.minidev.asm.ex |
| 259 | + </Export-Package> |
| 260 | + <!-- Private-Package></Private-Package --> |
| 261 | + <Embed-Dependency>asm;groupId=org.ow2.asm;inline=true</Embed-Dependency> |
| 262 | + </instructions> |
| 263 | + </configuration> |
| 264 | + </plugin> |
| 265 | + </plugins> |
| 266 | + </build> |
69 | 267 | </project>
|
0 commit comments