Re: maven enforcer ensure javadoc attached

2020-02-03 Thread Jon Harper
Hi Benjamin, thank you for your answer. But I don't see any option to check that the artifact are attached in the verify plugin. The problem is that the files can be present in the target folder but not attached if you have not run the goal in the same maven invocation as the one doing "install". I

Re: maven enforcer ensure javadoc attached

2020-02-02 Thread Benjamin Marwell
Hi Jon, I think you could use the verifier-plugin for checking file existence. https://maven.apache.org/plugins/maven-verifier-plugin/verify-mojo.html Am So., 2. Feb. 2020 um 17:55 Uhr schrieb Jon Harper : > > Hi list, > > I would like to use maven-enforcer-plugin to ensure that javadocs are > a

maven enforcer ensure javadoc attached

2020-02-02 Thread Jon Harper
Hi list, I would like to use maven-enforcer-plugin to ensure that javadocs are attached in release mode before installing. That's because I use $ mvn package javadoc:aggregate-jar deploy to build, so if someone forgets to call the aggregate-jar goal, the release will be missing the javadoc. I don