Initial import of OpenEUICC dependencies

master
Peter Cai 8 months ago
commit 55f3e2c7ab

@ -0,0 +1,15 @@
java_import {
name: "asn1bean-prebuilt-jar",
jars: ["repository/com/beanit/asn1bean/1.13.0/asn1bean-1.13.0.jar"],
}
java_import {
name: "zxing-core-prebuilt-jar",
jars: ["repository/com/google/zxing/core/3.4.1/core-3.4.1.jar"],
}
android_library_import {
name: "zxing-android-embedded-prebuilt-aar",
aars: ["repository/com/journeyapps/zxing-android-embedded/4.3.0/zxing-android-embedded-4.3.0.aar"],
sdk_version: "current",
}

@ -0,0 +1,193 @@
# Copied and adapted from prebuilts/tools
set -e
destRepo="$(cd $(dirname $0)/../.. && pwd)"
tempDir="/tmp/import-temp-work"
rm -rf $tempDir
mkdir -p $tempDir
cd $tempDir
function usage() {
echo "Usage: $0 group:artifact:version[:classifier][@extension] [group:artifact:version[:classifier][@extension]...]
This script downloads the specified artifacts copies them into the appropriate subdirectory of $destRepo/prebuilts/"
exit 1
}
inputRepo=m2repository
stageRepo=m2staged
destAndroidRepo=$destRepo/prebuilts/openeuicc-deps/gradle
destThirdPartyRepo=$destRepo/prebuilts/openeuicc-deps/repository
# usage: downloadArtifacts "$group:$artifact:$version[:classifier][@extension]..."
function downloadArtifacts() {
if [ "$1" == "" ]; then
usage
fi
echo downloading dependencies into $inputRepo
rm -rf $inputRepo
while [ "$1" != "" ]; do
echo importing $1
IFS=@ read -r dependency extension <<< "$1"
IFS=: read -ra FIELDS <<< "${dependency}"
groupId="${FIELDS[0]}"
artifactId="${FIELDS[1]}"
version="${FIELDS[2]}"
classifier="${FIELDS[3]}"
# download the actual artifact
downloadArtifact "$groupId" "$artifactId" "$version" "$classifier" "$extension"
# try to download the sources jar
downloadArtifact "$groupId" "$artifactId" "$version" "sources" "jar" || true
# go to next artifact
shift
done
echo done downloading dependencies
}
# usage: downloadArtifact "$group" "$artifact" "$version" "$classifier" "$extension"
function downloadArtifact() {
pomPath="$PWD/pom.xml"
echo creating $pomPath
pomPrefix='<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.android.build</groupId>
<artifactId>m2repository</artifactId>
<version>1.0</version>
<repositories>
<repository>
<id>mavenCentral</id>
<name>Maven Central</name>
<url>https://repo.maven.apache.org/maven2</url>
</repository>
<repository>
<id>jcenter</id>
<name>JCenter</name>
<url>https://jcenter.bintray.com</url>
</repository>
</repositories>
<dependencies>
'
pomSuffix='
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.8</version>
<executions>
<execution>
<id>default-cli</id>
<configuration>
<includeScope>runtime</includeScope>
<addParentPoms>true</addParentPoms>
<copyPom>true</copyPom>
<useRepositoryLayout>true</useRepositoryLayout>
<outputDirectory>m2repository</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
'
groupId="$1"
artifactId="$2"
version="$3"
classifier="$4"
extension="$5"
pomDependencies=""
dependencyText=$(echo -e "\n <dependency>\n <groupId>${groupId}</groupId>\n <artifactId>${artifactId}</artifactId>\n <version>${version}</version>")
[ $classifier ] && dependencyText+=$(echo -e "\n <classifier>${classifier}</classifier>")
[ $extension ] && dependencyText+=$(echo -e "\n <type>${extension}</type>")
dependencyText+=$(echo -e "\n </dependency>")
pomDependencies="${pomDependencies}${dependencyText}"
echo "${pomPrefix}${pomDependencies}${pomSuffix}" > $pomPath
echo done creating $pomPath
echo downloading one dependency into $inputRepo
mvn -f "$pomPath" dependency:copy-dependencies
echo done downloading one dependency into $inputRepo
}
# generates an appropriately formatted repository for merging into existing repositories,
# by computing artifact metadata
function stageRepo() {
echo staging to $stageRepo
rm -rf $stageRepo
for f in $(find $inputRepo -type f | grep -v '\.sha1$' | grep -v '\.md5'); do
md5=$(md5sum $f | sed 's/ .*//')
sha1=$(sha1sum $f | sed 's/ .*//')
relPath=$(echo $f | sed "s|$inputRepo/||")
relDir=$(dirname $relPath)
fileName=$(basename $relPath)
writeChecksums="true"
destDir="$stageRepo/$relDir"
destFile="$stageRepo/$relPath"
if [ "$fileName" == "maven-metadata-local.xml" ]; then
writeChecksums="false"
destFile="$destDir/maven-metadata.xml"
fi
mkdir -p $destDir
if [ "$writeChecksums" == "true" ]; then
echo -n $md5 > "${destFile}.md5"
echo -n $sha1 > "${destFile}.sha1"
fi
cp $f $destFile
done
echo done staging to $stageRepo
}
function announceCopy() {
input=$1
output=$2
if stat $input > /dev/null 2>/dev/null; then
echo copying "$input" to "$output"
cp -rT $input $output
fi
}
function exportArtifact() {
echo exporting
announceCopy $stageRepo/com/android $destAndroidRepo/com/android
rm -rf $stageRepo/com/android
announceCopy $stageRepo/androidx $destAndroidRepo/androidx
rm -rf $stageRepo/androidx
announceCopy $stageRepo $destThirdPartyRepo
echo done exporting
}
function main() {
downloadArtifacts "$@"
stageRepo
exportArtifact
}
main "$@"

