Hello Maven gurus and users, I have a pom.xml to generate an executable 
jar-with-dependencies. The pom.xml creates everything expected except the 
MANIFEST.MF with Main-class: defined. The executable jar will work but I have 
to unjar the jar to a temporary directory, edit the MANIFEST.MF for the 
Main-class: definition and then re-jar. The <build></build> element content 
follows along with the MANIFEST.MF it generates. Any and all ideas and 
suggestions welcomed. TIA and please advise, David.

**********************************
Expected MANIFEST.MF
**********************************

Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
Created-By: 1.5.0_15-b04 (Sun Microsystems Inc.)
Main-class: com.fds.ar.apps.util.fileupload.XSFileUploadApp.XSFileUploadApp

*********************************
Generated MANIFEST.MF
*********************************

Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
Created-By: 1.5.0_15-b04 (Sun Microsystems Inc.)


********************************
pom.xml <build></build>
********************************

<build>
        <plugins>
            <plugin>
                <artifactId>maven-assembly-plugin</artifactId>
                <configuration>
                    <descriptorRefs>
                        <descriptorRef>jar-with-dependencies</descriptorRef>
                    </descriptorRefs>
                    <manifest>
                        
<mainClass>com.fds.ar.apps.util.fileupload.XSFileUploadApp.XSFileUploadApp</mainClass>
                        
<packageName>com.fds.ar.apps.util.fileupload.XSFileUploadApp</packageName>
                        <addClasspath>true</addClasspath>
                    </manifest>
                </configuration>
            </plugin>
        </plugins>
    </build>


Yet some, not wise, go to the other side of the globe, to barbarous and 
unhealthy regions, and devote ten or twenty years, in that they may live,-that 
is, keep comfortably warm,- and die in New England at last. 

Henry David Thoreau - Walden - 1845

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

Reply via email to