2013-11-16 17:34:42 -08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
Copyright (C) 2010 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">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<groupId>com.google.zxing</groupId>
|
|
|
|
<artifactId>zxing-parent</artifactId>
|
2016-09-16 07:20:51 -07:00
|
|
|
<version>3.3.1-SNAPSHOT</version>
|
2013-11-16 17:34:42 -08:00
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
2013-11-29 04:28:10 -08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
<version>${slf4j.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-jdk14</artifactId>
|
|
|
|
<version>${slf4j.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>jcl-over-slf4j</artifactId>
|
|
|
|
<version>${slf4j.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2013-12-26 11:28:57 -08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
2017-01-24 04:21:37 -08:00
|
|
|
<version>21.0</version>
|
2013-12-26 11:28:57 -08:00
|
|
|
</dependency>
|
2014-05-22 00:17:32 -07:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.zxing</groupId>
|
|
|
|
<artifactId>core</artifactId>
|
|
|
|
<version>${zxing.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.zxing</groupId>
|
|
|
|
<artifactId>android-core</artifactId>
|
|
|
|
<version>${zxing.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.zxing</groupId>
|
|
|
|
<artifactId>android-integration</artifactId>
|
|
|
|
<version>${zxing.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.zxing</groupId>
|
|
|
|
<artifactId>javase</artifactId>
|
|
|
|
<version>${zxing.version}</version>
|
|
|
|
</dependency>
|
2013-11-16 17:34:42 -08:00
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
2014-12-13 09:13:39 -08:00
|
|
|
<version>4.12</version>
|
2013-11-16 17:34:42 -08:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
|
|
|
<modules>
|
|
|
|
<module>core</module>
|
|
|
|
<module>javase</module>
|
2017-01-24 05:25:08 -08:00
|
|
|
<!-- android modules are activated by a profile below -->
|
2013-11-16 17:34:42 -08:00
|
|
|
<module>zxing.appspot.com</module>
|
|
|
|
<module>zxingorg</module>
|
|
|
|
</modules>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
2014-04-14 00:23:28 -07:00
|
|
|
<java.version>1.7</java.version>
|
2015-05-02 09:16:31 -07:00
|
|
|
<maven.version.min>3.2.1</maven.version.min>
|
2016-12-12 07:50:22 -08:00
|
|
|
<proguard.version>5.3.2</proguard.version>
|
2016-06-20 01:13:21 -07:00
|
|
|
<proguard.plugin.version>2.0.13</proguard.plugin.version>
|
2017-01-06 05:30:11 -08:00
|
|
|
<slf4j.version>1.7.22</slf4j.version>
|
2014-05-22 00:17:32 -07:00
|
|
|
<!-- This can't reference project.version as some subprojects version differently -->
|
2016-09-16 07:20:51 -07:00
|
|
|
<zxing.version>3.3.1-SNAPSHOT</zxing.version>
|
2017-01-24 05:25:08 -08:00
|
|
|
<android.platform>22</android.platform>
|
2013-11-16 17:34:42 -08:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<build>
|
2013-11-16 20:57:26 -08:00
|
|
|
<plugins>
|
2013-11-21 04:00:37 -08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
</plugin>
|
2014-01-22 10:11:05 -08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
|
|
<inherited>false</inherited>
|
|
|
|
</plugin>
|
2014-02-28 03:52:52 -08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
|
|
</plugin>
|
2014-09-08 12:58:21 -07:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>clirr-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
2015-05-15 07:44:45 -07:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.rat</groupId>
|
|
|
|
<artifactId>apache-rat-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
|
|
</plugin>
|
2015-05-25 15:54:18 -07:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
</plugin>
|
2013-11-16 20:57:26 -08:00
|
|
|
</plugins>
|
2013-11-16 17:34:42 -08:00
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
2015-09-23 03:40:08 -07:00
|
|
|
<version>1.4.1</version>
|
2014-05-13 07:35:52 -07:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>enforce</id>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
2015-08-19 05:21:00 -07:00
|
|
|
<requireModuleConvergence />
|
|
|
|
<requirePluginVersions />
|
|
|
|
<requireUpperBoundDeps />
|
2014-05-22 08:19:05 -07:00
|
|
|
<dependencyConvergence />
|
2014-05-13 07:35:52 -07:00
|
|
|
<requireMavenVersion>
|
2015-05-02 09:16:31 -07:00
|
|
|
<version>${maven.version.min}</version>
|
2014-05-13 07:35:52 -07:00
|
|
|
</requireMavenVersion>
|
|
|
|
<requireJavaVersion>
|
|
|
|
<version>${java.version}</version>
|
|
|
|
</requireJavaVersion>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2013-11-16 17:34:42 -08:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2017-01-24 04:21:37 -08:00
|
|
|
<version>3.6.1</version>
|
2013-11-16 17:34:42 -08:00
|
|
|
<configuration>
|
2014-04-14 00:23:28 -07:00
|
|
|
<source>${java.version}</source>
|
|
|
|
<target>${java.version}</target>
|
2013-11-16 17:34:42 -08:00
|
|
|
<compilerArgs>
|
|
|
|
<arg>-Xlint:all</arg>
|
|
|
|
</compilerArgs>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
2016-07-08 07:21:18 -07:00
|
|
|
<version>3.0.1</version>
|
2013-11-16 17:34:42 -08:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-sources</id>
|
|
|
|
<goals>
|
2014-04-18 06:17:29 -07:00
|
|
|
<goal>jar-no-fork</goal>
|
2013-11-16 17:34:42 -08:00
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
2016-06-12 10:10:45 -07:00
|
|
|
<version>2.10.4</version>
|
2013-11-16 17:34:42 -08:00
|
|
|
<configuration>
|
2014-04-14 00:23:28 -07:00
|
|
|
<javadocVersion>${java.version}</javadocVersion>
|
2016-09-11 09:26:47 -07:00
|
|
|
<quiet>true</quiet>
|
|
|
|
<notimestamp>true</notimestamp>
|
2013-11-16 17:34:42 -08:00
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-javadocs</id>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
2015-10-23 05:19:25 -07:00
|
|
|
<version>3.0.0</version>
|
2013-11-16 18:00:19 -08:00
|
|
|
<configuration>
|
|
|
|
<filesets>
|
|
|
|
<fileset>
|
|
|
|
<directory>.</directory>
|
|
|
|
<includes>
|
2013-11-29 05:02:11 -08:00
|
|
|
<include>**/classes/**</include>
|
|
|
|
<include>**/gwt-unitCache/**</include>
|
|
|
|
<include>**/webapp/generator/**</include>
|
|
|
|
<include>**/WEB-INF/deploy/**</include>
|
2013-11-16 18:00:19 -08:00
|
|
|
</includes>
|
|
|
|
</fileset>
|
|
|
|
</filesets>
|
|
|
|
</configuration>
|
2013-11-16 17:34:42 -08:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-install-plugin</artifactId>
|
2014-09-02 08:39:55 -07:00
|
|
|
<version>2.5.2</version>
|
2015-01-24 02:55:19 -08:00
|
|
|
<configuration>
|
|
|
|
<createChecksum>true</createChecksum>
|
|
|
|
</configuration>
|
2013-11-16 17:34:42 -08:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2013-11-25 00:28:59 -08:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2013-11-16 17:34:42 -08:00
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
2016-12-12 07:50:22 -08:00
|
|
|
<version>3.0.2</version>
|
2013-11-16 17:34:42 -08:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
2016-07-08 07:21:18 -07:00
|
|
|
<version>3.0.2</version>
|
2013-11-16 17:34:42 -08:00
|
|
|
</plugin>
|
2015-12-09 06:25:10 -08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
2016-11-29 04:16:07 -08:00
|
|
|
<version>3.0.0</version>
|
2015-12-09 06:25:10 -08:00
|
|
|
</plugin>
|
2014-03-04 08:45:52 -08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jarsigner-plugin</artifactId>
|
2015-03-21 09:44:46 -07:00
|
|
|
<version>1.4</version>
|
2015-01-30 09:11:07 -08:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>signing</id>
|
|
|
|
<goals>
|
|
|
|
<goal>sign</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>package</phase>
|
|
|
|
<configuration>
|
|
|
|
<includes>
|
|
|
|
<include>target/*.apk</include>
|
|
|
|
</includes>
|
|
|
|
<keystore>../private/ZXing.keystore</keystore>
|
|
|
|
<alias>zxing</alias>
|
|
|
|
<arguments>
|
|
|
|
<argument>-sigalg</argument>
|
|
|
|
<argument>MD5withRSA</argument>
|
|
|
|
<argument>-digestalg</argument>
|
|
|
|
<argument>SHA1</argument>
|
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2014-03-04 08:45:52 -08:00
|
|
|
</plugin>
|
2013-11-16 17:34:42 -08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-release-plugin</artifactId>
|
2015-10-23 05:19:25 -07:00
|
|
|
<version>2.5.3</version>
|
2014-02-28 04:17:52 -08:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.scm</groupId>
|
|
|
|
<artifactId>maven-scm-provider-gitexe</artifactId>
|
2016-07-16 04:38:19 -07:00
|
|
|
<version>1.9.5</version>
|
2014-02-28 04:17:52 -08:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2014-02-28 03:52:52 -08:00
|
|
|
<configuration>
|
2014-02-28 04:38:36 -08:00
|
|
|
<mavenExecutorId>forked-path</mavenExecutorId>
|
2014-02-28 03:52:52 -08:00
|
|
|
<tagNameFormat>zxing-@{project.version}</tagNameFormat>
|
2014-04-18 06:17:29 -07:00
|
|
|
<releaseProfiles>release</releaseProfiles>
|
2014-02-28 04:17:52 -08:00
|
|
|
<goals>deploy</goals>
|
2014-02-28 03:52:52 -08:00
|
|
|
</configuration>
|
2013-11-16 17:34:42 -08:00
|
|
|
</plugin>
|
2014-02-28 04:17:52 -08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-scm-plugin</artifactId>
|
2016-07-16 04:38:19 -07:00
|
|
|
<version>1.9.5</version>
|
2014-02-28 04:17:52 -08:00
|
|
|
</plugin>
|
2013-11-16 17:34:42 -08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
2014-09-02 08:39:55 -07:00
|
|
|
<version>2.8.2</version>
|
2013-11-16 17:34:42 -08:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2013-11-16 20:57:26 -08:00
|
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
2016-04-05 14:51:25 -07:00
|
|
|
<version>2.9</version>
|
2013-11-16 20:57:26 -08:00
|
|
|
</plugin>
|
2013-11-16 17:34:42 -08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
2015-01-24 02:55:19 -08:00
|
|
|
<version>1.6</version>
|
2013-11-16 17:34:42 -08:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>sign-artifacts</id>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>sign</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2014-02-28 03:52:52 -08:00
|
|
|
<configuration>
|
2014-02-28 04:38:36 -08:00
|
|
|
<keyname>Sean Owen (ZXing) <srowen@gmail.com></keyname>
|
2014-02-28 03:52:52 -08:00
|
|
|
<executable>gpg2</executable>
|
|
|
|
</configuration>
|
2013-11-16 17:34:42 -08:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
2016-01-21 05:46:48 -08:00
|
|
|
<version>2.19.1</version>
|
2013-11-16 17:34:42 -08:00
|
|
|
<configuration>
|
2014-06-01 15:32:44 -07:00
|
|
|
<forkCount>0.5C</forkCount>
|
2013-11-16 17:34:42 -08:00
|
|
|
<systemPropertyVariables>
|
|
|
|
<java.awt.headless>true</java.awt.headless>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
2016-09-04 13:31:26 -07:00
|
|
|
<version>3.0.0</version>
|
2013-11-24 08:18:44 -08:00
|
|
|
</plugin>
|
2014-03-04 08:45:52 -08:00
|
|
|
<plugin>
|
2015-02-12 06:58:04 -08:00
|
|
|
<groupId>com.simpligility.maven.plugins</groupId>
|
2014-03-04 08:45:52 -08:00
|
|
|
<artifactId>android-maven-plugin</artifactId>
|
2016-08-08 03:16:57 -07:00
|
|
|
<version>4.4.3</version>
|
2014-03-04 08:45:52 -08:00
|
|
|
<extensions>true</extensions>
|
2014-03-13 09:26:17 -07:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>android-zipalign</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>zipalign</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2014-03-04 08:45:52 -08:00
|
|
|
<configuration>
|
|
|
|
<sdk>
|
2017-01-24 05:37:41 -08:00
|
|
|
<path>${env.ANDROID_HOME}</path>
|
2017-01-24 05:25:08 -08:00
|
|
|
<platform>${android.platform}</platform>
|
2014-03-04 08:45:52 -08:00
|
|
|
</sdk>
|
2017-01-24 07:20:06 -08:00
|
|
|
<artifactSet>
|
|
|
|
<excludes>
|
|
|
|
<!-- Make sure Android SDK jar isn't included -->
|
|
|
|
<exclude>com.google.android:android</exclude>
|
|
|
|
</excludes>
|
|
|
|
</artifactSet>
|
2014-03-13 08:09:36 -07:00
|
|
|
<proguard>
|
|
|
|
<skip>true</skip>
|
|
|
|
</proguard>
|
|
|
|
<sign>
|
|
|
|
<debug>true</debug>
|
|
|
|
</sign>
|
2014-03-13 09:26:17 -07:00
|
|
|
<zipalign>
|
|
|
|
<skip>false</skip>
|
|
|
|
</zipalign>
|
2014-03-13 08:09:36 -07:00
|
|
|
<release>false</release>
|
|
|
|
<apkDebug>true</apkDebug>
|
2014-09-21 06:34:21 -07:00
|
|
|
<androidManifestFile>AndroidManifest.xml</androidManifestFile>
|
|
|
|
<resourceDirectory>res</resourceDirectory>
|
|
|
|
<assetsDirectory>assets</assetsDirectory>
|
2014-09-26 03:12:15 -07:00
|
|
|
<nativeLibrariesDirectory>libs</nativeLibrariesDirectory>
|
2015-05-02 09:16:31 -07:00
|
|
|
<disableConflictingDependenciesWarning>true</disableConflictingDependenciesWarning>
|
2014-03-04 08:45:52 -08:00
|
|
|
</configuration>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sf.proguard</groupId>
|
|
|
|
<artifactId>proguard-base</artifactId>
|
2016-06-08 10:40:27 -07:00
|
|
|
<version>${proguard.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.github.wvengen</groupId>
|
|
|
|
<artifactId>proguard-maven-plugin</artifactId>
|
2016-06-20 01:13:21 -07:00
|
|
|
<version>${proguard.plugin.version}</version>
|
2016-06-08 10:40:27 -07:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>proguard</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<proguardVersion>${proguard.version}</proguardVersion>
|
|
|
|
<addMavenDescriptor>true</addMavenDescriptor>
|
|
|
|
<obfuscate>false</obfuscate>
|
|
|
|
<options>
|
|
|
|
<option>-target ${java.version}</option>
|
|
|
|
<option>-dontshrink</option>
|
|
|
|
<option>-keep class * { !private *; }</option>
|
|
|
|
<option>-verbose</option>
|
|
|
|
<option>-optimizationpasses 3</option>
|
|
|
|
</options>
|
|
|
|
<libs>
|
|
|
|
<lib>${java.home}/lib/rt.jar</lib>
|
|
|
|
</libs>
|
|
|
|
</configuration>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sf.proguard</groupId>
|
|
|
|
<artifactId>proguard-base</artifactId>
|
|
|
|
<version>${proguard.version}</version>
|
|
|
|
<scope>runtime</scope>
|
2014-03-04 08:45:52 -08:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
2013-12-02 15:40:51 -08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-site-plugin</artifactId>
|
2016-11-29 04:16:07 -08:00
|
|
|
<version>3.6</version>
|
2016-09-11 09:26:47 -07:00
|
|
|
<inherited>false</inherited>
|
2013-12-02 15:40:51 -08:00
|
|
|
</plugin>
|
2013-11-24 08:18:44 -08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
2015-01-08 01:53:32 -08:00
|
|
|
<version>1.8</version>
|
2013-11-16 17:34:42 -08:00
|
|
|
</plugin>
|
2013-12-26 11:25:19 -08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
2016-08-08 03:16:57 -07:00
|
|
|
<version>1.12</version>
|
2013-12-26 11:25:19 -08:00
|
|
|
</plugin>
|
2015-05-15 07:44:45 -07:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
2015-10-23 05:19:25 -07:00
|
|
|
<version>2.17</version>
|
2015-05-15 07:44:45 -07:00
|
|
|
<configuration>
|
|
|
|
<configLocation>src/checkstyle/checkstyle.xml</configLocation>
|
2015-05-15 08:23:18 -07:00
|
|
|
<!-- Android generated files -->
|
2016-06-08 07:15:06 -07:00
|
|
|
<excludes>**/R.java,**/BuildConfig.java,**/Manifest.java</excludes>
|
2015-05-15 07:44:45 -07:00
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>validate</id>
|
|
|
|
<phase>validate</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2016-06-24 02:28:00 -07:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.puppycrawl.tools</groupId>
|
|
|
|
<artifactId>checkstyle</artifactId>
|
|
|
|
<version>6.19</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2015-05-15 07:44:45 -07:00
|
|
|
</plugin>
|
2014-01-22 11:37:33 -08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.rat</groupId>
|
|
|
|
<artifactId>apache-rat-plugin</artifactId>
|
2016-06-12 10:10:45 -07:00
|
|
|
<version>0.12</version>
|
2014-01-22 11:37:33 -08:00
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/.*</exclude>
|
|
|
|
<exclude>**/.settings/**</exclude>
|
|
|
|
<exclude>**/*.iml</exclude>
|
|
|
|
<exclude>**/*.md</exclude>
|
|
|
|
<exclude>**/*.textile</exclude>
|
|
|
|
<exclude>**/*.txt</exclude>
|
|
|
|
<exclude>**/*.html</exclude>
|
|
|
|
<exclude>**/*.js</exclude>
|
|
|
|
<exclude>**/*.css</exclude>
|
|
|
|
<exclude>**/*.properties</exclude>
|
|
|
|
<exclude>**/*.cfg</exclude>
|
|
|
|
<exclude>**/*.config</exclude>
|
|
|
|
<exclude>**/*.yaml</exclude>
|
|
|
|
<exclude>**/gen/**</exclude>
|
|
|
|
<exclude>**/resources/**</exclude>
|
2015-05-15 07:44:45 -07:00
|
|
|
<exclude>**/symbolMaps/**</exclude>
|
2014-01-22 11:37:33 -08:00
|
|
|
<exclude>**/target/**</exclude>
|
|
|
|
<exclude>**/dependency-reduced-pom.xml</exclude>
|
2016-09-11 09:26:47 -07:00
|
|
|
<exclude>docs/</exclude>
|
2014-01-22 11:37:33 -08:00
|
|
|
<exclude>private/**</exclude>
|
|
|
|
<exclude>CHANGES</exclude>
|
|
|
|
<excludeSubProjects>false</excludeSubProjects>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
2015-05-15 07:44:45 -07:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2014-01-22 11:37:33 -08:00
|
|
|
</plugin>
|
2014-09-08 12:58:21 -07:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>clirr-maven-plugin</artifactId>
|
2016-09-29 22:22:02 -07:00
|
|
|
<version>2.8</version>
|
2014-09-08 12:58:21 -07:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>check-api</id>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2014-10-04 05:42:29 -07:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.jacoco</groupId>
|
|
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
2016-12-12 07:50:22 -08:00
|
|
|
<version>0.7.8</version>
|
2014-10-04 05:42:29 -07:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>prepare-agent</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>report</id>
|
|
|
|
<phase>test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>report</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2013-11-16 17:34:42 -08:00
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<reporting>
|
|
|
|
<plugins>
|
2014-01-22 10:11:05 -08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
2016-09-11 09:26:47 -07:00
|
|
|
<inherited>false</inherited>
|
2014-01-22 10:11:05 -08:00
|
|
|
<reportSets>
|
|
|
|
<reportSet>
|
|
|
|
<reports>
|
|
|
|
<!-- <report>cim</report> -->
|
|
|
|
<!-- <report>dependencies</report> -->
|
2016-09-11 09:26:47 -07:00
|
|
|
<!-- <report>dependency-convergence</report> -->
|
2014-01-22 10:11:05 -08:00
|
|
|
<report>dependency-info</report>
|
|
|
|
<report>dependency-management</report>
|
2016-09-11 09:26:47 -07:00
|
|
|
<!-- <report>distribution-management</report> -->
|
2014-01-22 10:11:05 -08:00
|
|
|
<report>index</report>
|
|
|
|
<report>issue-tracking</report>
|
|
|
|
<report>license</report>
|
|
|
|
<report>mailing-list</report>
|
|
|
|
<!-- <report>modules</report> -->
|
|
|
|
<!-- <report>plugin-management</report> -->
|
|
|
|
<!-- <report>plugins</report> -->
|
|
|
|
<!-- <report>project-team</report> -->
|
|
|
|
<report>scm</report>
|
2016-09-11 09:26:47 -07:00
|
|
|
<!-- <report>summary</report> -->
|
2014-01-22 10:11:05 -08:00
|
|
|
</reports>
|
|
|
|
</reportSet>
|
|
|
|
</reportSets>
|
|
|
|
</plugin>
|
2013-11-16 17:34:42 -08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2013-11-16 20:57:26 -08:00
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
2016-09-11 09:26:47 -07:00
|
|
|
<inherited>false</inherited>
|
2014-01-22 10:11:05 -08:00
|
|
|
<reportSets>
|
|
|
|
<reportSet>
|
|
|
|
<id>aggregate</id>
|
2016-09-11 09:26:47 -07:00
|
|
|
<inherited>false</inherited>
|
2014-01-22 10:11:05 -08:00
|
|
|
<reports>
|
|
|
|
<report>aggregate</report>
|
|
|
|
</reports>
|
2016-09-11 09:26:47 -07:00
|
|
|
<configuration>
|
|
|
|
<excludePackageNames>com.google.zxing.client.android*,com.google.zxing.client.glass*,com.google.zxing.web.generator*</excludePackageNames>
|
|
|
|
<groups>
|
|
|
|
<group>
|
|
|
|
<title>Common support code</title>
|
|
|
|
<packages>com.google.zxing:com.google.zxing.common*:com.google.zxing.client.result*</packages>
|
|
|
|
</group>
|
|
|
|
<group>
|
|
|
|
<title>One-dimensional barcode (UPC, EAN, etc) support</title>
|
|
|
|
<packages>com.google.zxing.oned</packages>
|
|
|
|
</group>
|
|
|
|
<group>
|
|
|
|
<title>QR Code support</title>
|
|
|
|
<packages>com.google.zxing.qrcode*</packages>
|
|
|
|
</group>
|
|
|
|
<group>
|
|
|
|
<title>Data Matrix support</title>
|
|
|
|
<packages>com.google.zxing.datamatrix*</packages>
|
|
|
|
</group>
|
|
|
|
<group>
|
|
|
|
<title>PDF417 barcode support</title>
|
|
|
|
<packages>com.google.zxing.pdf417*</packages>
|
|
|
|
</group>
|
|
|
|
<group>
|
|
|
|
<title>Aztec barcode support</title>
|
|
|
|
<packages>com.google.zxing.aztec*</packages>
|
|
|
|
</group>
|
|
|
|
<group>
|
|
|
|
<title>MaxiCode support</title>
|
|
|
|
<packages>com.google.zxing.maxicode*</packages>
|
|
|
|
</group>
|
|
|
|
<group>
|
|
|
|
<title>RSS barcode support</title>
|
|
|
|
<packages>com.google.zxing.oned.rss*</packages>
|
|
|
|
</group>
|
|
|
|
<group>
|
|
|
|
<title>Multiple barcode scanning support</title>
|
|
|
|
<packages>com.google.zxing.multi*</packages>
|
|
|
|
</group>
|
|
|
|
<group>
|
|
|
|
<title>Web-based decoder app</title>
|
|
|
|
<packages>com.google.zxing.web</packages>
|
|
|
|
</group>
|
|
|
|
<group>
|
|
|
|
<title>Web-based App Engine encoder app</title>
|
|
|
|
<packages>com.google.zxing.web.generator*</packages>
|
|
|
|
</group>
|
|
|
|
<group>
|
|
|
|
<title>JavaSE utilities and support</title>
|
|
|
|
<packages>com.google.zxing.client.j2se*</packages>
|
|
|
|
</group>
|
|
|
|
<group>
|
|
|
|
<title>Android Intent integration</title>
|
|
|
|
<packages>com.google.zxing.integration.android*</packages>
|
|
|
|
</group>
|
|
|
|
</groups>
|
|
|
|
</configuration>
|
2014-01-22 10:11:05 -08:00
|
|
|
</reportSet>
|
|
|
|
</reportSets>
|
2013-11-16 17:34:42 -08:00
|
|
|
</plugin>
|
|
|
|
</plugins>
|
2014-01-22 10:11:05 -08:00
|
|
|
<excludeDefaults>true</excludeDefaults>
|
2013-11-16 17:34:42 -08:00
|
|
|
</reporting>
|
|
|
|
|
2014-01-22 10:11:05 -08:00
|
|
|
<name>ZXing</name>
|
2013-11-16 17:34:42 -08:00
|
|
|
<description>Parent Maven project for ZXing modules</description>
|
2016-07-16 04:38:19 -07:00
|
|
|
<url>https://github.com/zxing/zxing</url>
|
2013-11-16 17:34:42 -08:00
|
|
|
<inceptionYear>2007</inceptionYear>
|
|
|
|
<licenses>
|
|
|
|
<license>
|
|
|
|
<name>The Apache Software License, Version 2.0</name>
|
2016-07-16 04:38:19 -07:00
|
|
|
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
2013-11-16 17:34:42 -08:00
|
|
|
<distribution>repo</distribution>
|
|
|
|
</license>
|
|
|
|
</licenses>
|
2013-12-02 15:40:51 -08:00
|
|
|
<developers>
|
|
|
|
<developer>
|
|
|
|
<name>ZXing Authors</name>
|
|
|
|
</developer>
|
|
|
|
</developers>
|
|
|
|
|
2013-11-16 17:34:42 -08:00
|
|
|
<issueManagement>
|
2014-01-18 06:06:46 -08:00
|
|
|
<system>Github</system>
|
|
|
|
<url>https://github.com/zxing/zxing/issues</url>
|
2013-11-16 17:34:42 -08:00
|
|
|
</issueManagement>
|
2014-01-22 10:11:05 -08:00
|
|
|
<mailingLists>
|
|
|
|
<mailingList>
|
|
|
|
<name>zxing Google Group</name>
|
|
|
|
<archive>https://groups.google.com/forum/?fromgroups#!forum/zxing</archive>
|
|
|
|
</mailingList>
|
|
|
|
<mailingList>
|
|
|
|
<name>StackOverflow tag</name>
|
2016-07-16 04:38:19 -07:00
|
|
|
<archive>https://stackoverflow.com/questions/tagged/zxing</archive>
|
2014-01-22 10:11:05 -08:00
|
|
|
</mailingList>
|
|
|
|
</mailingLists>
|
2013-11-16 17:34:42 -08:00
|
|
|
<scm>
|
2014-01-18 06:06:46 -08:00
|
|
|
<connection>scm:git:https://github.com/zxing/zxing.git</connection>
|
|
|
|
<developerConnection>scm:git:https://github.com/zxing/zxing.git</developerConnection>
|
2016-09-11 09:26:47 -07:00
|
|
|
<url>https://github.com/zxing/zxing</url>
|
2016-09-16 07:20:51 -07:00
|
|
|
<tag>HEAD</tag>
|
2013-11-16 17:34:42 -08:00
|
|
|
</scm>
|
|
|
|
|
|
|
|
<prerequisites>
|
2015-05-02 09:16:31 -07:00
|
|
|
<maven>${maven.version.min}</maven>
|
2013-11-16 17:34:42 -08:00
|
|
|
</prerequisites>
|
|
|
|
|
|
|
|
<distributionManagement>
|
|
|
|
<repository>
|
|
|
|
<id>sonatype-nexus-staging</id>
|
2014-04-18 06:17:29 -07:00
|
|
|
<name>Nexus Release Repository</name>
|
|
|
|
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
2013-11-16 17:34:42 -08:00
|
|
|
</repository>
|
|
|
|
<snapshotRepository>
|
|
|
|
<id>sonatype-nexus-snapshots</id>
|
|
|
|
<name>Sonatype Nexus Snapshots</name>
|
2014-04-18 06:17:29 -07:00
|
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
|
2013-11-16 17:34:42 -08:00
|
|
|
</snapshotRepository>
|
2014-01-22 10:11:05 -08:00
|
|
|
<site>
|
|
|
|
<id>zxing.website</id>
|
|
|
|
<name>ZXing documentation</name>
|
2016-09-11 09:26:47 -07:00
|
|
|
<url>file:docs/</url>
|
2014-01-22 10:11:05 -08:00
|
|
|
</site>
|
2013-11-16 17:34:42 -08:00
|
|
|
</distributionManagement>
|
|
|
|
|
|
|
|
<profiles>
|
2014-03-07 17:05:54 -08:00
|
|
|
<profile>
|
|
|
|
<id>build-android</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>env.ANDROID_HOME</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<modules>
|
2017-01-24 05:25:08 -08:00
|
|
|
<module>android-core</module>
|
|
|
|
<module>android-integration</module>
|
2014-03-07 17:05:54 -08:00
|
|
|
<module>android</module>
|
|
|
|
<module>androidtest</module>
|
2014-04-26 04:02:51 -07:00
|
|
|
<module>glass</module>
|
2014-03-07 17:05:54 -08:00
|
|
|
</modules>
|
2017-01-24 05:25:08 -08:00
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.android</groupId>
|
|
|
|
<artifactId>android</artifactId>
|
|
|
|
<version>${android.platform}</version>
|
|
|
|
<scope>system</scope>
|
|
|
|
<systemPath>${env.ANDROID_HOME}/platforms/android-${android.platform}/android.jar</systemPath>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
2014-03-07 17:05:54 -08:00
|
|
|
</profile>
|
2013-11-16 17:34:42 -08:00
|
|
|
<profile>
|
2014-04-18 04:39:23 -07:00
|
|
|
<id>release</id>
|
2013-11-16 17:34:42 -08:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2014-03-04 08:45:52 -08:00
|
|
|
<profile>
|
|
|
|
<id>android-release</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jarsigner-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2015-02-12 06:58:04 -08:00
|
|
|
<groupId>com.simpligility.maven.plugins</groupId>
|
2014-03-04 08:45:52 -08:00
|
|
|
<artifactId>android-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<proguard>
|
|
|
|
<skip>false</skip>
|
|
|
|
<config>proguard.cfg</config>
|
|
|
|
</proguard>
|
|
|
|
<sign>
|
|
|
|
<debug>false</debug>
|
|
|
|
</sign>
|
2014-03-13 08:09:36 -07:00
|
|
|
<release>true</release>
|
|
|
|
<apkDebug>false</apkDebug>
|
2014-03-04 08:45:52 -08:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2014-10-07 09:58:59 -07:00
|
|
|
<profile>
|
|
|
|
<id>jacoco</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.jacoco</groupId>
|
|
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2016-02-08 06:38:18 -08:00
|
|
|
<profile>
|
|
|
|
<id>travis</id>
|
2016-09-04 14:41:08 -07:00
|
|
|
<properties>
|
|
|
|
<!-- dummy to make @{argLine} evaluate when not set by jacoco -->
|
2016-09-16 07:20:45 -07:00
|
|
|
<argLine />
|
2016-09-04 14:41:08 -07:00
|
|
|
</properties>
|
2016-02-08 06:38:18 -08:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<!-- Limit memory for unit tests in Travis -->
|
2016-09-04 13:31:26 -07:00
|
|
|
<argLine>@{argLine} -Xmx512m</argLine>
|
2016-02-08 06:38:18 -08:00
|
|
|
<forkCount>1</forkCount>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2016-05-22 20:33:04 -07:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skipSource>true</skipSource>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2016-02-08 06:38:18 -08:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2013-11-16 17:34:42 -08:00
|
|
|
</profiles>
|
|
|
|
|
2013-11-29 08:37:13 -08:00
|
|
|
</project>
|