dev@glassfish.java.net

Re: please review pom.xml changes for JSR 77 module

From: Lloyd Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Thu, 09 Apr 2009 10:29:58 -0700

Sahoo,

Thanks. Like this?


<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
">
     <parent>
         <groupId>org.glassfish</groupId>
         <artifactId>api-pom</artifactId>
         <version>3.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
     <artifactId>jsr77-mejb</artifactId>
     <packaging>jar</packaging>
     <name>Java EE Management JSR 77 MEJB</name>

     <developers>
         <developer>
             <id>llc</id>
             <name>Lloyd Chambers</name>
             <url>http://blogs.sun.com/lchambers</url>
             <organization>Sun Microsystems, Inc.</organization>
             <roles>
                 <role>lead</role>
                 <role>developer</role>
             </roles>
         </developer>
     </developers>

     <dependencies>

         <dependency>
             <groupId>org.glassfish.common</groupId>
             <artifactId>jsr77</artifactId>
             <version>${project.version}</version>
         </dependency>

         <dependency>
             <groupId>org.glassfish.common</groupId>
             <artifactId>amx-core</artifactId>
             <version>${project.version}</version>
         </dependency>

         <dependency>
             <groupId>org.glassfish</groupId>
             <artifactId>javax.ejb</artifactId>
             <version>${project.version}</version>
             <!-- Don't set scope as provided. See issue #5992 -->
         </dependency>

     </dependencies>
</project>



On Apr 9, 2009, at 10:22 AM, Sahoo wrote:

> Perhaps I was not clear. You also need to set the parent as
> org.glassfish:api-pom:3.0-SNAPSHOT which is what all other javax
> bundles have so that necessary Java package version information can
> appear in the final jar. Take a look at v3/javaee-api/api-pom/
> pom.xml for more details.
>
> Thanks,
> Sahoo
>
> Lloyd Chambers wrote:
>> Revised as per your request:
>>
>>
>> <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
>> ">
>> <parent>
>> <groupId>org.glassfish.common</groupId>
>> <artifactId>common</artifactId>
>> <version>3.0-SNAPSHOT</version>
>> </parent>
>> <modelVersion>4.0.0</modelVersion>
>> <artifactId>jsr77</artifactId>
>> <packaging>jar</packaging>
>> <properties>
>> <extension.name>javax.management.j2ee</extension.name>
>> <spec.version>1.1</spec.version>
>> </properties>
>> <name>${extension.name} API v.${spec.version}</name>
>> <url>http://jcp.org/en/jsr/detail?id=77</url>
>>
>> <developers>
>> <developer>
>> <id>llc</id>
>> <name>Lloyd Chambers</name>
>> <url>http://blogs.sun.com/lchambers</url>
>> <organization>Sun Microsystems, Inc.</organization>
>> <roles>
>> <role>lead</role>
>> <role>developer</role>
>> </roles>
>> </developer>
>> </developers>
>>
>> <dependencies>
>>
>> <dependency>
>> <groupId>org.glassfish.common</groupId>
>> <artifactId>stats77</artifactId>
>> <version>${project.version}</version>
>> </dependency>
>> <dependency>
>> <groupId>org.glassfish</groupId>
>> <artifactId>javax.ejb</artifactId>
>> <version>${project.version}</version>
>> <!-- Don't set scope as provided. See issue #5992 -->
>> </dependency>
>> </dependencies>
>> </project>
>>
>>
>>
>>
>> On Apr 8, 2009, at 12:05 AM, Sahoo wrote:
>>
>>> Lloyd,
>>>
>>> Can you please change the pom.xml to follow the pattern used in
>>> transaction/javax.transaction/pom.xml?
>>>
>>> Thanks,
>>> Sahoo
>>>
>>> Lloyd Chambers wrote:
>>>> Jerome/Sahoo/Jane,
>>>>
>>>> Please review. This is to check in the JSR 77 MEBJ/Statistics
>>>> packages javax.management.j2ee
>>>>
>>>> The new module name is common/jsr77. Of course, common/pom.xml
>>>> would have a line:
>>>>
>>>> <module>jsr77</module>
>>>>
>>>>
>>>> <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
>>>> ">
>>>> <parent>
>>>> <groupId>org.glassfish.common</groupId>
>>>> <artifactId>common</artifactId>
>>>> <version>3.0-SNAPSHOT</version>
>>>> </parent>
>>>> <modelVersion>4.0.0</modelVersion>
>>>> <artifactId>jsr77</artifactId>
>>>> <packaging>hk2-jar</packaging>
>>>> <name>Java EE Management Interfaces (JSR 77)</name>
>>>>
>>>> <developers>
>>>> <developer>
>>>> <id>llc</id>
>>>> <name>Lloyd Chambers</name>
>>>> <url>http://blogs.sun.com/lchambers</url>
>>>> <organization>Sun Microsystems, Inc.</organization>
>>>> <roles>
>>>> <role>lead</role>
>>>> <role>developer</role>
>>>> </roles>
>>>> </developer>
>>>> </developers>
>>>>
>>>> <dependencies>
>>>>
>>>> <dependency>
>>>> <groupId>org.glassfish</groupId>
>>>> <artifactId>javax.ejb</artifactId>
>>>> <version>${project.version}</version>
>>>> <!-- Don't set scope as provided. See issue #5992 -->
>>>> </dependency>
>>>>
>>>> </dependencies>
>>>> </project>
>>>>
>>>>
>>>>
>>>> Lloyd
>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net <mailto:dev-unsubscribe_at_glassfish.dev.java.net
>>>> >
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net <mailto:dev-help_at_glassfish.dev.java.net
>>>> >
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net <mailto:dev-unsubscribe_at_glassfish.dev.java.net
>>> >
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net <mailto:dev-help_at_glassfish.dev.java.net
>>> >
>>>
>>
>> Lloyd Chambers
>> lloyd.chambers_at_sun.com <mailto:lloyd.chambers_at_sun.com>
>> GlassFish Team
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>

Lloyd Chambers
lloyd.chambers_at_sun.com
GlassFish Team