summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul-Christian Volkmer2023-03-30 00:29:15 +0200
committerPaul-Christian Volkmer2023-04-05 10:43:52 +0200
commita47d6279cfd6a45acb570b4b398d0f712eef9313 (patch)
tree4efcfd8f2d8cf166bbd33b27ede8640ddc61e033
parent4f026b684ba26f826b36171a2c876ef5936df285 (diff)
Issue #19: Kopiere class-Dateien aus bestehender JAR-Datei des Plugins ATC-Codes
-rw-r--r--pom.xml32
-rw-r--r--src/main/resources/de/itc/onkostar/library/moduleContext.xml2
2 files changed, 33 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index 18cd771..e634ce3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -26,6 +26,14 @@
<systemPath>${project.basedir}/libs/onkostar-api-2.11.1.1.jar</systemPath>
</dependency>
+ <dependency>
+ <groupId>de.ukw</groupId>
+ <artifactId>onkostar-plugin-atccodes</artifactId>
+ <version>0.4.0</version>
+ <scope>system</scope>
+ <systemPath>${project.basedir}/libs/onkostar-plugin-atccodes-0.4.0.jar</systemPath>
+ </dependency>
+
<!-- Hibernate -->
<dependency>
<groupId>org.hibernate</groupId>
@@ -142,6 +150,30 @@
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.22.2</version>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>3.5.0</version>
+ <configuration>
+ <outputDirectory>
+ ${project.build.directory}/classes/
+ </outputDirectory>
+ <includes>
+ de/ukw/ccc/**/*.class
+ </includes>
+ <excludeTransitive>true</excludeTransitive>
+ <includeScope>system</includeScope>
+ </configuration>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>unpack-dependencies</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
</plugins>
</build>
diff --git a/src/main/resources/de/itc/onkostar/library/moduleContext.xml b/src/main/resources/de/itc/onkostar/library/moduleContext.xml
index b943b5f..6bce989 100644
--- a/src/main/resources/de/itc/onkostar/library/moduleContext.xml
+++ b/src/main/resources/de/itc/onkostar/library/moduleContext.xml
@@ -22,7 +22,7 @@
<constructor-arg ref="consentManagerServiceFactory" />
</bean>
- <context:component-scan base-package="ATCCodes" />
+ <context:component-scan base-package="de.ukw.ccc.onkostar.atccodes" />
<context:component-scan base-package="DNPM.config" />
<mvc:resources mapping="/app/lib/umr/**" location="classpath:/app/lib/umr/" />