ace-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Tran <dant...@gmail.com>
Subject Re: Unable to build felix/dependencymanager and therefore ACE
Date Thu, 10 Feb 2011 17:50:19 GMT
Here are some steps I wrote down to get ACE built with latest SVN

   1. Build felix/dependencymanager top level ( no sub project ) ie mvn -N
   2. Build felix/dependencymanager/core
   3. Build felix/dependencymanager/shell
   4. Build felix/deploymentadmin
   5. Build felix/metadata

Addition steps to build ACE ( maven clean install )

  1. Deploy gwt-dnd-2.6.5 to local repo
  2. Since the transitive bndlib-0.0.313 is not available at Maven
Central, i had to edit pom/pom.xml/dependencyManagement to add
bndlib-0.0.357

Additional step to build ACE with -Ptargets

  1 Since the transitive bundles log_all-2.0.0 and useradmin_all-2.0.0
are not available on maven central, I had to add
http://www.knopflerfish.org/maven2/ to maven maven proxy ( Sonatype
Nesus ) and
    replace log_all and useradmin_all with log-IMPL-2.0.2 and
useramin-IMPL-2.0.2

Thanks

-Dan

His my svn diff

Logapp root:~/dev/ace 0$ svn diff
Index: pom/pom.xml
===================================================================
--- pom/pom.xml (revision 1069452)
+++ pom/pom.xml (working copy)
@@ -284,6 +284,12 @@
                 <version>1.2.2</version>
                 <scope>provided</scope>
             </dependency>
+            <dependency>
+                <groupId>biz.aQute</groupId>
+                <artifactId>bndlib</artifactId>
+                <version>0.0.357</version>
+                <scope>provided</scope>
+            </dependency>
             <!-- Test dependencies -->
             <dependency>
                 <groupId>junit</groupId>
@@ -306,4 +312,4 @@
         </dependencies>
     </dependencyManagement>

-</project>
\ No newline at end of file
+</project>
Index: ace-target-devserver/pom.xml
===================================================================
--- ace-target-devserver/pom.xml        (revision 1069452)
+++ ace-target-devserver/pom.xml        (working copy)
@@ -123,16 +123,16 @@
                     check if they actually exist somewhere -->

         <dependency>
-            <groupId>org.knopflerfish.bundle.useradmin</groupId>
-            <artifactId>useradmin_all</artifactId>
-            <version>2.0.0</version>
+            <groupId>org.knopflerfish.bundle</groupId>
+            <artifactId>useradmin-IMPL</artifactId>
+            <version>2.0.2</version>
             <scope>provided</scope>
         </dependency>

         <dependency>
-            <groupId>org.knopflerfish.bundle.log</groupId>
-            <artifactId>log_all</artifactId>
-            <version>2.0.0</version>
+            <groupId>org.knopflerfish</groupId>
+            <artifactId>log-IMPL</artifactId>
+            <version>2.0.2</version>
             <scope>provided</scope>
         </dependency>

@@ -385,4 +385,4 @@
           -->
     </dependencies>

-</project>
\ No newline at end of file
+</project>
Logapp root:~/dev/ace 0$




On Thu, Feb 10, 2011 at 7:22 AM, Jean-Baptiste Onofré <jb@nanthrax.net> wrote:
> Yeah, my fix is on the way :)
>
> Anyway the snapshot is not yet ready. Marcel and I take a look on that.
>
> Regards
> JB
>
> On 02/10/2011 04:21 PM, Dan Tran wrote:
>>
>> if apache-ace inherits top level apache pom version 8, you should have
>> the snapshot repo set correctly
>>
>> http://repo2.maven.org/maven2/org/apache/apache/8/
>>
>> -Dan
>>
>> On Thu, Feb 10, 2011 at 3:16 AM, Jean-Baptiste Onofré<jb@nanthrax.net>
>>  wrote:
>>>
>>> A quick fix is to add snapshot repo in the repositories set.
>>> Let me try that.
>>>
>>> Regards
>>> JB
>>>
>>> On 02/09/2011 07:06 PM, Dan Tran wrote:
>>>>
>>>> Hi I am trying the build ACE for the first time, and running into
>>>> build issue with felix/dependencymanagement snapshot where bnd version
>>>> 0.0.401 is not at maven central, but i could not find that version
>>>> either at biz.aQute site.
>>>>
>>>> Do you have work around for this?  is there any thing else beside bnd?
>>>>
>>>> Thanks
>>>>
>>>> -Dan
>>>
>

Mime
View raw message