Wednesday, August 12, 2009

WAS tip: Application build level

If you want WebSphere to display "Application build level" for your application, your EAR Manifest has to contain "Implementation-version".

For Maven to add this automatically, add this to your EAR pom:

<project>

    ...

    <build>
    <plugins>
    <plugin>
        <artifactId>maven-ear-plugin</artifactId>
        <configuration>
            <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
         </configuration>
    </plugin>
    </plugins>
    </build>

</project>