Simple parent pom with modules.
Shell scripts for building core, kafka binder, rabbit binder and bom (dependencies) modules individually.
This commit is contained in:
3
buildBom.sh
Executable file
3
buildBom.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
./mvnw clean install -f bom/pom.xml
|
||||
11
buildCore.sh
Executable file
11
buildCore.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ "$#" -eq 1 ]; then
|
||||
ARGVALUE=$1
|
||||
if [[ $ARGVALUE == *"skipTest"* ]]; then
|
||||
echo "Skippping Tests"
|
||||
./mvnw clean install -f core/pom.xml -DskipTests
|
||||
fi
|
||||
else
|
||||
./mvnw clean install -f core/pom.xml
|
||||
fi
|
||||
3
buildDependencies.sh
Executable file
3
buildDependencies.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
./mvnw clean install -f bom/pom.xml
|
||||
11
buildKafkaBinder.sh
Executable file
11
buildKafkaBinder.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ "$#" -eq 1 ]; then
|
||||
ARGVALUE=$1
|
||||
if [[ $ARGVALUE == *"skipTest"* ]]; then
|
||||
echo "Skippping Tests"
|
||||
./mvnw clean install -f binders/kafka-binder/pom.xml -DskipTests
|
||||
fi
|
||||
else
|
||||
./mvnw clean install -f binders/kafka-binder/pom.xml
|
||||
fi
|
||||
11
buildRabbitBinder.sh
Executable file
11
buildRabbitBinder.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ "$#" -eq 1 ]; then
|
||||
ARGVALUE=$1
|
||||
if [[ $ARGVALUE == *"skipTest"* ]]; then
|
||||
echo "Skippping Tests"
|
||||
./mvnw clean install -f binders/rabbit-binder/pom.xml -DskipTests
|
||||
fi
|
||||
else
|
||||
./mvnw clean install -f binders/rabbit-binder/pom.xml
|
||||
fi
|
||||
41
pom.xml
41
pom.xml
@@ -31,6 +31,12 @@
|
||||
<maven-checkstyle-plugin.includeTestSourceDirectory>true</maven-checkstyle-plugin.includeTestSourceDirectory>
|
||||
</properties>
|
||||
|
||||
<modules>
|
||||
<module>core</module>
|
||||
<module>binders</module>
|
||||
<module>bom</module>
|
||||
</modules>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
@@ -167,41 +173,6 @@
|
||||
</reporting>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>full</id>
|
||||
<activation>
|
||||
<activeByDefault>true</activeByDefault>
|
||||
</activation>
|
||||
<modules>
|
||||
<module>core</module>
|
||||
<module>binders</module>
|
||||
<module>bom</module>
|
||||
</modules>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>kafka</id>
|
||||
<modules>
|
||||
<module>binders/kafka-binder</module>
|
||||
</modules>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>rabbit</id>
|
||||
<modules>
|
||||
<module>binders/rabbit-binder</module>
|
||||
</modules>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>bom</id>
|
||||
<modules>
|
||||
<module>bom</module>
|
||||
</modules>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>core</id>
|
||||
<modules>
|
||||
<module>core</module>
|
||||
</modules>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>spring</id>
|
||||
</profile>
|
||||
|
||||
Reference in New Issue
Block a user