You can specify the dependencies on the classpath of a manifest:

    <plugins>
      <plugin>
        <artifactId>maven-jar-plugin</artifactId>
        <configuration>
          <archive>
            <manifest>
              <addClasspath>true</addClasspath>
            </manifest>
          </archive>
        </configuration>
      </plugin>
        <plugin>

See the Jar Plugin documentation:
http://maven.apache.org/plugins/maven-jar-plugin/

Is that what you were after?

Regards,

Richard

-----Original Message-----
From: John Coleman [mailto:[EMAIL PROTECTED] 
Sent: 10 December 2008 11:21
To: Maven Users List
Subject: Dependency version in manifest

Is there a way to inject the dependency version info of a project into
the JARs manifest?

TIA
John

---------------------------------------------------------------------
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