|
522 | 522 | </artifactItems> |
523 | 523 | </configuration> |
524 | 524 | </execution> |
| 525 | + |
525 | 526 | </executions> |
526 | 527 | </plugin> |
527 | 528 | <plugin> |
|
533 | 534 | <goals> |
534 | 535 | <goal>jar</goal> |
535 | 536 | </goals> |
536 | | - <phase>prepare-package</phase> |
| 537 | + <phase>process-classes</phase> |
537 | 538 | <configuration> |
538 | 539 | <classesDirectory>${project.build.directory}/hbase-shaded-client-fixed</classesDirectory> |
539 | | - <finalName>hbase-shaded-client-${hbase.version}-hadoop3-fixed</finalName> |
| 540 | + <finalName>hbase-shaded-client-${hbase.version}-hadoop3</finalName> |
| 541 | + </configuration> |
| 542 | + </execution> |
| 543 | + </executions> |
| 544 | + </plugin> |
| 545 | + <plugin> |
| 546 | + <groupId>org.apache.maven.plugins</groupId> |
| 547 | + <artifactId>maven-install-plugin</artifactId> |
| 548 | + <version>3.1.4</version> |
| 549 | + <executions> |
| 550 | + <execution> |
| 551 | + <id>install-fixed-hbase-shaded-client</id> |
| 552 | + <goals> |
| 553 | + <goal>install-file</goal> |
| 554 | + </goals> |
| 555 | + <phase>prepare-package</phase> |
| 556 | + <configuration> |
| 557 | + <file>${project.build.directory}/hbase-shaded-client-${hbase.version}-hadoop3.jar</file> |
| 558 | + <groupId>org.apache.hbase</groupId> |
| 559 | + <artifactId>hbase-shaded-client</artifactId> |
| 560 | + <version>${hbase.version}-hadoop3</version> |
| 561 | + <packaging>jar</packaging> |
540 | 562 | </configuration> |
541 | 563 | </execution> |
542 | 564 | </executions> |
|
566 | 588 | <directory>${project.build.directory}/api/v2/apidocs/ui</directory> |
567 | 589 | <targetPath>apidocs</targetPath> |
568 | 590 | </resource> |
569 | | - <resource> |
570 | | - <directory>${project.build.directory}</directory> |
571 | | - <includes> |
572 | | - <include>hbase-shaded-client-${hbase.version}-hadoop3-fixed.jar</include> |
573 | | - </includes> |
574 | | - <targetPath>WEB-INF/lib</targetPath> |
575 | | - </resource> |
576 | 591 | </webResources> |
577 | 592 |
|
578 | 593 | <archive> |
|
583 | 598 | <packagingExcludes>WEB-INF/lib/dom4j-*.jar,WEB-INF/lib/jsp-api*.jar,${packages.to.exclude}</packagingExcludes> |
584 | 599 | </configuration> |
585 | 600 | </plugin> |
586 | | - |
587 | 601 | <plugin> |
588 | 602 | <groupId>org.codehaus.mojo</groupId> |
589 | 603 | <artifactId>keytool-maven-plugin</artifactId> |
|
869 | 883 | <activeByDefault>false</activeByDefault> |
870 | 884 | </activation> |
871 | 885 | <properties> |
872 | | - <packages.to.exclude>WEB-INF/lib/hbase-shaded-client-${hbase.version}-hadoop3.jar,${distro.exclude.packages}</packages.to.exclude> |
| 886 | + <packages.to.exclude>${distro.exclude.packages}</packages.to.exclude> |
873 | 887 | </properties> |
874 | 888 | </profile> |
875 | 889 |
|
|
879 | 893 | <activeByDefault>false</activeByDefault> |
880 | 894 | </activation> |
881 | 895 | <properties> |
882 | | - <packages.to.exclude>WEB-INF/lib/hbase-shaded-client-${hbase.version}-hadoop3.jar,WEB-INF/lib/je-*.jar,WEB-INF/lib/dom4j-*.jar</packages.to.exclude> |
| 896 | + <packages.to.exclude>WEB-INF/lib/je-*.jar,WEB-INF/lib/dom4j-*.jar</packages.to.exclude> |
883 | 897 | </properties> |
884 | 898 | </profile> |
885 | 899 |
|
|
889 | 903 | <activeByDefault>false</activeByDefault> |
890 | 904 | </activation> |
891 | 905 | <properties> |
892 | | - <packages.to.exclude>WEB-INF/lib/hbase-shaded-client-${hbase.version}-hadoop3.jar,WEB-INF/lib/dom4j-*.jar</packages.to.exclude> |
| 906 | + <packages.to.exclude>WEB-INF/lib/dom4j-*.jar</packages.to.exclude> |
893 | 907 | </properties> |
894 | 908 | </profile> |
895 | 909 |
|
|
899 | 913 | <activeByDefault>false</activeByDefault> |
900 | 914 | </activation> |
901 | 915 | <properties> |
902 | | - <packages.to.exclude>WEB-INF/lib/hbase-shaded-client-${hbase.version}-hadoop3.jar,WEB-INF/lib/dom4j-*.jar</packages.to.exclude> |
| 916 | + <packages.to.exclude>WEB-INF/lib/dom4j-*.jar</packages.to.exclude> |
903 | 917 | </properties> |
904 | 918 | </profile> |
905 | 919 |
|
|
0 commit comments