dev@glassfish.java.net

Re: Please review the following poms

From: Sahoo <Sahoo_at_Sun.COM>
Date: Fri, 10 Apr 2009 00:47:19 +0530

Why are you specifying the version for grizzly artifacts in
webservices/jsr109-impl/pom.xml? Remove the version from there, do a
clean build and check in if tests pass.

I don't remember reading anywhere that dependency management takes
precedence. Would you mind pointing to any such document? That's a
separate issue. The real problem is it is utterly confusing to use
dependencyManagement and then specify the version in child poms.

Thanks,
Sahoo
Bhakti Mehta wrote:
> Sahoo,
> From what I read on maven it does not care of the versions specified
> and the dependency management takes precedence. I made the changes
> again please can I commit them.
> Index: pom.xml
> ===================================================================
> --- pom.xml (revision 26039)
> +++ pom.xml (working copy)
> @@ -140,8 +140,8 @@
>
> <glassfish-corba.version>3.0.0-b018</glassfish-corba.version>
> <uc-pkg-client.version>1.0.7-15.1269</uc-pkg-client.version>
> <ucbootstrap.version>0.0.0.15</ucbootstrap.version>
> - <webservices.version>2.0-b03</webservices.version>
> - <jaxb.version>2.2-promoted-b9</jaxb.version>
> + <webservices.version>2.0-b04</webservices.version>
> + <jaxb.version>2.2-promoted-b16</jaxb.version>
>
> <javax-persistence-api.version>2.0.0-M1</javax-persistence-api.version>
> <dbschema.version>RELEASE60</dbschema.version>
> <!-- osgi version string must start with a number. Manually
> mapping above dbschema.version to osgi.version here -->
> @@ -732,6 +732,28 @@
> <version>${antlr.version}</version>
> </dependency>
>
> + <dependency>
> + <groupId>com.sun.xml.ws</groupId>
> + <artifactId>webservices-osgi</artifactId>
> + <version>${webservices.version}</version>
> + </dependency>
> + <dependency>
> + <groupId>javax.xml</groupId>
> + <artifactId>webservices-api-osgi</artifactId>
> + <version>${webservices.version}</version>
> + </dependency>
> + <dependency>
> + <groupId>com.sun.xml.bind</groupId>
> + <artifactId>jaxb-osgi</artifactId>
> + <version>${jaxb.version}</version>
> + </dependency>
> + <dependency>
> + <groupId>javax.xml.bind</groupId>
> + <artifactId>jaxb-api-osgi</artifactId>
> + <version>${jaxb.version}</version>
> + </dependency>
> +
> +
> </dependencies>
> </dependencyManagement>
> Index: distributions/glassfish/pom.xml
> ===================================================================
> --- distributions/glassfish/pom.xml (revision 26039)
> +++ distributions/glassfish/pom.xml (working copy)
> @@ -119,15 +119,19 @@
> <version>${project.version}</version>
> </dependency>
> <dependency>
> + <groupId>org.glassfish.webservices</groupId>
> + <artifactId>webservices-scripts</artifactId>
> + <version>${project.version}</version>
> + <type>distribution-fragment</type>
> + </dependency>
> + <dependency>
> <groupId>com.sun.xml.ws</groupId>
> <artifactId>webservices-osgi</artifactId>
> - <version>${webservices.version}</version>
> <type>jar</type>
> </dependency>
> <dependency>
> <groupId>javax.xml</groupId>
> <artifactId>webservices-api-osgi</artifactId>
> - <version>${webservices.version}</version>
> <type>jar</type>
> </dependency>
> <dependency>
> @@ -138,10 +142,14 @@
> <dependency>
> <groupId>com.sun.xml.bind</groupId>
> <artifactId>jaxb-osgi</artifactId>
> - <version>${jaxb.version}</version>
> <type>jar</type>
> </dependency>
> <dependency>
> + <groupId>javax.xml.bind</groupId>
> + <artifactId>jaxb-api-osgi</artifactId>
> + <type>jar</type>
> + </dependency>
> + <dependency>
> <groupId>org.glassfish.security</groupId>
> <artifactId>webservices.security</artifactId>
> <version>${project.version}</version>
> Index: packager/metro/pom.xml
> ===================================================================
> --- packager/metro/pom.xml (revision 26039)
> +++ packager/metro/pom.xml (working copy)
> @@ -99,19 +99,20 @@
> <dependency>
> <groupId>com.sun.xml.ws</groupId>
> <artifactId>webservices-osgi</artifactId>
> - <version>${webservices.version}</version>
> </dependency>
> <dependency>
> <groupId>javax.xml</groupId>
> <artifactId>webservices-api-osgi</artifactId>
> - <version>${webservices.version}</version>
> </dependency>
> <dependency>
> <groupId>com.sun.xml.bind</groupId>
> <artifactId>jaxb-osgi</artifactId>
> - <version>${jaxb.version}</version>
> </dependency>
> <dependency>
> + <groupId>javax.xml.bind</groupId>
> + <artifactId>jaxb-api-osgi</artifactId>
> + </dependency>
> + <dependency>
> <groupId>org.glassfish.security</groupId>
> <artifactId>webservices.security</artifactId>
> <version>${project.version}</version>
> Index:
> webservices/webservices-scripts/src/main/resources/glassfish/bin/schemagen.bat
>
> ===================================================================
> ---
> webservices/webservices-scripts/src/main/resources/glassfish/bin/schemagen.bat
> (revision 0)
> +++
> webservices/webservices-scripts/src/main/resources/glassfish/bin/schemagen.bat
> (revision 0)
> @@ -0,0 +1,8 @@
> +_at_echo off
> +
> +REM
> +REM Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
> +REM Use is subject to license terms.
> +REM
> +
> +java -cp
> "%~dp0..\modules\jaxb-api-osgi.jar;%~dp0..\modules\webservices-osgi.jar;%~dp0..\modules\jaxb-osgi.jar;%~dp0..\modules\webservices-api-osgi.jar"
> com.sun.tools.jxc.SchemaGeneratorFacade "%*"
> Index:
> webservices/webservices-scripts/src/main/resources/glassfish/bin/wscompile
>
> ===================================================================
> ---
> webservices/webservices-scripts/src/main/resources/glassfish/bin/wscompile
> (revision 0)
> +++
> webservices/webservices-scripts/src/main/resources/glassfish/bin/wscompile
> (revision 0)
> @@ -0,0 +1,12 @@
> +#!/bin/sh
> +
> +#
> +# Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
> +# Use is subject to license terms.
> +#
> +
> +AS_INSTALL=`dirname $0`/..
> +AS_INSTALL_LIB=$AS_INSTALL/modules
> +JAVAX_MAIL_JAR=$AS_INSTALL_LIB/javax.mail.jar
> +
> +java -cp
> "$AS_INSTALL_LIB/webservices-api.jar:$AS_INSTALL_LIB/webservices-osgi.jar:$AS_INSTALL_LIB/jaxb-osgi.jar:$AS_INSTALL/lib/jaxb-api-osgi.jar:$JAVAX_MAIL_JAR:$JAVA_HOME/lib/tools.jar"
> com.sun.xml.rpc.tools.wscompile.Main "$@"
> Index:
> webservices/webservices-scripts/src/main/resources/glassfish/bin/wsgen
> ===================================================================
> ---
> webservices/webservices-scripts/src/main/resources/glassfish/bin/wsgen
> (revision 0)
> +++
> webservices/webservices-scripts/src/main/resources/glassfish/bin/wsgen
> (revision 0)
> @@ -0,0 +1,11 @@
> +#!/bin/sh
> +
> +#
> +# Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
> +# Use is subject to license terms.
> +#
> +
> +AS_INSTALL=`dirname $0`/..
> +AS_INSTALL_LIB=$AS_INSTALL/modules
> +
> +java -cp
> "$AS_INSTALL_LIB/webservices-api.jar:$AS_INSTALL_LIB/webservices-osgi.jar:$AS_INSTALL_LIB/jaxb-osgi.jar:$AS_INSTALL/lib/jaxb-api-osgi.jar"
> com.sun.tools.ws.WsGen "$@"
> Index:
> webservices/webservices-scripts/src/main/resources/glassfish/bin/wsimport
> ===================================================================
> ---
> webservices/webservices-scripts/src/main/resources/glassfish/bin/wsimport
> (revision 0)
> +++
> webservices/webservices-scripts/src/main/resources/glassfish/bin/wsimport
> (revision 0)
> @@ -0,0 +1,12 @@
> +#!/bin/sh
> +
> +#
> +# Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
> +# Use is subject to license terms.
> +#
> +
> +AS_INSTALL=`dirname $0`/..
> +AS_INSTALL_LIB=$AS_INSTALL/modules
> +
> +
> +java -cp
> "$AS_INSTALL_LIB/webservices-api.jar:$AS_INSTALL_LIB/webservices-osgi.jar:$AS_INSTALL_LIB/jaxb-osgi.jar:$AS_INSTALL/lib/jaxb-api-osgi.jar"
> com.sun.tools.ws.WsImport "$@"
> Index:
> webservices/webservices-scripts/src/main/resources/glassfish/bin/xjc
> ===================================================================
> ---
> webservices/webservices-scripts/src/main/resources/glassfish/bin/xjc
> (revision 0)
> +++
> webservices/webservices-scripts/src/main/resources/glassfish/bin/xjc
> (revision 0)
> @@ -0,0 +1,11 @@
> +#!/bin/sh
> +
> +#
> +# Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
> +# Use is subject to license terms.
> +#
> +
> +AS_INSTALL=`dirname $0`/..
> +AS_INSTALL_LIB=$AS_INSTALL/modules
> +
> +java -cp
> "$AS_INSTALL_LIB/webservices-api.jar:$AS_INSTALL_LIB/webservices-osgi.jar:$AS_INSTALL_LIB/jaxb-osgi.jar:$AS_INSTALL/lib/jaxb-api-osgi.jar"
> com.sun.tools.xjc.Driver "$@"
> Index:
> webservices/webservices-scripts/src/main/resources/glassfish/bin/wsdeploy
> ===================================================================
> ---
> webservices/webservices-scripts/src/main/resources/glassfish/bin/wsdeploy
> (revision 0)
> +++
> webservices/webservices-scripts/src/main/resources/glassfish/bin/wsdeploy
> (revision 0)
> @@ -0,0 +1,12 @@
> +#!/bin/sh
> +
> +#
> +# Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
> +# Use is subject to license terms.
> +#
> +
> +AS_INSTALL=`dirname $0`/..
> +AS_INSTALL_LIB=$AS_INSTALL/modules
> +JAVAX_MAIL_JAR=$AS_INSTALL_LIB/javax.mail.jar
> +
> +java -cp
> "$AS_INSTALL_LIB/webservices-api.jar:$AS_INSTALL_LIB/webservices-osgi.jar:$AS_INSTALL_LIB/jaxb-osgi.jar:$AS_INSTALL/lib/jaxb-api-osgi.jar:$JAVAX_MAIL_JAR:$JAVA_HOME/lib/tools.jar"
> com.sun.xml.rpc.tools.wsdeploy.Main "$@"
> Index:
> webservices/webservices-scripts/src/main/resources/glassfish/bin/wscompile.bat
>
> ===================================================================
> ---
> webservices/webservices-scripts/src/main/resources/glassfish/bin/wscompile.bat
> (revision 0)
> +++
> webservices/webservices-scripts/src/main/resources/glassfish/bin/wscompile.bat
> (revision 0)
> @@ -0,0 +1,8 @@
> +_at_echo off
> +
> +REM
> +REM Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
> +REM Use is subject to license terms.
> +REM
> +
> +java -cp
> "%~dp0..\modules\jaxb-api-osgi.jar;%~dp0..\modules\webservices-osgi.jar;%~dp0..\modules\jaxb-osgi.jar;%~dp0..\modules\webservices-api-osgi.jar;%~dp0..\modules\javax.mail.jar;%JAVA_HOME%/lib/tools.jar"
> com.sun.xml.rpc.tools.wscompile.Main "%*"
> Index:
> webservices/webservices-scripts/src/main/resources/glassfish/bin/wsgen.bat
>
> ===================================================================
> ---
> webservices/webservices-scripts/src/main/resources/glassfish/bin/wsgen.bat
> (revision 0)
> +++
> webservices/webservices-scripts/src/main/resources/glassfish/bin/wsgen.bat
> (revision 0)
> @@ -0,0 +1,8 @@
> +_at_echo off
> +
> +REM
> +REM Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
> +REM Use is subject to license terms.
> +REM
> +
> +java -cp
> "%~dp0..\modules\jaxb-api-osgi.jar;%~dp0..\modules\webservices-osgi.jar;%~dp0..\modules\jaxb-osgi.jar;%~dp0..\modules\webservices-api-osgi.jar"
> com.sun.tools.ws.WsGen "%*"
> Index:
> webservices/webservices-scripts/src/main/resources/glassfish/bin/wsimport.bat
>
> ===================================================================
> ---
> webservices/webservices-scripts/src/main/resources/glassfish/bin/wsimport.bat
> (revision 0)
> +++
> webservices/webservices-scripts/src/main/resources/glassfish/bin/wsimport.bat
> (revision 0)
> @@ -0,0 +1,8 @@
> +_at_echo off
> +
> +REM
> +REM Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
> +REM Use is subject to license terms.
> +REM
> +
> +java -cp
> "%~dp0..\modules\jaxb-api-osgi.jar;%~dp0..\modules\webservices-osgi.jar;%~dp0..\modules\jaxb-osgi.jar;%~dp0..\modules\webservices-api-osgi.jar"
> com.sun.tools.ws.WsImport "%*"
> Index:
> webservices/webservices-scripts/src/main/resources/glassfish/bin/xjc.bat
> ===================================================================
> ---
> webservices/webservices-scripts/src/main/resources/glassfish/bin/xjc.bat
> (revision 0)
> +++
> webservices/webservices-scripts/src/main/resources/glassfish/bin/xjc.bat
> (revision 0)
> @@ -0,0 +1,8 @@
> +_at_echo off
> +
> +REM
> +REM Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
> +REM Use is subject to license terms.
> +REM
> +
> +java -cp
> "%~dp0..\modules\jaxb-api-osgi.jar;%~dp0..\modules\webservices-osgi.jar;%~dp0..\modules\jaxb-osgi.jar;%~dp0..\modules\webservices-api-osgi.jar"
> com.sun.tools.xjc.Driver "%*"
> Index:
> webservices/webservices-scripts/src/main/resources/glassfish/bin/schemagen
>
> ===================================================================
> ---
> webservices/webservices-scripts/src/main/resources/glassfish/bin/schemagen
> (revision 0)
> +++
> webservices/webservices-scripts/src/main/resources/glassfish/bin/schemagen
> (revision 0)
> @@ -0,0 +1,12 @@
> +#!/bin/sh
> +
> +#
> +# Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
> +# Use is subject to license terms.
> +#
> +
> +AS_INSTALL=`dirname $0`/..
> +AS_INSTALL_LIB=$AS_INSTALL/modules
> +
> +
> +java -cp
> "$AS_INSTALL_LIB/webservices-api.jar:$AS_INSTALL_LIB/webservices-osgi.jar:$AS_INSTALL_LIB/jaxb-osgi.jar:$AS_INSTALL/lib/jaxb-api-osgi.jar"
> com.sun.tools.jxc.SchemaGeneratorFacade "$@"
> Index:
> webservices/webservices-scripts/src/main/resources/glassfish/bin/wsdeploy.bat
>
> ===================================================================
> ---
> webservices/webservices-scripts/src/main/resources/glassfish/bin/wsdeploy.bat
> (revision 0)
> +++
> webservices/webservices-scripts/src/main/resources/glassfish/bin/wsdeploy.bat
> (revision 0)
> @@ -0,0 +1,8 @@
> +_at_echo off
> +
> +REM
> +REM Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
> +REM Use is subject to license terms.
> +REM
> +
> +java -cp
> "%~dp0..\modules\jaxb-api-osgi.jar;%~dp0..\modules\webservices-osgi.jar;%~dp0..\modules\jaxb-osgi.jar;%~dp0..\modules\webservices-api-osgi.jar;%~dp0..\modules\javax.mail.jar;%JAVA_HOME%/lib/tools.jar"
> com.sun.xml.rpc.tools.wsdeploy.Main "%*"
> Index: webservices/webservices-scripts/pom.xml
> ===================================================================
> --- webservices/webservices-scripts/pom.xml (revision 0)
> +++ webservices/webservices-scripts/pom.xml (revision 0)
> @@ -0,0 +1,70 @@
> +<project xmlns="http://maven.apache.org/POM/4.0.0"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd">
> +
> + <modelVersion>4.0.0</modelVersion>
> + <parent>
> + <groupId>org.glassfish.webservices</groupId>
> + <artifactId>webservices</artifactId>
> + <version>3.0-SNAPSHOT</version>
> + </parent>
> +
> + <artifactId>webservices-scripts</artifactId>
> + <name>GlassFish webservices scripts</name>
> +
> + <!--
> + The comments below were copied from the appclient-scripts
> module. + They are very helpful so it seemed like a good idea
> to leave them here also.
> + -->
> + <!--
> + This packaging specifies that it's a package that contains
> files to be added to
> + the distribution.
> +
> + In this packaging mode, the build will produce a jar, like it
> normally does for
> + the <packaging>jar</packaging>, but the contents of this jar is
> then extracted
> + when the final GlassFish distribution is assembled. (But when
> this happens,
> + META-INF/** in the jar will be ignored.)
> +
> + For a fragment to be added to the distribution, the
> distribution POM needs
> + to directly or indirectly depend on the fragment module. This
> is normally
> + done by creating a feature-level grouping POM (which allows you
> to bundle multiple
> + modules and treat it as a single dependency - see the
> webtier-all module for example),
> + and have that declare a dependency on the fragment, instead of
> directly
> + modifying the distribution POM.
> +
> + So the idea here is that individual technology area will create
> their own
> + fragments that contain pieces that they need, and when the said
> technology
> + is bundled in GF, the corresponding fragment will be also
> added, thanks to
> + the transitive dependency handling in Maven.
> + -->
> +
> + <packaging>distribution-fragment</packaging>
> +
> +<!--
> +
> + <packaging>pom</packaging>
> +--> <build>
> + <!--
> + In this module, all the files are statically stored as-is in
> the Subversion repository,
> + so the simple copying from src/main/resources to
> target/classes that Maven does by default
> + is suffice.
> +
> + But in more complex scenario, one can use
> maven-antrun-extended-plugin and use a series of Ant tasks
> + to perform processing on resources, such as token
> replacement, file generation, pre-processing, etc.
> +
> + The following section shows how you can do this.
> + -->
> + <plugins>
> + <plugin>
> + <groupId>org.glassfish.build</groupId>
> + <artifactId>maven-glassfishbuild-plugin</artifactId>
> + </plugin>
> + </plugins>
> + <extensions>
> + <extension>
> + <groupId>org.glassfish.build</groupId>
> + <artifactId>maven-glassfishbuild-extension</artifactId>
> + <version>${project.version}</version>
> + </extension>
> + </extensions>
> + </build>
> +
> +</project>
>
> Index: webservices/jsr109-impl/pom.xml
> ===================================================================
> --- webservices/jsr109-impl/pom.xml (revision 26039)
> +++ webservices/jsr109-impl/pom.xml (working copy)
> @@ -140,19 +140,20 @@
> <dependency>
> <groupId>com.sun.xml.ws</groupId>
> <artifactId>webservices-osgi</artifactId>
> - <version>${webservices.version}</version>
> </dependency>
> <dependency>
> <groupId>javax.xml</groupId>
> <artifactId>webservices-api-osgi</artifactId>
> - <version>${webservices.version}</version>
> </dependency>
> <dependency>
> <groupId>com.sun.xml.bind</groupId>
> <artifactId>jaxb-osgi</artifactId>
> - <version>${jaxb.version}</version>
> </dependency>
> <dependency>
> + <groupId>javax.xml.bind</groupId>
> + <artifactId>jaxb-api-osgi</artifactId>
> + </dependency>
> + <dependency>
> <groupId>org.glassfish</groupId>
> <artifactId>javax.ejb</artifactId>
> <version>${project.version}</version>
> @@ -162,6 +163,18 @@
> <artifactId>ejb-internal-api</artifactId>
> <version>${project.version}</version>
> </dependency>
> + <dependency>
> + <groupId>com.sun.grizzly</groupId>
> + <artifactId>grizzly-http-servlet</artifactId>
> + <version>${grizzly.version}</version>
> + </dependency>
> + <dependency>
> + <groupId>com.sun.grizzly</groupId>
> + <artifactId>grizzly-utils</artifactId>
> + <version>${grizzly.version}</version>
> + </dependency>
> +
> +
> </dependencies>
> </project>
> Index: webservices/pom.xml
> ===================================================================
> --- webservices/pom.xml (revision 26039)
> +++ webservices/pom.xml (working copy)
> @@ -50,6 +50,7 @@
> <name>GlassFish Web Services related modules</name> <modules>
> <module>jsr109-impl</module>
> + <module>webservices-scripts</module>
> </modules>
> </project>
>
> Index: security/webservices.security/pom.xml
> ===================================================================
> --- security/webservices.security/pom.xml (revision 26039)
> +++ security/webservices.security/pom.xml (working copy)
> @@ -114,18 +114,19 @@
> <dependency>
> <groupId>com.sun.xml.ws</groupId>
> <artifactId>webservices-osgi</artifactId>
> - <version>${webservices.version}</version>
> </dependency>
> <dependency>
> <groupId>javax.xml</groupId>
> <artifactId>webservices-api-osgi</artifactId>
> - <version>${webservices.version}</version>
> </dependency>
> <dependency>
> <groupId>com.sun.xml.bind</groupId>
> <artifactId>jaxb-osgi</artifactId>
> - <version>${jaxb.version}</version>
> </dependency>
> + <dependency>
> + <groupId>javax.xml.bind</groupId>
> + <artifactId>jaxb-api-osgi</artifactId>
> + </dependency>
> <!--<dependency>
> <groupId>org.glassfish</groupId>
> <artifactId>javax.ejb</artifactId>
> /Users/bhakti/trialv3/v3 %
>
>
>
>
>
> Sahoo wrote:
>> I expected this - that's why I asked for the full diff. There is a
>> problem. Can you tell me why you still specify the version of various
>> dependencies like jaxb, webservices in
>> distributions/glassfish/pom.xml and packager/metro/pom.xml?
>>
>> Sahoo
>>
>> Bhakti Mehta wrote:
>>> Here you go. Please let me know if you need more information
>>> Thanks,
>>> Bhakti
>>> Index: pom.xml
>>> ===================================================================
>>> --- pom.xml (revision 26039)
>>> +++ pom.xml (working copy)
>>> @@ -140,8 +140,8 @@
>>>
>>> <glassfish-corba.version>3.0.0-b018</glassfish-corba.version>
>>> <uc-pkg-client.version>1.0.7-15.1269</uc-pkg-client.version>
>>> <ucbootstrap.version>0.0.0.15</ucbootstrap.version>
>>> - <webservices.version>2.0-b03</webservices.version>
>>> - <jaxb.version>2.2-promoted-b9</jaxb.version>
>>> + <webservices.version>2.0-b04</webservices.version>
>>> + <jaxb.version>2.2-promoted-b16</jaxb.version>
>>>
>>> <javax-persistence-api.version>2.0.0-M1</javax-persistence-api.version>
>>> <dbschema.version>RELEASE60</dbschema.version>
>>> <!-- osgi version string must start with a number. Manually
>>> mapping above dbschema.version to osgi.version here -->
>>> @@ -732,6 +732,28 @@
>>> <version>${antlr.version}</version>
>>> </dependency>
>>>
>>> + <dependency>
>>> + <groupId>com.sun.xml.ws</groupId>
>>> + <artifactId>webservices-osgi</artifactId>
>>> + <version>${webservices.version}</version>
>>> + </dependency>
>>> + <dependency>
>>> + <groupId>javax.xml</groupId>
>>> + <artifactId>webservices-api-osgi</artifactId>
>>> + <version>${webservices.version}</version>
>>> + </dependency>
>>> + <dependency>
>>> + <groupId>com.sun.xml.bind</groupId>
>>> + <artifactId>jaxb-osgi</artifactId>
>>> + <version>${jaxb.version}</version>
>>> + </dependency>
>>> + <dependency>
>>> + <groupId>javax.xml.bind</groupId>
>>> + <artifactId>jaxb-api-osgi</artifactId>
>>> + <version>${jaxb.version}</version>
>>> + </dependency>
>>> +
>>> +
>>> </dependencies>
>>> </dependencyManagement>
>>> Index: distributions/glassfish/pom.xml
>>> ===================================================================
>>> --- distributions/glassfish/pom.xml (revision 26039)
>>> +++ distributions/glassfish/pom.xml (working copy)
>>> @@ -119,6 +119,12 @@
>>> <version>${project.version}</version>
>>> </dependency>
>>> <dependency>
>>> + <groupId>org.glassfish.webservices</groupId>
>>> + <artifactId>webservices-scripts</artifactId>
>>> + <version>${project.version}</version>
>>> + <type>distribution-fragment</type>
>>> + </dependency>
>>> + <dependency>
>>> <groupId>com.sun.xml.ws</groupId>
>>> <artifactId>webservices-osgi</artifactId>
>>> <version>${webservices.version}</version>
>>> @@ -142,6 +148,12 @@
>>> <type>jar</type>
>>> </dependency>
>>> <dependency>
>>> + <groupId>javax.xml.bind</groupId>
>>> + <artifactId>jaxb-api-osgi</artifactId>
>>> + <version>${jaxb.version}</version>
>>> + <type>jar</type>
>>> + </dependency>
>>> + <dependency>
>>> <groupId>org.glassfish.security</groupId>
>>> <artifactId>webservices.security</artifactId>
>>> <version>${project.version}</version>
>>> Index: packager/metro/pom.xml
>>> ===================================================================
>>> --- packager/metro/pom.xml (revision 26039)
>>> +++ packager/metro/pom.xml (working copy)
>>> @@ -112,6 +112,11 @@
>>> <version>${jaxb.version}</version>
>>> </dependency>
>>> <dependency>
>>> + <groupId>javax.xml.bind</groupId>
>>> + <artifactId>jaxb-api-osgi</artifactId>
>>> + <version>${jaxb.version}</version>
>>> + </dependency>
>>> + <dependency>
>>> <groupId>org.glassfish.security</groupId>
>>> <artifactId>webservices.security</artifactId>
>>> <version>${project.version}</version>
>>> Index:
>>> webservices/webservices-scripts/src/main/resources/glassfish/bin/schemagen.bat
>>>
>>> ===================================================================
>>> ---
>>> webservices/webservices-scripts/src/main/resources/glassfish/bin/schemagen.bat
>>> (revision 0)
>>> +++
>>> webservices/webservices-scripts/src/main/resources/glassfish/bin/schemagen.bat
>>> (revision 0)
>>> @@ -0,0 +1,8 @@
>>> +_at_echo off
>>> +
>>> +REM
>>> +REM Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
>>> +REM Use is subject to license terms.
>>> +REM
>>> +
>>> +java -cp
>>> "%~dp0..\modules\jaxb-api-osgi.jar;%~dp0..\modules\webservices-osgi.jar;%~dp0..\modules\jaxb-osgi.jar;%~dp0..\modules\webservices-api-osgi.jar"
>>> com.sun.tools.jxc.SchemaGeneratorFacade "%*"
>>> Index:
>>> webservices/webservices-scripts/src/main/resources/glassfish/bin/wscompile
>>>
>>> ===================================================================
>>> ---
>>> webservices/webservices-scripts/src/main/resources/glassfish/bin/wscompile
>>> (revision 0)
>>> +++
>>> webservices/webservices-scripts/src/main/resources/glassfish/bin/wscompile
>>> (revision 0)
>>> @@ -0,0 +1,12 @@
>>> +#!/bin/sh
>>> +
>>> +#
>>> +# Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
>>> +# Use is subject to license terms.
>>> +#
>>> +
>>> +AS_INSTALL=`dirname $0`/..
>>> +AS_INSTALL_LIB=$AS_INSTALL/modules
>>> +JAVAX_MAIL_JAR=$AS_INSTALL_LIB/javax.mail.jar
>>> +
>>> +java -cp
>>> "$AS_INSTALL_LIB/webservices-api.jar:$AS_INSTALL_LIB/webservices-osgi.jar:$AS_INSTALL_LIB/jaxb-osgi.jar:$AS_INSTALL/lib/jaxb-api-osgi.jar:$JAVAX_MAIL_JAR:$JAVA_HOME/lib/tools.jar"
>>> com.sun.xml.rpc.tools.wscompile.Main "$@"
>>> Index:
>>> webservices/webservices-scripts/src/main/resources/glassfish/bin/wsgen
>>> ===================================================================
>>> ---
>>> webservices/webservices-scripts/src/main/resources/glassfish/bin/wsgen
>>> (revision 0)
>>> +++
>>> webservices/webservices-scripts/src/main/resources/glassfish/bin/wsgen
>>> (revision 0)
>>> @@ -0,0 +1,11 @@
>>> +#!/bin/sh
>>> +
>>> +#
>>> +# Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
>>> +# Use is subject to license terms.
>>> +#
>>> +
>>> +AS_INSTALL=`dirname $0`/..
>>> +AS_INSTALL_LIB=$AS_INSTALL/modules
>>> +
>>> +java -cp
>>> "$AS_INSTALL_LIB/webservices-api.jar:$AS_INSTALL_LIB/webservices-osgi.jar:$AS_INSTALL_LIB/jaxb-osgi.jar:$AS_INSTALL/lib/jaxb-api-osgi.jar"
>>> com.sun.tools.ws.WsGen "$@"
>>> Index:
>>> webservices/webservices-scripts/src/main/resources/glassfish/bin/wsimport
>>>
>>> ===================================================================
>>> ---
>>> webservices/webservices-scripts/src/main/resources/glassfish/bin/wsimport
>>> (revision 0)
>>> +++
>>> webservices/webservices-scripts/src/main/resources/glassfish/bin/wsimport
>>> (revision 0)
>>> @@ -0,0 +1,12 @@
>>> +#!/bin/sh
>>> +
>>> +#
>>> +# Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
>>> +# Use is subject to license terms.
>>> +#
>>> +
>>> +AS_INSTALL=`dirname $0`/..
>>> +AS_INSTALL_LIB=$AS_INSTALL/modules
>>> +
>>> +
>>> +java -cp
>>> "$AS_INSTALL_LIB/webservices-api.jar:$AS_INSTALL_LIB/webservices-osgi.jar:$AS_INSTALL_LIB/jaxb-osgi.jar:$AS_INSTALL/lib/jaxb-api-osgi.jar"
>>> com.sun.tools.ws.WsImport "$@"
>>> Index:
>>> webservices/webservices-scripts/src/main/resources/glassfish/bin/xjc
>>> ===================================================================
>>> ---
>>> webservices/webservices-scripts/src/main/resources/glassfish/bin/xjc
>>> (revision 0)
>>> +++
>>> webservices/webservices-scripts/src/main/resources/glassfish/bin/xjc
>>> (revision 0)
>>> @@ -0,0 +1,11 @@
>>> +#!/bin/sh
>>> +
>>> +#
>>> +# Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
>>> +# Use is subject to license terms.
>>> +#
>>> +
>>> +AS_INSTALL=`dirname $0`/..
>>> +AS_INSTALL_LIB=$AS_INSTALL/modules
>>> +
>>> +java -cp
>>> "$AS_INSTALL_LIB/webservices-api.jar:$AS_INSTALL_LIB/webservices-osgi.jar:$AS_INSTALL_LIB/jaxb-osgi.jar:$AS_INSTALL/lib/jaxb-api-osgi.jar"
>>> com.sun.tools.xjc.Driver "$@"
>>> Index:
>>> webservices/webservices-scripts/src/main/resources/glassfish/bin/wsdeploy
>>>
>>> ===================================================================
>>> ---
>>> webservices/webservices-scripts/src/main/resources/glassfish/bin/wsdeploy
>>> (revision 0)
>>> +++
>>> webservices/webservices-scripts/src/main/resources/glassfish/bin/wsdeploy
>>> (revision 0)
>>> @@ -0,0 +1,12 @@
>>> +#!/bin/sh
>>> +
>>> +#
>>> +# Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
>>> +# Use is subject to license terms.
>>> +#
>>> +
>>> +AS_INSTALL=`dirname $0`/..
>>> +AS_INSTALL_LIB=$AS_INSTALL/modules
>>> +JAVAX_MAIL_JAR=$AS_INSTALL_LIB/javax.mail.jar
>>> +
>>> +java -cp
>>> "$AS_INSTALL_LIB/webservices-api.jar:$AS_INSTALL_LIB/webservices-osgi.jar:$AS_INSTALL_LIB/jaxb-osgi.jar:$AS_INSTALL/lib/jaxb-api-osgi.jar:$JAVAX_MAIL_JAR:$JAVA_HOME/lib/tools.jar"
>>> com.sun.xml.rpc.tools.wsdeploy.Main "$@"
>>> Index:
>>> webservices/webservices-scripts/src/main/resources/glassfish/bin/wscompile.bat
>>>
>>> ===================================================================
>>> ---
>>> webservices/webservices-scripts/src/main/resources/glassfish/bin/wscompile.bat
>>> (revision 0)
>>> +++
>>> webservices/webservices-scripts/src/main/resources/glassfish/bin/wscompile.bat
>>> (revision 0)
>>> @@ -0,0 +1,8 @@
>>> +_at_echo off
>>> +
>>> +REM
>>> +REM Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
>>> +REM Use is subject to license terms.
>>> +REM
>>> +
>>> +java -cp
>>> "%~dp0..\modules\jaxb-api-osgi.jar;%~dp0..\modules\webservices-osgi.jar;%~dp0..\modules\jaxb-osgi.jar;%~dp0..\modules\webservices-api-osgi.jar;%~dp0..\modules\javax.mail.jar;%JAVA_HOME%/lib/tools.jar"
>>> com.sun.xml.rpc.tools.wscompile.Main "%*"
>>> Index:
>>> webservices/webservices-scripts/src/main/resources/glassfish/bin/wsgen.bat
>>>
>>> ===================================================================
>>> ---
>>> webservices/webservices-scripts/src/main/resources/glassfish/bin/wsgen.bat
>>> (revision 0)
>>> +++
>>> webservices/webservices-scripts/src/main/resources/glassfish/bin/wsgen.bat
>>> (revision 0)
>>> @@ -0,0 +1,8 @@
>>> +_at_echo off
>>> +
>>> +REM
>>> +REM Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
>>> +REM Use is subject to license terms.
>>> +REM
>>> +
>>> +java -cp
>>> "%~dp0..\modules\jaxb-api-osgi.jar;%~dp0..\modules\webservices-osgi.jar;%~dp0..\modules\jaxb-osgi.jar;%~dp0..\modules\webservices-api-osgi.jar"
>>> com.sun.tools.ws.WsGen "%*"
>>> Index:
>>> webservices/webservices-scripts/src/main/resources/glassfish/bin/wsimport.bat
>>>
>>> ===================================================================
>>> ---
>>> webservices/webservices-scripts/src/main/resources/glassfish/bin/wsimport.bat
>>> (revision 0)
>>> +++
>>> webservices/webservices-scripts/src/main/resources/glassfish/bin/wsimport.bat
>>> (revision 0)
>>> @@ -0,0 +1,8 @@
>>> +_at_echo off
>>> +
>>> +REM
>>> +REM Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
>>> +REM Use is subject to license terms.
>>> +REM
>>> +
>>> +java -cp
>>> "%~dp0..\modules\jaxb-api-osgi.jar;%~dp0..\modules\webservices-osgi.jar;%~dp0..\modules\jaxb-osgi.jar;%~dp0..\modules\webservices-api-osgi.jar"
>>> com.sun.tools.ws.WsImport "%*"
>>> Index:
>>> webservices/webservices-scripts/src/main/resources/glassfish/bin/xjc.bat
>>>
>>> ===================================================================
>>> ---
>>> webservices/webservices-scripts/src/main/resources/glassfish/bin/xjc.bat
>>> (revision 0)
>>> +++
>>> webservices/webservices-scripts/src/main/resources/glassfish/bin/xjc.bat
>>> (revision 0)
>>> @@ -0,0 +1,8 @@
>>> +_at_echo off
>>> +
>>> +REM
>>> +REM Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
>>> +REM Use is subject to license terms.
>>> +REM
>>> +
>>> +java -cp
>>> "%~dp0..\modules\jaxb-api-osgi.jar;%~dp0..\modules\webservices-osgi.jar;%~dp0..\modules\jaxb-osgi.jar;%~dp0..\modules\webservices-api-osgi.jar"
>>> com.sun.tools.xjc.Driver "%*"
>>> Index:
>>> webservices/webservices-scripts/src/main/resources/glassfish/bin/schemagen
>>>
>>> ===================================================================
>>> ---
>>> webservices/webservices-scripts/src/main/resources/glassfish/bin/schemagen
>>> (revision 0)
>>> +++
>>> webservices/webservices-scripts/src/main/resources/glassfish/bin/schemagen
>>> (revision 0)
>>> @@ -0,0 +1,12 @@
>>> +#!/bin/sh
>>> +
>>> +#
>>> +# Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
>>> +# Use is subject to license terms.
>>> +#
>>> +
>>> +AS_INSTALL=`dirname $0`/..
>>> +AS_INSTALL_LIB=$AS_INSTALL/modules
>>> +
>>> +
>>> +java -cp
>>> "$AS_INSTALL_LIB/webservices-api.jar:$AS_INSTALL_LIB/webservices-osgi.jar:$AS_INSTALL_LIB/jaxb-osgi.jar:$AS_INSTALL/lib/jaxb-api-osgi.jar"
>>> com.sun.tools.jxc.SchemaGeneratorFacade "$@"
>>> Index:
>>> webservices/webservices-scripts/src/main/resources/glassfish/bin/wsdeploy.bat
>>>
>>> ===================================================================
>>> ---
>>> webservices/webservices-scripts/src/main/resources/glassfish/bin/wsdeploy.bat
>>> (revision 0)
>>> +++
>>> webservices/webservices-scripts/src/main/resources/glassfish/bin/wsdeploy.bat
>>> (revision 0)
>>> @@ -0,0 +1,8 @@
>>> +_at_echo off
>>> +
>>> +REM
>>> +REM Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
>>> +REM Use is subject to license terms.
>>> +REM
>>> +
>>> +java -cp
>>> "%~dp0..\modules\jaxb-api-osgi.jar;%~dp0..\modules\webservices-osgi.jar;%~dp0..\modules\jaxb-osgi.jar;%~dp0..\modules\webservices-api-osgi.jar;%~dp0..\modules\javax.mail.jar;%JAVA_HOME%/lib/tools.jar"
>>> com.sun.xml.rpc.tools.wsdeploy.Main "%*"
>>> Index: webservices/webservices-scripts/pom.xml
>>> ===================================================================
>>> --- webservices/webservices-scripts/pom.xml (revision 0)
>>> +++ webservices/webservices-scripts/pom.xml (revision 0)
>>> @@ -0,0 +1,70 @@
>>> +<project xmlns="http://maven.apache.org/POM/4.0.0"
>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>>> http://maven.apache.org/maven-v4_0_0.xsd">
>>> +
>>> + <modelVersion>4.0.0</modelVersion>
>>> + <parent>
>>> + <groupId>org.glassfish.webservices</groupId>
>>> + <artifactId>webservices</artifactId>
>>> + <version>3.0-SNAPSHOT</version>
>>> + </parent>
>>> +
>>> + <artifactId>webservices-scripts</artifactId>
>>> + <name>GlassFish webservices scripts</name>
>>> +
>>> + <!--
>>> + The comments below were copied from the appclient-scripts
>>> module. + They are very helpful so it seemed like a good idea
>>> to leave them here also.
>>> + -->
>>> + <!--
>>> + This packaging specifies that it's a package that contains
>>> files to be added to
>>> + the distribution.
>>> +
>>> + In this packaging mode, the build will produce a jar, like it
>>> normally does for
>>> + the <packaging>jar</packaging>, but the contents of this jar
>>> is then extracted
>>> + when the final GlassFish distribution is assembled. (But when
>>> this happens,
>>> + META-INF/** in the jar will be ignored.)
>>> +
>>> + For a fragment to be added to the distribution, the
>>> distribution POM needs
>>> + to directly or indirectly depend on the fragment module. This
>>> is normally
>>> + done by creating a feature-level grouping POM (which allows
>>> you to bundle multiple
>>> + modules and treat it as a single dependency - see the
>>> webtier-all module for example),
>>> + and have that declare a dependency on the fragment, instead
>>> of directly
>>> + modifying the distribution POM.
>>> +
>>> + So the idea here is that individual technology area will
>>> create their own
>>> + fragments that contain pieces that they need, and when the
>>> said technology
>>> + is bundled in GF, the corresponding fragment will be also
>>> added, thanks to
>>> + the transitive dependency handling in Maven.
>>> + -->
>>> +
>>> + <packaging>distribution-fragment</packaging>
>>> +
>>> +<!--
>>> +
>>> + <packaging>pom</packaging>
>>> +--> <build>
>>> + <!--
>>> + In this module, all the files are statically stored as-is
>>> in the Subversion repository,
>>> + so the simple copying from src/main/resources to
>>> target/classes that Maven does by default
>>> + is suffice.
>>> +
>>> + But in more complex scenario, one can use
>>> maven-antrun-extended-plugin and use a series of Ant tasks
>>> + to perform processing on resources, such as token
>>> replacement, file generation, pre-processing, etc.
>>> +
>>> + The following section shows how you can do this.
>>> + -->
>>> + <plugins>
>>> + <plugin>
>>> + <groupId>org.glassfish.build</groupId>
>>> + <artifactId>maven-glassfishbuild-plugin</artifactId>
>>> + </plugin>
>>> + </plugins>
>>> + <extensions>
>>> + <extension>
>>> + <groupId>org.glassfish.build</groupId>
>>> +
>>> <artifactId>maven-glassfishbuild-extension</artifactId>
>>> + <version>${project.version}</version>
>>> + </extension>
>>> + </extensions>
>>> + </build>
>>> +
>>> +</project>
>>>
>>>
>>> Index: webservices/jsr109-impl/pom.xml
>>> ===================================================================
>>> --- webservices/jsr109-impl/pom.xml (revision 26039)
>>> +++ webservices/jsr109-impl/pom.xml (working copy)
>>> @@ -153,6 +153,11 @@
>>> <version>${jaxb.version}</version>
>>> </dependency>
>>> <dependency>
>>> + <groupId>javax.xml.bind</groupId>
>>> + <artifactId>jaxb-api-osgi</artifactId>
>>> + <version>${jaxb.version}</version>
>>> + </dependency>
>>> + <dependency>
>>> <groupId>org.glassfish</groupId>
>>> <artifactId>javax.ejb</artifactId>
>>> <version>${project.version}</version>
>>> @@ -162,6 +167,18 @@
>>> <artifactId>ejb-internal-api</artifactId>
>>> <version>${project.version}</version>
>>> </dependency>
>>> + <dependency>
>>> + <groupId>com.sun.grizzly</groupId>
>>> + <artifactId>grizzly-http-servlet</artifactId>
>>> + <version>${grizzly.version}</version>
>>> + </dependency>
>>> + <dependency>
>>> + <groupId>com.sun.grizzly</groupId>
>>> + <artifactId>grizzly-utils</artifactId>
>>> + <version>${grizzly.version}</version>
>>> + </dependency>
>>> +
>>> +
>>> </dependencies>
>>> </project>
>>> Index: webservices/pom.xml
>>> ===================================================================
>>> --- webservices/pom.xml (revision 26039)
>>> +++ webservices/pom.xml (working copy)
>>> @@ -50,6 +50,7 @@
>>> <name>GlassFish Web Services related modules</name> <modules>
>>> <module>jsr109-impl</module>
>>> + <module>webservices-scripts</module>
>>> </modules>
>>> </project>
>>>
>>> /Users/bhakti/trialv3/v3 %
>>>
>>>
>>> Sahoo wrote:
>>>> Pl. send me the diffs for all the files you are trying to commit.
>>>>
>>>> Thanks,
>>>> Sahoo
>>>>
>>>> Bhakti Mehta wrote:
>>>>> Index: pom.xml
>>>>> ===================================================================
>>>>> Done. I made the following change in the v3/pom.xml . Please let
>>>>> me know if I can commit these changes
>>>>> Regards,
>>>>> Bhakti
>>>>>
>>>>> --- pom.xml (revision 26039)
>>>>> +++ pom.xml (working copy)
>>>>> @@ -140,8 +140,8 @@
>>>>>
>>>>> <glassfish-corba.version>3.0.0-b018</glassfish-corba.version>
>>>>> <uc-pkg-client.version>1.0.7-15.1269</uc-pkg-client.version>
>>>>> <ucbootstrap.version>0.0.0.15</ucbootstrap.version>
>>>>> - <webservices.version>2.0-b03</webservices.version>
>>>>> - <jaxb.version>2.2-promoted-b9</jaxb.version>
>>>>> + <webservices.version>2.0-b04</webservices.version>
>>>>> + <jaxb.version>2.2-promoted-b16</jaxb.version>
>>>>>
>>>>> <javax-persistence-api.version>2.0.0-M1</javax-persistence-api.version>
>>>>>
>>>>> <dbschema.version>RELEASE60</dbschema.version>
>>>>> <!-- osgi version string must start with a number.
>>>>> Manually mapping above dbschema.version to osgi.version here -->
>>>>> @@ -732,6 +732,28 @@
>>>>> <version>${antlr.version}</version>
>>>>> </dependency>
>>>>>
>>>>> + <dependency>
>>>>> + <groupId>com.sun.xml.ws</groupId>
>>>>> + <artifactId>webservices-osgi</artifactId>
>>>>> + <version>${webservices.version}</version>
>>>>> + </dependency>
>>>>> + <dependency>
>>>>> + <groupId>javax.xml</groupId>
>>>>> + <artifactId>webservices-api-osgi</artifactId>
>>>>> + <version>${webservices.version}</version>
>>>>> + </dependency>
>>>>> + <dependency>
>>>>> + <groupId>com.sun.xml.bind</groupId>
>>>>> + <artifactId>jaxb-osgi</artifactId>
>>>>> + <version>${jaxb.version}</version>
>>>>> + </dependency>
>>>>> + <dependency>
>>>>> + <groupId>javax.xml.bind</groupId>
>>>>> + <artifactId>jaxb-api-osgi</artifactId>
>>>>> + <version>${jaxb.version}</version>
>>>>> + </dependency>
>>>>> +
>>>>> +
>>>>> </dependencies>
>>>>> </dependencyManagement>
>>>>>
>>>>>
>>>>> Sahoo wrote:
>>>>>> You have specified the dependency versions in your pom.xmls.
>>>>>> Instead, please use <dependencyManagement/> in v3/pom.xml to
>>>>>> specify all the versions for external dependencies.
>>>>>>
>>>>>> Thanks,
>>>>>> Sahoo
>>>>>>
>>>>>> Bhakti Mehta wrote:
>>>>>>> Jane/Sahoo/Jerome,
>>>>>>> Please can you review the following poms.
>>>>>>>
>>>>>>> The following changes are made.
>>>>>>> 1. Newer versions metro and jaxb
>>>>>>> 2.The webservices scripts were not being included in glassfish
>>>>>>> distribution, so followed Snjezana's suggestions and created a
>>>>>>> distribution fragment just like appclient so that they land up
>>>>>>> in glassfish.zip
>>>>>>> 3.For Ejb webservices endpoints I need to depend on
>>>>>>> grizzly-http-servlet and
>>>>>>> grizzly-utils so added those dependencies
>>>>>>>
>>>>>>> Please let me know by tomorrow morning so I can commit the changes
>>>>>>> Thanks,
>>>>>>> Bhakti
>>>>>>>
>>>>>>> ===================================================================
>>>>>>> --- pom.xml (revision 26006)
>>>>>>> +++ pom.xml (working copy)
>>>>>>> @@ -140,8 +140,8 @@
>>>>>>>
>>>>>>> <glassfish-corba.version>3.0.0-b018</glassfish-corba.version>
>>>>>>> <uc-pkg-client.version>1.0.7-15.1269</uc-pkg-client.version>
>>>>>>> <ucbootstrap.version>0.0.0.15</ucbootstrap.version>
>>>>>>> - <webservices.version>2.0-b03</webservices.version>
>>>>>>> - <jaxb.version>2.2-promoted-b9</jaxb.version>
>>>>>>> + <webservices.version>2.0-b04</webservices.version>
>>>>>>> + <jaxb.version>2.2-promoted-b16</jaxb.version>
>>>>>>>
>>>>>>> <javax-persistence-api.version>2.0.0-M1</javax-persistence-api.version>
>>>>>>>
>>>>>>> <dbschema.version>RELEASE60</dbschema.version>
>>>>>>> <!-- osgi version string must start with a number.
>>>>>>> Manually mapping above dbschema.version to osgi.version here -->
>>>>>>> Index: distributions/glassfish/pom.xml
>>>>>>> ===================================================================
>>>>>>> --- distributions/glassfish/pom.xml (revision 26006)
>>>>>>> +++ distributions/glassfish/pom.xml (working copy)
>>>>>>> @@ -119,6 +119,12 @@
>>>>>>> <version>${project.version}</version>
>>>>>>> </dependency>
>>>>>>> <dependency>
>>>>>>> + <groupId>org.glassfish.webservices</groupId>
>>>>>>> + <artifactId>webservices-scripts</artifactId>
>>>>>>> + <version>${project.version}</version>
>>>>>>> + <type>distribution-fragment</type>
>>>>>>> + </dependency>
>>>>>>> + <dependency>
>>>>>>> <groupId>com.sun.xml.ws</groupId>
>>>>>>> <artifactId>webservices-osgi</artifactId>
>>>>>>> <version>${webservices.version}</version>
>>>>>>> @@ -142,6 +148,12 @@
>>>>>>> <type>jar</type>
>>>>>>> </dependency>
>>>>>>> <dependency>
>>>>>>> + <groupId>javax.xml.bind</groupId>
>>>>>>> + <artifactId>jaxb-api-osgi</artifactId>
>>>>>>> + <version>${jaxb.version}</version>
>>>>>>> + <type>jar</type>
>>>>>>> + </dependency>
>>>>>>> + <dependency>
>>>>>>> <groupId>org.glassfish.security</groupId>
>>>>>>> <artifactId>webservices.security</artifactId>
>>>>>>> <version>${project.version}</version>
>>>>>>> Index: packager/metro/pom.xml
>>>>>>> ===================================================================
>>>>>>> --- packager/metro/pom.xml (revision 26006)
>>>>>>> +++ packager/metro/pom.xml (working copy)
>>>>>>> @@ -112,6 +112,11 @@
>>>>>>> <version>${jaxb.version}</version>
>>>>>>> </dependency>
>>>>>>> <dependency>
>>>>>>> + <groupId>javax.xml.bind</groupId>
>>>>>>> + <artifactId>jaxb-api-osgi</artifactId>
>>>>>>> + <version>${jaxb.version}</version>
>>>>>>> + </dependency>
>>>>>>> + <dependency>
>>>>>>> <groupId>org.glassfish.security</groupId>
>>>>>>> <artifactId>webservices.security</artifactId>
>>>>>>> <version>${project.version}</version>
>>>>>>>
>>>>>>>
>>>>>>> Index: webservices/webservices-scripts/pom.xml
>>>>>>> ===================================================================
>>>>>>> --- webservices/webservices-scripts/pom.xml (revision 0)
>>>>>>> +++ webservices/webservices-scripts/pom.xml (revision 0)
>>>>>>> @@ -0,0 +1,70 @@
>>>>>>> +<project xmlns="http://maven.apache.org/POM/4.0.0"
>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>>>>>>> http://maven.apache.org/maven-v4_0_0.xsd">
>>>>>>> +
>>>>>>> + <modelVersion>4.0.0</modelVersion>
>>>>>>> + <parent>
>>>>>>> + <groupId>org.glassfish.webservices</groupId>
>>>>>>> + <artifactId>webservices</artifactId>
>>>>>>> + <version>3.0-SNAPSHOT</version>
>>>>>>> + </parent>
>>>>>>> +
>>>>>>> + <artifactId>webservices-scripts</artifactId>
>>>>>>> + <name>GlassFish webservices scripts</name>
>>>>>>> +
>>>>>>> + <!--
>>>>>>> + The comments below were copied from the
>>>>>>> appclient-scripts module. + They are very helpful so it
>>>>>>> seemed like a good idea to leave them here also.
>>>>>>> + -->
>>>>>>> + <!--
>>>>>>> + This packaging specifies that it's a package that
>>>>>>> contains files to be added to
>>>>>>> + the distribution.
>>>>>>> +
>>>>>>> + In this packaging mode, the build will produce a jar,
>>>>>>> like it normally does for
>>>>>>> + the <packaging>jar</packaging>, but the contents of this
>>>>>>> jar is then extracted
>>>>>>> + when the final GlassFish distribution is assembled. (But
>>>>>>> when this happens,
>>>>>>> + META-INF/** in the jar will be ignored.)
>>>>>>> +
>>>>>>> + For a fragment to be added to the distribution, the
>>>>>>> distribution POM needs
>>>>>>> + to directly or indirectly depend on the fragment module.
>>>>>>> This is normally
>>>>>>> + done by creating a feature-level grouping POM (which
>>>>>>> allows you to bundle multiple
>>>>>>> + modules and treat it as a single dependency - see the
>>>>>>> webtier-all module for example),
>>>>>>> + and have that declare a dependency on the fragment,
>>>>>>> instead of directly
>>>>>>> + modifying the distribution POM.
>>>>>>> +
>>>>>>> + So the idea here is that individual technology area will
>>>>>>> create their own
>>>>>>> + fragments that contain pieces that they need, and when
>>>>>>> the said technology
>>>>>>> + is bundled in GF, the corresponding fragment will be also
>>>>>>> added, thanks to
>>>>>>> + the transitive dependency handling in Maven.
>>>>>>> + -->
>>>>>>> +
>>>>>>> + <packaging>distribution-fragment</packaging>
>>>>>>> +
>>>>>>> +<!--
>>>>>>> +
>>>>>>> + <packaging>pom</packaging>
>>>>>>> +--> <build>
>>>>>>> + <!--
>>>>>>> + In this module, all the files are statically stored
>>>>>>> as-is in the Subversion repository,
>>>>>>> + so the simple copying from src/main/resources to
>>>>>>> target/classes that Maven does by default
>>>>>>> + is suffice.
>>>>>>> +
>>>>>>> + But in more complex scenario, one can use
>>>>>>> maven-antrun-extended-plugin and use a series of Ant tasks
>>>>>>> + to perform processing on resources, such as token
>>>>>>> replacement, file generation, pre-processing, etc.
>>>>>>> +
>>>>>>> + The following section shows how you can do this.
>>>>>>> + -->
>>>>>>> + <plugins>
>>>>>>> + <plugin>
>>>>>>> + <groupId>org.glassfish.build</groupId>
>>>>>>> +
>>>>>>> <artifactId>maven-glassfishbuild-plugin</artifactId>
>>>>>>> + </plugin>
>>>>>>> + </plugins>
>>>>>>> + <extensions>
>>>>>>> + <extension>
>>>>>>> + <groupId>org.glassfish.build</groupId>
>>>>>>> +
>>>>>>> <artifactId>maven-glassfishbuild-extension</artifactId>
>>>>>>> + <version>${project.version}</version>
>>>>>>> + </extension>
>>>>>>> + </extensions>
>>>>>>> + </build>
>>>>>>> +
>>>>>>> +</project>
>>>>>>>
>>>>>>> Index: webservices/jsr109-impl/pom.xml
>>>>>>> ===================================================================
>>>>>>> --- webservices/jsr109-impl/pom.xml (revision 26006)
>>>>>>> +++ webservices/jsr109-impl/pom.xml (working copy)
>>>>>>> @@ -153,6 +153,11 @@
>>>>>>> <version>${jaxb.version}</version>
>>>>>>> </dependency>
>>>>>>> <dependency>
>>>>>>> + <groupId>javax.xml.bind</groupId>
>>>>>>> + <artifactId>jaxb-api-osgi</artifactId>
>>>>>>> + <version>${jaxb.version}</version>
>>>>>>> + </dependency>
>>>>>>> + <dependency>
>>>>>>> <groupId>org.glassfish</groupId>
>>>>>>> <artifactId>javax.ejb</artifactId>
>>>>>>> <version>${project.version}</version>
>>>>>>> @@ -162,6 +167,18 @@
>>>>>>> <artifactId>ejb-internal-api</artifactId>
>>>>>>> <version>${project.version}</version>
>>>>>>> </dependency>
>>>>>>> + <dependency>
>>>>>>> + <groupId>com.sun.grizzly</groupId>
>>>>>>> + <artifactId>grizzly-http-servlet</artifactId>
>>>>>>> + <version>${grizzly.version}</version>
>>>>>>> + </dependency>
>>>>>>> + <dependency>
>>>>>>> + <groupId>com.sun.grizzly</groupId>
>>>>>>> + <artifactId>grizzly-utils</artifactId>
>>>>>>> + <version>${grizzly.version}</version>
>>>>>>> + </dependency>
>>>>>>> +
>>>>>>> +
>>>>>>> </dependencies>
>>>>>>> </project>
>>>>>>> Index: webservices/pom.xml
>>>>>>> ===================================================================
>>>>>>> --- webservices/pom.xml (revision 26006)
>>>>>>> +++ webservices/pom.xml (working copy)
>>>>>>> @@ -50,6 +50,7 @@
>>>>>>> <name>GlassFish Web Services related modules</name>
>>>>>>> <modules>
>>>>>>> <module>jsr109-impl</module>
>>>>>>> + <module>webservices-scripts</module>
>>>>>>> </modules>
>>>>>>> </project>
>>>>>>>
>>>>>>> /Users/bhakti/trialv3/v3 %
>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>>
>>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>>
>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>>
>>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>