openwebbeans-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Struberg <strub...@yahoo.de>
Subject Re: webbeans-impl dependencies
Date Thu, 12 Feb 2009 15:48:31 GMT
oki, here is the guess.war in 2 different versions

1.) the version aimed for J2EE servers
built with 
$> mvn clean package

Archive:  target/guess.war
  Length     Date   Time    Name
 --------    ----   ----    ----
        0  02-12-09 16:41   META-INF/
      518  02-12-09 16:41   META-INF/MANIFEST.MF
        0  02-12-09 16:41   WEB-INF/
        0  02-12-09 16:41   WEB-INF/lib/
     2077  02-03-09 08:16   WEB-INF/web.xml
    21573  02-12-09 16:41   WEB-INF/lib/guess.jar
   291366  01-02-09 18:50   WEB-INF/lib/jsf-facelets-1.1.11.jar
     1033  02-03-09 08:16   WEB-INF/beans.xml
     1657  02-03-09 08:16   WEB-INF/faces-config.xml
      858  02-04-09 19:36   index.html
     2207  02-04-09 19:36   login.xhtml
     2611  02-04-09 19:36   home.xhtml
        0  02-12-09 16:41   META-INF/maven/
        0  02-12-09 16:41   META-INF/maven/org.apache.openwebbeans/
        0  02-12-09 16:41   META-INF/maven/org.apache.openwebbeans/guess/
     3992  02-12-09 15:40   META-INF/maven/org.apache.openwebbeans/guess/pom.xml
      133  02-12-09 16:41   META-INF/maven/org.apache.openwebbeans/guess/pom.properties


2.) the version aimed at ServletContainsers
built with 
$>mvn clean package -Pjetty

[msx@strubelix guess]$ unzip -l target/guess.war 
Archive:  target/guess.war
  Length     Date   Time    Name
 --------    ----   ----    ----
        0  02-12-09 16:47   META-INF/
      518  02-12-09 16:47   META-INF/MANIFEST.MF
        0  02-12-09 16:47   WEB-INF/
        0  02-12-09 16:47   WEB-INF/lib/
     2077  02-03-09 08:16   WEB-INF/web.xml
    62086  11-10-08 13:27   WEB-INF/lib/commons-pool-1.3.jar
 11712276  11-10-08 13:32   WEB-INF/lib/openjpa-1.2.0.jar
    34126  01-28-09 21:44   WEB-INF/lib/geronimo-activation_1.1_spec-1.0.2.jar
   109318  11-20-08 10:31   WEB-INF/lib/xml-apis-1.0.b2.jar
   759346  02-12-09 14:10   WEB-INF/lib/myfaces-impl-1.2.4.jar
   207723  11-06-08 22:57   WEB-INF/lib/commons-lang-2.1.jar
   143602  11-07-08 10:38   WEB-INF/lib/commons-digester-1.8.jar
   313898  11-26-08 15:29   WEB-INF/lib/dom4j-1.6.1.jar
    47817  01-28-09 21:44   WEB-INF/lib/geronimo-jaxws_2.1_spec-1.0.jar
    76685  01-02-09 21:12   WEB-INF/lib/commons-discovery-0.4.jar
   188671  11-06-08 22:59   WEB-INF/lib/commons-beanutils-1.7.0.jar
     9220  01-02-09 15:57   WEB-INF/lib/geronimo-interceptor_3.0_spec-1.0.1.jar
    22619  02-12-09 16:47   WEB-INF/lib/guess.jar
    16030  01-02-09 15:57   WEB-INF/lib/geronimo-jta_1.1_spec-1.1.1.jar
    32999  01-02-09 15:57   WEB-INF/lib/geronimo-el_1.0_spec-1.0-M1.jar
   643727  01-28-09 12:14   WEB-INF/lib/hsqldb-1.8.0.7.jar
     5848  11-26-08 12:02   WEB-INF/lib/jsr250-api-1.0.jar
   205877  11-10-08 13:25   WEB-INF/lib/serp-1.13.1.jar
   367444  11-07-08 02:17   WEB-INF/lib/log4j-1.2.14.jar
   291366  01-02-09 18:50   WEB-INF/lib/jsf-facelets-1.1.11.jar
    31804  01-02-09 15:57   WEB-INF/lib/geronimo-ejb_3.0_spec-1.0-M1.jar
    73485  01-02-09 15:57   WEB-INF/lib/geronimo-jsp_2.1_spec-1.0.1.jar
    31397  11-10-08 13:32   WEB-INF/lib/geronimo-jms_1.1_spec-1.0.1.jar
    18470  01-02-09 15:57   WEB-INF/lib/scannotation-1.0.2.jar
   571259  11-06-08 22:57   WEB-INF/lib/commons-collections-3.2.jar
    46725  11-06-08 22:59   WEB-INF/lib/commons-codec-1.3.jar
   593959  01-02-09 15:57   WEB-INF/lib/javassist-3.8.0.GA.jar
    60686  12-11-08 13:08   WEB-INF/lib/commons-logging-1.1.1.jar
   295299  02-12-09 15:41   WEB-INF/lib/openwebbeans-impl-1.0.0-incubating-SNAPSHOT.jar
    52877  01-02-09 15:57   WEB-INF/lib/geronimo-jpa_3.0_spec-1.1.1.jar
     1033  02-03-09 08:16   WEB-INF/beans.xml
     1657  02-03-09 08:16   WEB-INF/faces-config.xml
      858  02-04-09 19:36   index.html
     2207  02-04-09 19:36   login.xhtml
     2611  02-04-09 19:36   home.xhtml
        0  02-12-09 16:47   META-INF/maven/
        0  02-12-09 16:47   META-INF/maven/org.apache.openwebbeans/
        0  02-12-09 16:47   META-INF/maven/org.apache.openwebbeans/guess/
     3992  02-12-09 15:40   META-INF/maven/org.apache.openwebbeans/guess/pom.xml
      133  02-12-09 16:47   META-INF/maven/org.apache.openwebbeans/guess/pom.properties
 --------                   -------
 17041725                   45 files


