A similar issue is found in -
http://www.nabble.com/how-to-set-manifestEntries-with-maven-assembly-plugin--td15584576.html
..You may have to see the suggestions provided .
http://www.thekua.com/atwork/2008/10/maven-assembly-plugin-ignoring-manifestentries/

Thanks
Saritha SV
 <http://maven.apache.org/shared/maven-archiver/index.html>



On Mon, Aug 24, 2009 at 2:57 PM, raghuprasad <[email protected]>wrote:

>
> Hello Experts,
>
> Below is my configuration for maven assembly plugin
> <plugin>
>
>  <artifactId>maven-assembly-plugin</artifactId>
>                                <version>2.1</version>
>                                <configuration>
>
>  <outputDirectory>build/current/bin</outputDirectory>
>                                        <descriptors>
>
>  <descriptor>/sml.xml</descriptor>
>                                        </descriptors>
>                                        <archive>
>                                        <manifestEntries>
>                                                        <Class-Path>. ../
> ../configuration/ ../languages/
> ../images/</Class-Path>
>                                        </manifestEntries>
>                                        <manifest>
>
>  <mainClass>com.sicpa.markii.sml2.SPLApplication</mainClass>
>
>  <packageName>com.sicpa.markii.sml2</packageName>
>
>  <addClasspath>true</addClasspath>
>
>  <classpathPrefix>../lib</classpathPrefix>
>
>  <addExtensions>false</addExtensions>
>                        </manifest>
>
>                        </archive>
>                                        <executions>
>                                                <execution>
>
>  <id>make-assembly</id>
>
>  <phase>package</phase>
>                                                        <goals>
>
>  <goal>single-directory</goal>
>                                                        </goals>
>                                                </execution>
>                                        </executions>
>                                </configuration>
>                        </plugin>
>                        <plugin>
>
>
> Everything is working fine except the entries under Class-Path is not added
> to my manifest file. Please help me to figure out the problem. Any help
> will
> be appreciated.
>
> Thanks,
> Raghu
> --
> View this message in context:
> http://www.nabble.com/Maven-assemply-plug-in-tp25113004p25113004.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to