karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Achim Nierbeck <bcanh...@googlemail.com>
Subject Re: Upgrade Equinox to 3.9.1-v20130814-1242 for Karaf 2.3.5
Date Mon, 17 Feb 2014 09:47:12 GMT
Though you didn't have any snapshot dependencies for pax-web, pax-url,
pax-swissbox ....
If you go for pax-web 1.1.17 at this point it won't work, cause those
snapshot dependencies are only available via sonatype.

regards, Achim


2014-02-17 10:43 GMT+01:00 Cristiano Costantini <
cristiano.costantini@gmail.com>:

> Hi Achim,
>
> I confirm it works on a clean maven local repo:
>
> [...]
> [INFO] Apache Karaf :: Archetypes :: Kar Archetype ....... SUCCESS [2.392s]
> [INFO] Apache Karaf :: Integration Tests ................. SUCCESS
> [13:14.563s]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 17:34.284s
> [INFO] Finished at: Mon Feb 17 10:39:29 CET 2014
> [INFO] Final Memory: 156M/603M
> [INFO]
> ------------------------------------------------------------------------
> C:\dev\open-source\karaf>
>
> (this time I tested on Windows 7, previous build was on Mac OS X Mavericks)
>
> after the build I have no snapshot of ops4j on my Maven local repo, here it
> is the list of directories in /org/ops4j folder:
> C:\DEV\MVN_REPOS\LOCAL\ORG\OPS4J
> ├───base
> │   ├───1.2.2
> │   ├───1.2.3
> │   ├───1.3.0
> │   ├───1.4.0
> │   ├───ops4j-base-exec
> │   │   └───1.3.0
> │   ├───ops4j-base-io
> │   │   ├───1.2.2
> │   │   ├───1.2.3
> │   │   ├───1.3.0
> │   │   └───1.4.0
> │   ├───ops4j-base-lang
> │   │   └───1.4.0
> │   ├───ops4j-base-monitors
> │   │   ├───1.2.2
> │   │   ├───1.2.3
> │   │   ├───1.3.0
> │   │   └───1.4.0
> │   ├───ops4j-base-net
> │   │   └───1.4.0
> │   ├───ops4j-base-spi
> │   │   └───1.3.0
> │   ├───ops4j-base-store
> │   │   ├───1.2.2
> │   │   ├───1.2.3
> │   │   └───1.4.0
> │   ├───ops4j-base-util-collections
> │   │   └───1.2.3
> │   ├───ops4j-base-util-property
> │   │   └───1.4.0
> │   └───ops4j-base-util-xml
> │       └───1.2.3
> ├───master
> │   ├───1.0.4
> │   ├───1.0.8
> │   ├───2.0.0
> │   ├───3.0.1
> │   └───3.1.0
> └───pax
>     ├───cdi
>     │   └───pax-cdi-features
>     │       └───0.6.0
>     ├───exam
>     │   ├───2.6.0
>     │   ├───pax-exam
>     │   │   └───2.6.0
>     │   ├───pax-exam-container-rbc
>     │   │   └───2.6.0
>     │   ├───pax-exam-container-rbc-client
>     │   │   └───2.6.0
>     │   ├───pax-exam-container-remote
>     │   │   └───2.6.0
>     │   ├───pax-exam-extender-service
>     │   │   └───2.6.0
>     │   ├───pax-exam-inject
>     │   │   └───2.6.0
>     │   ├───pax-exam-invoker-junit
>     │   │   └───2.6.0
>     │   ├───pax-exam-junit4
>     │   │   └───2.6.0
>     │   └───pax-exam-spi
>     │       └───2.6.0
>     ├───exam-reactor
>     │   └───2.6.0
>     ├───logging
>     │   ├───1.7.2
>     │   ├───pax-logging-api
>     │   │   └───1.7.2
>     │   └───pax-logging-service
>     │       └───1.7.2
>     ├───master
>     │   └───3.1.3
>     ├───swissbox
>     │   ├───1.3.2
>     │   ├───1.4.0
>     │   ├───1.5.1
>     │   ├───pax-swissbox-bnd
>     │   │   └───1.5.1
>     │   ├───pax-swissbox-core
>     │   │   ├───1.4.0
>     │   │   └───1.5.1
>     │   ├───pax-swissbox-extender
>     │   │   ├───1.4.0
>     │   │   └───1.5.1
>     │   ├───pax-swissbox-framework
>     │   │   └───1.5.1
>     │   ├───pax-swissbox-lifecycle
>     │   │   └───1.5.1
>     │   ├───pax-swissbox-optional-jcl
>     │   │   └───1.4.0
>     │   ├───pax-swissbox-tinybundles
>     │   │   └───1.3.2
>     │   └───pax-swissbox-tracker
>     │       └───1.5.1
>     ├───tinybundles
>     │   └───tinybundles
>     │       └───1.0.0
>     ├───url
>     │   ├───1.3.7
>     │   ├───pax-url-mvn
>     │   │   └───1.3.7
>     │   └───pax-url-wrap
>     │       └───1.3.7
>     └───web
>         ├───1.1.16
>         ├───pax-web-api
>         │   └───1.1.16
>         ├───pax-web-deployer
>         │   └───1.1.16
>         ├───pax-web-extender-war
>         │   └───1.1.16
>         ├───pax-web-extender-whiteboard
>         │   └───1.1.16
>         ├───pax-web-jetty
>         │   └───1.1.16
>         ├───pax-web-jsp
>         │   └───1.1.16
>         ├───pax-web-runtime
>         │   └───1.1.16
>         └───pax-web-spi
>             └───1.1.16
>
>
>
>
>
> 2014-02-17 10:34 GMT+01:00 Cristiano Costantini <
> cristiano.costantini@gmail.com>:
>
> > One more word while I wait it to finish integration tests:
> > the problem with other repo is not when they are used for dependencies
> > that are required to build and then are included into the final artifact,
> > like it could be the case for ops4j.
> >
> > But I found that problem while I was working on building next ServiceMix:
> > it means that org.eclipse:osgi is transitive to project using
> apache-karaf
> > dependency, and it is bad because version 3.8.0 and 3.8.2 are not
> available
> > on Maven Central Repo as it is the apache-karaf.
> >
> >
> >
> >
> >
> >
> > 2014-02-17 10:17 GMT+01:00 Cristiano Costantini <
> > cristiano.costantini@gmail.com>:
> >
> > Mmmm,
> >> I'll give it a build on a clean maven repo.
> >>
> >>
> >> 2014-02-17 10:12 GMT+01:00 Achim Nierbeck <bcanhome@googlemail.com>:
> >>
> >> Hi,
> >>>
> >>> Just one note without trying. It won't work if you remove the snapshot
> >>> repo
> >>> for ops4j, the minute we have a snapshot dependency for either pax URL
> or
> >>> web. Snapshots are not on maven central, releases are.
> >>>
> >>> Regards, achim
> >>>
> >>> sent from mobile device
> >>> Am 17.02.2014 10:02 schrieb "Cristiano Costantini" <
> >>> cristiano.costantini@gmail.com>:
> >>>
> >>> > Hi all,
> >>> > I have a severe allergy to maven projects that specify external
> >>> > repositories.
> >>> > To avoid them I use a local maven repo proxy (using Apache Archiva)
> as
> >>> > mirror which is allowed to retrieve only artifact from Maven Central
> >>> Repo
> >>> > plus few others selected and trusted repos.
> >>> >
> >>> > Today I tried to build Apache Karaf 2.3.5-SNAPSHOT, and I got sick
> >>> > immediately when I got the error:
> >>> > [WARNING] The POM for org.eclipse:osgi:jar:3.8.0.v20120529-1548 is
> >>> missing,
> >>> > no dependency information available
> >>> >
> >>> > (and I see that also Karaf 3.0.1-SNAPSHOT depends on equinox 3.8.2)
> >>> >
> >>> > So I did searched on search.maven.org, I saw that
> >>> > version 3.9.1-v20130814-1242, tried it and everything compiled really
> >>> fine!
> >>> > And I now have version of Karaf I can use without using
> antihistamines.
> >>> >
> >>> > So, is it possible that Karaf 2.3.5-SNAPSHOT and 3.0.1-SNAPSHOT
> update
> >>> to
> >>> > this version and remove external repo? Or are there other side
> effects
> >>> I'm
> >>> > not aware of?
> >>> >
> >>> > I hope the community can evaluate this proposal and list pros and
> cons.
> >>> >
> >>> >
> >>> > For building, I used the following patches:
> >>> >
> >>> > diff --git a/pom.xml b/pom.xml
> >>> > index 6b56968..2ce1e97 100644
> >>> > --- a/pom.xml
> >>> > +++ b/pom.xml
> >>> > @@ -137,7 +137,7 @@
> >>> >          <geronimo.jta-spec.version>1.1.1</geronimo.jta-spec.version>
> >>> >          <geronimo.servlet.version>1.2</geronimo.servlet.version>
> >>> >          <easymock.version>3.2</easymock.version>
> >>> > -        <equinox.version>3.8.0.v20120529-1548</equinox.version>
> >>> > +        <equinox.version>3.9.1-v20130814-1242</equinox.version>
> >>> >
> >>> >
>  <felix.bundlerepository.version>1.6.6</felix.bundlerepository.version>
> >>> >          <felix.configadmin.version>1.6.0</felix.configadmin.version>
> >>> >          <felix.fileinstall.version>3.2.8</felix.fileinstall.version>
> >>> > @@ -229,32 +229,6 @@
> >>> >
> >>> >
> >>> >
> >>>
>  <bnd.version.policy>[$(version;==;$(@)),$(version;+;$(@)))</bnd.version.policy>
> >>> >      </properties>
> >>> >
> >>> > -    <repositories>
> >>> > -        <!-- ServiceMix repo -->
> >>> > -        <repository>
> >>> > -            <id>servicemix</id>
> >>> > -            <name>Apache ServiceMix Repository</name>
> >>> > -            <url>http://svn.apache.org/repos/asf/servicemix/m2-repo
> >>> </url>
> >>> > -            <releases>
> >>> > -                <enabled>true</enabled>
> >>> > -            </releases>
> >>> > -            <snapshots>
> >>> > -                <enabled>false</enabled>
> >>> > -            </snapshots>
> >>> > -        </repository>
> >>> > -        <!-- OPS4J SNAPSHOT repository -->
> >>> > -        <repository>
> >>> > -            <id>ops4j.sonatype.snapshots.deploy</id>
> >>> > -            <name>OPS4J snapshot repository</name>
> >>> > -            <url>
> >>> > https://oss.sonatype.org/content/repositories/ops4j-snapshots/</url>
> >>> > -            <releases>
> >>> > -                <enabled>false</enabled>
> >>> > -            </releases>
> >>> > -            <snapshots>
> >>> > -                <enabled>true</enabled>
> >>> > -            </snapshots>
> >>> > -        </repository>
> >>> > -    </repositories>
> >>> >
> >>> >      <dependencyManagement>
> >>> >          <dependencies>
> >>> >
> >>> >
> >>> > and it has built on my computer running successfully all the
> >>> integration
> >>> > tests:
> >>> >
> >>> > [INFO] Apache Karaf ...................................... SUCCESS
> >>> [1.119s]
> >>> > [INFO] Apache Karaf :: Util .............................. SUCCESS
> >>> [1.333s]
> >>> > [INFO] Apache Karaf :: Main .............................. SUCCESS
> >>> > [30.767s]
> >>> > [INFO] Apache Karaf :: JAAS .............................. SUCCESS
> >>> [0.067s]
> >>> > [INFO] Apache Karaf :: JAAS :: Boot ...................... SUCCESS
> >>> [0.822s]
> >>> > [INFO] Apache Karaf :: JAAS :: Config .................... SUCCESS
> >>> [2.382s]
> >>> > [INFO] Apache Karaf :: JAAS :: Modules ................... SUCCESS
> >>> [1.203s]
> >>> > [INFO] Apache Karaf :: Shell ............................. SUCCESS
> >>> [0.053s]
> >>> > [INFO] Apache Karaf :: Shell :: Console .................. SUCCESS
> >>> [2.710s]
> >>> > [INFO] Apache Karaf :: Shell :: OBR Commands ............. SUCCESS
> >>> [1.016s]
> >>> > [INFO] Apache Karaf :: Features .......................... SUCCESS
> >>> [0.039s]
> >>> > [INFO] Apache Karaf :: Features :: Core .................. SUCCESS
> >>> [6.582s]
> >>> > [INFO] Apache Karaf :: Features :: Command ............... SUCCESS
> >>> [0.916s]
> >>> > [INFO] Apache Karaf :: Management ........................ SUCCESS
> >>> [0.041s]
> >>> > [INFO] Apache Karaf :: Management ........................ SUCCESS
> >>> [1.099s]
> >>> > [INFO] Apache Karaf :: Features :: Management ............ SUCCESS
> >>> [1.010s]
> >>> > [INFO] Apache Karaf :: Features :: OBR Resolver .......... SUCCESS
> >>> [0.968s]
> >>> > [INFO] Apache Karaf :: Admin ............................. SUCCESS
> >>> [0.036s]
> >>> > [INFO] Apache Karaf :: Admin :: Core ..................... SUCCESS
> >>> [3.323s]
> >>> > [INFO] Apache Karaf :: Admin :: Command .................. SUCCESS
> >>> [1.059s]
> >>> > [INFO] Apache Karaf :: Admin :: Management ............... SUCCESS
> >>> [0.930s]
> >>> > [INFO] Apache Karaf :: Deployer .......................... SUCCESS
> >>> [0.032s]
> >>> > [INFO] Apache Karaf :: Deployer :: Spring ................ SUCCESS
> >>> [1.571s]
> >>> > [INFO] Apache Karaf :: Deployer :: Blueprint ............. SUCCESS
> >>> [1.080s]
> >>> > [INFO] Apache Karaf :: Deployer :: Features .............. SUCCESS
> >>> [0.829s]
> >>> > [INFO] Apache Karaf :: Deployer :: Karaf Archive (.kar) .. SUCCESS
> >>> [1.107s]
> >>> > [INFO] Apache Karaf :: Deployer :: Wrap Non OSGi Jar ..... SUCCESS
> >>> [0.726s]
> >>> > [INFO] Apache Karaf :: Shell :: Various Commands ......... SUCCESS
> >>> [1.024s]
> >>> > [INFO] Apache Karaf :: Shell :: ConfigAdmin Commands ..... SUCCESS
> >>> [1.010s]
> >>> > [INFO] Apache Karaf :: Shell :: Log Commands ............. SUCCESS
> >>> [0.997s]
> >>> > [INFO] Apache Karaf :: Shell :: OSGi Commands ............ SUCCESS
> >>> [0.994s]
> >>> > [INFO] Apache Karaf :: Shell :: PackageAdmin Commands .... SUCCESS
> >>> [0.775s]
> >>> > [INFO] Apache Karaf :: Shell :: SSH ...................... SUCCESS
> >>> [0.852s]
> >>> > [INFO] Apache Karaf :: Shell :: Service Wrapper .......... SUCCESS
> >>> [1.859s]
> >>> > [INFO] Apache Karaf :: Shell :: Development Commands ..... SUCCESS
> >>> [2.370s]
> >>> > [INFO] Apache Karaf :: Shell :: SCR Commands ............. SUCCESS
> >>> [2.829s]
> >>> > [INFO] Apache Karaf :: Shell :: Web Commands ............. SUCCESS
> >>> [1.674s]
> >>> > [INFO] Apache Karaf :: JAAS :: Jasypt Encryption ......... SUCCESS
> >>> [3.450s]
> >>> > [INFO] Apache Karaf :: JAAS :: Command ................... SUCCESS
> >>> [1.004s]
> >>> > [INFO] Apache Karaf :: Client ............................ SUCCESS
> >>> [0.896s]
> >>> > [INFO] Apache Karaf :: Management :: MBeans .............. SUCCESS
> >>> [0.033s]
> >>> > [INFO] Apache Karaf :: Management :: MBeans :: Bundles ... SUCCESS
> >>> [0.873s]
> >>> > [INFO] Apache Karaf :: Management :: MBeans :: Services .. SUCCESS
> >>> [0.749s]
> >>> > [INFO] Apache Karaf :: Management :: MBeans :: System .... SUCCESS
> >>> [0.747s]
> >>> > [INFO] Apache Karaf :: Management :: MBeans :: Packages .. SUCCESS
> >>> [0.719s]
> >>> > [INFO] Apache Karaf :: Management :: MBeans :: Config .... SUCCESS
> >>> [0.724s]
> >>> > [INFO] Apache Karaf :: Management :: MBeans :: Dev ....... SUCCESS
> >>> [0.726s]
> >>> > [INFO] Apache Karaf :: Management :: MBeans :: Log ....... SUCCESS
> >>> [0.662s]
> >>> > [INFO] Apache Karaf :: Management :: MBeans :: OBR ....... SUCCESS
> >>> [0.702s]
> >>> > [INFO] Apache Karaf :: Management :: MBeans :: SCR ....... SUCCESS
> >>> [0.717s]
> >>> > [INFO] Apache Karaf :: Management :: MBeans :: Web ....... SUCCESS
> >>> [0.694s]
> >>> > [INFO] Apache Karaf :: JNDI .............................. SUCCESS
> >>> [0.028s]
> >>> > [INFO] Apache Karaf :: JNDI :: Core ...................... SUCCESS
> >>> [1.295s]
> >>> > [INFO] Apache Karaf :: JNDI :: Command ................... SUCCESS
> >>> [0.831s]
> >>> > [INFO] Apache Karaf :: JDBC .............................. SUCCESS
> >>> [0.028s]
> >>> > [INFO] Apache Karaf :: JDBC :: Core ...................... SUCCESS
> >>> [0.726s]
> >>> > [INFO] Apache Karaf :: JDBC :: Command ................... SUCCESS
> >>> [0.848s]
> >>> > [INFO] Apache Karaf :: JMS ............................... SUCCESS
> >>> [0.027s]
> >>> > [INFO] Apache Karaf :: JMS :: Core ....................... SUCCESS
> >>> [0.850s]
> >>> > [INFO] Apache Karaf :: JMS :: Command .................... SUCCESS
> >>> [0.833s]
> >>> > [INFO] Apache Karaf :: Web Console ....................... SUCCESS
> >>> [0.029s]
> >>> > [INFO] Apache Karaf :: Web Console :: Console ............ SUCCESS
> >>> [1.953s]
> >>> > [INFO] Apache Karaf :: Web Console :: Branding ........... SUCCESS
> >>> [0.767s]
> >>> > [INFO] Apache Karaf :: Web Console :: Features Plugin .... SUCCESS
> >>> [0.828s]
> >>> > [INFO] Apache Karaf :: Web Console :: Gogo Plugin ........ SUCCESS
> >>> [0.840s]
> >>> > [INFO] Apache Karaf :: Web Console :: Admin Plugin ....... SUCCESS
> >>> [1.892s]
> >>> > [INFO] Apache Karaf :: Exception ......................... SUCCESS
> >>> [0.196s]
> >>> > [INFO] Apache Karaf :: Assemblies ........................ SUCCESS
> >>> [0.030s]
> >>> > [INFO] Apache Karaf :: Assemblies :: Features ............ SUCCESS
> >>> [0.041s]
> >>> > [INFO] Apache Karaf :: Assemblies :: Features :: Standard  SUCCESS
> >>> [0.278s]
> >>> > [INFO] Apache Karaf :: Assemblies :: Features :: Enterprise  SUCCESS
> >>> > [0.243s]
> >>> > [INFO] Apache Karaf :: Diagnostic ........................ SUCCESS
> >>> [0.034s]
> >>> > [INFO] Apache Karaf :: Diagnostic :: Core ................ SUCCESS
> >>> [0.679s]
> >>> > [INFO] Apache Karaf :: Diagnostic :: Common .............. SUCCESS
> >>> [0.890s]
> >>> > [INFO] Apache Karaf :: Diagnostic :: Command ............. SUCCESS
> >>> [1.118s]
> >>> > [INFO] Apache Karaf :: Diagnostic :: Management .......... SUCCESS
> >>> [0.726s]
> >>> > [INFO] Apache Karaf :: Tooling ........................... SUCCESS
> >>> [0.028s]
> >>> > [INFO] Apache Karaf :: Tooling :: Maven2 Features plugin . SUCCESS
> >>> [7.077s]
> >>> > [INFO] Apache Karaf :: Assembly .......................... SUCCESS
> >>> > [21.085s]
> >>> > [INFO] Apache Karaf :: Demos ............................. SUCCESS
> >>> [0.032s]
> >>> > [INFO] Apache Karaf :: Demos :: Web ...................... SUCCESS
> >>> [3.860s]
> >>> > [INFO] Apache Karaf :: Demos :: Branding ................. SUCCESS
> >>> [0.036s]
> >>> > [INFO] Apache Karaf :: Demos :: Branding :: Shell ........ SUCCESS
> >>> [0.764s]
> >>> > [INFO] Apache Karaf :: Demos :: Demo Dump provider ....... SUCCESS
> >>> [0.786s]
> >>> > [INFO] Apache Karaf :: Demos :: Extend Console Command ... SUCCESS
> >>> [2.073s]
> >>> > [INFO] Apache Karaf :: Demos :: Deployer ................. SUCCESS
> >>> [0.030s]
> >>> > [INFO] Apache Karaf :: Demos :: Deployer :: Kar .......... SUCCESS
> >>> [0.089s]
> >>> > [INFO] Apache Karaf :: Demos :: Deployer :: Wrap Bundle
> >>> osgi.commons-lang
> >>> >  SUCCESS [3.556s]
> >>> > [INFO] Apache Karaf :: Demos :: Deployer :: Bundle ....... SUCCESS
> >>> [0.757s]
> >>> > [INFO] Apache Karaf :: Demos :: Deployer :: Feature ...... SUCCESS
> >>> [0.768s]
> >>> > [INFO] Apache Karaf :: Tooling :: Maven2 Command Help plugin  SUCCESS
> >>> > [2.517s]
> >>> > [INFO] Apache Karaf :: Tooling :: Exam Testing Framework . SUCCESS
> >>> [0.046s]
> >>> > [INFO] Apache Karaf :: Tooling :: Exam Testing Framework :: Options
> >>> >  SUCCESS [2.259s]
> >>> > [INFO] Apache Karaf :: Tooling :: Exam Testing Framework :: Container
> >>> >  SUCCESS [5.634s]
> >>> > [INFO] Apache Karaf :: Archetypes ........................ SUCCESS
> >>> [0.028s]
> >>> > [INFO] Apache Karaf :: Archetypes :: Assembly Archetype .. SUCCESS
> >>> [8.318s]
> >>> > [INFO] Apache Karaf :: Archetypes :: Blueprint Archetype . SUCCESS
> >>> [4.510s]
> >>> > [INFO] Apache Karaf :: Archetypes :: Bundle Archetype .... SUCCESS
> >>> [3.701s]
> >>> > [INFO] Apache Karaf :: Archetypes :: Command Archetype ... SUCCESS
> >>> [6.377s]
> >>> > [INFO] Apache Karaf :: Archetypes :: Feature Archetype ... SUCCESS
> >>> [2.289s]
> >>> > [INFO] Apache Karaf :: Archetypes :: Kar Archetype ....... SUCCESS
> >>> [2.388s]
> >>> > [INFO] Apache Karaf :: Integration Tests ................. SUCCESS
> >>> > [8:06.195s]
> >>> > [INFO]
> >>> >
> >>>
> ------------------------------------------------------------------------
> >>> > [INFO] BUILD SUCCESS
> >>> > [INFO]
> >>> >
> >>>
> ------------------------------------------------------------------------
> >>> > [INFO] Total time: 11:12.944s
> >>> > [INFO] Finished at: Mon Feb 17 09:16:32 CET 2014
> >>> > [INFO] Final Memory: 163M/833M
> >>> > [INFO]
> >>> >
> >>>
> ------------------------------------------------------------------------
> >>> >
> >>> >
> >>> > Thank you,
> >>> >
> >>> > Cristiano
> >>> >
> >>>
> >>
> >>
> >
>



-- 

Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home>
Commiter & Project Lead
blog <http://notizblog.nierbeck.de/>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message