Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MASSEMBLY-1000] ITs - cleanups #165

Merged
merged 1 commit into from
Nov 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,6 @@ under the License.
<id>run-its</id>
<properties>
<test.remote.repo.url>file://${project.build.testOutputDirectory}/remote-repository</test.remote.repo.url>
<testVersion>${project.version}</testVersion>
</properties>

<build>
Expand All @@ -374,9 +373,6 @@ under the License.
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
<configuration>
<properties>
<testVersion>${testVersion}</testVersion>
</properties>
<showVersion>true</showVersion>
</configuration>
<dependencies>
Expand Down
25 changes: 25 additions & 0 deletions src/it/it-project-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,36 @@ under the License.
<artifactId>maven-assembly-plugin</artifactId>
<version>@project.version@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>@version.maven-clean-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>@version.maven-compiler-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>@version.maven-deploy-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>@version.maven-jar-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>@version.maven-install-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>@version.maven-resources-plugin@</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# specific language governing permissions and limitations
# under the License.

invoker.goals=clean org.apache.maven.plugins:maven-assembly-plugin:${testVersion}:single
invoker.goals=clean org.apache.maven.plugins:maven-assembly-plugin:${project.version}:single
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# specific language governing permissions and limitations
# under the License.

invoker.goals=clean org.apache.maven.plugins:maven-assembly-plugin:${testVersion}:single
invoker.goals=clean org.apache.maven.plugins:maven-assembly-plugin:${project.version}:single
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# specific language governing permissions and limitations
# under the License.

invoker.goals=clean org.apache.maven.plugins:maven-assembly-plugin:${testVersion}:single
invoker.goals=clean org.apache.maven.plugins:maven-assembly-plugin:${project.version}:single
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# specific language governing permissions and limitations
# under the License.

invoker.goals=org.apache.maven.plugins:maven-assembly-plugin:${testVersion}:single
invoker.goals=org.apache.maven.plugins:maven-assembly-plugin:${project.version}:single
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# specific language governing permissions and limitations
# under the License.

invoker.goals=org.apache.maven.plugins:maven-assembly-plugin:${testVersion}:single
invoker.goals=org.apache.maven.plugins:maven-assembly-plugin:${project.version}:single
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# specific language governing permissions and limitations
# under the License.

invoker.goals=clean org.apache.maven.plugins:maven-assembly-plugin:${testVersion}:single
invoker.goals=clean org.apache.maven.plugins:maven-assembly-plugin:${project.version}:single
2 changes: 1 addition & 1 deletion src/it/projects/basic-features/formats/invoker.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# specific language governing permissions and limitations
# under the License.

invoker.goals=clean org.apache.maven.plugins:maven-assembly-plugin:${testVersion}:single
invoker.goals=clean org.apache.maven.plugins:maven-assembly-plugin:${project.version}:single
6 changes: 5 additions & 1 deletion src/it/projects/basic-features/local-repo-interp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ under the License.
<groupId>test</groupId>
<artifactId>test</artifactId>
<version>1</version>


<properties>
<testVersion>@project.version@</testVersion>
</properties>

<build>
<plugins>
<plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# specific language governing permissions and limitations
# under the License.

invoker.goals=clean org.apache.maven.plugins:maven-assembly-plugin:${testVersion}:single
invoker.goals=clean org.apache.maven.plugins:maven-assembly-plugin:${project.version}:single
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# specific language governing permissions and limitations
# under the License.

invoker.goals=clean org.apache.maven.plugins:maven-assembly-plugin:${testVersion}:single
invoker.goals=clean org.apache.maven.plugins:maven-assembly-plugin:${project.version}:single
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# specific language governing permissions and limitations
# under the License.

invoker.goals=clean org.apache.maven.plugins:maven-assembly-plugin:${testVersion}:single
invoker.goals=clean org.apache.maven.plugins:maven-assembly-plugin:${project.version}:single
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# specific language governing permissions and limitations
# under the License.

invoker.goals=org.apache.maven.plugins:maven-assembly-plugin:${testVersion}:single
invoker.goals=org.apache.maven.plugins:maven-assembly-plugin:${project.version}:single
10 changes: 8 additions & 2 deletions src/it/projects/bugs/massembly-324/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,22 @@ under the License.
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.apache.maven.plugin.assembly.test</groupId>
<artifactId>it-project-parent</artifactId>
<version>1</version>
</parent>

<groupId>mygroup</groupId>
<artifactId>project2</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<packaging>jar</packaging>

<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>${testVersion}</version>
<configuration>
<descriptors>
<descriptor>assembly.xml</descriptor>
Expand Down
8 changes: 7 additions & 1 deletion src/it/projects/bugs/massembly-559/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ under the License.
<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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.apache.maven.plugin.assembly.test</groupId>
<artifactId>it-project-parent</artifactId>
<version>1</version>
</parent>

<groupId>test</groupId>
<artifactId>test-assembly-transitive-bug</artifactId>
<version>0.0.1-SNAPSHOT</version>
Expand All @@ -37,7 +44,6 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>${testVersion}</version>
<executions>
<execution>
<id>create-assembly</id>
Expand Down
7 changes: 6 additions & 1 deletion src/it/projects/bugs/massembly-580/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ under the License.
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.apache.maven.plugin.assembly.test</groupId>
<artifactId>it-project-parent</artifactId>
<version>1</version>
</parent>

