cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
dayanandchalla
Level 2

How to build installer from iap.xml file using maven?

Hi Guys,

We have created an iap.xml file for our product and we are using maven to generate build.

could please let me know if there is a way to generate installer using maven from iap file.

Thanks
Daya
Labels (1)
0 Kudos
(2) Replies
sturge
Level 6

You can't build the installer directly with Maven, however, you can run ant within maven to build your installer with maven-antrun-plugin



org.apache.maven.plugins
maven-antrun-plugin
1.7


build installer
none

run




classpathref="maven.plugin.classpath" />








org.apache.ant
ant-commons-net
1.8.2


ant-contrib
ant-contrib
1.0b3


ant
ant





0 Kudos
kpriest
Level 2

Or just use the exec-maven-plugin



org.codehaus.mojo
exec-maven-plugin


Combined
package

exec


${project.build.directory}
"PATH-TO-IA"/build.exe

Combined-x64.iap_xml
-d
${project.build.directory}




0 Kudos