Skip to content

Commit

Permalink
Renamed bundle and made maven standalone.
Browse files Browse the repository at this point in the history
Signed-off-by: MMaiero <[email protected]>
  • Loading branch information
MMaiero committed Apr 19, 2017
1 parent f770d7a commit 680d12c
Show file tree
Hide file tree
Showing 78 changed files with 494 additions and 548 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ npm-debug.log
*/dp
*/lib/*
/.metadata/
/.recommenders/
5 changes: 0 additions & 5 deletions grovepi-libs/GrovePi-dio/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +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"/>
Expand Down
23 changes: 16 additions & 7 deletions grovepi-libs/GrovePi-dio/pom.xml
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.iot.raspberry</groupId>
<artifactId>GrovePi-dio</artifactId>
<version>0.1.0-SNAPSHOT</version>
<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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.eclipse.kura.RHSummit2017</groupId>
<artifactId>GrovePi</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>

<artifactId>GrovePi-dio</artifactId>
<packaging>jar</packaging>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>

<repositories>
<repository>
<id>kura-addons</id>
Expand All @@ -19,9 +28,9 @@
</repositories>
<dependencies>
<dependency>
<groupId>org.iot.raspberry</groupId>
<groupId>org.eclipse.kura.RHSummit2017</groupId>
<artifactId>GrovePi-spec</artifactId>
<version>0.1.0-SNAPSHOT</version>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>jdk</groupId>
Expand Down
5 changes: 0 additions & 5 deletions grovepi-libs/GrovePi-pi4j/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +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"/>
Expand Down
23 changes: 16 additions & 7 deletions grovepi-libs/GrovePi-pi4j/pom.xml
Original file line number Diff line number Diff line change
@@ -1,20 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.iot.raspberry</groupId>
<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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.eclipse.kura.RHSummit2017</groupId>
<artifactId>GrovePi</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>

<artifactId>GrovePi-pi4j</artifactId>
<version>0.1.0-SNAPSHOT</version>
<packaging>jar</packaging>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>

<dependencies>
<dependency>
<groupId>org.iot.raspberry</groupId>
<groupId>org.eclipse.kura.RHSummit2017</groupId>
<artifactId>GrovePi-spec</artifactId>
<version>0.1.0-SNAPSHOT</version>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.pi4j</groupId>
Expand All @@ -23,4 +32,4 @@
</dependency>
</dependencies>

</project>
</project>
5 changes: 0 additions & 5 deletions grovepi-libs/GrovePi-spec/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +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"/>
Expand Down
18 changes: 13 additions & 5 deletions grovepi-libs/GrovePi-spec/pom.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.iot.raspberry</groupId>
<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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.eclipse.kura.RHSummit2017</groupId>
<artifactId>GrovePi</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>

<artifactId>GrovePi-spec</artifactId>
<version>0.1.0-SNAPSHOT</version>
<packaging>jar</packaging>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
</project>
</project>
11 changes: 8 additions & 3 deletions grovepi-libs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>org.iot.raspberry</groupId>
<artifactId>GrovePi</artifactId>
<version>0.1.0-SNAPSHOT</version>
<parent>
<groupId>org.eclipse.kura.RHSummit2017</groupId>
<artifactId>summitTools</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>

<artifactId>GrovePi</artifactId>
<packaging>pom</packaging>

<modules>
Expand Down
26 changes: 26 additions & 0 deletions org.eclipse.kura.codestarter.opcua.server/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?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 kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
<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"/>
</attributes>
</classpathentry>
<classpathentry exported="true" 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>
24 changes: 24 additions & 0 deletions org.eclipse.kura.codestarter.opcua.server/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.eclipse.kura.codestarter.opcua.server</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.pde.PluginNature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
34 changes: 34 additions & 0 deletions org.eclipse.kura.codestarter.opcua.server/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
Manifest-Version: 1.0
Bnd-LastModified: 1492603900248
Build-Jdk: 1.8.0_121
Built-By: matteo.maiero
Bundle-ClassPath: lib/annotations-2.0.1.jar,lib/guava-19.0.jar,lib/javas
sist-3.19.0-GA.jar,lib/jool-0.9.10.jar,lib/jsr305-3.0.1.jar,lib/metrics
-core-3.1.2.jar,lib/netty-buffer-4.0.36.Final.jar,lib/netty-codec-4.0.3
6.Final.jar,lib/netty-common-4.0.36.Final.jar,lib/netty-handler-4.0.36.
Final.jar,lib/netty-transport-4.0.36.Final.jar,lib/reflections-0.9.10.j
ar,lib/sdk-core-0.1.1.jar,lib/sdk-server-0.1.1.jar,lib/stack-core-0.1.1
.jar,lib/stack-server-0.1.1.jar,lib/GrovePi-spec-1.0.0-SNAPSHOT.jar,lib
/GrovePi-dio-1.0.0-SNAPSHOT.jar,.
Bundle-ManifestVersion: 2
Bundle-Name: org.eclipse.kura.codestarter.opcua.server
Bundle-SymbolicName: org.eclipse.kura.codestarter.opcua.server
Bundle-Version: 1.0.0.SNAPSHOT
Created-By: Apache Maven Bundle Plugin
Export-Package: org.eclipse.kura.demo.opcua.server.analog;uses:="org.ecl
ipse.kura.demo.opcua.server";version="1.0.0.SNAPSHOT",org.eclipse.kura.
demo.opcua.server;uses:="org.eclipse.kura.configuration";version="1.0.0
.SNAPSHOT",org.eclipse.kura.demo.opcua.server.digital;uses:="org.eclips
e.kura.demo.opcua.server";version="1.0.0.SNAPSHOT",org.eclipse.kura.dem
o.opcua.server.i2c;uses:="org.eclipse.kura.demo.opcua.server";version="
1.0.0.SNAPSHOT"
Import-Package: javax.crypto,javax.crypto.spec,javax.management,javax.ne
t.ssl,javax.security.auth.x500,javax.security.cert,javax.servlet,javax.
xml.bind,javax.xml.stream,jdk.dio;version="[1.0,2)",jdk.dio.i2cbus;vers
ion="[1.0,2)",org.apache.commons.logging,org.apache.log4j,org.eclipse.k
ura.configuration;version="[1.1,2)",org.eclipse.kura.core.util;version=
"[1.1,2)",org.slf4j;version="[1.7,2)",org.slf4j.helpers;version="[1.7,2
)",sun.misc
Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.8))"
Service-Component: OSGI-INF/*.xml
Tool: Bnd-3.2.0.201605172007
6 changes: 6 additions & 0 deletions org.eclipse.kura.codestarter.opcua.server/build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
output.. = target/classes/
source.. = src/main/java/
bin.includes = META-INF/,\
.,\
OSGI-INF/,\
lib/
Binary file not shown.
20 changes: 20 additions & 0 deletions org.eclipse.kura.codestarter.opcua.server/codestarter.opcua.dpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#Deployment Plugin Project File
#Wed Apr 19 14:12:40 CEST 2017
build.ant.name=<.>/codestarter.opcua_build.xml
build.dp.file=<.>/codestarter.opcua.dp
build.location=
bundles.0.bundle_path=<.>/target/org.eclipse.kura.codestarter.opcua.server-1.0.0-SNAPSHOT.jar
bundles.0.customizer=false
bundles.0.headers.count=0
bundles.0.missing=false
bundles.0.name=bundles/org.eclipse.kura.codestarter.opcua.server-1.0.0-SNAPSHOT.jar
bundles.0.symbolic_name=org.eclipse.kura.codestarter.opcua.server
bundles.0.version=1.0.0.SNAPSHOT
bundles.count=1
certificates.count=0
general.signbundles=false
headers.other.headers=
headers.symbolic.name=codestarter.opcua
headers.version=1.0.0
resources.count=0

Loading

0 comments on commit 680d12c

Please sign in to comment.