Skip to content

Commit 5c536c2

Browse files
tillscolleolleolle
authored andcommitted
Change Maven <packaging> to "pom" to avoid unnecessary artifacts
This prevents Maven from producing unused JAR or WAR files during the build. However, we now need to check in the target directories manually, as they are no longer created automatically before warbling.
1 parent 3faca09 commit 5c536c2

9 files changed

Lines changed: 6 additions & 5 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ pkg
33
doc
44
.bundle
55
nbproject
6-
target
6+
**/target/*
7+
!**/target/.keep
78
Gemfile.lock
89
.idea
910
warbler.iml

integration/rails7_test/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</parent>
1010

1111
<artifactId>rails7_test</artifactId>
12-
<packaging>jar</packaging>
12+
<packaging>pom</packaging>
1313

1414
<name>rails7_test</name>
1515

integration/rails7_test/target/.keep

Whitespace-only changes.

integration/runnable_test/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</parent>
1010

1111
<artifactId>runnable_test</artifactId>
12-
<packaging>jar</packaging>
12+
<packaging>pom</packaging>
1313

1414
<name>runnable_test</name>
1515

integration/runnable_test/target/.keep

Whitespace-only changes.

integration/runnable_w_bundler_test/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</parent>
1010

1111
<artifactId>runnable_w_bundler_test</artifactId>
12-
<packaging>jar</packaging>
12+
<packaging>pom</packaging>
1313

1414
<name>runnable_w_bundler_test</name>
1515

integration/runnable_w_bundler_test/target/.keep

Whitespace-only changes.

integration/simple_rack_test/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</parent>
1010

1111
<artifactId>simple_rack_test</artifactId>
12-
<packaging>jar</packaging>
12+
<packaging>pom</packaging>
1313

1414
<name>simple_rack_test</name>
1515

integration/simple_rack_test/target/.keep

Whitespace-only changes.

0 commit comments

Comments
 (0)