I'm not familiar with the ejb3 plugin - but perhaps because the
dependency is of type par and not 'jar' - maven doesn't add it to the
classpath?

On 11/16/05, Thomas Marek <[EMAIL PROTECTED]> wrote:
> Arik Kfir schrieb:
>
> >Does your ejb3 project has a dependency on the par module?
> >like this:
> ><dependency>
> >  <groupId>myprojecT</...>
> >  <artifactId>myPAR</...>
> >  <version...
> ></dependencty>
> >
> >
> Yes,
>
> Here are the pom's:
>
> <project>
>   <groupId>bla-group</groupId>
>   <artifactId>bla-par</artifactId>
>   <version>1.0.0</version>
>   <packaging>par</packaging>
>   <parent>
>      <groupId>bla-group</groupId>
>      <artifactId>bla</artifactId>
>      <version>1.0.0</version>
>   </parent>
>   <build>
>      <plugins>
>         <plugin>
>            <groupId>org.apache.maven.plugins</groupId>
>            <artifactId>maven-par-plugin</artifactId>
>            <extensions>true</extensions>
>         </plugin>
>      </plugins>
>   </build>
>   <dependencies>
>      <dependency>
>         <groupId>javax.persistence</groupId>
>         <artifactId>ejb</artifactId>
>         <version>3.0-public_review</version>
>         <scope>compile</scope>
>      </dependency>
>   </dependencies>
> </project>
>
> <project>
>   <modelVersion>4.0.0</modelVersion>
>   <groupId>bla-group</groupId>
>   <artifactId>bla-ejb3</artifactId>
>   <version>1.0.0</version>
>   <packaging>ejb3</packaging>
>   <parent>
>      <groupId>bla-group</groupId>
>      <artifactId>bla</artifactId>
>      <version>1.0.0</version>
>   </parent>
>   <build>
>      <plugins>
>         <plugin>
>            <groupId>org.apache.maven.plugins</groupId>
>            <artifactId>maven-ejb3-plugin</artifactId>
>            <extensions>true</extensions>
>         </plugin>
>      </plugins>
>   </build>
>   <dependencies>
>      <dependency>
>         <groupId>javax.ejb</groupId>
>         <artifactId>ejb</artifactId>
>         <version>3.0-public_review</version>
>         <scope>compile</scope>
>      </dependency>
>      <dependency>
>         <groupId>bla-group</groupId>
>         <artifactId>bla-par</artifactId>
>         <version>1.0.0</version>
>         <type>par</type>
>         <scope>compile</scope>
>      </dependency>
>      <dependency>
>         <groupId>log4j</groupId>
>         <artifactId>log4j</artifactId>
>         <version>1.2.12</version>
>         <scope>compile</scope>
>      </dependency>
>   </dependencies>
> </project>
>
> Thanks,
> Thomas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to