felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stephane frenot" <stephane.fre...@insa-lyon.fr>
Subject Re: Need > JDK 5 profile in pom
Date Tue, 03 Jul 2007 12:01:24 GMT
GG felix I could not find it.

I patched the code and it seems to work, I just make some tests.
I need to find how I can conditionally use this artifact.

Thanks
/stephane

2007/7/3, Felix Meschberger <fmeschbe@gmail.com>:
>
> Hi,
>
> I would suggest to simply add a dependency to MX4J in the pom such that
> it can be built :
>
>    <dependency>
>       <groupId>mx4j</groupId>
>       <artifactId>mx4j-jmx</artifactId>
>       <version>3.0.1</version>
>       <scope>provided</scope>
>    </dependency>
>
> This library just contains the javax.jmx packages and thus should enable
> compilation without potentially introducing mx4j dependencies.
>
> Regards
> Felix
>
> Am Dienstag, den 03.07.2007, 10:02 +0200 schrieb stephane frenot:
> > Is Something like this possible ?
> >
> > 1) javax.management:jmxri:jar:1.2.1
> >
> >   Try downloading the file manually from:
> >       http://java.sun.com/products/JavaManagement/download.html
> >
> >   Then, install it using the command:
> >       mvn install:install-file -DgroupId=javax.management-DartifactId=jmxri \
> >           -Dversion=1.2.1 -Dpackaging=jar -Dfile=/path/to/file
> >
> >   Path to dependency:
> >         1) org.terracotta:common:jar:2.3-SNAPSHOT
> >         2) javax.management:jmxri:jar:1.2.1
> >
> >
> > /stephane
> >
> > 2007/7/2, Richard S. Hall <heavy@ungoverned.org>:
> > >
> > > Marcel Offermans wrote:
> > > > On Jul 2, 2007, at 20:20 , Richard S. Hall wrote:
> > > >
> > > >> stephane frenot wrote:
> > > >>> I will have a look at this tomorrow,
> > > >>> I think MOSGi should compile with jdk 1.4
> > > >>
> > > >> It never has...java.management is not in JDK 1.4...right?
> > > >
> > > > For 1.4 you could compile against MX4J. That would mean adding
> > > > something like a "conditional dependency". We might even be able to
> > > > compile against only the JMX specifications (if Sun ever released
> such
> > > > a JAR file, and if it's licensed in some sensible way).
> > >
> > > I don't really have a preference between a conditional dependency or a
> > > JRE profile...
> > >
> > > > Since we're discussing the topic, we might want to define more
> > > > strictly what "execution environments" we support with our bundles
> (as
> > > > far as I'm concerned a bundle author could choose that for himself,
> or
> > > > in this case we could provide artifacts for both 1.4 and 1.5+
> > > > (including or excluding something like MX4J).
> > >
> > > Yes, that is possible too. We just need to define how to do this stuff
> > > and then get people to do it. But right now I would just be happy to
> get
> > > "mvn -Dpackaging=bundle clean install" working without error again
> under
> > > JDK 1.4... :-)
> > >
> > > -> richard
> > >
> >
> >
> >
>
>


-- 
Stephane Frenot                    |
ARES INRIA / CITI, INSA-Lyon|mailto:stephane.frenot@insa-lyon.fr
Bat. LĂ©onard de Vinci              |http://ares.insa-lyon.fr/~sfrenot/
21 av Jean Capelle                 | ICQ:643346 (et oui !)
F-69621 Villeurbanne Cedex    |+33 472 436 422/+33 617 671 714
--------------------------------------------------------------------------

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