1 <?xml version="1.0" encoding="UTF-8"?> 2 <project 3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" 4 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 5 6 <modelVersion>4.0.0</modelVersion> 7 8 <groupId>org.jetbrains</groupId> 9 <artifactId>annotations</artifactId> 10 <version>13.0</version> 11 <packaging>jar</packaging> 12 13 <name>IntelliJ IDEA Annotations</name> 14 <description>A set of annotations used for code inspection support and code documentation.</description> 15 <url>http://www.jetbrains.org</url> 16 17 <licenses> 18 <license> 19 <name>The Apache Software License, Version 2.0</name> 20 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> 21 <distribution>repo</distribution> 22 <comments>A business-friendly OSS license</comments> 23 </license> 24 </licenses> 25 26 <scm> 27 <url>https://github.com/JetBrains/intellij-community</url> 28 <connection>scm:git:https://github.com/JetBrains/intellij-community.git</connection> 29 </scm> 30 31 <developers> 32 <developer> 33 <id>JetBrains</id> 34 <name>JetBrains Team</name> 35 <organization>JetBrains</organization> 36 <organizationUrl>http://www.jetbrains.com</organizationUrl> 37 </developer> 38 </developers> 39 40 <properties> 41 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 42 </properties> 43 44 <build> 45 <plugins> 46 <plugin> 47 <artifactId>maven-antrun-plugin</artifactId> 48 <version>1.7</version> 49 <executions> 50 <execution> 51 <phase>generate-sources</phase> 52 <configuration> 53 <tasks> 54 <delete dir="${basedir}/src/main/java" /> 55 <mkdir dir="${basedir}/src/main/java" /> 56 <copy todir="${basedir}/src/main/java"> 57 <fileset dir="${basedir}/../../../community/platform/annotations/src" /> 58 </copy> 59 </tasks> 60 </configuration> 61 <goals> 62 <goal>run</goal> 63 </goals> 64 </execution> 65 </executions> 66 </plugin> 67 68 <plugin> 69 <groupId>org.apache.maven.plugins</groupId> 70 <artifactId>maven-source-plugin</artifactId> 71 <version>2.1.2</version> 72 73 <executions> 74 <execution> 75 <id>attach-sources</id> 76 <goals> 77 <goal>jar</goal> 78 </goals> 79 </execution> 80 </executions> 81 </plugin> 82 83 <plugin> 84 <groupId>org.apache.maven.plugins</groupId> 85 <artifactId>maven-compiler-plugin</artifactId> 86 <version>3.1</version> 87 <configuration> 88 <source>1.5</source> 89 <target>1.5</target> 90 </configuration> 91 </plugin> 92 93 <plugin> 94 <groupId>org.apache.maven.plugins</groupId> 95 <artifactId>maven-javadoc-plugin</artifactId> 96 <version>2.9.1</version> 97 <executions> 98 <execution> 99 <id>attach-javadocs</id> 100 <goals> 101 <goal>jar</goal> 102 </goals> 103 </execution> 104 </executions> 105 </plugin> 106 107 <plugin> 108 <artifactId>maven-gpg-plugin</artifactId> 109 <version>1.4</version> 110 <configuration> 111 <keyname>66770193</keyname> 112 <homedir>${basedir}/.gnupg</homedir> 113 </configuration> 114 <executions> 115 <execution> 116 <id>sign-artifacts</id> 117 <phase>verify</phase> 118 <goals> 119 <goal>sign</goal> 120 </goals> 121 </execution> 122 </executions> 123 </plugin> 124 125 </plugins> 126 </build> 127 128 <distributionManagement> 129 <repository> 130 <id>sonatype-nexus-staging</id> 131 <url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url> 132 </repository> 133 <snapshotRepository> 134 <id>sonatype-nexus-snapshots</id> 135 <url>https://oss.sonatype.org/content/repositories/snapshots/</url> 136 </snapshotRepository> 137 </distributionManagement> 138 139 </project> 140