Skip to content
Browse files

switch to maven / Blueprint

  • Loading branch information...
1 parent 785b1fc commit 1f303f013656c998cdd0a2e271ad584ed18be531 @ANierbeck committed Apr 22, 2012
View
65 com.siemens.ct.osgi.vaadin.pm.reindeeraction/pom.xml
@@ -0,0 +1,65 @@
+<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>com.siemens.ct.osgi.vaadin.pm</groupId>
+ <artifactId>reindeeraction</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <name>View</name>
+ <packaging>bundle</packaging>
+
+
+ <properties>
+ <dependency.slf4j>1.6.1</dependency.slf4j>
+ <dependency.osgi.version>4.2.0</dependency.osgi.version>
+ </properties>
+
+
+ <dependencies>
+ <dependency>
+ <groupId>com.vaadin</groupId>
+ <artifactId>vaadin</artifactId>
+ <version>6.7.7</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <scope>provided</scope>
+ <version>${dependency.slf4j}</version>
+ </dependency>
+
+ <!-- OSGi dependencies -->
+ <dependency>
+ <groupId>org.osgi</groupId>
+ <artifactId>org.osgi.core</artifactId>
+ <version>${dependency.osgi.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.osgi</groupId>
+ <artifactId>org.osgi.compendium</artifactId>
+ <version>${dependency.osgi.version}</version>
+ </dependency>
+
+ <!-- Internal dependencies -->
+ <dependency>
+ <groupId>com.siemens.ct.osgi.vaadin.pm</groupId>
+ <artifactId>main</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <version>2.3.7</version>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <Bundle-RequiredExecutionEnvironment>JavaSE-1.6</Bundle-RequiredExecutionEnvironment>
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
View
0 ...din/pm/reindeeraction/ReindeerAction.java → ...din/pm/reindeeraction/ReindeerAction.java
File renamed without changes.
View
12 com.siemens.ct.osgi.vaadin.pm.reindeeraction/src/main/resources/OSGI-INF/blueprint.xml
@@ -0,0 +1,12 @@
+<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0"
+xsi:schemaLocation="
+http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
+http://www.osgi.org/xmlns/blueprint-ext/v1.1.0 https://svn.apache.org/repos/asf/aries/tags/blueprint-0.3.1/blueprint-core/src/main/resources/org/apache/aries/blueprint/ext/blueprint-ext.xsd">
+
+ <bean id="reindeerAction" class="com.siemens.ct.osgi.vaadin.pm.reindeeraction.ReindeerAction"/>
+
+ <service interface="com.siemens.ct.osgi.vaadin.pm.main.service.IActionContribution" ref="reindeerAction" />
+
+</blueprint>

0 comments on commit 1f303f0

Please sign in to comment.
Something went wrong with that request. Please try again.