| <!-- | |
| Licensed under the Apache License, Version 2.0 (the "License"); | |
| you may not use this file except in compliance with the License. | |
| You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 | |
| Unless required by applicable law or agreed to in writing, software | |
| distributed under the License is distributed on an "AS IS" BASIS, | |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| See the License for the specific language governing permissions and | |
| limitations under the License. | |
| Maven project to build and deploy J2ObjC annotations. | |
| --> | |
| <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/maven-v4_0_0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <properties> | |
| <maven.compiler.source>11</maven.compiler.source> | |
| <maven.compiler.target>11</maven.compiler.target> | |
| </properties> | |
| <groupId>com.google.j2objc</groupId> | |
| <artifactId>j2objc-annotations</artifactId> | |
| <packaging>jar</packaging> | |
| <version>3.1-SNAPSHOT</version> | |
| <name>J2ObjC Annotations</name> | |
| <description> | |
| A set of annotations that provide additional information to the J2ObjC | |
| translator to modify the result of translation. | |
| </description> | |
| <url>https://github.com/google/j2objc/</url> | |
| <licenses> | |
| <license> | |
| <name>Apache License, Version 2.0</name> | |
| <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | |
| <distribution>repo</distribution> | |
| </license> | |
| </licenses> | |
| <scm> | |
| <url>http://github.com/google/j2objc</url> | |
| <connection>scm:git:git://github.com/google/j2objc.git</connection> | |
| <developerConnection>scm:git:ssh://git@github.com/google/j2objc.git</developerConnection> | |
| </scm> | |
| <developers> | |
| <developer> | |
| <id>tomball</id> | |
| <name>Tom Ball</name> | |
| <email>tball@google.com</email> | |
| <organization>Google</organization> | |
| <organizationUrl>https://www.google.com</organizationUrl> | |
| </developer> | |
| </developers> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <version>3.12.1</version> | |
| <executions> | |
| <execution> | |
| <id>default-compile</id> | |
| <configuration> | |
| <source>1.8</source> | |
| <target>1.8</target> | |
| <excludes> | |
| <exclude>module-info.java</exclude> | |
| </excludes> | |
| </configuration> | |
| </execution> | |
| <execution> | |
| <id>compile-java9</id> | |
| <phase>compile</phase> | |
| <goals> | |
| <goal>compile</goal> | |
| </goals> | |
| <configuration> | |
| <release>9</release> | |
| <multiReleaseOutput>true</multiReleaseOutput> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-jar-plugin</artifactId> | |
| <version>3.3.0</version> | |
| <configuration> | |
| <archive> | |
| <manifestEntries> | |
| <Multi-Release>true</Multi-Release> | |
| </manifestEntries> | |
| </archive> | |
| <excludes> | |
| <exclude>META-INF/versions/9/com/**</exclude> | |
| </excludes> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-javadoc-plugin</artifactId> | |
| <version>3.6.3</version> | |
| <executions> | |
| <execution> | |
| <id>generate-docs</id> | |
| <phase>package</phase> | |
| <goals><goal>jar</goal></goals> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-source-plugin</artifactId> | |
| <version>3.3.0</version> | |
| <executions> | |
| <execution> | |
| <id>generate-sources</id> | |
| <phase>package</phase> | |
| <goals><goal>jar-no-fork</goal></goals> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-gpg-plugin</artifactId> | |
| <version>3.1.0</version> | |
| <executions> | |
| <execution> | |
| <id>sign-artifacts</id> | |
| <phase>verify</phase> | |
| <goals><goal>sign</goal></goals> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.sonatype.central</groupId> | |
| <artifactId>central-publishing-maven-plugin</artifactId> | |
| <version>0.8.0</version> | |
| <extensions>true</extensions> | |
| <configuration> | |
| <publishingServerId>central</publishingServerId> | |
| <autoPublish>true</autoPublish> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </project> |