|
286 | 286 | </configuration> |
287 | 287 | </plugin> |
288 | 288 | <plugin> |
289 | | - <groupId>org.apache.maven.plugins</groupId> |
| 289 | + <groupId>org.apache.maven.plugins</groupId> |
290 | 290 | <artifactId>maven-enforcer-plugin</artifactId> |
291 | 291 | <version>3.0.0-M1</version> |
292 | 292 | <configuration> |
|
717 | 717 | <dependency> |
718 | 718 | <groupId>org.jboss.arquillian.container</groupId> |
719 | 719 | <artifactId>arquillian-tomcat-remote-7</artifactId> |
720 | | - <version>1.0.0.CR7</version> |
| 720 | + <version>1.0.1.Final</version> |
721 | 721 | <scope>test</scope> |
722 | 722 | </dependency> |
723 | 723 | </dependencies> |
|
777 | 777 | <dependency> |
778 | 778 | <groupId>org.jboss.arquillian.container</groupId> |
779 | 779 | <artifactId>arquillian-tomcat-managed-7</artifactId> |
780 | | - <version>1.0.0.CR7</version> |
| 780 | + <version>1.0.1.Final</version> |
781 | 781 | <scope>test</scope> |
782 | 782 | </dependency> |
783 | 783 | </dependencies> |
|
789 | 789 | <artifactId>maven-dependency-plugin</artifactId> |
790 | 790 | <executions> |
791 | 791 | <execution> |
792 | | - <id>unpack</id> |
| 792 | + <id>unpack-tomcat</id> |
793 | 793 | <phase>process-test-classes</phase> |
794 | 794 | <goals> |
795 | 795 | <goal>unpack</goal> |
|
807 | 807 | </artifactItems> |
808 | 808 | </configuration> |
809 | 809 | </execution> |
810 | | - </executions> |
811 | | - </plugin> |
812 | | - <plugin> |
813 | | - <groupId>org.apache.maven.plugins</groupId> |
814 | | - <artifactId>maven-antrun-plugin</artifactId> |
815 | | - <version>1.1</version> |
816 | | - <executions> |
817 | 810 | <execution> |
| 811 | + <id>unpack-tomcat-users</id> |
818 | 812 | <phase>process-test-classes</phase> |
819 | 813 | <goals> |
820 | | - <goal>run</goal> |
| 814 | + <goal>unpack</goal> |
821 | 815 | </goals> |
822 | 816 | <configuration> |
823 | | - <tasks> |
824 | | - <echo>Copying server.xml</echo> |
825 | | - <copy failonerror="false" |
826 | | - file="../../test-utils/src/main/resources/tomcat-users.xml" |
827 | | - tofile="${project.build.directory}/apache-tomcat-${tomcat.version}/conf/tomcat-users.xml" /> |
828 | | - </tasks> |
| 817 | + <artifactItems> |
| 818 | + <artifactItem> |
| 819 | + <groupId>org.javaee8</groupId> |
| 820 | + <artifactId>test-utils</artifactId> |
| 821 | + <version>${project.version}</version> |
| 822 | + <type>jar</type> |
| 823 | + <overWrite>true</overWrite> |
| 824 | + <outputDirectory>${project.build.directory}/apache-tomcat-${tomcat.version}/conf</outputDirectory> |
| 825 | + <includes>tomcat-users.xml</includes> |
| 826 | + </artifactItem> |
| 827 | + </artifactItems> |
829 | 828 | </configuration> |
830 | 829 | </execution> |
831 | 830 | </executions> |
|
846 | 845 |
|
847 | 846 |
|
848 | 847 |
|
849 | | - <!-- Activate this profile to download javadoc and sources jars. |
850 | | - run: mvn process-resources -Ddownload Notice: This feature has been removed |
| 848 | + <!-- Activate this profile to download javadoc and sources jars. |
| 849 | + run: mvn process-resources -Ddownload Notice: This feature has been removed |
851 | 850 | with plugin version 2.5, so keep this plugin configuration in a profile section. --> |
852 | 851 | <profile> |
853 | 852 | <id>javadocs</id> |
|
0 commit comments