1<?xml version="1.0" encoding="UTF-8"?> 2<!-- 3 Copyright (C) 2010 ZXing authors 4 5 Licensed under the Apache License, Version 2.0 (the "License"); 6 you may not use this file except in compliance with the License. 7 You may obtain a copy of the License at 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11 Unless required by applicable law or agreed to in writing, software 12 distributed under the License is distributed on an "AS IS" BASIS, 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 See the License for the specific language governing permissions and 15 limitations under the License. 16 --> 17<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"> 18 <modelVersion>4.0.0</modelVersion> 19 20 <groupId>com.google.zxing</groupId> 21 <artifactId>zxing-parent</artifactId> 22 <version>3.5.2</version> 23 <packaging>pom</packaging> 24 25 <dependencyManagement> 26 <dependencies> 27 <dependency> 28 <groupId>com.google.zxing</groupId> 29 <artifactId>core</artifactId> 30 <version>${zxing.version}</version> 31 </dependency> 32 <dependency> 33 <groupId>com.google.zxing</groupId> 34 <artifactId>android-core</artifactId> 35 <version>${zxing.version}</version> 36 </dependency> 37 <dependency> 38 <groupId>com.google.zxing</groupId> 39 <artifactId>android-integration</artifactId> 40 <version>${zxing.version}</version> 41 </dependency> 42 <dependency> 43 <groupId>com.google.zxing</groupId> 44 <artifactId>javase</artifactId> 45 <version>${zxing.version}</version> 46 </dependency> 47 <dependency> 48 <groupId>junit</groupId> 49 <artifactId>junit</artifactId> 50 <version>4.13.2</version> 51 <scope>test</scope> 52 </dependency> 53 </dependencies> 54 </dependencyManagement> 55 56 <modules> 57 <module>core</module> 58 <module>javase</module> 59 <!-- android modules are activated by a profile below --> 60 <!-- zxingorg activated by a profile below --> 61 <!-- appspot app activated by a profile below --> 62 </modules> 63 64 <properties> 65 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 66 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> 67 <java.version>1.8</java.version> 68 <android.home>${env.ANDROID_HOME}</android.home> 69 <proguard.plugin.version>2.6.0</proguard.plugin.version> 70 <!-- This can't reference project.version as some subprojects version differently --> 71 <zxing.version>3.5.2</zxing.version> 72 <android.platform>22</android.platform> 73 </properties> 74 75 <build> 76 <plugins> 77 <plugin> 78 <groupId>org.apache.maven.plugins</groupId> 79 <artifactId>maven-javadoc-plugin</artifactId> 80 </plugin> 81 <plugin> 82 <groupId>org.apache.maven.plugins</groupId> 83 <artifactId>maven-source-plugin</artifactId> 84 </plugin> 85 <plugin> 86 <groupId>org.apache.maven.plugins</groupId> 87 <artifactId>maven-site-plugin</artifactId> 88 <inherited>false</inherited> 89 </plugin> 90 <plugin> 91 <groupId>org.apache.maven.plugins</groupId> 92 <artifactId>maven-release-plugin</artifactId> 93 </plugin> 94 <plugin> 95 <groupId>org.codehaus.mojo</groupId> 96 <artifactId>clirr-maven-plugin</artifactId> 97 </plugin> 98 <plugin> 99 <groupId>org.apache.rat</groupId> 100 <artifactId>apache-rat-plugin</artifactId> 101 </plugin> 102 <plugin> 103 <groupId>org.apache.maven.plugins</groupId> 104 <artifactId>maven-enforcer-plugin</artifactId> 105 </plugin> 106 <plugin> 107 <groupId>org.apache.maven.plugins</groupId> 108 <artifactId>maven-checkstyle-plugin</artifactId> 109 </plugin> 110 </plugins> 111 <pluginManagement> 112 <plugins> 113 <plugin> 114 <groupId>org.apache.maven.plugins</groupId> 115 <artifactId>maven-enforcer-plugin</artifactId> 116 <version>3.3.0</version> 117 <executions> 118 <execution> 119 <id>enforce</id> 120 <configuration> 121 <rules> 122 <requireUpperBoundDeps /> 123 <dependencyConvergence /> 124 <requireMavenVersion> 125 <version>3.3.9</version> 126 </requireMavenVersion> 127 <requireJavaVersion> 128 <version>${java.version}</version> 129 </requireJavaVersion> 130 </rules> 131 </configuration> 132 <goals> 133 <goal>enforce</goal> 134 </goals> 135 </execution> 136 </executions> 137 </plugin> 138 <plugin> 139 <groupId>org.apache.maven.plugins</groupId> 140 <artifactId>maven-compiler-plugin</artifactId> 141 <version>3.11.0</version> 142 <configuration> 143 <source>${java.version}</source> 144 <target>${java.version}</target> 145 <compilerArgs> 146 <arg>-Xlint:all</arg> 147 <arg>-Xlint:-serial</arg> 148 </compilerArgs> 149 </configuration> 150 </plugin> 151 <plugin> 152 <groupId>org.apache.maven.plugins</groupId> 153 <artifactId>maven-source-plugin</artifactId> 154 <version>3.3.0</version> 155 <executions> 156 <execution> 157 <id>attach-sources</id> 158 <goals> 159 <goal>jar-no-fork</goal> 160 </goals> 161 </execution> 162 </executions> 163 </plugin> 164 <plugin> 165 <groupId>org.apache.maven.plugins</groupId> 166 <artifactId>maven-javadoc-plugin</artifactId> 167 <version>3.5.0</version> 168 <configuration> 169 <source>${java.version}</source> 170 <quiet>true</quiet> 171 <notimestamp>true</notimestamp> 172 <encoding>${project.build.sourceEncoding}</encoding> 173 <docencoding>${project.reporting.outputEncoding}</docencoding> 174 <doclint>all</doclint> 175 </configuration> 176 <executions> 177 <execution> 178 <id>attach-javadocs</id> 179 <goals> 180 <goal>jar</goal> 181 </goals> 182 </execution> 183 </executions> 184 </plugin> 185 <plugin> 186 <groupId>org.apache.maven.plugins</groupId> 187 <artifactId>maven-clean-plugin</artifactId> 188 <version>3.3.1</version> 189 <configuration> 190 <filesets> 191 <fileset> 192 <directory>.</directory> 193 <includes> 194 <include>**/classes/**</include> 195 <include>**/gwt-unitCache/**</include> 196 <include>**/webapp/generator/**</include> 197 <include>**/WEB-INF/deploy/**</include> 198 </includes> 199 </fileset> 200 </filesets> 201 </configuration> 202 </plugin> 203 <plugin> 204 <groupId>org.apache.maven.plugins</groupId> 205 <artifactId>maven-install-plugin</artifactId> 206 <version>3.1.1</version> 207 </plugin> 208 <plugin> 209 <groupId>org.apache.maven.plugins</groupId> 210 <artifactId>maven-resources-plugin</artifactId> 211 <version>3.3.1</version> 212 </plugin> 213 <plugin> 214 <groupId>org.apache.maven.plugins</groupId> 215 <artifactId>maven-jar-plugin</artifactId> 216 <version>3.3.0</version> 217 </plugin> 218 <plugin> 219 <groupId>org.apache.maven.plugins</groupId> 220 <artifactId>maven-assembly-plugin</artifactId> 221 <version>3.6.0</version> 222 </plugin> 223 <plugin> 224 <groupId>org.apache.maven.plugins</groupId> 225 <artifactId>maven-jarsigner-plugin</artifactId> 226 <version>3.0.0</version> 227 <executions> 228 <execution> 229 <id>signing</id> 230 <goals> 231 <goal>sign</goal> 232 </goals> 233 <phase>package</phase> 234 <configuration> 235 <includes> 236 <include>target/*.apk</include> 237 </includes> 238 <keystore>../private/ZXing.keystore</keystore> 239 <alias>zxing</alias> 240 <arguments> 241 <argument>-sigalg</argument> 242 <argument>MD5withRSA</argument> 243 <argument>-digestalg</argument> 244 <argument>SHA1</argument> 245 </arguments> 246 </configuration> 247 </execution> 248 </executions> 249 </plugin> 250 <plugin> 251 <groupId>org.apache.maven.plugins</groupId> 252 <artifactId>maven-release-plugin</artifactId> 253 <version>3.0.1</version> 254 <configuration> 255 <mavenExecutorId>forked-path</mavenExecutorId> 256 <tagNameFormat>zxing-@{project.version}</tagNameFormat> 257 <releaseProfiles>release</releaseProfiles> 258 <goals>deploy</goals> 259 </configuration> 260 </plugin> 261 <plugin> 262 <groupId>org.apache.maven.plugins</groupId> 263 <artifactId>maven-scm-plugin</artifactId> 264 <version>2.0.1</version> 265 </plugin> 266 <plugin> 267 <groupId>org.apache.maven.plugins</groupId> 268 <artifactId>maven-deploy-plugin</artifactId> 269 <version>3.1.1</version> 270 </plugin> 271 <plugin> 272 <groupId>org.apache.maven.plugins</groupId> 273 <artifactId>maven-dependency-plugin</artifactId> 274 <version>3.6.0</version> 275 </plugin> 276 <plugin> 277 <groupId>org.apache.maven.plugins</groupId> 278 <artifactId>maven-project-info-reports-plugin</artifactId> 279 <version>3.4.5</version> 280 </plugin> 281 <plugin> 282 <groupId>org.apache.maven.plugins</groupId> 283 <artifactId>maven-gpg-plugin</artifactId> 284 <version>3.1.0</version> 285 <executions> 286 <execution> 287 <id>sign-artifacts</id> 288 <phase>verify</phase> 289 <goals> 290 <goal>sign</goal> 291 </goals> 292 </execution> 293 </executions> 294 <configuration> 295 <keyname>Sean Owen (ZXing) <srowen@gmail.com></keyname> 296 </configuration> 297 </plugin> 298 <plugin> 299 <groupId>org.apache.maven.plugins</groupId> 300 <artifactId>maven-surefire-plugin</artifactId> 301 <version>3.1.2</version> 302 <configuration> 303 <forkCount>0.5C</forkCount> 304 <systemPropertyVariables> 305 <java.awt.headless>true</java.awt.headless> 306 </systemPropertyVariables> 307 </configuration> 308 </plugin> 309 <plugin> 310 <groupId>org.apache.maven.plugins</groupId> 311 <artifactId>maven-war-plugin</artifactId> 312 <version>3.4.0</version> 313 </plugin> 314 <plugin> 315 <groupId>com.simpligility.maven.plugins</groupId> 316 <artifactId>android-maven-plugin</artifactId> 317 <version>4.6.0</version> 318 <extensions>true</extensions> 319 <executions> 320 <execution> 321 <id>android-zipalign</id> 322 <phase>package</phase> 323 <goals> 324 <goal>zipalign</goal> 325 </goals> 326 </execution> 327 </executions> 328 <configuration> 329 <sdk> 330 <path>${android.home}</path> 331 <platform>${android.platform}</platform> 332 </sdk> 333 <artifactSet> 334 <excludes> 335 <!-- Make sure Android SDK jar isn't included --> 336 <exclude>com.google.android:android</exclude> 337 </excludes> 338 </artifactSet> 339 <proguard> 340 <skip>true</skip> 341 </proguard> 342 <sign> 343 <debug>true</debug> 344 </sign> 345 <zipalign> 346 <skip>false</skip> 347 </zipalign> 348 <release>false</release> 349 <apkDebug>true</apkDebug> 350 <androidManifestFile>AndroidManifest.xml</androidManifestFile> 351 <resourceDirectory>res</resourceDirectory> 352 <assetsDirectory>assets</assetsDirectory> 353 <nativeLibrariesDirectory>libs</nativeLibrariesDirectory> 354 <disableConflictingDependenciesWarning>true</disableConflictingDependenciesWarning> 355 </configuration> 356 </plugin> 357 <plugin> 358 <groupId>com.github.wvengen</groupId> 359 <artifactId>proguard-maven-plugin</artifactId> 360 <version>${proguard.plugin.version}</version> 361 <executions> 362 <execution> 363 <phase>package</phase> 364 <goals> 365 <goal>proguard</goal> 366 </goals> 367 </execution> 368 </executions> 369 <configuration> 370 <addMavenDescriptor>true</addMavenDescriptor> 371 <obfuscate>false</obfuscate> 372 <options> 373 <option>-target ${java.version}</option> 374 <option>-dontshrink</option> 375 <option>-keep class * { !private *; }</option> 376 <option>-verbose</option> 377 <option>-optimizationpasses 3</option> 378 </options> 379 <libs> 380 <lib>${java.home}/lib/rt.jar</lib> 381 </libs> 382 </configuration> 383 </plugin> 384 <plugin> 385 <groupId>org.apache.maven.plugins</groupId> 386 <artifactId>maven-site-plugin</artifactId> 387 <version>4.0.0-M9</version> 388 <inherited>false</inherited> 389 </plugin> 390 <plugin> 391 <groupId>org.codehaus.mojo</groupId> 392 <artifactId>build-helper-maven-plugin</artifactId> 393 <version>3.4.0</version> 394 </plugin> 395 <plugin> 396 <groupId>org.apache.maven.plugins</groupId> 397 <artifactId>maven-checkstyle-plugin</artifactId> 398 <version>3.3.0</version> 399 <configuration> 400 <configLocation>src/checkstyle/checkstyle.xml</configLocation> 401 <includeTestSourceDirectory>true</includeTestSourceDirectory> 402 </configuration> 403 <executions> 404 <execution> 405 <id>validate</id> 406 <phase>validate</phase> 407 <goals> 408 <goal>check</goal> 409 </goals> 410 </execution> 411 </executions> 412 <dependencies> 413 <dependency> 414 <groupId>com.puppycrawl.tools</groupId> 415 <artifactId>checkstyle</artifactId> 416 <version>9.3</version> 417 </dependency> 418 </dependencies> 419 </plugin> 420 <plugin> 421 <groupId>org.apache.rat</groupId> 422 <artifactId>apache-rat-plugin</artifactId> 423 <version>0.15</version> 424 <configuration> 425 <consoleOutput>true</consoleOutput> 426 <ignoreErrors>true</ignoreErrors> 427 <excludes> 428 <exclude>.reuse/*</exclude> 429 <exclude>**/.*</exclude> 430 <exclude>**/.settings/**</exclude> 431 <exclude>**/*.iml</exclude> 432 <exclude>**/*.md</exclude> 433 <exclude>**/*.textile</exclude> 434 <exclude>**/*.txt</exclude> 435 <exclude>**/*.html</exclude> 436 <exclude>**/*.js</exclude> 437 <exclude>**/*.css</exclude> 438 <exclude>**/*.properties</exclude> 439 <exclude>**/*.cfg</exclude> 440 <exclude>**/*.config</exclude> 441 <exclude>**/*.yml</exclude> 442 <exclude>**/*.yaml</exclude> 443 <exclude>**/gen/**</exclude> 444 <exclude>**/resources/**</exclude> 445 <exclude>**/symbolMaps/**</exclude> 446 <exclude>**/target/**</exclude> 447 <exclude>**/dependency-reduced-pom.xml</exclude> 448 <exclude>docs/</exclude> 449 <exclude>private/**</exclude> 450 <exclude>CHANGES</exclude> 451 <excludeSubProjects>false</excludeSubProjects> 452 </excludes> 453 </configuration> 454 <executions> 455 <execution> 456 <phase>verify</phase> 457 <goals> 458 <goal>check</goal> 459 </goals> 460 </execution> 461 </executions> 462 </plugin> 463 <plugin> 464 <groupId>org.codehaus.mojo</groupId> 465 <artifactId>clirr-maven-plugin</artifactId> 466 <version>2.8</version> 467 <executions> 468 <execution> 469 <id>check-api</id> 470 <phase>verify</phase> 471 <goals> 472 <goal>check</goal> 473 </goals> 474 </execution> 475 </executions> 476 <configuration> 477 <ignoredDifferencesFile>${project.parent.basedir}/src/clirr/ignored-differences.xml</ignoredDifferencesFile> 478 </configuration> 479 </plugin> 480 <plugin> 481 <groupId>org.jacoco</groupId> 482 <artifactId>jacoco-maven-plugin</artifactId> 483 <version>0.8.10</version> 484 <executions> 485 <execution> 486 <goals> 487 <goal>prepare-agent</goal> 488 </goals> 489 </execution> 490 <execution> 491 <id>report</id> 492 <phase>test</phase> 493 <goals> 494 <goal>report</goal> 495 </goals> 496 </execution> 497 </executions> 498 </plugin> 499 </plugins> 500 </pluginManagement> 501 </build> 502 503 <reporting> 504 <plugins> 505 <plugin> 506 <groupId>org.apache.maven.plugins</groupId> 507 <artifactId>maven-project-info-reports-plugin</artifactId> 508 <inherited>false</inherited> 509 <reportSets> 510 <reportSet> 511 <reports> 512 <!-- <report>ci-management</report> --> 513 <!-- <report>dependencies</report> --> 514 <!-- <report>dependency-convergence</report> --> 515 <report>dependency-info</report> 516 <report>dependency-management</report> 517 <!-- <report>distribution-management</report> --> 518 <report>index</report> 519 <report>issue-management</report> 520 <report>licenses</report> 521 <report>mailing-lists</report> 522 <!-- <report>modules</report> --> 523 <!-- <report>plugin-management</report> --> 524 <!-- <report>plugins</report> --> 525 <!-- <report>project-team</report> --> 526 <report>scm</report> 527 <!-- <report>summary</report> --> 528 </reports> 529 </reportSet> 530 </reportSets> 531 </plugin> 532 <plugin> 533 <groupId>org.apache.maven.plugins</groupId> 534 <artifactId>maven-javadoc-plugin</artifactId> 535 <inherited>false</inherited> 536 <reportSets> 537 <reportSet> 538 <id>aggregate</id> 539 <inherited>false</inherited> 540 <reports> 541 <report>aggregate</report> 542 </reports> 543 <configuration> 544 <excludePackageNames>com.google.zxing.client.android*,com.google.zxing.client.glass*,com.google.zxing.web.generator*</excludePackageNames> 545 <groups> 546 <group> 547 <title>Common support code</title> 548 <packages>com.google.zxing:com.google.zxing.common*:com.google.zxing.client.result*</packages> 549 </group> 550 <group> 551 <title>One-dimensional barcode (UPC, EAN, etc) support</title> 552 <packages>com.google.zxing.oned</packages> 553 </group> 554 <group> 555 <title>QR Code support</title> 556 <packages>com.google.zxing.qrcode*</packages> 557 </group> 558 <group> 559 <title>Data Matrix support</title> 560 <packages>com.google.zxing.datamatrix*</packages> 561 </group> 562 <group> 563 <title>PDF417 barcode support</title> 564 <packages>com.google.zxing.pdf417*</packages> 565 </group> 566 <group> 567 <title>Aztec barcode support</title> 568 <packages>com.google.zxing.aztec*</packages> 569 </group> 570 <group> 571 <title>MaxiCode support</title> 572 <packages>com.google.zxing.maxicode*</packages> 573 </group> 574 <group> 575 <title>RSS barcode support</title> 576 <packages>com.google.zxing.oned.rss*</packages> 577 </group> 578 <group> 579 <title>Multiple barcode scanning support</title> 580 <packages>com.google.zxing.multi*</packages> 581 </group> 582 <group> 583 <title>Web-based decoder app</title> 584 <packages>com.google.zxing.web</packages> 585 </group> 586 <group> 587 <title>Web-based App Engine encoder app</title> 588 <packages>com.google.zxing.web.generator*</packages> 589 </group> 590 <group> 591 <title>JavaSE utilities and support</title> 592 <packages>com.google.zxing.client.j2se*</packages> 593 </group> 594 <group> 595 <title>Android Intent integration</title> 596 <packages>com.google.zxing.integration.android*</packages> 597 </group> 598 </groups> 599 </configuration> 600 </reportSet> 601 </reportSets> 602 </plugin> 603 </plugins> 604 <excludeDefaults>true</excludeDefaults> 605 </reporting> 606 607 <name>ZXing</name> 608 <description>Parent Maven project for ZXing modules</description> 609 <url>https://github.com/zxing/zxing</url> 610 <inceptionYear>2007</inceptionYear> 611 <licenses> 612 <license> 613 <name>The Apache Software License, Version 2.0</name> 614 <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> 615 <distribution>repo</distribution> 616 </license> 617 </licenses> 618 <developers> 619 <developer> 620 <id>zxing-authors</id> 621 <name>ZXing Authors</name> 622 </developer> 623 </developers> 624 625 <issueManagement> 626 <system>Github</system> 627 <url>https://github.com/zxing/zxing/issues</url> 628 </issueManagement> 629 <mailingLists> 630 <mailingList> 631 <name>zxing Google Group</name> 632 <archive>https://groups.google.com/forum/?fromgroups#!forum/zxing</archive> 633 </mailingList> 634 <mailingList> 635 <name>StackOverflow tag</name> 636 <archive>https://stackoverflow.com/questions/tagged/zxing</archive> 637 </mailingList> 638 </mailingLists> 639 <scm> 640 <connection>scm:git:https://github.com/zxing/zxing.git</connection> 641 <developerConnection>scm:git:https://github.com/zxing/zxing.git</developerConnection> 642 <url>https://github.com/zxing/zxing</url> 643 <tag>zxing-3.5.2</tag> 644 </scm> 645 646 <distributionManagement> 647 <repository> 648 <id>sonatype-nexus-staging</id> 649 <name>Nexus Release Repository</name> 650 <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> 651 </repository> 652 <snapshotRepository> 653 <id>sonatype-nexus-snapshots</id> 654 <name>Sonatype Nexus Snapshots</name> 655 <url>https://oss.sonatype.org/content/repositories/snapshots/</url> 656 </snapshotRepository> 657 <site> 658 <id>zxing.website</id> 659 <name>ZXing documentation</name> 660 <url>file:docs/</url> 661 </site> 662 </distributionManagement> 663 664 <repositories> 665 <repository> 666 <id>google-maven-central</id> 667 <name>GCS Maven Central mirror</name> 668 <url>https://maven-central.storage-download.googleapis.com/maven2/</url> 669 </repository> 670 </repositories> 671 <pluginRepositories> 672 <pluginRepository> 673 <id>google-maven-central</id> 674 <name>GCS Maven Central mirror</name> 675 <url>https://maven-central.storage-download.googleapis.com/maven2/</url> 676 </pluginRepository> 677 </pluginRepositories> 678 679 <profiles> 680 <profile> 681 <id>build-android</id> 682 <activation> 683 <property> 684 <name>env.ANDROID_HOME</name> 685 </property> 686 <jdk>[,9)</jdk> <!-- Android won't necessarily work with JDK 9 --> 687 </activation> 688 <modules> 689 <module>android-core</module> 690 <module>android-integration</module> 691 <module>android</module> 692 </modules> 693 <dependencyManagement> 694 <dependencies> 695 <dependency> 696 <groupId>com.google.android</groupId> 697 <artifactId>android</artifactId> 698 <version>${android.platform}</version> 699 <scope>system</scope> 700 <!-- ANDROID_HOME must be absolute, but redundant leading / may help Gradle Spring Boot plugin --> 701 <systemPath>/${android.home}/platforms/android-${android.platform}/android.jar</systemPath> 702 </dependency> 703 </dependencies> 704 </dependencyManagement> 705 </profile> 706 <profile> 707 <id>release</id> 708 <build> 709 <plugins> 710 <plugin> 711 <groupId>org.apache.maven.plugins</groupId> 712 <artifactId>maven-gpg-plugin</artifactId> 713 </plugin> 714 </plugins> 715 </build> 716 </profile> 717 <profile> 718 <id>android-release</id> 719 <build> 720 <plugins> 721 <plugin> 722 <groupId>org.apache.maven.plugins</groupId> 723 <artifactId>maven-jarsigner-plugin</artifactId> 724 </plugin> 725 <plugin> 726 <groupId>com.simpligility.maven.plugins</groupId> 727 <artifactId>android-maven-plugin</artifactId> 728 <configuration> 729 <proguard> 730 <skip>false</skip> 731 <config>proguard.cfg</config> 732 </proguard> 733 <!-- repeat Android jar as library jar, as plugin ignores scope system deps --> 734 <proguardOptions> 735 <option>-libraryjars</option> 736 <option>${android.home}/platforms/android-${android.platform}/android.jar</option> 737 </proguardOptions> 738 <sign> 739 <debug>false</debug> 740 </sign> 741 <release>true</release> 742 <apkDebug>false</apkDebug> 743 </configuration> 744 </plugin> 745 </plugins> 746 </build> 747 </profile> 748 <profile> 749 <id>jacoco</id> 750 <build> 751 <plugins> 752 <plugin> 753 <groupId>org.jacoco</groupId> 754 <artifactId>jacoco-maven-plugin</artifactId> 755 </plugin> 756 </plugins> 757 </build> 758 </profile> 759 <profile> 760 <id>zxingorg</id> 761 <activation> 762 <jdk>[17,)</jdk> <!-- Requires Java 17+ for Java EE 10+ --> 763 </activation> 764 <modules> 765 <module>zxingorg</module> 766 </modules> 767 </profile> 768 <profile> 769 <id>appspot</id> 770 <activation> 771 <jdk>[,9)</jdk> <!-- Appspot won't work with JDK 9 --> 772 </activation> 773 <modules> 774 <module>zxing.appspot.com</module> 775 </modules> 776 </profile> 777 <profile> 778 <id>javadoc-9</id> 779 <activation> 780 <jdk>[9,)</jdk> 781 </activation> 782 <build> 783 <pluginManagement> 784 <plugins> 785 <plugin> 786 <groupId>org.apache.maven.plugins</groupId> 787 <artifactId>maven-javadoc-plugin</artifactId> 788 <configuration combine.children="append"> 789 <!-- Choose HTML5 output over deprecated HTML 4.01 --> 790 <additionalOptions>-html5</additionalOptions> 791 </configuration> 792 </plugin> 793 </plugins> 794 </pluginManagement> 795 </build> 796 </profile> 797 </profiles> 798 799</project> 800