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
When my-mod-a is built the “missing file” i added gets attached; i can find the it in the maven repository.
But when i build my-mod-b it asks me once more to crate a “missing file” for the transtive dependency of my-mod-a which are already fixed and have an artefact deployed for in tge repo.
Can you explain in more details what i have to do for this installed missing file to be used? Can you also confirm that the functionality works.
The text was updated successfully, but these errors were encountered:
the problem is in AddThirdPartyMojo.java if no missing dependencies exist the missing file gets deleted.
If you set the missingFile to an absolute path and you execute a build on your project that consists of several modules and any module does not have any missing dependencies then the file gets deleted and is therefore not reused. The problematic code is this:
`if ( !unsafe && isUseMissingFile() && MapUtils.isEmpty( getUnsafeMappings() ) && getMissingFile().exists() )
{
// there is no missing dependencies, but still a missing file, delete it
getLog().info( "There is no dependency to put in missing file, delete it at " + getMissingFile() );
FileUtil.deleteFile( getMissingFile() );
}`
I have a project set up like this:
When my-mod-a is built the “missing file” i added gets attached; i can find the it in the maven repository.
But when i build my-mod-b it asks me once more to crate a “missing file” for the transtive dependency of my-mod-a which are already fixed and have an artefact deployed for in tge repo.
Can you explain in more details what i have to do for this installed missing file to be used? Can you also confirm that the functionality works.
The text was updated successfully, but these errors were encountered: