Hi,
The DependencyHelper is able to deal with Maven/Aether dependency backend.
Upgrading will allow to use Maven dependency directly.
Regards
JB
On 04/12/2017 08:20 PM, kemitix wrote:
Hi Jean-Baptiste,
Great. Enforcer has requireMavenVersion 3.3.9,4 already so I don't think
it's caring about what dependencies are used within the module. Tooling is
currently using Maven 3.0.3.
Is there a reason to keep the Dependency30Helper class in tooling.utils?
Once the tooling module is upgraded to not use Maven 3.0 is there a reason
why would this class needs to stay? Enforcer appears to already block use by
3.0 on the command line. I've not use Enforcer before, so I may be
misunderstanding what it does.
Dependency31Helper can then be rewritten to use the Maven API directly, as
noted in the javadoc.
If there's no reason to keep the 3.0 helper, I'll delete it rather than
rewriting it to use reflection.
... then I can get back to writing tests for AssemblyMojo. :)
Regard
Paul Campbell
--
View this message in context:
http://karaf.922171.n3.nabble.com/Unit-tests-and-refactoring-karaf-maven-plugin-AssemblyMojo-tp4050098p4050111.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com