Initial of an empty project with sub-projects
authorKai Moritz <kai@juplo.de>
Mon, 18 Sep 2023 18:50:13 +0000 (20:50 +0200)
committerKai Moritz <kai@juplo.de>
Mon, 18 Sep 2023 21:03:22 +0000 (23:03 +0200)
.gitignore [new file with mode: 0644]
boot/pom.xml [new file with mode: 0644]
lib/pom.xml [new file with mode: 0644]
pom.xml [new file with mode: 0644]
spring/pom.xml [new file with mode: 0644]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..612c5bc
--- /dev/null
@@ -0,0 +1,3 @@
+target
+.idea
+*.iml
diff --git a/boot/pom.xml b/boot/pom.xml
new file mode 100644 (file)
index 0000000..483e2f1
--- /dev/null
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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>de.juplo.boot</groupId>
+    <artifactId>conditional</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+  </parent>
+
+  <groupId>de.juplo.boot</groupId>
+  <artifactId>conditional-boot</artifactId>
+  <version>1.0.0-SNAPSHOT</version>
+  <name>Conditional Annotations - SpringBoot-App</name>
+  <description>Experiments with Conditional Annotations</description>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.springframework.boot</groupId>
+      <artifactId>spring-boot-starter</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>de.juplo.boot</groupId>
+      <artifactId>conditional-lib</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.projectlombok</groupId>
+      <artifactId>lombok</artifactId>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.springframework.boot</groupId>
+        <artifactId>spring-boot-maven-plugin</artifactId>
+      </plugin>
+    </plugins>
+  </build>
+
+</project>
diff --git a/lib/pom.xml b/lib/pom.xml
new file mode 100644 (file)
index 0000000..551fc34
--- /dev/null
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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>de.juplo.boot</groupId>
+    <artifactId>conditional</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+  </parent>
+
+  <groupId>de.juplo.boot</groupId>
+  <artifactId>conditional-lib</artifactId>
+  <version>1.0.0-SNAPSHOT</version>
+  <name>Conditional Annotations - Library</name>
+  <description>Experiments with Conditional Annotations</description>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.springframework.boot</groupId>
+      <artifactId>spring-boot-autoconfigure</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-api</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.projectlombok</groupId>
+      <artifactId>lombok</artifactId>
+    </dependency>
+  </dependencies>
+
+</project>
diff --git a/pom.xml b/pom.xml
new file mode 100644 (file)
index 0000000..8bf1793
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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.springframework.boot</groupId>
+    <artifactId>spring-boot-starter-parent</artifactId>
+    <version>3.1.3</version>
+    <relativePath/> <!-- lookup parent from repository -->
+  </parent>
+
+  <groupId>de.juplo.boot</groupId>
+  <artifactId>conditional</artifactId>
+  <version>1.0.0-SNAPSHOT</version>
+  <packaging>pom</packaging>
+  <name>Conditional Annotations</name>
+  <description>Experiments with Conditional Annotations</description>
+
+  <properties>
+    <java.version>17</java.version>
+  </properties>
+
+  <modules>
+    <module>lib</module>
+    <module>boot</module>
+    <module>spring</module>
+  </modules>
+
+  <dependencyManagement>
+    <dependencies>
+      <dependency>
+        <groupId>de.juplo.boot</groupId>
+        <artifactId>conditional-lib</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>de.juplo.boot</groupId>
+        <artifactId>conditional-boot</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>de.juplo.boot</groupId>
+        <artifactId>conditional-spring</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+    </dependencies>
+  </dependencyManagement>
+
+</project>
diff --git a/spring/pom.xml b/spring/pom.xml
new file mode 100644 (file)
index 0000000..0d6c03a
--- /dev/null
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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>de.juplo.boot</groupId>
+    <artifactId>conditional</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+  </parent>
+
+  <groupId>de.juplo.boot</groupId>
+  <artifactId>conditional-spring</artifactId>
+  <version>1.0.0-SNAPSHOT</version>
+  <name>Conditional Annotations - Spring-App</name>
+  <description>Experiments with Conditional Annotations</description>
+
+  <dependencies>
+    <dependency>
+      <groupId>de.juplo.boot</groupId>
+      <artifactId>conditional-lib</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.projectlombok</groupId>
+      <artifactId>lombok</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>ch.qos.logback</groupId>
+      <artifactId>logback-classic</artifactId>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.codehouse.mojo</groupId>
+        <artifactId>exec-maven-plugin</artifactId>
+        <version>3.1.0</version>
+        <executions>
+          <execution>
+            <id>run</id>
+            <configuration>
+              <mainClass>de.juplo.boot.conditional.spring.Application</mainClass>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+
+</project>