| <!-- |
| |
| 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. |
| |
| --> |
| <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"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>com.github.commons-rdf</groupId> |
| <artifactId>commons-rdf</artifactId> |
| <version>0.0.3-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>commons-rdf-api</artifactId> |
| <packaging>jar</packaging> |
| |
| <name>Commons RDF: API</name> |
| <description>Commons Java API for RDF 1.1</description> |
| |
| <profiles> |
| <profile> |
| <id>java6</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-patch-plugin</artifactId> |
| <version>1.1.1</version> |
| <configuration> |
| <strip>5</strip> |
| <patches> |
| <patch>java6.patch</patch> |
| </patches> |
| </configuration> |
| <executions> |
| <execution> |
| <id>patch</id> |
| <phase>process-sources</phase> |
| <goals> |
| <goal>apply</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <version>1.3.1</version> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>exec</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <executable>git</executable> |
| <arguments> |
| <argument>checkout</argument> |
| <argument>src/main/java/com/github/commonsrdf/api/Graph.java</argument> |
| <argument>src/main/java/com/github/commonsrdf/api/Literal.java</argument> |
| <argument>src/main/java/com/github/commonsrdf/api/RDFTermFactory.java</argument> |
| </arguments> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| <dependencies> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <version>17.0</version> |
| <exclusions> |
| <exclusion> |
| <groupId>com.google.code.findbugs</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| </dependencies> |
| </profile> |
| </profiles> |
| </project> |