Skip to content

Commit ccd606c

Browse files
committed
Initial commit
Signed-off-by: Frank Schnicke <[email protected]>
0 parents  commit ccd606c

File tree

489 files changed

+55102
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

489 files changed

+55102
-0
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto

.gitignore

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
regressiontest/
2+
3+
.classpath
4+
.project
5+
6+
test.txt
7+
8+
target/
9+
pom.xml.tag
10+
pom.xml.releaseBackup
11+
pom.xml.versionsBackup
12+
pom.xml.next
13+
release.properties
14+
dependency-reduced-pom.xml
15+
buildNumber.properties
16+
.mvn/timing.properties
17+
.mvn/wrapper/maven-wrapper.jar
18+
.metadata
19+
bin/
20+
tmp/
21+
*.tmp
22+
*.bak
23+
*.swp
24+
*~.nib
25+
local.properties
26+
.settings/
27+
.loadpath
28+
.recommenders
29+
30+
# External tool builders
31+
.externalToolBuilders/
32+
33+
# Locally stored "Eclipse launch configurations"
34+
*.launch
35+
36+
# PyDev specific (Python IDE for Eclipse)
37+
*.pydevproject
38+
39+
# CDT-specific (C/C++ Development Tooling)
40+
.cproject
41+
42+
# CDT- autotools
43+
.autotools
44+
45+
# Java annotation processor (APT)
46+
.factorypath
47+
48+
# PDT-specific (PHP Development Tools)
49+
.buildpath
50+
51+
# sbteclipse plugin
52+
.target
53+
54+
# Tern plugin
55+
.tern-project
56+
57+
# TeXlipse plugin
58+
.texlipse
59+
60+
# STS (Spring Tool Suite)
61+
.springBeans
62+
63+
# Code Recommenders
64+
.recommenders/
65+
66+
# Annotation Processing
67+
.apt_generated/
68+
69+
# Scala IDE specific (Scala & Java development for Eclipse)
70+
.cache-main
71+
.scala_dependencies
72+
.worksheet

pom.xml

