[ https://issues.apache.org/jira/browse/MWAR-353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16973544#comment-16973544 ]
Karl Heinz Marbaise commented on MWAR-353: ------------------------------------------ [~jbochenski] Have you taking a look into the documentation of the [exploded goal|https://maven.apache.org/plugins/maven-war-plugin/exploded-mojo.html] given an example what kind of things can be configured take a look here: {code:xml} <project> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>3.2.3</version> <configuration> <archive> <addMavenDescriptor/> <compress/> <forced/> <index/> <pomPropertiesFile/> <manifestFile/> <manifest> <addClasspath/> <addDefaultEntries/> <addDefaultImplementationEntries/> <addDefaultSpecificationEntries/> <addBuildEnvironmentEntries/> <addExtensions/> <classpathLayoutType/> <classpathPrefix/> <customClasspathLayout/> <mainClass/> <packageName/> <useUniqueVersions/> </manifest> <manifestEntries> <key>value</key> </manifestEntries> <manifestSections> <manifestSection> <name/> <manifestEntries> <key>value</key> </manifestEntries> <manifestSection/> </manifestSections> </archive> </configuration> </plugin> </plugins> </build> </project> {code} Also see for details https://maven.apache.org/shared/maven-archiver/index.html Will that help? > Manifest still not written to exploded location > ----------------------------------------------- > > Key: MWAR-353 > URL: https://issues.apache.org/jira/browse/MWAR-353 > Project: Maven WAR Plugin > Issue Type: Bug > Components: manifest > Affects Versions: 2.6 > Reporter: Jakub Bochenski > Priority: Major > Fix For: 2.6 > > > If I have no manifest files I don't get anything in the exploded location. > If I put a {{MANIFEST.MF}} under webapp folder's {{META-INF/MANIFEST.MF}} I > just get the static file. > If I set {{archive/manifestFile}} to point at some file I just get the static > file. > Workaround: change > {code:xml} > <goals> > <goal>exploded</goal> > </goals> > {code} > to > {code:xml} > <goals> > <goal>manifest</goal> > <goal>exploded</goal> > </goals> > {code} > > and add the generated files to SCM ignore. -- This message was sent by Atlassian Jira (v8.3.4#803005)