<groupId>com.sulake.maven</groupId>
<artifactId>directory-mode-ignored</artifactId>
<version>10-SNAPSHOT</version>
Expand All @@ -43,7 +49,6 @@ under the License.
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>${testVersion}</version>
<configuration>
<finalName>project-deploy</finalName>
<appendAssemblyId>false</appendAssemblyId>
Expand Down
7 changes: 6 additions & 1 deletion src/it/projects/bugs/massembly-583/child1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@ under the License.
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

<modelVersion>4.0.0</modelVersion>
<groupId>mygroup</groupId>
<parent>
<groupId>mygroup</groupId>
<artifactId>parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>

<artifactId>project1</artifactId>
<version>0.0.1-SNAPSHOT</version>

Expand Down
8 changes: 6 additions & 2 deletions src/it/projects/bugs/massembly-583/child2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@ under the License.
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

<modelVersion>4.0.0</modelVersion>
<groupId>mygroup</groupId>
<parent>
<groupId>mygroup</groupId>
<artifactId>parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>

<artifactId>project2</artifactId>
<version>0.0.1-SNAPSHOT</version>

Expand All @@ -45,7 +50,6 @@ under the License.
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>${testVersion}</version>
<configuration>
<descriptors>
<descriptor>src/main/assembly/assembly.xml</descriptor>
Expand Down
10 changes: 8 additions & 2 deletions src/it/projects/bugs/massembly-583/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,16 @@ under the License.
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

<modelVersion>4.0.0</modelVersion>


<parent>
<groupId>org.apache.maven.plugin.assembly.test</groupId>
<artifactId>it-project-parent</artifactId>
<version>1</version>
</parent>

<groupId>mygroup</groupId>
<artifactId>parent</artifactId>
<version>0.0.1</version>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>

<modules>
Expand Down
14 changes: 6 additions & 8 deletions src/it/projects/bugs/massembly-730/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ under the License.
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.apache.maven.plugin.assembly.test</groupId>
<artifactId>it-project-parent</artifactId>
<version>1</version>
</parent>

<groupId>fr.husta.test</groupId>
<artifactId>issue-mvn-assembly-plugin-730</artifactId>
<version>0.0.1-SNAPSHOT</version>
Expand All @@ -39,8 +45,6 @@ under the License.

<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>${testVersion}</version>
<!-- <version>2.4.1</version> -->
<configuration>
</configuration>
<executions>
Expand All @@ -59,15 +63,9 @@ under the License.
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.5.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.18</version>
<configuration>
<skip>true</skip>
</configuration>
Expand Down
8 changes: 7 additions & 1 deletion src/it/projects/bugs/massembly-731/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ under the License.
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.apache.maven.plugin.assembly.test</groupId>
<artifactId>it-project-parent</artifactId>
<version>1</version>
</parent>

<groupId>mygroup</groupId>
<artifactId>project2</artifactId>
<version>0.0.1-SNAPSHOT</version>
Expand All @@ -29,7 +36,6 @@ under the License.
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>${testVersion}</version>
<configuration>
<descriptors>
<descriptor>assembly.xml</descriptor>
Expand Down
10 changes: 8 additions & 2 deletions src/it/projects/bugs/massembly-732/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,22 @@ under the License.
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.apache.maven.plugin.assembly.test</groupId>
<artifactId>it-project-parent</artifactId>
<version>1</version>
</parent>

<groupId>mygroup</groupId>
<artifactId>project2</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<packaging>jar</packaging>

<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>${testVersion}</version>
<configuration>
<descriptors>
<descriptor>assembly.xml</descriptor>
Expand Down
8 changes: 7 additions & 1 deletion src/it/projects/bugs/massembly-733/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ under the License.
<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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.apache.maven.plugin.assembly.test</groupId>
<artifactId>it-project-parent</artifactId>
<version>1</version>
</parent>

<groupId>localhost</groupId>
<artifactId>MASSEMBLY-733</artifactId>
<version>1.0-SNAPSHOT</version>
Expand All @@ -31,7 +38,6 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>${testVersion}</version>
<executions>
<execution>
<phase>package</phase>
Expand Down
8 changes: 1 addition & 7 deletions src/it/projects/bugs/massembly-737/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,12 @@ under the License.
<packaging>war</packaging>

<build>
<defaultGoal>package</defaultGoal>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>${testVersion}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.0</version>
<version>@version.maven-war-plugin@</version>
</plugin>
</plugins>
</pluginManagement>
Expand Down
2 changes: 1 addition & 1 deletion src/it/projects/bugs/massembly-743/invoker.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# specific language governing permissions and limitations
# under the License.

invoker.goals=clean org.apache.maven.plugins:maven-assembly-plugin:${testVersion}:single
invoker.goals=clean org.apache.maven.plugins:maven-assembly-plugin:${project.version}:single
1 change: 0 additions & 1 deletion src/it/projects/bugs/massembly-743/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ under the License.
<inherited>true</inherited>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>${testVersion}</version>
<!-- The configuration of the plugin -->
<configuration>
<!-- Specifies the configuration file of the assembly plugin -->
Expand Down
Loading