File tree Expand file tree Collapse file tree 2 files changed +18
-18
lines changed Expand file tree Collapse file tree 2 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 7777 <!--
7878 This plugin forces the generation of jar containing catalyst test classes,
7979 so that the tests classes of external modules can use them. The two execution profiles
80- are necessary - first one for 'mvn package', second one for 'mvn compile'. Ideally,
80+ are necessary - first one for 'mvn package', second one for 'mvn test- compile'. Ideally,
8181 'mvn compile' should not compile test classes and therefore should not need this.
8282 However, an open Maven bug (http://jira.codehaus.org/browse/MNG-3559)
8383 causes the compilation to fail if catalyst test-jar is not generated. Hence, the
84- second execution profile for 'mvn compile'.
84+ second execution profile for 'mvn test- compile'.
8585 -->
8686 <plugin >
8787 <groupId >org.apache.maven.plugins</groupId >
8888 <artifactId >maven-jar-plugin</artifactId >
8989 <executions >
90- <execution >
91- <goals >
92- <goal >test-jar</goal >
93- </goals >
94- </execution >
95- <execution >
96- <id >test-jar-on-compile</id >
97- <phase >compile</phase >
98- <goals >
99- <goal >test-jar</goal >
100- </goals >
101- </execution >
90+ <execution >
91+ <goals >
92+ <goal >test-jar</goal >
93+ </goals >
94+ </execution >
95+ <execution >
96+ <id >test-jar-on-test -compile</id >
97+ <phase >test- compile</phase >
98+ <goals >
99+ <goal >test-jar</goal >
100+ </goals >
101+ </execution >
102102 </executions >
103103 </plugin >
104104 </plugins >
Original file line number Diff line number Diff line change 8181 <!--
8282 This plugin forces the generation of jar containing streaming test classes,
8383 so that the tests classes of external modules can use them. The two execution profiles
84- are necessary - first one for 'mvn package', second one for 'mvn compile'. Ideally,
84+ are necessary - first one for 'mvn package', second one for 'mvn test- compile'. Ideally,
8585 'mvn compile' should not compile test classes and therefore should not need this.
8686 However, an open Maven bug (http://jira.codehaus.org/browse/MNG-3559)
8787 causes the compilation to fail if streaming test-jar is not generated. Hence, the
88- second execution profile for 'mvn compile'.
88+ second execution profile for 'mvn test- compile'.
8989 -->
9090 <plugin >
9191 <groupId >org.apache.maven.plugins</groupId >
9797 </goals >
9898 </execution >
9999 <execution >
100- <id >test-jar-on-compile</id >
101- <phase >compile</phase >
100+ <id >test-jar-on-test- compile</id >
101+ <phase >test- compile</phase >
102102 <goals >
103103 <goal >test-jar</goal >
104104 </goals >
You can’t perform that action at this time.
0 commit comments