blob: 7a57d63f8da09938d82282ffb1f18056f47dc36e [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>
6 <version>5</version>
7 </parent>
8 <groupId>com.fasterxml.jackson.core</groupId>
9 <artifactId>jackson-core</artifactId>
10 <name>Jackson-core</name>
11 <version>2.0.0-SNAPSHOT</version>
12 <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>
60 <plugins>
61 <plugin>
62 <artifactId>maven-compiler-plugin</artifactId>
63 <version>2.3.2</version>
64 <configuration>
65 <source>1.6</source>
66 <target>1.6</target>
67 </configuration>
68 </plugin>
69 <plugin>
70 <groupId>org.apache.maven.plugins</groupId>
71 <artifactId>maven-release-plugin</artifactId>
72 <version>2.1</version>
73 <configuration>
74 <mavenExecutorId>forked-path</mavenExecutorId>
75 </configuration>
76 </plugin>
77 <plugin><!-- plug-in to attach source bundle in repo -->
78 <groupId>org.apache.maven.plugins</groupId>
79 <artifactId>maven-source-plugin</artifactId>
80 <version>2.1.2</version>
81 <executions>
82 <execution>
83 <id>attach-sources</id>
84 <goals>
85 <goal>jar</goal>
86 </goals>
87 </execution>
88 </executions>
89 </plugin>
90 <plugin>
91 <groupId>org.apache.maven.plugins</groupId>
92 <artifactId>maven-javadoc-plugin</artifactId>
93 <version>2.6.1</version>
94 <configuration>
95 <source>1.5</source>
96 <target>1.5</target>
97 <encoding>UTF-8</encoding>
98 <maxmemory>512m</maxmemory>
99 <links>
100 <link>http://java.sun.com/javase/6/docs/api/</link>
101 </links>
102 </configuration>
103 <executions>
104 <execution>
105 <id>attach-javadocs</id>
106 <phase>verify</phase>
107 <goals>
108 <goal>jar</goal>
109 </goals>
110 </execution>
111 </executions>
112 </plugin>
113
114 <!-- Plus, let's make jars OSGi bundles as well -->
115 <plugin>
116 <groupId>org.apache.felix</groupId>
117 <artifactId>maven-bundle-plugin</artifactId>
Tatu Saloranta7e2b22a2011-12-22 21:51:29 -0800118 <version>2.3.6</version>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -0800119 <extensions>true</extensions>
120 <configuration>
121 <instructions>
122 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
123 <Bundle-Vendor>fasterml.com</Bundle-Vendor>
124 <Import-Package>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -0800125</Import-Package>
126 <Private-Package>
127</Private-Package>
128 <Export-Package>
129com.fasterxml.jackson.core,
130com.fasterxml.jackson.core.impl
131</Export-Package>
132 </instructions>
133 </configuration>
134 </plugin>
135 </plugins>
136 </build>
137 <profiles>
138 <profile>
139 <id>release-sign-artifacts</id>
140 <activation>
141 <property>
142 <name>performRelease</name>
143 <value>true</value>
144 </property>
145 </activation>
146 <build>
147 <plugins>
148 <plugin>
149 <groupId>org.apache.maven.plugins</groupId>
150 <artifactId>maven-gpg-plugin</artifactId>
151 <version>1.1</version>
152 <executions>
153 <execution>
154 <id>sign-artifacts</id>
155 <phase>verify</phase>
156 <goals>
157 <goal>sign</goal>
158 </goals>
159 </execution>
160 </executions>
161 </plugin>
162 </plugins>
163 </build>
164 </profile>
165 </profiles>
166 <!-- NOTE: repositories from parent POM -->
167
168</project>