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

Can not Generate Types (Models) for Jackson1 #332

@mikkoi

Description

@mikkoi

I try to generate Jackson 1 (Codehaus) annotations. Unfortunately Jackson 2 is not an option. But I get Jackson 2 with the following configuration. Is this a bug?
(And the optiosn do not seem to work either!)

		<plugin>
			<groupId>org.raml.jaxrs</groupId>
			<artifactId>raml-to-jaxrs-maven-plugin</artifactId>
			<version>2.1.1</version>
			<dependencies>
			</dependencies>
			<configuration>
				<ramlFile>${project.basedir}/src/main/raml/api.raml</ramlFile>
				<removeOldOutput>true</removeOldOutput>
				<resourcePackage>***.resources</resourcePackage>
				<modelPackage>***.json</modelPackage>
				<supportPackage>***.resources.support</supportPackage>
				<jsonMapper>jackson1</jsonMapper>
				<jsonMapperConfiguration> 
					<includeHashcodeAndEquals>true</includeHashcodeAndEquals> 
					<IncludeJsr303Annotations>true</IncludeJsr303Annotations> 
					<includeToString>true</includeToString> 
				</jsonMapperConfiguration> 
				<generateTypesWith> 
					<value>jackson</value> 
					<value>jsr303</value> 
				</generateTypesWith> 
			</configuration>
			<executions>
				<execution>
					<id>generate-interface-sources-from-raml</id>
					<goals>
						<goal>generate</goal>
					</goals>
					<phase>generate-sources</phase>
				</execution>
			</executions>
		</plugin>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions