Switch to side-by-side view

--- a/pom.xml
+++ b/pom.xml
@@ -4,14 +4,27 @@
          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>pt.caixamagica.parents</groupId>
+        <artifactId>osgi</artifactId>
+        <version>2-beta-4</version>
+    </parent>
+
     <groupId>net.timbusproject.populator</groupId>
     <artifactId>rcaap-general-artefact-converter</artifactId>
     <version>1.0-SNAPSHOT</version>
+
+    <modules>
+        <module>cli</module>
+        <module>bundle</module>
+    </modules>
+
     <name>Rcaap General Artefact Converter</name>
-    <packaging>bundle</packaging>
+    <packaging>pom</packaging>
 
     <properties>
         <compiler.version>1.7</compiler.version>
+        <java.version>1.7</java.version>
         <springframework.version>3.2.3.RELEASE</springframework.version>
         <osgi.version>4.3.1</osgi.version>
     </properties>
@@ -25,28 +38,15 @@
         </dependency>
 
         <dependency>
-            <groupId>org.springframework</groupId>
-            <artifactId>spring-context</artifactId>
-            <version>${springframework.version}</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.core</artifactId>
-            <version>${osgi.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.compendium</artifactId>
-            <version>${osgi.version}</version>
-        </dependency>
-
-        <dependency>
             <groupId>org.codehaus.jettison</groupId>
             <artifactId>jettison</artifactId>
             <version>1.3.4</version>
         </dependency>
-
+        <dependency>
+            <groupId>ch.qos.logback</groupId>
+            <artifactId>logback-classic</artifactId>
+            <version>1.0.13</version>
+        </dependency>
         <dependency>
             <groupId>net.sourceforge.owlapi</groupId>
             <artifactId>owlapi-apibinding</artifactId>
@@ -67,50 +67,9 @@
             <groupId>net.timbusproject.extractors</groupId>
             <artifactId>helpers</artifactId>
             <version>0.1.1</version>
-            <scope>provided</scope>
         </dependency>
     </dependencies>
 
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <version>3.1</version>
-                <configuration>
-                    <source>${compiler.version}</source>
-                    <target>${compiler.version}</target>
-                    <compilerArgument>-Xlint:all</compilerArgument>
-                    <showWarnings>true</showWarnings>
-                    <showDeprecation>true</showDeprecation>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <extensions>true</extensions>
-                <version>2.4.0</version>
-                <executions>
-                    <execution>
-                        <id>bundle-manifest</id>
-                        <phase>process-classes</phase>
-                        <goals>
-                            <goal>manifest</goal>
-                        </goals>
-                    </execution>
-                </executions>
-                <configuration>
-                    <manifestLocation>META-INF</manifestLocation>
-                    <instructions>
-                        <Embed-Directory>WEB-INF/lib</Embed-Directory>
-                        <Embed-Transitive>false</Embed-Transitive>
-                        <Export-Package>!net.timbusproject.populator.modules.rcaapgeneralartefactconverter</Export-Package>
-                        <Import-Package>*</Import-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
     <repositories>
         <repository>
             <id>timbus.repository</id>