OParent children do not find checkstyle

The checkstyle plugin cannot be found by projects inheriting by OParent.
When maven executes the check-license execution, he finds the
org.onap.oparent:checkstyle:jar:1.0.0 as dependency and tries to retreive it.
The repository section doesn't apply to plugin dependencies and so
the org.onap.oparent:checkstyle:jar cannot be found.

By adding it as dependency of the org.onap.oparent:oparent project,
the artifact is downloaded using the project repositories and is already
available when the plugin dependencies are checked.

This might be due to a maven bug.

Change-Id: I9eabea660b5fe8ceacc7299914e64ccccd7c2850
Issue-Id: INT-128
Signed-off-by: Anaël Closson <ac2550@intl.att.com>
1 file changed
tree: b11adb048a4fed1e900120aeabb0b53d4d78feab
  1. checkstyle/
  2. license/
  3. oparent/
  4. oparent-odlparent/
  5. versions/
  6. .gitattributes
  7. .gitignore
  8. .gitreview
  9. LICENSE.txt
  10. pom.xml
  11. README.md
  12. settings.xml
  13. version.properties
README.md

ONAP O-Parent

Description

ONAP O-Parent provides common default settings for all the projects participating in simultaneous release.

  • Isolate all the common external dependencies, default version, dependency management, plugin management, etc.
  • Avoid duplicate/conflicting settings for each project
  • Each project sets its parent to inherit the defaults from ONAP Parent
  • Project level external dependencies and versions can be overridden if necessary

All projects participating in simultaneous release will inherit defaults from O-Parent.