Tatu Saloranta | 3126658 | 2011-12-22 21:20:15 -0800 | [diff] [blame^] | 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 | <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-annotations</artifactId> |
| 10 | <name>Jackson-annotations</name> |
| 11 | <version>2.0.0-SNAPSHOT</version> |
| 12 | <packaging>bundle</packaging> |
| 13 | <description>Core annotations used for value types, used by Jackson databinding package. |
| 14 | </description> |
| 15 | <url>http://wiki.fasterxml.com/JacksonHome</url> |
| 16 | <scm> |
| 17 | <connection>scm:git:git@github.com:FasterXML/jackson-annotations.git</connection> |
| 18 | <developerConnection>scm:git:git@github.com:FasterXML/jackson-annotations.git</developerConnection> |
| 19 | <url>http://github.com/FasterXML/jackson-annotations</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> |
| 50 | <!-- No dependencies to core types (annotations that |
| 51 | do have dependencies are included in those packages) |
| 52 | --> |
| 53 | <!-- and for testing, JUnit is needed --> |
| 54 | <dependency> |
| 55 | <groupId>junit</groupId> |
| 56 | <artifactId>junit</artifactId> |
| 57 | <version>4.8.2</version> |
| 58 | <scope>test</scope> |
| 59 | </dependency> |
| 60 | </dependencies> |
| 61 | |
| 62 | <build> |
| 63 | <plugins> |
| 64 | <plugin> |
| 65 | <artifactId>maven-compiler-plugin</artifactId> |
| 66 | <version>2.3.2</version> |
| 67 | <configuration> |
| 68 | <source>1.6</source> |
| 69 | <target>1.6</target> |
| 70 | </configuration> |
| 71 | </plugin> |
| 72 | <plugin> |
| 73 | <groupId>org.apache.maven.plugins</groupId> |
| 74 | <artifactId>maven-release-plugin</artifactId> |
| 75 | <version>2.1</version> |
| 76 | <configuration> |
| 77 | <mavenExecutorId>forked-path</mavenExecutorId> |
| 78 | </configuration> |
| 79 | </plugin> |
| 80 | <plugin><!-- plug-in to attach source bundle in repo --> |
| 81 | <groupId>org.apache.maven.plugins</groupId> |
| 82 | <artifactId>maven-source-plugin</artifactId> |
| 83 | <version>2.1.2</version> |
| 84 | <executions> |
| 85 | <execution> |
| 86 | <id>attach-sources</id> |
| 87 | <goals> |
| 88 | <goal>jar</goal> |
| 89 | </goals> |
| 90 | </execution> |
| 91 | </executions> |
| 92 | </plugin> |
| 93 | <plugin> |
| 94 | <groupId>org.apache.maven.plugins</groupId> |
| 95 | <artifactId>maven-javadoc-plugin</artifactId> |
| 96 | <version>2.6.1</version> |
| 97 | <configuration> |
| 98 | <source>1.5</source> |
| 99 | <target>1.5</target> |
| 100 | <encoding>UTF-8</encoding> |
| 101 | <maxmemory>512m</maxmemory> |
| 102 | <links> |
| 103 | <link>http://java.sun.com/javase/6/docs/api/</link> |
| 104 | </links> |
| 105 | </configuration> |
| 106 | <executions> |
| 107 | <execution> |
| 108 | <id>attach-javadocs</id> |
| 109 | <phase>verify</phase> |
| 110 | <goals> |
| 111 | <goal>jar</goal> |
| 112 | </goals> |
| 113 | </execution> |
| 114 | </executions> |
| 115 | </plugin> |
| 116 | |
| 117 | <!-- Plus, let's make jars OSGi bundles as well --> |
| 118 | <plugin> |
| 119 | <groupId>org.apache.felix</groupId> |
| 120 | <artifactId>maven-bundle-plugin</artifactId> |
| 121 | <version>2.3.4</version> |
| 122 | <extensions>true</extensions> |
| 123 | <configuration> |
| 124 | <instructions> |
| 125 | <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> |
| 126 | <Bundle-Vendor>fasterml.com</Bundle-Vendor> |
| 127 | <Import-Package> |
| 128 | com.fasterxml.jackson.annotation |
| 129 | </Import-Package> |
| 130 | <Private-Package> |
| 131 | </Private-Package> |
| 132 | <Export-Package> |
| 133 | com.fasterxml.jackson.core, |
| 134 | com.fasterxml.jackson.core.impl |
| 135 | </Export-Package> |
| 136 | </instructions> |
| 137 | </configuration> |
| 138 | </plugin> |
| 139 | </plugins> |
| 140 | </build> |
| 141 | <profiles> |
| 142 | <profile> |
| 143 | <id>release-sign-artifacts</id> |
| 144 | <activation> |
| 145 | <property> |
| 146 | <name>performRelease</name> |
| 147 | <value>true</value> |
| 148 | </property> |
| 149 | </activation> |
| 150 | <build> |
| 151 | <plugins> |
| 152 | <plugin> |
| 153 | <groupId>org.apache.maven.plugins</groupId> |
| 154 | <artifactId>maven-gpg-plugin</artifactId> |
| 155 | <version>1.1</version> |
| 156 | <executions> |
| 157 | <execution> |
| 158 | <id>sign-artifacts</id> |
| 159 | <phase>verify</phase> |
| 160 | <goals> |
| 161 | <goal>sign</goal> |
| 162 | </goals> |
| 163 | </execution> |
| 164 | </executions> |
| 165 | </plugin> |
| 166 | </plugins> |
| 167 | </build> |
| 168 | </profile> |
| 169 | </profiles> |
| 170 | <!-- NOTE: repositories from parent POM --> |
| 171 | |
| 172 | </project> |