@ -0,0 +1 @@
34d6af3f9b933b3f342799bd62d4adc419fd1f81

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<!-- This module was also published with a richer model, Gradle metadata, -->
<!-- which should be used instead. Do not delete the following line which -->
<!-- is to indicate to Gradle or any Gradle module metadata file consumer -->
<!-- that they should prefer consuming it instead. -->
<!-- do_not_remove: published-with-gradle-metadata -->
<modelVersion>4.0.0</modelVersion>
<groupId>com.beanit</groupId>
<artifactId>asn1bean</artifactId>
<version>1.13.0</version>
<name>ASN1bean</name>
<description>ASN1bean is a library used for encoding and decoding ASN.1 BER messages.</description>
<url>http://www.beanit.com/</url>
<licenses>
<license>
<name>The Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<developers>
<developer>
<id>beanit</id>
<name>Beanit GmbH</name>
</developer>
</developers>
<scm>
<connection>none</connection>
<url>none</url>
</scm>
</project>

@ -0,0 +1 @@
44d5455c1eddbc00b51e70775d2e92328c4b795d

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<groupId>com.beanit</groupId>
<artifactId>asn1bean</artifactId>
<versioning>
<release>1.13.0</release>
<versions>
<version>1.13.0</version>
</versions>
<lastUpdated>20220731022216</lastUpdated>
</versioning>
</metadata>

@ -0,0 +1 @@
1869da97e9b2b60b5ff2fcaf55899174b93ae25d