Lines changed: 228 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,228 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
6+
<groupId>org.eclipse.basyx</groupId>
7+
<artifactId>basyx.sdk</artifactId>
8+
<version>1.0.1</version>
9+
<name>BaSyx SDK</name>
10+
11+
<packaging>jar</packaging>
12+
13+
<properties>
14+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
16+
</properties>
17+
18+
<repositories>
19+
<!-- Additional repository for MQTT Client releases (Paho Java Client) -->
20+
<repository>
21+
<id>Eclipse Paho Repo</id>
22+
<url>https://repo.eclipse.org/content/repositories/paho-releases/</url>
23+
</repository>
24+
<!-- Additional repository for MQTT Broker releases (Moquette Java Broker) -->
25+
<repository>
26+
<id>bintray</id>
27+
<url>https://jcenter.bintray.com</url>
28+
</repository>
29+
</repositories>
30+
31+
<build>
32+
<sourceDirectory>src/main/java</sourceDirectory>
33+
<testSourceDirectory>src/test/java</testSourceDirectory>
34+
35+
<plugins>
36+
<!-- Compile Sources using Java 8 -->
37+
<plugin>
38+
<artifactId>maven-compiler-plugin</artifactId>
39+
<version>3.8.1</version>
40+
<configuration>
41+
<source>1.8</source>
42+
<target>1.8</target>
43+
</configuration>
44+
</plugin>
45+
46+
<!-- Attach sources to jar file -->
47+
<plugin>
48+
<groupId>org.apache.maven.plugins</groupId>
49+
<artifactId>maven-source-plugin</artifactId>
50+
<version>3.1.0</version>
51+
<executions>
52+
<execution>
53+
<id>attach-sources</id>
54+
<goals>
55+
<goal>jar-no-fork</goal>
56+
</goals>
57+
</execution>
58+
</executions>
59+
</plugin>
60+
61+
<!-- Generate separate jar for tests and exclude logback.xml from generated jars -->
62+
<plugin>
63+
<groupId>org.apache.maven.plugins</groupId>
64+
<artifactId>maven-jar-plugin</artifactId>
65+
<version>3.1.1</version>
66+
<configuration>
67+
<excludes>
68+
<exclude>**/logback.xml</exclude>
69+
</excludes>
70+
</configuration>
71+
<executions>
72+
<execution>
73+
<goals>
74+
<goal>test-jar</goal>
75+
</goals>
76+
</execution>
77+
</executions>
78+
</plugin>
79+
80+
<!-- Run Unit Tests -->
81+
<plugin>
82+
<groupId>org.apache.maven.plugins</groupId>
83+
<artifactId>maven-surefire-plugin</artifactId>
84+
<version>3.0.0-M3</version>
85+
<configuration>
86+
<excludes>
87+
<exclude>**/*HTTP*</exclude>
88+
<exclude>**/*TCP*</exclude>
89+
</excludes>
90+
<includes>
91+
<include>**/**</include>
92+
</includes>
93+
</configuration>
94+
</plugin>
95+
96+
<!-- Run Integration Tests -->
97+
<plugin>
98+
<groupId>org.apache.maven.plugins</groupId>
99+
<artifactId>maven-failsafe-plugin</artifactId>
100+
<version>3.0.0-M3</version>
101+
<configuration>
102+
<includes>
103+
<include>**/*HTTP*</include>
104+
<include>**/*TCP*</include>
105+
</includes>
106+
</configuration>
107+
<executions>
108+
<execution>
109+
<goals>
110+
<goal>integration-test</goal>
111+
<goal>verify</goal>
112+
</goals>
113+
</execution>
114+
</executions>
115+
</plugin>
116+
</plugins>
117+
</build>
118+
119+
<dependencies>
120+
<!-- JUnit 4 for running JUnit tests -->
121+
<dependency>
122+
<groupId>junit</groupId>
123+
<artifactId>junit</artifactId>
124+
<version>4.12</version>
125+
<scope>test</scope>
126+
</dependency>
127+
128+
<!-- Moquette MQTT broker for testing MQTT events -->
129+
<dependency>
130+
<groupId>io.moquette</groupId>
131+
<artifactId>moquette-broker</artifactId>
132+
<version>0.12.1</version>
133+
<scope>test</scope>
134+
<exclusions>
135+
<exclusion>
136+
<groupId>org.slf4j</groupId>
137+
<artifactId>slf4j-log4j12</artifactId>
138+
</exclusion>
139+
</exclusions>
140+
</dependency>
141+
142+
<!-- Eclipse Milo (for OPC-UA client) -->
143+
<dependency>
144+
<groupId>org.eclipse.milo</groupId>
145+
<artifactId>sdk-client</artifactId>
146+
<version>0.3.3</version>
147+
</dependency>
148+
149+
<!-- Eclipse Milo (for OPC-UA server) -->
150+
<dependency>
151+
<groupId>org.eclipse.milo</groupId>
152+
<artifactId>sdk-server</artifactId>
153+
<version>0.3.3</version>
154+
</dependency>
155+
156+
<!-- Java Servlet API (for HTTP provider) -->
157+
<dependency>
158+
<groupId>javax.servlet</groupId>
159+
<artifactId>javax.servlet-api</artifactId>
160+
<version>4.0.1</version>
161+
</dependency>
162+
163+
<!-- Java REST API (for WebServiceRawClient) -->
164+
<dependency>
165+
<groupId>javax.ws.rs</groupId>
166+
<artifactId>javax.ws.rs-api</artifactId>
167+
<version>2.1.1</version>
168+
</dependency>
169+
170+
<!-- Java REST Jersey client (for WebServiceRawClient) -->
171+
<dependency>
172+
<groupId>org.glassfish.jersey.core</groupId>
173+
<artifactId>jersey-client</artifactId>
174+
<version>2.30</version>
175+
</dependency>
176+
177+
<!-- Jersey InjectionManager (for Jersey client) -->
178+
<dependency>
179+
<groupId>org.glassfish.jersey.inject</groupId>
180+
<artifactId>jersey-hk2</artifactId>
181+
<version>2.30.1</version>
182+
</dependency>
183+
184+
<!-- Tomcat 8 for HTTP server resource -->
185+
<dependency>
186+
<groupId>org.apache.tomcat</groupId>
187+
<artifactId>tomcat-catalina</artifactId>
188+
<version>8.5.41</version>
189+
</dependency>
190+
191+
<!-- Used for creating .aasx files -->
192+
<dependency>
193+
<groupId>org.apache.poi</groupId>
194+
<artifactId>poi-ooxml</artifactId>
195+
<version>4.1.2</version>
196+
</dependency>
197+
198+
<!-- Logger -->
199+
<dependency>
200+
<groupId>ch.qos.logback</groupId>
201+
<artifactId>logback-classic</artifactId>
202+
<version>1.2.3</version>
203+
</dependency>
204+
205+
<!-- Used by Logback to compile filter expressions from logback.xml -->
206+
<dependency>
207+
<groupId>org.codehaus.janino</groupId>
208+
<artifactId>janino</artifactId>
209+
<version>2.7.5</version>
210+
</dependency>
211+
212+
<!-- Paho Java Client for MQTT -->
213+
<dependency>
214+
<groupId>org.eclipse.paho</groupId>
215+
<artifactId>org.eclipse.paho.client.mqttv3</artifactId>
216+
<version>1.2.5</version>
217+
</dependency>
218+
219+
<!-- JSON Serialization -->
220+
<dependency>
221+
<groupId>com.google.code.gson</groupId>
222+
<artifactId>gson</artifactId>
223+
<version>2.8.5</version>
224+
</dependency>
225+
226+
</dependencies>
227+
</project>
228+

0 commit comments

Comments
 (0)