Released binaries do not contain generated MANIFEST.MF

Bug #827358 reported by Oliver Gierke on 2011-08-16
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Querydsl
Fix Released
Undecided
Unassigned

Bug Description

OSGi manifest creation was marked as released with 2.2.0 (see 779743). Unfortunately the binaries in Maven repository do not contain the generated manifests. I quickly tried building querydsl-core from current master and the file gets generated but it seems that due to the redeclaration of the Maven JAR plugin inside each Maven module the <useExistingManifest /> config flag gets overridden so that the generated file is not included in the package phase.

I just simplified the maven-jar-plugin config in querydsl-root/pom.xml :

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <configuration>
          <useDefaultManifestFile>true</useDefaultManifestFile>
        </configuration>
      </plugin>

Now the configuration is applied to every execution of the plugin.

Changed in querydsl:
status: New → In Progress
Changed in querydsl:
status: In Progress → Fix Committed

Released in 2.2.2

Changed in querydsl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers