You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by EJ Ciramella <ej...@upromise.com> on 2007/10/12 19:17:39 UTC

EJB Manifest file creation/update

Is there any way to use the jars listed as dependencies rather than hard
coding a list of jar files?
 
We have something like this:
 
   <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-ejb-plugin</artifactId>
    <version>2.1</version>
    <configuration>
     <generateClient>true</generateClient>
     <archive>
      <manifestEntries>
       <Manifest-Version>1.0</Manifest-Version>
       <Class-Path>
        bcprov-jdk13-119.jar
        crypto-1.0.0.14.jar
        oldSource-56.1-SNAPSHOT.jar
        memberBase-56.1-SNAPSHOT.jar
        lty-model-56.1-SNAPSHOT.jar
        lty-utils-1.0.0.41.jar
        commons-lang-2.2.jar
        accountingWeb-commons-56.1-SNAPSHOT.jar
        rewardEngine-56.1-SNAPSHOT.jar
        xercesImpl-2.8.0.jar
       </Class-Path>
      </manifestEntries>
     </archive>
    </configuration>
   </plugin>
 
Is there no ${somekindaclasspath} option?

RE: EJB Manifest file creation/update

Posted by Jörg Schaible <Jo...@Elsag-Solutions.com>.
EJ Ciramella wrote on Monday, October 15, 2007 4:22 PM:

> Do you have an example of this?

http://maven.apache.org/guides/mini/guide-manifest.html

I thought this pointer was not necessary, since you already configured your manifest ...

- Jörg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: EJB Manifest file creation/update

Posted by EJ Ciramella <ej...@upromise.com>.
Do you have an example of this?



addClassPath ;-)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: EJB Manifest file creation/update

Posted by Jörg Schaible <Jo...@Elsag-Solutions.com>.
EJ Ciramella wrote on Friday, October 12, 2007 7:18 PM:

> Is there any way to use the jars listed as dependencies rather than
> hard coding a list of jar files?
> 
> We have something like this:
> 
>    <plugin>
>     <groupId>org.apache.maven.plugins</groupId>
>     <artifactId>maven-ejb-plugin</artifactId>
>     <version>2.1</version>
>     <configuration>
>      <generateClient>true</generateClient>
>      <archive>
>       <manifestEntries>
>        <Manifest-Version>1.0</Manifest-Version>
>        <Class-Path>
>         bcprov-jdk13-119.jar
>         crypto-1.0.0.14.jar
>         oldSource-56.1-SNAPSHOT.jar
>         memberBase-56.1-SNAPSHOT.jar
>         lty-model-56.1-SNAPSHOT.jar
>         lty-utils-1.0.0.41.jar
>         commons-lang-2.2.jar
>         accountingWeb-commons-56.1-SNAPSHOT.jar
>         rewardEngine-56.1-SNAPSHOT.jar
>         xercesImpl-2.8.0.jar
>        </Class-Path>
>       </manifestEntries>
>      </archive>
>     </configuration>
>    </plugin>
> 
> Is there no ${somekindaclasspath} option?

addClassPath ;-)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org