You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the Maven plugin and jdeb 1.9, the snapshot version isn't expanded when the name of the file is overriden by specifying the <deb> element in the plugin configuration.
It seems like you're encountering an issue where the snapshot version is not expanded when is specified in your Maven configuration. This could be due to how the element is configured or how the snapshot version is handled.
Here are a few steps you can take to address this:
Check Configuration: Review the configuration of the element in your Maven pom.xml file. Ensure that the version specified in the element includes the snapshot version placeholder ${project.version}. For example:
${project.version}
This ensures that the snapshot version is expanded correctly during the build process.
Check Snapshot Version Handling: Ensure that your Maven project's version is properly configured to include the snapshot version suffix -SNAPSHOT. This suffix is necessary for Maven to recognize the version as a snapshot version. For example:
xml
Copy code
1.0-SNAPSHOT
If your project version is configured correctly, Maven should automatically expand the snapshot version placeholder in the element during the build process.
Update Maven Plugins: Ensure that you're using the latest versions of Maven plugins, especially any plugins related to generating Debian packages (deb).
Debug Output: If the issue persists, enable debug output for Maven (mvn -X) to see more detailed information about the build process. This can help identify any specific issues or errors related to expanding the snapshot version in the element.
Using the Maven plugin and jdeb 1.9, the snapshot version isn't expanded when the name of the file is overriden by specifying the
<deb>
element in the plugin configuration.For example with:
the file generated is
foo_1.0-SNAPSHOT_all.deb
.The text was updated successfully, but these errors were encountered: