saeg / jaguar2

🐆
Eclipse Public License 1.0
3 stars 1 forks source link

Move Maven required config for deploy to Jaguar2 Build #84

Closed andrioli closed 11 months ago

andrioli commented 11 months ago

Actually, I was trying to deploy v0.0.2 but got one error:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:3.1.1:deploy (default-deploy) on project jaguar2-build: Deployment failed: repository element was not specified in the POM inside distributionManagement element or in -DaltDeploymentRepository=id::url parameter -> [Help 1]

That is obvious.

Note that we want to deploy jaguar2-build (#82) but this module does not inherit Jaguar2 Parent (jaguar2-parent) that includes all required configurations to deploy on Maven Central. That's why we are moving all Maven required configs for deploy from Jaguar2 Parent to Jaguar2 Build.

Maybe good idea to add deploy stage on CI (even for snapshot only) so we will caught this kind of problems during development and not during the release.