@ -0,0 +1,91 @@
<?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>
<artifactId>core</artifactId>
<version>3.4.1</version>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<parent>
<groupId>com.google.zxing</groupId>
<artifactId>zxing-parent</artifactId>
<version>3.4.1</version>
</parent>
<name>ZXing Core</name>
<description>Core barcode encoding/decoding library</description>
<profiles>
<profile>
<id>proguard-library</id>
<build>
<plugins>
<plugin>
<groupId>com.github.wvengen</groupId>
<artifactId>proguard-maven-plugin</artifactId>
<version>${proguard.plugin.version}</version>
<configuration>
<options combine.children="append">
<option>-optimizations !code/simplification/cast,!code/allocation/variable,!field/*,!class/*,!method/*</option>
</options>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<build>
<plugins>
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
<version>5.1.2</version>
<executions>
<execution>
<goals>
<goal>bnd-process</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
<manifestEntries>
<Automatic-Module-Name>com.google.zxing</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project>

@ -0,0 +1 @@
5e394e62598655ec542a69b8426abe8fd6fef182

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<groupId>com.google.zxing</groupId>
<artifactId>core</artifactId>
<versioning>
<release>3.4.1</release>
<versions>
<version>3.4.1</version>
</versions>
<lastUpdated>20220731022100</lastUpdated>
</versioning>
</metadata>

@ -0,0 +1,844 @@
<?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>
<version>3.4.1</version>
<packaging>pom</packaging>
<dependencyManagement>
<dependencies>
<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>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
<modules>
<module>core</module>
<module>javase</module>
<!-- android modules are activated by a profile below -->
<module>zxingorg</module>
<!-- appspot app activated by a profile below -->
</modules>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
<android.home>${env.ANDROID_HOME}</android.home>
<proguard.version>7.0.0</proguard.version>
<proguard.plugin.version>2.3.1</proguard.plugin.version>
<!-- This can't reference project.version as some subprojects version differently -->
<zxing.version>3.4.1</zxing.version>
<android.platform>22</android.platform>
</properties>
<build>
<plugins>
<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>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<inherited>false</inherited>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>clirr-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0-M3</version>
<executions>
<execution>
<id>enforce</id>
<configuration>
<rules>
<requireModuleConvergence />
<requireUpperBoundDeps />
<dependencyConvergence />
<requireMavenVersion>
<version>3.3.9</version>
</requireMavenVersion>
<requireJavaVersion>
<version>${java.version}</version>
</requireJavaVersion>
</rules>
</configuration>
<goals>
<goal>enforce</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<compilerArgs>
<arg>-Xlint:all</arg>
<arg>-Xlint:-serial</arg>
</compilerArgs>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<javadocVersion>${java.version}</javadocVersion>
<source>${java.version}</source>
<quiet>true</quiet>
<notimestamp>true</notimestamp>
<encoding>${project.build.sourceEncoding}</encoding>
<docencoding>${project.reporting.outputEncoding}</docencoding>
<doclint>all</doclint>
</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>
<version>3.1.0</version>
<configuration>
<filesets>
<fileset>
<directory>.</directory>
<includes>
<include>**/classes/**</include>
<include>**/gwt-unitCache/**</include>
<include>**/webapp/generator/**</include>
<include>**/WEB-INF/deploy/**</include>
</includes>
</fileset>
</filesets>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>3.0.0-M1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.2.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.3.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jarsigner-plugin</artifactId>
<version>3.0.0</version>
<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>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>3.0.0-M1</version>
<configuration>
<mavenExecutorId>forked-path</mavenExecutorId>
<tagNameFormat>zxing-@{project.version}</tagNameFormat>
<releaseProfiles>release</releaseProfiles>
<goals>deploy</goals>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
<version>1.11.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.0.0-M1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.1.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>3.1.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
<configuration>
<keyname>Sean Owen (ZXing) &lt;srowen@gmail.com&gt;</keyname>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M5</version>
<configuration>
<forkCount>0.5C</forkCount>
<systemPropertyVariables>
<java.awt.headless>true</java.awt.headless>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.1</version>
</plugin>
<plugin>
<groupId>com.simpligility.maven.plugins</groupId>
<artifactId>android-maven-plugin</artifactId>
<version>4.6.0</version>
<extensions>true</extensions>
<executions>
<execution>
<id>android-zipalign</id>
<phase>package</phase>
<goals>
<goal>zipalign</goal>
</goals>
</execution>
</executions>
<configuration>
<sdk>
<path>${android.home}</path>
<platform>${android.platform}</platform>
</sdk>
<artifactSet>
<excludes>
<!-- Make sure Android SDK jar isn't included -->
<exclude>com.google.android:android</exclude>
</excludes>
</artifactSet>
<proguard>
<skip>true</skip>
</proguard>
<sign>
<debug>true</debug>
</sign>
<zipalign>
<skip>false</skip>
</zipalign>
<release>false</release>
<apkDebug>true</apkDebug>
<androidManifestFile>AndroidManifest.xml</androidManifestFile>
<resourceDirectory>res</resourceDirectory>
<assetsDirectory>assets</assetsDirectory>
<nativeLibrariesDirectory>libs</nativeLibrariesDirectory>
<disableConflictingDependenciesWarning>true</disableConflictingDependenciesWarning>
</configuration>
<dependencies>
<dependency>
<groupId>com.guardsquare</groupId>
<artifactId>proguard-base</artifactId>
<version>${proguard.version}</version>
</dependency>
<dependency>
<groupId>com.guardsquare</groupId>
<artifactId>proguard-core</artifactId>
<version>${proguard.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>com.github.wvengen</groupId>
<artifactId>proguard-maven-plugin</artifactId>
<version>${proguard.plugin.version}</version>
<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>com.guardsquare</groupId>
<artifactId>proguard-base</artifactId>
<version>${proguard.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.guardsquare</groupId>
<artifactId>proguard-core</artifactId>
<version>${proguard.version}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.9.1</version>
<inherited>false</inherited>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.2.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.1.1</version>
<configuration>
<configLocation>src/checkstyle/checkstyle.xml</configLocation>
<!-- Android generated files -->
<excludes>**/R.java,**/BuildConfig.java,**/Manifest.java</excludes>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
</configuration>
<executions>
<execution>
<id>validate</id>
<phase>validate</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>8.36.2</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<version>0.13</version>
<configuration>
<consoleOutput>true</consoleOutput>
<ignoreErrors>true</ignoreErrors>
<excludes>
<exclude>.reuse/*</exclude>
<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>
<exclude>**/symbolMaps/**</exclude>
<exclude>**/target/**</exclude>
<exclude>**/dependency-reduced-pom.xml</exclude>
<exclude>docs/</exclude>
<exclude>private/**</exclude>
<exclude>CHANGES</exclude>
<excludeSubProjects>false</excludeSubProjects>
</excludes>
</configuration>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>clirr-maven-plugin</artifactId>
<version>2.8</version>
<executions>
<execution>
<id>check-api</id>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
<configuration>
<ignoredDifferencesFile>${project.parent.basedir}/src/clirr/ignored-differences.xml</ignoredDifferencesFile>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.6</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<inherited>false</inherited>
<reportSets>
<reportSet>
<reports>
<!-- <report>ci-management</report> -->
<!-- <report>dependencies</report> -->
<!-- <report>dependency-convergence</report> -->
<report>dependency-info</report>
<report>dependency-management</report>
<!-- <report>distribution-management</report> -->
<report>index</report>
<report>issue-management</report>
<report>licenses</report>
<report>mailing-lists</report>
<!-- <report>modules</report> -->
<!-- <report>plugin-management</report> -->
<!-- <report>plugins</report> -->
<!-- <report>project-team</report> -->
<report>scm</report>
<!-- <report>summary</report> -->
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<inherited>false</inherited>
<reportSets>
<reportSet>
<id>aggregate</id>
<inherited>false</inherited>
<reports>
<report>aggregate</report>
</reports>
<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>
</reportSet>
</reportSets>
</plugin>
</plugins>
<excludeDefaults>true</excludeDefaults>
</reporting>
<name>ZXing</name>
<description>Parent Maven project for ZXing modules</description>
<url>https://github.com/zxing/zxing</url>
<inceptionYear>2007</inceptionYear>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<id>zxing-authors</id>
<name>ZXing Authors</name>
</developer>
</developers>
<issueManagement>
<system>Github</system>
<url>https://github.com/zxing/zxing/issues</url>
</issueManagement>
<mailingLists>
<mailingList>
<name>zxing Google Group</name>
<archive>https://groups.google.com/forum/?fromgroups#!forum/zxing</archive>
</mailingList>
<mailingList>
<name>StackOverflow tag</name>
<archive>https://stackoverflow.com/questions/tagged/zxing</archive>
</mailingList>
</mailingLists>
<scm>
<connection>scm:git:https://github.com/zxing/zxing.git</connection>
<developerConnection>scm:git:https://github.com/zxing/zxing.git</developerConnection>
<url>https://github.com/zxing/zxing</url>
<tag>zxing-3.4.1</tag>
</scm>
<pluginRepositories>
<pluginRepository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>bintray-guardsquare-proguard</id>
<name>bintray</name>
<url>https://dl.bintray.com/guardsquare/proguard</url>
</pluginRepository>
</pluginRepositories>
<distributionManagement>
<repository>
<id>sonatype-nexus-staging</id>
<name>Nexus Release Repository</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>https://oss.sonatype.org/content/repositories/snapshots/</url>
</snapshotRepository>
<site>
<id>zxing.website</id>
<name>ZXing documentation</name>
<url>file:docs/</url>
</site>
</distributionManagement>
<profiles>
<profile>
<id>build-android</id>
<activation>
<property>
<name>env.ANDROID_HOME</name>
</property>
<jdk>[,9)</jdk> <!-- Android won't necessarily work with JDK 9 -->
</activation>
<modules>
<module>android-core</module>
<module>android-integration</module>
<module>android</module>
</modules>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.android</groupId>
<artifactId>android</artifactId>
<version>${android.platform}</version>
<scope>system</scope>
<!-- ANDROID_HOME must be absolute, but redundant leading / may help Gradle Spring Boot plugin -->
<systemPath>/${android.home}/platforms/android-${android.platform}/android.jar</systemPath>
</dependency>
</dependencies>
</dependencyManagement>
</profile>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>android-release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jarsigner-plugin</artifactId>
</plugin>
<plugin>
<groupId>com.simpligility.maven.plugins</groupId>
<artifactId>android-maven-plugin</artifactId>
<configuration>
<proguard>
<skip>false</skip>
<config>proguard.cfg</config>
</proguard>
<!-- repeat Android jar as library jar, as plugin ignores scope system deps -->
<proguardOptions>
<option>-libraryjars</option>
<option>${android.home}/platforms/android-${android.platform}/android.jar</option>
</proguardOptions>
<sign>
<debug>false</debug>
</sign>
<release>true</release>
<apkDebug>false</apkDebug>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>jacoco</id>
<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>travis</id>
<properties>
<!-- dummy to make @{argLine} evaluate when not set by jacoco -->
<argLine />
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<!-- Limit memory for unit tests in Travis -->
<argLine>@{argLine} -Xmx512m</argLine>
<forkCount>1</forkCount>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<configuration>
<skipSource>true</skipSource>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>appspot</id>
<activation>
<jdk>[,9)</jdk> <!-- Appspot won't work with JDK 9 -->
</activation>
<modules>
<module>zxing.appspot.com</module>
</modules>
</profile>
<profile>
<id>javadoc-9</id>
<activation>
<jdk>[9,)</jdk>
</activation>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration combine.children="append">
<!-- Choose HTML5 output over deprecated HTML 4.01 -->
<additionalOptions>-html5</additionalOptions>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
</profiles>
</project>

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<groupId>com.google.zxing</groupId>
<artifactId>zxing-parent</artifactId>
<versioning>
<release>3.4.1</release>
<versions>
<version>3.4.1</version>
</versions>
<lastUpdated>20220731022100</lastUpdated>
</versioning>
</metadata>

@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.journeyapps</groupId>
<artifactId>zxing-android-embedded</artifactId>
<version>4.3.0</version>
<packaging>aar</packaging>
<name>zxing-android-embedded</name>
<description>Barcode scanner library for Android, based on the ZXing decoder</description>
<url>https://github.com/journeyapps/zxing-android-embedded</url>
<licenses>
<license>
<name>The Apache License, Version 2.0</name>
<url>https://github.com/journeyapps/zxing-android-embedded/blob/master/COPYING</url>
</license>
</licenses>
<developers>
<developer>
<id/>
<name>Ralf Kistner</name>
<email>ralf@journeyapps.com</email>
<organization>Journey Mobile, Inc</organization>
<organizationUrl>https://journeyapps.com</organizationUrl>
</developer>
</developers>
<scm>
<connection>scm:git:github.com/journeyapps/zxing-android-embedded.git</connection>
<developerConnection>scm:git:ssh://github.com/journeyapps/zxing-android-embedded.git</developerConnection>
<url>https://github.com/journeyapps/zxing-android-embedded</url>
</scm>
<dependencies>
<dependency>
<groupId>com.google.zxing</groupId>
<artifactId>core</artifactId>
<version>3.4.1</version>
<scope>api</scope>
</dependency>
</dependencies>
</project>

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<groupId>com.journeyapps</groupId>
<artifactId>zxing-android-embedded</artifactId>
<versioning>
<release>4.3.0</release>
<versions>
<version>4.3.0</version>
</versions>
<lastUpdated>20220731022124</lastUpdated>
</versioning>
</metadata>
Loading…
Cancel
Save