Browse Source

Add parent project, convert existing project to Maven module

pull/4/head
kske 4 months ago
parent
commit
9701e862df
Signed by: kske GPG Key ID: 8BEB13EC5DF7EF13
  1. 17
      .project
  2. 38
      event-bus-ap/.classpath
  3. 2
      event-bus-ap/.project
  4. 16
      event-bus-ap/pom.xml
  5. 0
      event-bus-core/.classpath
  6. 23
      event-bus-core/.project
  7. 23
      event-bus-core/pom.xml
  8. 0
      event-bus-core/src/main/java/dev/kske/eventbus/Event.java
  9. 0
      event-bus-core/src/main/java/dev/kske/eventbus/EventBus.java
  10. 0
      event-bus-core/src/main/java/dev/kske/eventbus/EventBusException.java
  11. 0
      event-bus-core/src/main/java/dev/kske/eventbus/EventHandler.java
  12. 0
      event-bus-core/src/main/java/dev/kske/eventbus/EventListener.java
  13. 0
      event-bus-core/src/main/java/dev/kske/eventbus/IEvent.java
  14. 0
      event-bus-core/src/main/java/dev/kske/eventbus/package-info.java
  15. 0
      event-bus-core/src/main/java/module-info.java
  16. 0
      event-bus-core/src/test/java/dev/kske/eventbus/CancelTest.java
  17. 0
      event-bus-core/src/test/java/dev/kske/eventbus/DispatchTest.java
  18. 0
      event-bus-core/src/test/java/dev/kske/eventbus/SimpleEvent.java
  19. 0
      event-bus-core/src/test/java/dev/kske/eventbus/SimpleEventSub.java
  20. 21
      pom.xml

17
.project

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>event-bus</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures>
</projectDescription>

38
event-bus-ap/.classpath

@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/classes" path="src/main/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>

2
event-bus/.project → event-bus-ap/.project

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>event-bus</name>
<name>event-bus-ap</name>
<comment></comment>
<projects>
</projects>

16
event-bus-ap/pom.xml

@ -0,0 +1,16 @@
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>event-bus-ap</artifactId>
<name>Event Bus Annotation Processor</name>
<description>Annotation processor checking for errors related to the @Event annotation from Event Bus.</description>
<parent>
<groupId>dev.kske</groupId>
<artifactId>event-bus</artifactId>
<version>0.1.0</version>
</parent>
</project>

0
event-bus/.classpath → event-bus-core/.classpath

23
event-bus-core/.project

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>event-bus-core</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures>
</projectDescription>

23
event-bus-core/pom.xml

@ -0,0 +1,23 @@
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>event-bus-core</artifactId>
<name>Event Bus Core</name>
<parent>
<groupId>dev.kske</groupId>
<artifactId>event-bus</artifactId>
<version>0.1.0</version>
</parent>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.6.2</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>

0
event-bus/src/main/java/dev/kske/eventbus/Event.java → event-bus-core/src/main/java/dev/kske/eventbus/Event.java

0
event-bus/src/main/java/dev/kske/eventbus/EventBus.java → event-bus-core/src/main/java/dev/kske/eventbus/EventBus.java

0
event-bus/src/main/java/dev/kske/eventbus/EventBusException.java → event-bus-core/src/main/java/dev/kske/eventbus/EventBusException.java

0
event-bus/src/main/java/dev/kske/eventbus/EventHandler.java → event-bus-core/src/main/java/dev/kske/eventbus/EventHandler.java

0
event-bus/src/main/java/dev/kske/eventbus/EventListener.java → event-bus-core/src/main/java/dev/kske/eventbus/EventListener.java

0
event-bus/src/main/java/dev/kske/eventbus/IEvent.java → event-bus-core/src/main/java/dev/kske/eventbus/IEvent.java

0
event-bus/src/main/java/dev/kske/eventbus/package-info.java → event-bus-core/src/main/java/dev/kske/eventbus/package-info.java

0
event-bus/src/main/java/module-info.java → event-bus-core/src/main/java/module-info.java

0
event-bus/src/test/java/dev/kske/eventbus/CancelTest.java → event-bus-core/src/test/java/dev/kske/eventbus/CancelTest.java

0
event-bus/src/test/java/dev/kske/eventbus/DispatchTest.java → event-bus-core/src/test/java/dev/kske/eventbus/DispatchTest.java

0
event-bus/src/test/java/dev/kske/eventbus/SimpleEvent.java → event-bus-core/src/test/java/dev/kske/eventbus/SimpleEvent.java

0
event-bus/src/test/java/dev/kske/eventbus/SimpleEventSub.java → event-bus-core/src/test/java/dev/kske/eventbus/SimpleEventSub.java

21
event-bus/pom.xml → pom.xml

@ -6,10 +6,16 @@
<groupId>dev.kske</groupId>
<artifactId>event-bus</artifactId>
<version>0.1.0</version>
<packaging>pom</packaging>
<name>Event Bus</name>
<description>An event handling framework for Java utilizing annotations.</description>
<url>https://git.kske.dev/zdm/event-bus</url>
<url>https://git.kske.dev/kske/event-bus</url>
<modules>
<module>event-bus-core</module>
<module>event-bus-ap</module>
</modules>
<licenses>
<license>
@ -33,8 +39,8 @@
</developers>
<scm>
<connection>scm:git:https://git.kske.dev/zdm/event-bus.git</connection>
<developerConnection>scm:git:ssh:git@git.kske.dev:zdm/event-bus.git</developerConnection>
<connection>scm:git:https://git.kske.dev/kske/event-bus.git</connection>
<developerConnection>scm:git:ssh:git@git.kske.dev:kske/event-bus.git</developerConnection>
</scm>
<properties>
@ -89,13 +95,4 @@
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.6.2</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
Loading…
Cancel
Save