Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

Revision history [back]

I had a similar problem trying to run the MD-SAL example described in https://wiki.opendaylight.org/view/OpenDaylightController:MD-SAL:StartupProject_Archetype

I got the StringUtils exception when running the "mvn archetype:generate" command shown in the example. I finally got this to work as follows:

  1. delete the entire ~/.m2/repository
  2. delete ~/.m2/settings.xml
  3. run the mvn archetype:generate command (with the arguments listed on the wiki). This now succeeds without problems
  4. create ~/.m2/settings.xml based on the instructions from the "setting up your dev environment" section on the wiki
  5. run "mvn clean install"

From this, I surmise that there might be a discrepancy between the repos in repo.maven.apache.org and nexus.opendaylight.org