metamodel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kaspersorensen <...@git.apache.org>
Subject [GitHub] metamodel-membrane pull request #2: METAMODEL-1147: Created controller model...
Date Tue, 01 Aug 2017 13:18:36 GMT
Github user kaspersorensen commented on a diff in the pull request:

    https://github.com/apache/metamodel-membrane/pull/2#discussion_r130604069
  
    --- Diff: swagger-codegen/pom.xml ---
    @@ -0,0 +1,123 @@
    +<?xml version="1.0" encoding="UTF-8" ?>
    +<!--
    +Licensed to the Apache Software Foundation (ASF) under one
    +or more contributor license agreements.  See the NOTICE file
    +distributed with this work for additional information
    +regarding copyright ownership.  The ASF licenses this file
    +to you under the Apache License, Version 2.0 (the
    +"License"); you may not use this file except in compliance
    +with the License.  You may obtain a copy of the License at
    +
    +  http://www.apache.org/licenses/LICENSE-2.0
    +
    +Unless required by applicable law or agreed to in writing,
    +software distributed under the License is distributed on an
    +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    +KIND, either express or implied.  See the License for the
    +specific language governing permissions and limitations
    +under the License.
    +-->
    +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    +	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    +	<parent>
    +		<groupId>org.apache.metamodel.membrane</groupId>
    +		<artifactId>Membrane-parent</artifactId>
    +		<version>0.1-SNAPSHOT</version>
    +	</parent>
    +	<modelVersion>4.0.0</modelVersion>
    +	<artifactId>Membrane-swagger-model</artifactId>
    +	<packaging>jar</packaging>
    +
    +	<properties>
    +		<swagger.version>2.2.3</swagger.version>
    +		<jersey-version>2.22.2</jersey-version>
    +	</properties>
    +
    +	<build>
    +		<plugins>
    +			<plugin>
    +				<groupId>io.swagger</groupId>
    +				<artifactId>swagger-codegen-maven-plugin</artifactId>
    +				<version>${swagger.version}</version>
    +				<executions>
    +					<execution>
    +						<goals>
    +							<goal>generate</goal>
    +						</goals>
    +						<configuration>
    +							<groupId>${project.groupId}</groupId>
    +							<artifactId>Membrane-swagger-model</artifactId>
    +							<inputSpec>${project.basedir}/../core/src/main/resources/swagger.yaml</inputSpec>
    +							<language>java</language>
    +							<modelPackage>org.apache.metamodel.membrane.swagger.model</modelPackage>
    +							<invokerPackage>org.apache.metamodel.membrane.swagger.invoker</invokerPackage>
    +							<generateApis>false</generateApis>
    +							<library>jersey2</library>
    +							<useJaxbAnnotations>true</useJaxbAnnotations>
    +							<configOptions>
    +								<sourceFolder>src/gen/java/main</sourceFolder>
    +								<dateLibrary>java8</dateLibrary>
    +							</configOptions>
    +						</configuration>
    +					</execution>
    +				</executions>
    +			</plugin>
    +		</plugins>
    +	</build>
    +
    +	<dependencies>
    +		<dependency>
    +			<groupId>io.swagger</groupId>
    +			<artifactId>swagger-annotations</artifactId>
    +			<version>1.5.16</version>
    +		</dependency>
    +		<dependency>
    +			<groupId>com.fasterxml.jackson.core</groupId>
    +			<artifactId>jackson-annotations</artifactId>
    +		</dependency>
    +		<dependency>
    +			<groupId>com.fasterxml.jackson.core</groupId>
    +			<artifactId>jackson-databind</artifactId>
    +		</dependency>
    +		<dependency>
    +			<groupId>com.fasterxml.jackson.datatype</groupId>
    +			<artifactId>jackson-datatype-jsr310</artifactId>
    +			<version>${jackson.version}</version>
    --- End diff --
    
    Because the dependency management happens all the way out in MetaModel, not even in membrane.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message