Skip to content

Commit

Permalink
refactor devcontainer and pom.xml for improved module handling and bu…
Browse files Browse the repository at this point in the history
…ild arguments
  • Loading branch information
pethers authored Jan 19, 2025
1 parent df3ece3 commit 76a2c36
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 12 deletions.
13 changes: 9 additions & 4 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,14 @@
"args": [
"mvn",
"-B",
"--file",
"pom.xml",
"clean",
"install",
"-DforkMode=once",
"-pl",
"!cia-dist-deb",
"!com.hack23.cia:cia-dist-deb",
"-Prelease-site,all-modules",
"-DforkMode=once",
"-Dtest=!**ITest*,!**DocumentationTest*",
"-Dmaven.test.failure.ignore=true",
"-DfailIfNoTests=false",
Expand All @@ -114,9 +117,11 @@
"clean",
"install",
"-pl",
"!cia-dist-deb",
"!com.hack23.cia:cia-dist-deb,!com.hack23.cia:cia-dist-cloudformation",
"-Pall-modules",
"-DskipTests",
"-DfailIfNoTests=false"
"-DfailIfNoTests=false",
"-Dsurefire.failIfNoSpecifiedTests=false"
],
"options": {
"cwd": "${workspaceFolder}/parent-pom",
Expand Down
16 changes: 8 additions & 8 deletions parent-pom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@
<description>CIA Parent pom</description>
<url>github:https://hack23.github.io/cia/parent-pom/</url>
<inceptionYear>2008</inceptionYear>
<modules>
<module>../testfoundation</module>
<module>../parent-model-pom</module>
<module>../parent-service-pom</module>
<module>../parent-web-pom</module>
<module>../cia-dist-deb</module>
<module>../cia-dist-cloudformation</module>
</modules>
<organization>
<name>www.hack23.com</name>
<url>http://www.hack23.com</url>
Expand Down Expand Up @@ -44,6 +36,14 @@
<prerequisites>
<maven>3.9.1</maven>
</prerequisites>
<modules>
<module>../testfoundation</module>
<module>../parent-model-pom</module>
<module>../parent-service-pom</module>
<module>../parent-web-pom</module>
<module>../cia-dist-deb</module>
<module>../cia-dist-cloudformation</module>
</modules>
<scm>
<connection>scm:git:ssh://[email protected]/Hack23/cia.git</connection>
<developerConnection>scm:git:ssh://[email protected]/Hack23/cia.git</developerConnection>
Expand Down

0 comments on commit 76a2c36

Please sign in to comment.