forked from bazaarvoice/rison
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
125 lines (115 loc) · 4.99 KB
/
pom.xml
File metadata and controls
125 lines (115 loc) · 4.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<?xml version="1.0" encoding="UTF-8"?>
<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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.bazaarvoice.commons</groupId>
<artifactId>bv-opensource-super-pom</artifactId>
<version>1.9</version>
</parent>
<groupId>com.bazaarvoice.jackson</groupId>
<artifactId>rison</artifactId>
<version>2.9.10.3-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Rison data format</name>
<description>Jackson JSON parser Support for the Rison data format</description>
<url>http://github.com/bazaarvoice/rison</url>
<licenses>
<license>
<name>Apache License 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>https://github.com/bazaarvoice/rison</url>
<connection>scm:git:git@github.com:bazaarvoice/rison.git</connection>
<developerConnection>scm:git:git@github.com:bazaarvoice/rison.git</developerConnection>
<tag>HEAD</tag>
</scm>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<jackson.version>2.10.2</jackson.version>
<generatedSourcesDir>${project.build.directory}/generated-sources</generatedSourcesDir>
<packageVersion.dir>com/bazaarvoice/jackson/rison</packageVersion.dir>
<packageVersion.package>${project.groupId}.json</packageVersion.package>
<packageVersion.template.input>src/main/java/${packageVersion.dir}/PackageVersion.java.in</packageVersion.template.input>
<packageVersion.template.output>${generatedSourcesDir}/${packageVersion.dir}/PackageVersion.java</packageVersion.template.output>
</properties>
<dependencies>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>${jackson.version}</version>
</dependency>
<!-- Test dependencies -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>7.0.0</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>${generatedSourcesDir}</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.google.code.maven-replacer-plugin</groupId>
<artifactId>replacer</artifactId>
<version>1.5.3</version>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>replace</goal>
</goals>
</execution>
</executions>
<configuration>
<file>${packageVersion.template.input}</file>
<outputFile>${packageVersion.template.output}</outputFile>
<replacements>
<replacement>
<token>@PACKAGE@</token>
<value>${packageVersion.package}</value>
</replacement>
<replacement>
<token>@PROJECT_VERSION@</token>
<value>${project.version}</value>
</replacement>
<replacement>
<token>@PROJECT_GROUP_ID@</token>
<value>${project.groupId}</value>
</replacement>
<replacement>
<token>@PROJECT_ARTIFACT_ID@</token>
<value>${project.artifactId}</value>
</replacement>
</replacements>
</configuration>
</plugin>
</plugins>
</build>
</project>