Wilhelm Peraud
Wilhelm Peraud

Reputation: 299

How to deploy the result of a goal izpack:izpack

I'm trying to deploy thanks to maven, the result of the izpack packaging.

I have two projects. The parent, that gathers plugins configuration :

And I have a project another project, which use the project above as a parent. This project's pom make the izpack:izpack goal "single" during the package phase.

Deploy plugin fails because the ${basedir}/target/${project.build.finalName} is not found.

When I look into the target dir, the ${project.build.finalName}.jar file is there. When I look into my local repository, into the [groupId dir]/[artefactId dir]/[version dir], the izpack packaged jar file id there and works perfectly. So I think the install phase works correctly.

The only issue is during the deploy phase.

Any idea ?

Thank you.

Upvotes: 0

Views: 232

Answers (1)

maba
maba

Reputation: 48065

file = ${basedir}/target/${project.build.finalName}

should probably point to a file and which it does not. Append .jar and it will find the file.

file = ${basedir}/target/${project.build.finalName}.jar

Upvotes: 0

Related Questions