slachiewicz commented on issue #138:
URL: 
https://github.com/apache/maven-resolver-ant-tasks/issues/138#issuecomment-3499594431

   in file `AbstractDistTask.java`
   
   ```
               final Model model = getPom().getModel(this);
   ```
   change to ->
   ```
               final Pom pom = getPom();
               if (pom == null) {
                   throw new BuildException("You must specify the <pom 
file=\"...\"> element" + " to denote the descriptor for the artifacts"); -- 
same as in line 102
               }
               final Model model = pom.getModel(this);
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to