diff --git a/maven-core-it/README.txt b/maven-core-it/README.txt index b293183852..7f9debeefa 100644 --- a/maven-core-it/README.txt +++ b/maven-core-it/README.txt @@ -197,6 +197,9 @@ it0073: Tests context passing between mojos in the same plugin. it0074: Test that plugin-level configuration instances are not nullified by execution-level configuration instances. +it0075: Verify that direct invocation of a mojo from the command line still + results in the processing of modules included via profiles. + ------------------------------------------------------------------------------- - generated sources diff --git a/maven-core-it/integration-tests.txt b/maven-core-it/integration-tests.txt index 26bc2b8f40..8779eec41c 100644 --- a/maven-core-it/integration-tests.txt +++ b/maven-core-it/integration-tests.txt @@ -1,3 +1,4 @@ +it0075 it0074 it0073 it0072 diff --git a/maven-core-it/it0075/expected-results.txt b/maven-core-it/it0075/expected-results.txt new file mode 100644 index 0000000000..f14c63a7e1 --- /dev/null +++ b/maven-core-it/it0075/expected-results.txt @@ -0,0 +1,2 @@ +sub1/.classpath +sub2/.classpath diff --git a/maven-core-it/it0075/goals.txt b/maven-core-it/it0075/goals.txt new file mode 100644 index 0000000000..391c1a7c1a --- /dev/null +++ b/maven-core-it/it0075/goals.txt @@ -0,0 +1 @@ +eclipse:eclipse diff --git a/maven-core-it/it0075/pom.xml b/maven-core-it/it0075/pom.xml new file mode 100644 index 0000000000..18db21a112 --- /dev/null +++ b/maven-core-it/it0075/pom.xml @@ -0,0 +1,24 @@ + + 4.0.0 + org.apache.maven.it + maven-core-it0075-root + 1.0-SNAPSHOT + pom + + + sub1 + + + + + include-sub2 + + user.name + + + + sub2 + + + + diff --git a/maven-core-it/it0075/prebuild-hook.txt b/maven-core-it/it0075/prebuild-hook.txt new file mode 100644 index 0000000000..1bc3c89db4 --- /dev/null +++ b/maven-core-it/it0075/prebuild-hook.txt @@ -0,0 +1,2 @@ +rm sub1/.classpath +rm sub2/.classpath diff --git a/maven-core-it/it0075/sub1/pom.xml b/maven-core-it/it0075/sub1/pom.xml new file mode 100644 index 0000000000..8a39866c0a --- /dev/null +++ b/maven-core-it/it0075/sub1/pom.xml @@ -0,0 +1,11 @@ + + 4.0.0 + + org.apache.maven.it + maven-core-it0075-root + 1.0-SNAPSHOT + + + maven-core-it0075-sub1 + + diff --git a/maven-core-it/it0075/sub1/src/main/java/org/apache/maven/it0075/Person.java b/maven-core-it/it0075/sub1/src/main/java/org/apache/maven/it0075/Person.java new file mode 100644 index 0000000000..4625629e09 --- /dev/null +++ b/maven-core-it/it0075/sub1/src/main/java/org/apache/maven/it0075/Person.java @@ -0,0 +1,6 @@ +package org.apache.maven.it0075; + +public class Person +{ + private String name; +} diff --git a/maven-core-it/it0075/sub2/pom.xml b/maven-core-it/it0075/sub2/pom.xml new file mode 100644 index 0000000000..71e16541a6 --- /dev/null +++ b/maven-core-it/it0075/sub2/pom.xml @@ -0,0 +1,11 @@ + + 4.0.0 + + org.apache.maven.it + maven-core-it0075-root + 1.0-SNAPSHOT + + + maven-core-it0075-sub2 + + diff --git a/maven-core-it/it0075/sub2/src/main/java/org/apache/maven/it0075/Person2.java b/maven-core-it/it0075/sub2/src/main/java/org/apache/maven/it0075/Person2.java new file mode 100644 index 0000000000..21053e2b75 --- /dev/null +++ b/maven-core-it/it0075/sub2/src/main/java/org/apache/maven/it0075/Person2.java @@ -0,0 +1,6 @@ +package org.apache.maven.it0075; + +public class Person2 +{ + private String name; +}