incubator-aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mnutt...@apache.org
Subject svn commit: r896597 - in /incubator/aries/trunk/application/application-management: pom.xml src/test/java/org/apache/aries/application/management/impl/AriesApplicationManagerImplTest.java
Date Wed, 06 Jan 2010 18:25:44 GMT
Author: mnuttall
Date: Wed Jan  6 18:25:44 2010
New Revision: 896597

URL: http://svn.apache.org/viewvc?rev=896597&view=rev
Log:
ARIES-89: Implement application support: Dependencies missing from pom.xml; mkdir() needed
in unit test

Modified:
    incubator/aries/trunk/application/application-management/pom.xml
    incubator/aries/trunk/application/application-management/src/test/java/org/apache/aries/application/management/impl/AriesApplicationManagerImplTest.java

Modified: incubator/aries/trunk/application/application-management/pom.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/application-management/pom.xml?rev=896597&r1=896596&r2=896597&view=diff
==============================================================================
--- incubator/aries/trunk/application/application-management/pom.xml (original)
+++ incubator/aries/trunk/application/application-management/pom.xml Wed Jan  6 18:25:44 2010
@@ -1,15 +1,37 @@
-<project> 
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+
+<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/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>
   <parent>
     <groupId>org.apache.aries.application</groupId>
     <artifactId>application</artifactId>
     <version>1.0.0-incubating-SNAPSHOT</version>
   </parent>
-  <groupId>org.apache.aries.application.management</groupId>
+
   <artifactId>org.apache.aries.application.management</artifactId>
   <packaging>bundle</packaging> 
   <name>Apache Aries application management</name>
-
+  <description>
+      Implementation of the application management API
+  </description>
+  
   <dependencies>
   	<dependency>
           <groupId>junit</groupId>
@@ -17,6 +39,23 @@
           <scope>test</scope>
     </dependency>
     <dependency>
+        <groupId>org.apache.aries.testsupport</groupId>
+        <artifactId>org.apache.aries.testsupport.unit</artifactId>
+        <version>1.0.0-incubating-SNAPSHOT</version>
+        <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-api</artifactId>
+      <version>1.5.6</version>
+    </dependency>
+    <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-simple</artifactId>
+      <version>1.5.6</version>
+      <scope>test</scope>
+      </dependency>    
+    <dependency>
   		<groupId>org.osgi</groupId>
   		<artifactId>org.osgi.core</artifactId>
   		<scope>provided</scope>
@@ -44,7 +83,6 @@
   </dependencyManagement>
   
   <build>
-    <sourceDirectory>.src/main/java</sourceDirectory>
     <plugins>
       <plugin>
         <groupId>org.apache.felix</groupId> 

Modified: incubator/aries/trunk/application/application-management/src/test/java/org/apache/aries/application/management/impl/AriesApplicationManagerImplTest.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/application-management/src/test/java/org/apache/aries/application/management/impl/AriesApplicationManagerImplTest.java?rev=896597&r1=896596&r2=896597&view=diff
==============================================================================
--- incubator/aries/trunk/application/application-management/src/test/java/org/apache/aries/application/management/impl/AriesApplicationManagerImplTest.java
(original)
+++ incubator/aries/trunk/application/application-management/src/test/java/org/apache/aries/application/management/impl/AriesApplicationManagerImplTest.java
Wed Jan  6 18:25:44 2010
@@ -73,6 +73,7 @@
   
   @BeforeClass 
   public static void setup() throws Exception { 
+    new File("ariesApplicationManagerImplTest").mkdir();
     EbaUnitTestUtils.createEba("../src/test/resources/bundles/test.eba", _testEba);
     File src = new File ("../src/test/resources/bundles/repository/a.handy.persistence.library.jar");
     File dest = new File ("ariesApplicationManagerImplTest/a.handy.persistence.library.jar");



Mime
View raw message