You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Marek Novotný <ho...@gmail.com> on 2018/06/26 17:21:32 UTC

maven-archetype extension produces jar without Manifest.mf

Hi,

 looking at current maven-archetype extension it doesn't extends fully
the maven-jar-plugin as it cannot produce or setup to include a
Manifest.mf file into resulting archetype jar.

Is that intention, omission or I just wasn't able to configure it properly?

Any help is welcome.

Ps. I generated as tryout maven-archetype-quickstart and tried to add
into plugin configuration the following:
	<plugin>
          <artifactId>maven-archetype-plugin</artifactId>
          <version>3.0.1</version>
          <configuration>
            <archive>
              <addMavenDescriptor/>
              <manifest>
                <addDefaultImplementationEntries/>
                <addDefaultSpecificationEntries/>
              </manifest>
            </archive>
          </configuration>
        </plugin>


-- 
Marek Novotny