Restructure Project, Add Annotation Processor #4
@ -6,24 +6,6 @@
|
||||
<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"/>
|
||||
@ -34,5 +16,17 @@
|
||||
<attribute name="maven.pomderived" value="true"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="src" output="target/test-classes" path="home/kske/git/event-bus/event-bus-ap">
|
||||
<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/classes" path="src/main/resources">
|
||||
<attributes>
|
||||
<attribute name="maven.pomderived" value="true"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="output" path="target/classes"/>
|
||||
</classpath>
|
||||
|
@ -11,6 +11,21 @@
|
||||
<parent>
|
||||
<groupId>dev.kske</groupId>
|
||||
<artifactId>event-bus</artifactId>
|
||||
<version>0.1.0</version>
|
||||
<version>1.0.0</version>
|
||||
</parent>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>dev.kske</groupId>
|
||||
<artifactId>event-bus-core</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
||||
<!-- Disable test folder -->
|
||||
<testSourceDirectory />
|
||||
|
||||
</build>
|
||||
</project>
|
@ -9,7 +9,7 @@
|
||||
<parent>
|
||||
<groupId>dev.kske</groupId>
|
||||
<artifactId>event-bus</artifactId>
|
||||
<version>0.1.0</version>
|
||||
<version>1.0.0</version>
|
||||
</parent>
|
||||
|
||||
<dependencies>
|
||||
@ -20,4 +20,11 @@
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
||||
<!-- Disable resource folder -->
|
||||
<resources />
|
||||
|
||||
</build>
|
||||
</project>
|
@ -1,4 +1,4 @@
|
||||
package dev.kske.eventbus;
|
||||
package dev.kske.eventbus.core;
|
||||
|
||||
import static java.lang.annotation.ElementType.METHOD;
|
||||
import static java.lang.annotation.RetentionPolicy.RUNTIME;
|
@ -1,4 +1,4 @@
|
||||
package dev.kske.eventbus;
|
||||
package dev.kske.eventbus.core;
|
||||
|
||||
import java.lang.System.Logger;
|
||||
import java.lang.System.Logger.Level;
|
@ -1,4 +1,4 @@
|
||||
package dev.kske.eventbus;
|
||||
package dev.kske.eventbus.core;
|
||||
|
||||
/**
|
||||
* This runtime exception is thrown when an event bus error occurs. This can
|
@ -1,8 +1,8 @@
|
||||
package dev.kske.eventbus;
|
||||
package dev.kske.eventbus.core;
|
||||
|
||||
import java.lang.reflect.*;
|
||||
|
||||
import dev.kske.eventbus.Event.USE_PARAMETER;
|
||||
import dev.kske.eventbus.core.Event.USE_PARAMETER;
|
||||
|
||||
/**
|
||||
* Internal representation of an event handling method.
|
@ -1,4 +1,4 @@
|
||||
package dev.kske.eventbus;
|
||||
package dev.kske.eventbus.core;
|
||||
|
||||
/**
|
||||
* Marker interface for event listeners. Event listeners can contain event handling methods to which
|
@ -1,4 +1,4 @@
|
||||
package dev.kske.eventbus;
|
||||
package dev.kske.eventbus.core;
|
||||
|
||||
/**
|
||||
* Marker interface for event objects. Event objects can be used as event handler parameters and
|
@ -0,0 +1,9 @@
|
||||
/**
|
||||
* Contains the public API and implementation of the Event Bus library.
|
||||
*
|
||||
* @author Kai S. K. Engelbart
|
||||
* @since 0.0.1
|
||||
* @see dev.kske.eventbus.core.Event
|
||||
* @see dev.kske.eventbus.core.EventBus
|
||||
*/
|
||||
package dev.kske.eventbus.core;
|
@ -1,9 +0,0 @@
|
||||
/**
|
||||
* Contains the public API and implementation of the event bus library.
|
||||
*
|
||||
* @author Kai S. K. Engelbart
|
||||
* @since 0.0.1
|
||||
* @see dev.kske.eventbus.Event
|
||||
* @see dev.kske.eventbus.EventBus
|
||||
*/
|
||||
package dev.kske.eventbus;
|
@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Contains the public API and implementation of the event bus library.
|
||||
* Contains the public API and implementation of the Event Bus library.
|
||||
*
|
||||
* @author Kai S. K. Engelbart
|
||||
* @since 0.0.3
|
||||
* @see dev.kske.eventbus.Event
|
||||
* @see dev.kske.eventbus.EventBus
|
||||
* @see dev.kske.eventbus.core.Event
|
||||
* @see dev.kske.eventbus.core.EventBus
|
||||
*/
|
||||
module dev.kske.eventbus {
|
||||
module dev.kske.eventbus.core {
|
||||
|
||||
exports dev.kske.eventbus;
|
||||
exports dev.kske.eventbus.core;
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
package dev.kske.eventbus;
|
||||
package dev.kske.eventbus.core;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package dev.kske.eventbus;
|
||||
package dev.kske.eventbus.core;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package dev.kske.eventbus;
|
||||
package dev.kske.eventbus.core;
|
||||
|
||||
/**
|
||||
* A simple event for testing purposes.
|
@ -1,4 +1,4 @@
|
||||
package dev.kske.eventbus;
|
||||
package dev.kske.eventbus.core;
|
||||
|
||||
/**
|
||||
* Subclass of {@link SimpleEvent} for testing purposes.
|
5
pom.xml
5
pom.xml
@ -5,7 +5,7 @@
|
||||
|
||||
<groupId>dev.kske</groupId>
|
||||
<artifactId>event-bus</artifactId>
|
||||
<version>0.1.0</version>
|
||||
<version>1.0.0</version>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<name>Event Bus</name>
|
||||
@ -52,8 +52,7 @@
|
||||
|
||||
<build>
|
||||
|
||||
<!-- Disable resource folders -->
|
||||
<resources />
|
||||
<!-- Disable test resource folder -->
|
||||
<testResources />
|
||||
|
||||
<plugins>
|
||||
|
Loading…
Reference in New Issue
Block a user