The issue of maven Multi-module jar

it is no problem for ordinary jar packages to be uploaded to the deploy repository, but if the maven project is managed by multiple sub-projects, then the jar package generated by the sub-project is uploaded by the above method, and even if it is successful, the relying party cannot download it.
always reports that parent:pom cannot find it. Take a look at the central maven warehouse and find that there is no relevant information about parent.
how should I publish the pom of a parent project?

Mar.22,2021

has encountered this problem.
but I don't know that much about maven, so let's talk about our solution.

  1. completely separate the subproject, that is, remove parent
  2. temporarily remove the modules from the parent and then deploy it. (otherwise, when deploy parent project, all child projects will also be deploy~)

clipboard.png


requires deploy, to be executed in the parent project instead of deploy in each module.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3494c-2b770.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3494c-2b770.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?