Hi,

I am having a problem where a dependent jar(the jar is called nlsorm
and is in the ipeservice jar) is being added to the manifest classpath
of one ejb(the mdb in this case) and not the other...the ejb in this
case: I am a bit puzzled as I have the ejb plugin configured the same
way in both.. I have enclosed the  pom for ipeservice, the two ejbs
and the pom for the ear:

The ipeservice jar with nlsorm:

<project>
        <modelVersion>4.0.0</modelVersion>
        <parent>
                <groupId>com.nls.ca.ast</groupId>
                <version>1.0-SNAPSHOT</version>
                <artifactId>ipe</artifactId>
        </parent>
        <artifactId>ipeservice</artifactId>

        <name>IPE Util Jar</name>
        <dependencies>

                <!-- New nls -->

                <dependency>
                        <groupId>com.nls.zion.comp</groupId>
                        <artifactId>processlogging</artifactId>
                </dependency>
                <dependency>
                        <groupId>utilities</groupId>
                        <artifactId>utilities</artifactId>
                </dependency>
                <dependency>
                        <groupId>com.nls.ca.ast</groupId>
                        <artifactId>nlsorm</artifactId>
                        <version>${version}</version>
                </dependency>
                <dependency>
                        <groupId>com.nls.ca.ast</groupId>
                        <artifactId>prfservice</artifactId>
                        <version>${version}</version>
                </dependency>


        </dependencies>

        <build>
                <sourceDirectory>src</sourceDirectory>
                <testSourceDirectory>srcTest</testSourceDirectory>
                <testResources>
                        <testResource>
                                <directory>../IpeResources/common</directory>
                        </testResource>
                        <testResource>
                                <directory>../IpeResources/test</directory>
                        </testResource>
                        <testResource>
                                <directory>../../../Resources/common</directory>
                        </testResource>
                        <testResource>
                                <directory>../../../Resources/test</directory>
                        </testResource>
                </testResources>
        </build>

</project>


-----------------------------------------------------------------------------------
The mdb ejb:
<project>
        <modelVersion>4.0.0</modelVersion>
        <parent>
                <groupId>com.nls.ca.ast</groupId>
                <version>1.0-SNAPSHOT</version>
                <artifactId>ipe</artifactId>
        </parent>
        <artifactId>ipe-mdb</artifactId>
        <name>IPE MDB</name>
        <packaging>ejb</packaging>

        <dependencies>
                

                <!-- New NLS -->

                <dependency>
                        <groupId>com.nls.zion.comp</groupId>
                        <artifactId>processlogging</artifactId>
                </dependency>
                <dependency>
                        <groupId>utilities</groupId>
                        <artifactId>utilities</artifactId>
                </dependency>
                <dependency>
                        <groupId>${groupId}</groupId>
                        <artifactId>ipeservice</artifactId>
                        <version>${version}</version>
                        <scope>compile</scope>
                </dependency>
        </dependencies>

        <build>
                <sourceDirectory>src</sourceDirectory>
                <testSourceDirectory>srcTest</testSourceDirectory>
                <resources>
                        <resource>
                                <directory>Resources</directory>
                        </resource>
                </resources>
                <plugins>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-ejb-plugin</artifactId>
                                <configuration>
                                        <generateClient>false</generateClient>
                                        <archive>
                                                <manifest>
                                                        
<addClasspath>true</addClasspath>
                                                        <addExtensions/>
                                                        <classpathPrefix/>
                                                </manifest>
                                                <manifestEntries>
                                                        <mode>development</mode>
                                                        <url>whatever</url>
                                                </manifestEntries>
                                        </archive>
                                </configuration>
                        </plugin>
                </plugins>
        </build>
</project>

---------------------------------------------------------------
The ejb:


