blob: 880cb2cb5652558d6045f151c168f173e592ce06 [file] [log] [blame]
Tatu Salorantaa57fbe12011-12-22 18:13:05 -08001<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 <modelVersion>4.0.0</modelVersion>
3 <parent>
4 <groupId>org.sonatype.oss</groupId>
5 <artifactId>oss-parent</artifactId>
Tatu Saloranta5e69eec2012-03-25 11:52:34 -07006 <version>7</version>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -08007 </parent>
8 <groupId>com.fasterxml.jackson.core</groupId>
9 <artifactId>jackson-core</artifactId>
10 <name>Jackson-core</name>
Tatu Saloranta3c54aa82012-03-22 16:59:58 -070011 <version>2.0.0-RC4-SNAPSHOT</version>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080012 <packaging>bundle</packaging>
13 <description>Core Jackson abstractions, basic JSON streaming API implementation
14 </description>
15 <url>http://wiki.fasterxml.com/JacksonHome</url>
16 <scm>
17 <connection>scm:git:git@github.com:FasterXML/jackson-core.git</connection>
18 <developerConnection>scm:git:git@github.com:FasterXML/jackson-core.git</developerConnection>
19 <url>http://github.com/FasterXML/jackson-core</url>
20 </scm>
21 <developers>
22 <developer>
23 <id>tatu</id>
24 <name>Tatu Saloranta</name>
25 <email>tatu@fasterxml.com</email>
26 </developer>
27 </developers>
28
29 <prerequisites>
30 <maven>2.2.1</maven>
31 </prerequisites>
32 <properties>
33 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
34 </properties>
35
36 <!-- Licensing -->
37 <licenses>
38 <license>
39 <name>The Apache Software License, Version 2.0</name>
40 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
41 <distribution>repo</distribution>
42 </license>
43 </licenses>
44 <organization>
45 <name>fasterxml.com</name>
46 <url>http://fasterxml.com</url>
47 </organization>
48
49 <dependencies>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080050 <!-- and for testing, JUnit is needed -->
51 <dependency>
52 <groupId>junit</groupId>
53 <artifactId>junit</artifactId>
54 <version>4.8.2</version>
Tatu Saloranta7e2b22a2011-12-22 21:51:29 -080055 <scope>test</scope>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080056 </dependency>
57 </dependencies>
58
59 <build>
Tatu Saloranta3c756182011-12-28 20:27:59 -080060 <!-- need to enable filtering to add version info -->
61 <resources>
62 <resource>
63 <directory>src/main/resources</directory>
64 <filtering>true</filtering>
65 </resource>
66 </resources>
67
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080068 <plugins>
69 <plugin>
70 <artifactId>maven-compiler-plugin</artifactId>
71 <version>2.3.2</version>
72 <configuration>
73 <source>1.6</source>
74 <target>1.6</target>
75 </configuration>
76 </plugin>
77 <plugin>
78 <groupId>org.apache.maven.plugins</groupId>
79 <artifactId>maven-release-plugin</artifactId>
80 <version>2.1</version>
81 <configuration>
82 <mavenExecutorId>forked-path</mavenExecutorId>
83 </configuration>
84 </plugin>
85 <plugin><!-- plug-in to attach source bundle in repo -->
86 <groupId>org.apache.maven.plugins</groupId>
87 <artifactId>maven-source-plugin</artifactId>
88 <version>2.1.2</version>
89 <executions>
90 <execution>
91 <id>attach-sources</id>
92 <goals>
93 <goal>jar</goal>
94 </goals>
95 </execution>
96 </executions>
97 </plugin>
98 <plugin>
Tatu Saloranta5e69eec2012-03-25 11:52:34 -070099 <groupId>org.apache.maven.plugins</groupId>
100 <artifactId>maven-javadoc-plugin</artifactId>
101 <version>2.6.1</version>
102 <configuration>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -0800103 <source>1.5</source>
104 <target>1.5</target>
105 <encoding>UTF-8</encoding>
106 <maxmemory>512m</maxmemory>
107 <links>
Tatu Saloranta01ba0532012-03-09 18:21:05 -0800108 <link>http://docs.oracle.com/javase/6/docs/api/</link>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -0800109 </links>
Tatu Saloranta5e69eec2012-03-25 11:52:34 -0700110 </configuration>
111 <executions>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -0800112 <execution>
113 <id>attach-javadocs</id>
114 <phase>verify</phase>
115 <goals>
116 <goal>jar</goal>
117 </goals>
118 </execution>
Tatu Saloranta5e69eec2012-03-25 11:52:34 -0700119 </executions>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -0800120 </plugin>
121
122 <!-- Plus, let's make jars OSGi bundles as well -->
123 <plugin>
124 <groupId>org.apache.felix</groupId>
125 <artifactId>maven-bundle-plugin</artifactId>
Tatu Saloranta7e2b22a2011-12-22 21:51:29 -0800126 <version>2.3.6</version>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -0800127 <extensions>true</extensions>
128 <configuration>
129 <instructions>
130 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
131 <Bundle-Vendor>fasterml.com</Bundle-Vendor>
132 <Import-Package>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -0800133</Import-Package>
134 <Private-Package>
135</Private-Package>
136 <Export-Package>
137com.fasterxml.jackson.core,
Tatu Salorantad77350e2011-12-22 23:13:13 -0800138com.fasterxml.jackson.core.base,
139com.fasterxml.jackson.core.format,
140com.fasterxml.jackson.core.io,
141com.fasterxml.jackson.core.json,
142com.fasterxml.jackson.core.sym,
143com.fasterxml.jackson.core.type,
144com.fasterxml.jackson.core.util
Tatu Salorantaa57fbe12011-12-22 18:13:05 -0800145</Export-Package>
146 </instructions>
147 </configuration>
148 </plugin>
149 </plugins>
150 </build>
151 <profiles>
152 <profile>
153 <id>release-sign-artifacts</id>
154 <activation>
155 <property>
156 <name>performRelease</name>
157 <value>true</value>
158 </property>
159 </activation>
160 <build>
161 <plugins>
162 <plugin>
163 <groupId>org.apache.maven.plugins</groupId>
164 <artifactId>maven-gpg-plugin</artifactId>
165 <version>1.1</version>
166 <executions>
167 <execution>
168 <id>sign-artifacts</id>
169 <phase>verify</phase>
170 <goals>
171 <goal>sign</goal>
172 </goals>
173 </execution>
174 </executions>
175 </plugin>
176 </plugins>
177 </build>
178 </profile>
179 </profiles>
180 <!-- NOTE: repositories from parent POM -->
181
182</project>