Reputation: 299
I'm trying to deploy thanks to maven, the result of the izpack packaging.
I have two projects. The parent, that gathers plugins configuration :
org.codehaus.izpack:izpack-maven-plugin:1.0-alpha-5
installerFile = ${basedir}/target/${project.build.finalName}
izpackBasedir = ${basedir}/target/izpack
org.apache.maven.plugins:maven-deploy-plugin
file = ${basedir}/target/${project.build.finalName}
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
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