I currently have a project that I wish to build with manifest classpath and dependency settings and so I added the following plugin configs to my pom:

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <configuration>
                    <archive>
                        <manifest>
<mainClass>com.williams1000.delicious.Main</mainClass>
                            <addClasspath>true</addClasspath>
                        </manifest>
                    </archive>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-assembly-plugin</artifactId>
                <configuration>
                    <descriptorId>jar-with-dependencies</descriptorId>
                </configuration>
            </plugin>

however when I unpacked the jar file generated by m2 assembly:assembly, my manifest settings haven't been preserved. They are present however in the install jar file. Is this the correct behavior for the assemly plugin?

Thanks
AW

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

Reply via email to