8 Replies Latest reply on Jan 18, 2010 12:24 PM by ascheerer

    Problems building jboss-osgi project from trunk

      Dear JBossOSGi developers,

       

      currently I am trying to build the osgi project from trunk following the wiki description. But a simple 'mvn clean install' does not do the job.

       

      The following errors occur:

       

      1. Complete Build

       

      When I try to run =mvn install= in the parent folder, I get the following dependency errors. The jboss-osgi-reflect snapshot depends on a not existing jboss-reflect snapshot. and the jboss-osgi-framework is missing for the Blueprint project.

       

       Missing:
      ----------
      1) org.jboss:jboss-reflect:jar:2.2.0-SNAPSHOT
      
        Try downloading the file manually from the project website.
      
        Then, install it using the command:
            mvn install:install-file -DgroupId=org.jboss -DartifactId=jboss-reflect -Dversion=2.2.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
      
        Alternatively, if you host your own repository you can deploy the file there:
            mvn deploy:deploy-file -DgroupId=org.jboss -DartifactId=jboss-reflect -Dversion=2.2.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
      
        Path to dependency:
              1) org.jboss.osgi.bundles:jboss-osgi-blueprint:bundle:1.0.0.Alpha3
              2) org.jboss.osgi.bundles:jboss-osgi-reflect:jar:2.2.0-SNAPSHOT
              3) org.jboss:jboss-reflect:jar:2.2.0-SNAPSHOT
      
      2) org.jboss.osgi.runtime:jboss-osgi-framework:jar:1.0.0-SNAPSHOT
      
        Try downloading the file manually from the project website.
      
        Then, install it using the command:
            mvn install:install-file -DgroupId=org.jboss.osgi.runtime -DartifactId=jboss-osgi-framework -Dversion=1.0.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
      
        Alternatively, if you host your own repository you can deploy the file there:
            mvn deploy:deploy-file -DgroupId=org.jboss.osgi.runtime -DartifactId=jboss-osgi-framework -Dversion=1.0.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
      
        Path to dependency:
              1) org.jboss.osgi.bundles:jboss-osgi-blueprint:bundle:1.0.0.Alpha3
              2) org.jboss.osgi.runtime:jboss-osgi-framework:jar:1.0.0-SNAPSHOT
      
      ----------
      2 required artifacts are missing.
      
      for artifact:
        org.jboss.osgi.bundles:jboss-osgi-blueprint:bundle:1.0.0.Alpha3
      
      from the specified remote repositories:
        central (http://repo1.maven.org/maven2),
        snapshots.jboss.org (http://snapshots.jboss.org/maven2/),
        repository.jboss.org (http://repository.jboss.org/maven2/),
        aQute (http://www.aQute.biz/repo)
      

       

       

      2. Framework Build

       

      When I try to build the framework (reactor/framework) there is also a dependency problem. The required jboss-kernel snapshot (2.2.0) is unavailable. I tried to switch to the latest version 2.2.0.Alpha1, but then all test break because of some method access exceptions.

      Missing:
      ----------
      1) org.jboss.kernel:jboss-kernel:jar:2.2.0-SNAPSHOT
      
        Try downloading the file manually from the project website.
      
        Then, install it using the command:
            mvn install:install-file -DgroupId=org.jboss.kernel -DartifactId=jboss-kernel -Dversion=2.2.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
      
        Alternatively, if you host your own repository you can deploy the file there:
            mvn deploy:deploy-file -DgroupId=org.jboss.kernel -DartifactId=jboss-kernel -Dversion=2.2.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
      
        Path to dependency:
              1) org.jboss.osgi.runtime:jboss-osgi-framework:bundle:1.0.0-SNAPSHOT
              2) org.jboss.kernel:jboss-kernel:jar:2.2.0-SNAPSHOT
      
      2) org.jboss.kernel:jboss-dependency:jar:2.2.0-SNAPSHOT
      
        Try downloading the file manually from the project website.
      
        Then, install it using the command:
            mvn install:install-file -DgroupId=org.jboss.kernel -DartifactId=jboss-dependency -Dversion=2.2.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
      
        Alternatively, if you host your own repository you can deploy the file there:
            mvn deploy:deploy-file -DgroupId=org.jboss.kernel -DartifactId=jboss-dependency -Dversion=2.2.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
      
        Path to dependency:
              1) org.jboss.osgi.runtime:jboss-osgi-framework:bundle:1.0.0-SNAPSHOT
              2) org.jboss.kernel:jboss-dependency:jar:2.2.0-SNAPSHOT
      
      ----------
      2 required artifacts are missing.
      
      for artifact:
        org.jboss.osgi.runtime:jboss-osgi-framework:bundle:1.0.0-SNAPSHOT
      
      from the specified remote repositories:
        central (http://repo1.maven.org/maven2),
        snapshots.jboss.org (http://snapshots.jboss.org/maven2/),
        repository.jboss.org (http://repository.jboss.org/maven2/),
        aQute (http://www.aQute.biz/repo)
      

       

      I would love to work on the blueprint project code and wonder if there is a better starting point than trunk (e.g. 1.0.0.Beta5). Or are there too many major changes between 1.0.0.Beta5 and trunk so that it is not very clever to start working on the blueprint code based on a previous revision? Another good idea/starting point might be to fix trunk :-)

       

      Many thanks for helping!
      Andi