LieGrue,
strub


--- Gurkan Erdogdu <gurkanerdogdu@yahoo.com> schrieb am Do, 12.2.2009:

> Von: Gurkan Erdogdu <gurkanerdogdu@yahoo.com>
> Betreff: Re: webbeans-impl dependencies
> An: openwebbeans-dev@incubator.apache.org
> Datum: Donnerstag, 12. Februar 2009, 8:01
> MS>1.) use scope compile in webbeans-impl
> +1
> MS>2.) guess should only depend on webbeans-api
> +1
> MS>3.) profile 'jetty' adds dependency to
> webbeans-impl with all its transitive dependencies
> +1
> 
> /Gurkan
> 
> 
> ________________________________
> From: Mark Struberg <struberg@yahoo.de>
> To: openwebbeans-dev@incubator.apache.org
> Sent: Thursday, February 12, 2009 1:37:33 AM
> Subject: Re: webbeans-impl dependencies
> 
> Hi Gurkan!
> 
> The guess application will only package all those EE stuff
> _if_ we add a dependency to webbeans-impl at all! But this
> shouldn't be set as dependency at all, since
> webbeans-impl will be provided by the J2EE container as
> integral part finally! 
> Imho it will even be a problem if we package the
> webbeans-impl to the WAR file, since the webbeans-impl jar
> has to be treated on its own by the EE container as Pete
> Muir pointed out recently (has to reside in the container,
> but added to the realm of the app classloader).
> 
> So what I suggest:
> 
> 1.) use scope compile in webbeans-impl
> 2.) guess should only depend on webbeans-api
> 3.) profile 'jetty' adds dependency to
> webbeans-impl with all its transitive dependencies
> 
> hope my thouths are clear now. Did I forget anything?
> 
> txs and LieGrue,
> strub
> 
> 
> --- Gurkan Erdogdu <gurkanerdogdu@yahoo.com> schrieb
> am Mi, 11.2.2009:
> 
> > Von: Gurkan Erdogdu <gurkanerdogdu@yahoo.com>
> > Betreff: Re: webbeans-impl dependencies
> > An: openwebbeans-dev@incubator.apache.org
> > Datum: Mittwoch, 11. Februar 2009, 18:08
> > Hi Mark;
> > 
> > I set this *provided*,because these jars are all
> provided
> > with the Java EE containers. If someone uses the web
> > container like, Jetty or Tomcat then he has to add
> some Java
> > EE jars (not all, because some of them are provided by
> them
> > like servlet-api, jsp-api etc.) into the classpath. 
> > 
> > Our main concern is the Java EE containers, not the
> > standalone web containers. 
> > 
> > Moreover, if we change the *compile* then *guess*
> > application has packaged with all dependencies. It is
> > unwanted structure for Java EE containers.
> > 
> > I think that the current configuration is the good for
> the
> > time being;
> > 
> > Cheers;
> > 
> > Gurkan
> > 
> > 
> > 
> > 
> > ________________________________
> > From: Mark Struberg <struberg@yahoo.de>
> > To: openwebbeans-dev@incubator.apache.org
> > Sent: Wednesday, February 11, 2009 4:58:04 PM
> > Subject: webbeans-impl dependencies
> > 
> > Hi!
> > 
> > Currently many dependencies of the webbeans-impl
> module do
> > have the
> >
> <scope>provided</scope>.http://www.mechsoft.com.tr/Download/Fujipoly/fujipolyseminarkayit.htm
> > 
> > May we change this to the default scope
> 'compile'?
> > 
> > The reason: 
> > 
> > scenario 1)
> > If I like to use OpenWebBeans standalone in e.g. a
> WAR,
> > then maven usually resolves all dependencies with
> scopes
> > 'runtime' and 'compile' and adds them
> to
> > WEB-INF/lib, but obviously doesn't do this for
> > 'provided'.
> > 
> > scenario 2)
> > If I like to build a webapp for deploying it in a J2EE
> > container like Geronimo, then OpenWebBeans (or any
> other
> > jSR-299 impl) will be there already, so my webapp
> > doesn't need any webbeans-impl dependency (and
> therefore
> > there are no transitive dependencies) but only
> webbeans-api
> > with scope 'provided'.
> > 
> > So my proposal is to change all (have to review this
> again)
> > 'provided' scoped dependencies to the default
> of
> > 'compile'.
> > 
> > After this I'll checkin a new profile
> 'jetty'
> > to the guess samples pom.xml so one can start it via
> > $> mvn -Pjetty clean package jetty:run
> > as standalone jetty application ;)
> > 
> > LieGrue,
> > strub


      

Mime
View raw message