mulesoft-labs / raml-jaxrs-codegen

Tools to enable RAML-first development in JAX-RS projects
Other
40 stars 44 forks source link

Gradle plugin build deploy/upload #44

Open marstein opened 8 years ago

marstein commented 8 years ago

Since no 1.3.5 version or snapshot is available I tried to deploy to my local repo. I changed all the snapshot repos to my own. When I do a mvn deploy the deployed raml-gradle-plugin-1.3.5-SNAPSHOT.jar (from the raml-for-jax-rs/raml-to-jaxrs/gradle-plugin/targetdirectory) does not contain the .class files (e.g. CodeGeneratorTask). The artifacts downloaded from my local nexus repo fail with a ClassNotFoundException.

When I run the gradle upload task the jar is properly generated but the upload fails:

* What went wrong:
Execution failed for task :uploadArchives.
> Could not publish configuration 'archives'
   > org.codehaus.plexus.PlexusContainerException: Cycle detected in component graph in the  system: 

How do I properly deploy?