| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Copyright (C) 2011 ZXing authors |
| |
| 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/maven-v4_0_0.xsd"> |
| <parent> |
| <groupId>org.sonatype.oss</groupId> |
| <artifactId>oss-parent</artifactId> |
| <version>7</version> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| <groupId>com.google.zxing</groupId> |
| <artifactId>android-integration</artifactId> |
| <packaging>jar</packaging> |
| <name>ZXing Android Integration lib</name> |
| <version>2.2-SNAPSHOT</version> |
| <description>Integration helper classes for Android applications wanting to create/scan bar codes</description> |
| <url>http://code.google.com/p/zxing/</url> |
| <inceptionYear>2007</inceptionYear> |
| <issueManagement> |
| <system>Google Code</system> |
| <url>http://code.google.com/p/zxing/issues/list</url> |
| </issueManagement> |
| <licenses> |
| <license> |
| <name>The Apache Software License, Version 2.0</name> |
| <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| <distribution>repo</distribution> |
| </license> |
| </licenses> |
| <scm> |
| <connection>scm:svn:http://zxing.googlecode.com/svn/trunk/android-integration</connection> |
| <developerConnection>scm:svn:https://zxing.googlecode.com/svn/trunk/android-integration</developerConnection> |
| <url>http://zxing.googlecode.com/svn/trunk/android-integration</url> |
| </scm> |
| <developers> |
| <!-- I am listing myself only, merely because I would be the most likely point of contact for pom.xml --> |
| <developer> |
| <id>srowen</id> |
| <name>Sean Owen</name> |
| </developer> |
| </developers> |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| </properties> |
| <dependencies> |
| <dependency> |
| <groupId>com.google.android</groupId> |
| <artifactId>android</artifactId> |
| <version>4.0.1.2</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.android</groupId> |
| <artifactId>support-v4</artifactId> |
| <version>r7</version> |
| </dependency> |
| </dependencies> |
| <build> |
| <sourceDirectory>src</sourceDirectory> |
| <outputDirectory>build</outputDirectory> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>2.4</version> |
| <configuration> |
| <source>6</source> |
| <target>6</target> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>2.1.2</version> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>2.8.1</version> |
| <executions> |
| <execution> |
| <id>attach-javadocs</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>2.4</version> |
| <configuration> |
| <!-- By default exclude the Honeycomb and Support classes. --> |
| <excludes> |
| <exclude>**/IntentIntegratorV30*</exclude> |
| <exclude>**/IntentIntegratorSupportV4*</exclude> |
| </excludes> |
| </configuration> |
| <executions> |
| <!-- Build a Honeycomb classifier and exclude the Support classes. --> |
| <execution> |
| <id>honeycomb</id> |
| <phase>package</phase> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| <configuration> |
| <classifier>honeycomb</classifier> |
| <excludes> |
| <exclude>**/IntentIntegratorSupportV4*</exclude> |
| </excludes> |
| </configuration> |
| </execution> |
| <!-- Build a SupportV4 classifier and exclude the Honeycomb classes. --> |
| <execution> |
| <id>supportv4</id> |
| <phase>package</phase> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| <configuration> |
| <classifier>supportv4</classifier> |
| <excludes> |
| <exclude>**/IntentIntegratorV30*</exclude> |
| </excludes> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-release-plugin</artifactId> |
| <version>2.3.1</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-gpg-plugin</artifactId> |
| <version>1.4</version> |
| <executions> |
| <execution> |
| <id>sign-artifacts</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>sign</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| <distributionManagement> |
| <repository> |
| <id>sonatype-nexus-staging</id> |
| <name>Sonatype Nexus Staging</name> |
| <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> |
| </repository> |
| <snapshotRepository> |
| <id>sonatype-nexus-snapshots</id> |
| <name>Sonatype Nexus Snapshots</name> |
| <url>http://oss.sonatype.org/content/repositories/snapshots</url> |
| </snapshotRepository> |
| </distributionManagement> |
| <profiles> |
| <profile> |
| <id>release-sign-artifacts</id> |
| <activation> |
| <property> |
| <name>performRelease</name> |
| <value>true</value> |
| </property> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-gpg-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>sign-artifacts</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>sign</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |