You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2019/02/26 11:17:17 UTC

[incubator-plc4x] 02/03: - Fine-tuned the pom to satisfy the dependency checker

This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a commit to branch feature/daffodil-2.3.0
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git

commit 7ca44d9c32b890dd98eda06d58ad64ea26422c1f
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Tue Feb 26 08:40:18 2019 +0100

    - Fine-tuned the pom to satisfy the dependency checker
---
 protocols/s7/pom.xml | 26 +++++++++++++++++++++-----
 1 file changed, 21 insertions(+), 5 deletions(-)

diff --git a/protocols/s7/pom.xml b/protocols/s7/pom.xml
index 1d72079..94a4a47 100644
--- a/protocols/s7/pom.xml
+++ b/protocols/s7/pom.xml
@@ -45,11 +45,6 @@
     </dependency>
     <dependency>
       <groupId>org.apache.daffodil</groupId>
-      <artifactId>daffodil-tdml-lib_2.12</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.daffodil</groupId>
       <artifactId>daffodil-japi_2.12</artifactId>
       <version>${daffodil.version}</version>
       <scope>test</scope>
@@ -67,7 +62,28 @@
     <dependency>
       <groupId>commons-codec</groupId>
       <artifactId>commons-codec</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.jdom</groupId>
+      <artifactId>jdom2</artifactId>
+      <version>2.0.6</version>
+      <scope>test</scope>
     </dependency>
   </dependencies>
 
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-dependency-plugin</artifactId>
+        <configuration>
+          <usedDependencies combine.children="append">
+            <usedDependency>org.apache.daffodil:daffodil-tdml-processor_2.12</usedDependency>
+          </usedDependencies>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
 </project>
\ No newline at end of file