File tree Expand file tree Collapse file tree 5 files changed +40
-0
lines changed
projects/compiler.mavenCompilerPlugin.moduleWithTests
src/test/java/org/eclipse/tycho/test/compiler Expand file tree Collapse file tree 5 files changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ <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 https://maven.apache.org/xsd/maven-4.0.0.xsd" >
2+ <modelVersion >4.0.0</modelVersion >
3+ <groupId >tycho-its-project.compiler.mavenCompilerPlugin.moduleWithTests</groupId >
4+ <artifactId >c.m.m</artifactId >
5+ <version >0.0.1-SNAPSHOT</version >
6+ <build >
7+ <pluginManagement >
8+ <plugins >
9+ <plugin >
10+ <groupId >org.apache.maven.plugins</groupId >
11+ <artifactId >maven-compiler-plugin</artifactId >
12+ <version >3.10.1</version >
13+ <configuration >
14+ <compilerId >jdt</compilerId >
15+ <release >17</release >
16+ </configuration >
17+ <dependencies >
18+ <dependency >
19+ <groupId >org.eclipse.tycho</groupId >
20+ <artifactId >tycho-compiler-jdt</artifactId >
21+ <version >${tycho-version} </version >
22+ </dependency >
23+ </dependencies >
24+ </plugin >
25+ </plugins >
26+ </pluginManagement >
27+ </build >
28+ </project >
Original file line number Diff line number Diff line change 1+ package ex ;
2+ public class A {}
Original file line number Diff line number Diff line change 1+ module ex {}
Original file line number Diff line number Diff line change 1+ package ex ;
2+ class ATest {}
Original file line number Diff line number Diff line change @@ -32,6 +32,13 @@ public void testJDTCompilerId() throws Exception {
3232 verifier .verifyTextInLog ("field Foo.unused is not used" );
3333 }
3434
35+ @ Test
36+ public void testMavenCompilerPluginModuleWithTests () throws Exception {
37+ Verifier verifier = getVerifier ("compiler.mavenCompilerPlugin.moduleWithTests" , false );
38+ verifier .executeGoal ("verify" );
39+ verifier .verifyErrorFreeLog ();
40+ }
41+
3542 @ Test
3643 public void testAdditionalBundles () throws Exception {
3744 Verifier verifier = getVerifier ("compiler.additional.bundles" , true );
You can’t perform that action at this time.
0 commit comments