Reputation: 99
I am trying the run the example from https://github.com/aegnor/scalapb-maven-example and I am getting the following error.
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:java (generate-scala-protobuf-classes) on project scalapb-maven: Execution generate-scala-protobuf-classes of goal org.codehaus.mojo:exec-maven-plugin:1.5.0:java failed: Plugin org.codehaus.mojo:exec-maven-plugin:1.5.0 or one of its dependencies could not be resolved: Failure to find com.trueaccord.scalapb:scalapbc:jar:0.4.20 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
Upvotes: 0
Views: 432
Reputation: 6582
Please follow the example here https://github.com/thesamet/scalapb-maven-example
Also, you probably want to change 0.4.20 to the latest 0.5.x version (currently 0.5.44)
Upvotes: 0