included the monitor jar and dependencies in the rpm
authorErik Brakkee <erik@brakkee.org>
Sat, 22 Dec 2012 19:27:24 +0000 (20:27 +0100)
committerErik Brakkee <erik@brakkee.org>
Sat, 22 Dec 2012 19:27:24 +0000 (20:27 +0100)
added a gitignore file to ignore target directories.

.gitignore [new file with mode: 0644]
monitor/pom.xml
pom.xml
rpm/pom.xml

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..d913617
--- /dev/null
@@ -0,0 +1,2 @@
+target
+
index 0b359b91c688724dc225dff31a015632ad56b61e..544224b821d6e18b47252d4edb879a3d28030e3f 100644 (file)
   <packaging>jar</packaging>
   <name>/monitor</name>
   <dependencies>
-   
+      <dependency>
+          <groupId>org.teleal.cling</groupId>
+          <artifactId>cling-core</artifactId>
+      </dependency>
   </dependencies>
 
 </project>
diff --git a/pom.xml b/pom.xml
index af1982eb5655429188940e59ce4fa5a27dab8d97..4b8ad15e118e4d176b33d58ef26930e6891daa2d 100644 (file)
--- a/pom.xml
+++ b/pom.xml
 
        <dependencyManagement>
                <dependencies>
+                   <dependency>
+                <groupId>org.teleal.cling</groupId>
+                <artifactId>cling-core</artifactId>
+                <version>1.0.5</version>
+            </dependency>
                        <dependency>
                                <groupId>javax.faces</groupId>
                                <artifactId>jsf-api</artifactId>
                        <url>file:${distrib}/main</url>
                </site>
        </distributionManagement>
+       
+       <repositories>
+        <repository>
+            <id>teleal-repo</id>
+            <url>http://teleal.org/m2</url>
+            <snapshots>
+                <enabled>false</enabled>
+            </snapshots>
+        </repository>
+    </repositories>
+
 
        <properties>
                <spring.version>2.0.8</spring.version>
index 85e0b467d49ab81b779976f7b4d803dffd6299f1..ef44081bf78a89327538a94004e12aa708736978 100644 (file)
     <artifactId>rpm</artifactId>
        <packaging>rpm</packaging>
     <name>/rpm</name>
+       
+       <dependencies>
+           <dependency>
+                   <groupId>org.wamblee.upnpmonitor</groupId>
+                       <artifactId>monitor</artifactId>
+                       <version>0.1-SNAPSHOT</version>
+               </dependency>
+       </dependencies>
 
     <build>
         <plugins>
                                 </source>
                             </sources>
                         </mapping>
+                                               
+                                               <mapping>
+                                                   <directory>/opt/upnpmonitor/lib</directory>
+                                                       <filemode>755</filemode>
+                                                       <username>root</username>
+                                                       <groupname>root</groupname>
+                                                       <dependency/>
+                                               </mapping>
                        
                         <mapping>
                             <directory>/etc/profile.d</directory>