Is installing the ejb3 and war files into your own local repository
such a big deal?? What's the harm/negative of this?? "i don't want X"
!= "can't allow X for specific reason Y and Z"

I guess I'm just too pragmatic for this "problem"... The "solution" is
obvious, install locally, and proceed to the next step...

Wayne


On 3/10/06, Nidhi Tuli <[EMAIL PROTECTED]> wrote:
> The problem in this approach is that the ejb3 files and war files I
> created needs to be in repository. I don't want to do that because we
> will not need these files individually as par of any deployable.
>
> /Nidhi
>
> -----Original Message-----
> From: Marco Mistroni [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 10, 2006 3:10 AM
> To: Maven Users List
> Subject: Re: How do I include my ejb3 and par files in ear for Maven2
>
> Hello,
>  here's y pom.xml for creating an ear...  give it a try if it helps
>
> <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>root</groupId>
>        <artifactId>project</artifactId>
>        <version>1.0</version>
>    </parent>
>    <modelVersion>4.0.0</modelVersion>
>    <artifactId>ejb3-deploy</artifactId>
>    <packaging>ear</packaging>
>    <build>
>        <plugins>
>            <plugin>
>                <groupId>org.apache.maven.plugins</groupId>
>                <artifactId>maven-ear-plugin</artifactId>
>                <configuration>
>                    <modules>
>                        <ejbModule>
>                            <groupId>root</groupId>
>                            <artifactId>ejbs</artifactId>
>                            <bundleFileName>
>                                ejb3-app-1.0-SNAPSHOT.par
>                            </bundleFileName>
>                        </ejbModule>
>                        <webModule>
>                            <groupId>root</groupId>
>                            <artifactId>web</artifactId>
>                            <bundleFileName>
>                                ejb3-web.war
>                            </bundleFileName>
>                        </webModule>
>                            <javaModule>
>                                   <groupId>root</groupId>
>                                   <artifactId>shared</artifactId>
>                                   <bundleFileName>sharedlib.jar
> </bundleFileName>
>                             </javaModule>
>
>                    </modules>
>                </configuration>
>            </plugin>
>        </plugins>
>    </build>
>
>    <dependencies>
>         <dependency>
>            <groupId>root</groupId>
>        <artifactId>ejbs</artifactId>
>        <version>1.0</version>
>        <type>ejb</type>
>       </dependency>
>         <dependency>
>            <groupId>root</groupId>
>        <artifactId>shared</artifactId>
>        <version>1.0</version>
>        <type>jar</type>
>       </dependency>
>       <dependency>
>            <groupId>root</groupId>
>        <artifactId>web</artifactId>
>        <version>1.0</version>
>        <type>war</type>
>       </dependency>
>     </dependencies>
> </project>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to