dev@glassfish.java.net

Re: Review for changes to EJB-Connector pom.xml file

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Wed, 22 Apr 2009 09:58:04 -0700

One more comment on this pom:

do we need to keep some of the resources under src/main/java? If they all are
under src/main/resources, pom doesn't need to list them explicitly.

thanks,
-marina

Nachiappan Veerappan Nachiappan wrote:
> Hello,
>
> This is change which i am planning to make to ejb-connector pom.xml
> file. In the last email i didn't not add the resources elements. Sorry
> about that.
>
> Thanks,
> Nachiappan
>
> nachi:ejb-connector $ svn diff pom.xml
> Index: pom.xml
> ===================================================================
> --- pom.xml (revision 26497)
> +++ pom.xml (working copy)
> @@ -58,7 +58,24 @@
> <role>lead</role>
> </roles>
> </developer>
> - </developers> + </developers>
> + <build>
> + <resources>
> + <resource>
> + <directory>src/main/java</directory>
> + <includes>
> + <include>**/*.properties</include>
> + <include>**/*.xsd</include>
> + </includes>
> + </resource>
> + <resource>
> + <directory>src/main/resources</directory>
> + <includes>
> + <include>**/*.1</include>
> + </includes>
> + </resource>
> + </resources>
> + </build> <dependencies>
> <dependency>
> <groupId>org.glassfish</groupId>
> @@ -79,5 +96,22 @@
> <groupId>com.sun.enterprise</groupId>
> <artifactId>hk2</artifactId>
> </dependency>
> + <dependency>
> + <groupId>org.glassfish.core</groupId>
> + <artifactId>kernel</artifactId>
> + <version>${project.version}</version>
> + <scope>test</scope>
> + </dependency>
> + <dependency>
> + <groupId>org.glassfish.tests</groupId>
> + <artifactId>utils</artifactId>
> + <version>${project.version}</version>
> + <scope>test</scope>
> + </dependency>
> + <dependency>
> + <groupId>org.glassfish.ejb</groupId>
> + <artifactId>ejb-internal-api</artifactId>
> + <version>${project.version}</version>
> + </dependency>
> </dependencies>
> </project>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>