Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

JAX-RS to RAML via command line issue #143

Closed
Pranav794 opened this issue Oct 23, 2015 · 1 comment
Closed

JAX-RS to RAML via command line issue #143

Pranav794 opened this issue Oct 23, 2015 · 1 comment

Comments

@Pranav794
Copy link

Here's my situation:

I've tried the Eclipse plugin to generate my RAML files. Works flawlessly which is great.
I want to do this via command line.
I followed the instructions on the doc. I've downloaded the jax-rs-to-raml.jar. which is apparently all I need to use the tool. The problem is it cannot find the -processor :
'com.mulesoft.jaxrs.raml.annotation.model.apt.RAMLAnnotationProcessor'
In the instructions, it tells us to use this processor.

NOTE: I've also tried installing it via mvn. Using these steps:

  • Go to the com.mulesoft.jaxrs.raml.generator folder.
  • Run mvn clean package install
  • Go to the com.mulesoft.jaxrs.raml.generator.annotations/target folder where you will find the generated jar

After running mvn clean package install, build is successful however, there's no target folder in com.mulesoft.jaxrs.raml.generator.annotations.

Feedback is welcome.

@Pranav794 Pranav794 changed the title JAX-RS to RAM via command line issue JAX-RS to RAML via command line issue Oct 23, 2015
@alexanderosipov
Copy link
Contributor

Please execute mvn clean assembly:assembly -DdescriptorId=jar-with-dependencies

This will create com.mulesoft.jaxrs.raml.generator.annotations-1.3.5-SNAPSHOT-jar-with-dependencies.jar in jaxrs-to-raml/com.mulesoft.jaxrs.raml.generator.annotations/target directory

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants