Creating a Websphere 6.1 compatible EAR file using Maven

I searched around for a while and could not find a clear explanation for this.

We use the Websphere server to run a web application developed using Rational Software Architect 7. This application consists of a military project and 4 jar projects. To make the last ear file, there is a sixth project that contains additional files needed by IBM to deploy it.

Currently, we must use RSA to generate the ear file. I would like to use Maven for this.

Apparently, previous attempts to use the maven-ear plugin created damaged ears. It would seem that they lack the additional XML files needed by IBM.

I found the maven was-6 plugin, but it does not seem to be able to generate the file, only to install it on websphere. I could not find a clear description of what he was doing.

Does anyone have any tips? Link to the article?

Many thanks!

+6
java maven-2 websphere rational-rsa ear
source share
1 answer

Use the maven-ear-plugin to generate your ear, but include additional ibm configuration files as part of the earSourceDirectory property of this plugin.

The plugin will generate a common application.xml file and an ibm-specific ibm-application-bnd.xmi file, and the contents of the ibmconfig directory can also be loaded by a plugin that is simply not generated.

+6
source share

All Articles