<project>
        <modelVersion>4.0.0</modelVersion>
        <parent>
                <groupId>com.nls.ca.ast</groupId>
                <version>1.0-SNAPSHOT</version>
                <artifactId>ipe</artifactId>
        </parent>
        <artifactId>ipe-ejb</artifactId>
        <name>IPE EJB</name>
        <packaging>ejb</packaging>

        <dependencies>

                
                <!-- New nls -->

                <dependency>
                        <groupId>com.nls.zion.comp</groupId>
                        <artifactId>processlogging</artifactId>
                </dependency>
                <dependency>
                        <groupId>utilities</groupId>
                        <artifactId>utilities</artifactId>
                </dependency>
                <dependency>
                        <groupId>${groupId}</groupId>
                        <artifactId>ipeservice</artifactId>
                        <version>${version}</version>
                        <scope>compile</scope>
                </dependency>

        </dependencies>

        <build>
                <sourceDirectory>src</sourceDirectory>
                <testSourceDirectory>srcTest</testSourceDirectory>
                <resources>
                        <resource>
                                <directory>Resources</directory>
                        </resource>
                </resources>
                <plugins>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-ejb-plugin</artifactId>
                                <configuration>
                                        <generateClient>false</generateClient>
                                        <archive>
                                                <manifest>
                                                        
<addClasspath>true</addClasspath>
                                                        <addExtensions/>
                                                        <classpathPrefix/>
                                                </manifest>
                                                <manifestEntries>
                                                        <mode>development</mode>
                                                        <url>whatever</url>
                                                </manifestEntries>
                                        </archive>
                                </configuration>
                        </plugin>
                </plugins>
        </build>
</project>

----------------------------------------------------------------------
The ear:

<project>
 <modelVersion>4.0.0.0</modelVersion>
 <parent>
   <groupId>com.nls.ca.ast</groupId>
   <version>1.0-SNAPSHOT</version>
   <artifactId>ipe</artifactId>
 </parent>
 <artifactId>ipe-ear</artifactId>

 <name>IR IPE Enterprise Archive :: EAR</name>
 <packaging>ear</packaging>
 <description>IR IPE EAR</description>
 <dependencies>
   <!-- New nls -->

   <dependency>
     <groupId>${groupId}</groupId>
     <artifactId>ipe-ejb</artifactId>
     <version>${version}</version>
     <type>ejb</type>
   </dependency>
   <dependency>
     <groupId>${groupId}</groupId>
     <artifactId>ipe-mdb</artifactId>
     <version>${version}</version>
     <type>ejb</type>
   </dependency>
   <dependency>
     <groupId>${groupId}</groupId>
     <artifactId>ipeservice</artifactId>
     <version>${version}</version>
   </dependency>
   <dependency>
     <groupId>${groupId}</groupId>
     <artifactId>ipe-war</artifactId>
     <version>${version}</version>
     <type>war</type>
   </dependency>

 </dependencies>
 <build>

   <sourceDirectory>src</sourceDirectory>
   <testSourceDirectory>srcTest</testSourceDirectory>

   <plugins>
     <plugin>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-ear-plugin</artifactId>
       <configuration>
         <displayName>IPE Service</displayName>
         <description>IR IPE Service</description>
         <generateApplicationXml>true</generateApplicationXml>
         <modules>
           <ejbModule>
             <groupId>${groupId}</groupId>
             <artifactId>ipe-ejb</artifactId>
             <bundleFileName>ipe-ejb.jar</bundleFileName>
           </ejbModule>
           <ejbModule>
             <groupId>${groupId}</groupId>
             <artifactId>ipe-mdb</artifactId>
             <bundleFileName>ipe-mdb.jar</bundleFileName>
           </ejbModule>
           <webModule>
             <groupId>${groupId}</groupId>
             <artifactId>ipe-war</artifactId>
             <bundleFileName>ipe-war.war</bundleFileName>
             <contextRoot>/ipe</contextRoot>
           </webModule>
         </modules>
       </configuration>
     </plugin>

   </plugins>
 </build>
</project>



Thanks, Larry

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to