Bump versions by x.y.(z+1)
[dlux.git] / loader / impl / pom.xml
index 3bfdfd93d7651b0f5a98841fc4557904ecb3b145..70942998def0654d712461aeaf67ac3bbab7a993 100644 (file)
@@ -4,41 +4,58 @@
   <parent>
     <groupId>org.opendaylight.dlux</groupId>
     <artifactId>dlux-parent</artifactId>
-    <version>0.1.0-SNAPSHOT</version>
+    <version>0.5.1-SNAPSHOT</version>
     <relativePath>../../</relativePath>
   </parent>
   <artifactId>loader.implementation</artifactId>
   <packaging>bundle</packaging>
   <dependencies>
+    <dependency>
+      <groupId>org.opendaylight.dlux</groupId>
+      <artifactId>dlux-web</artifactId>
+      <version>${project.parent.version}</version>
+    </dependency>
     <dependency>
       <groupId>org.opendaylight.dlux</groupId>
       <artifactId>loader</artifactId>
-      <version>1.0.0-SNAPSHOT</version>
+      <version>${project.parent.version}</version>
     </dependency>
     <dependency>
       <groupId>org.osgi</groupId>
       <artifactId>org.osgi.core</artifactId>
-      <version>4.3.0</version>
     </dependency>
     <dependency>
       <groupId>org.osgi</groupId>
       <artifactId>org.osgi.compendium</artifactId>
-      <version>4.3.0</version>
     </dependency>
     <dependency>
        <groupId>org.slf4j</groupId>
        <artifactId>slf4j-api</artifactId>
     </dependency>
+    <dependency>
+        <groupId>com.google.guava</groupId>
+        <artifactId>guava</artifactId>
+    </dependency>
     <dependency>
       <groupId>javax.servlet</groupId>
       <artifactId>javax.servlet-api</artifactId>
-      <version>3.0.1</version>
+      <version>${javax.servlet-api.version}</version>
     </dependency>
     <dependency>
       <groupId>org.opendaylight.dlux</groupId>
       <artifactId>dlux.loader.resources</artifactId>
       <version>${loader.resources.version}</version>
     </dependency>
+      <dependency>
+          <groupId>junit</groupId>
+          <artifactId>junit</artifactId>
+          <scope>test</scope>
+      </dependency>
+      <dependency>
+          <groupId>org.slf4j</groupId>
+          <artifactId>slf4j-simple</artifactId>
+          <scope>test</scope>
+      </dependency>
   </dependencies>
  <build>
     <resources>
@@ -69,7 +86,7 @@
           </configuration>
       </plugin>
       <!--Copy resources from the dlux-web/build dir-->
-      <!--<plugin>
+      <plugin>
         <artifactId>maven-resources-plugin</artifactId>
         <version>2.6</version>
         <executions>
@@ -80,7 +97,7 @@
               <goal>copy-resources</goal>
             </goals>
             <configuration>
-              <outputDirectory>${project.basedir}/src/main/resources/dlux</outputDirectory>
+              <outputDirectory>${project.basedir}/target/generated-resources/dlux</outputDirectory>
               <resources>
                 <resource>
                   <directory>${project.basedir}/../../dlux-web/build/</directory>
                       <include>src/main.js</include>
                       <include>src/app/app.controller.js</include>
                       <include>src/app/app.module.js</include>
-                      <include>src/app/app.routingConfig.js</include>
+                      <include>src/app/routingConfig.js</include>
+                      <include>src/common/config/env.module.js</include>
                       <include>vendor/**</include>
                       <include>assets/**</include>
                     </includes>
               <goal>copy-resources</goal>
             </goals>
             <configuration>
-              <outputDirectory>${project.basedir}/src/main/resources/index</outputDirectory>
+              <outputDirectory>${project.basedir}/target/generated-resources/index</outputDirectory>
               <resources>
                 <resource>
                   <directory>${project.basedir}/../../dlux-web/build/</directory>
             </configuration>
           </execution>
         </executions>
-      </plugin>-->
-     <plugin>
+      </plugin>
+    <!-- <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-dependency-plugin</artifactId>
         <version>2.6</version>
         <executions>
-     <!--loader Resources-->
           <execution>
             <id>unpack-loader-resources</id>
             <goals>
             </configuration>
           </execution>
         </executions>
-      </plugin>
+      </plugin> -->
     <plugin>
 
       <groupId>org.apache.maven.plugins</groupId>
           <instructions>
             <Import-Package>org.osgi.framework,
                             org.opendaylight.dlux.loader,
-                            org.opendaylight.dlux.loader.implementation,
                             org.osgi.service.http,
                             javax.servlet,
                             javax.servlet.http,*