JAMES-2264 swagger can be generated with every build
Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/c402ecf3 Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/c402ecf3 Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/c402ecf3 Branch: refs/heads/master Commit: c402ecf33165deb37d291db8ab6b44ad0d030fa4 Parents: a26b60a Author: Matthieu Baechler <[email protected]> Authored: Mon Nov 13 22:43:55 2017 +0100 Committer: Antoine Duprat <[email protected]> Committed: Fri Dec 22 09:44:59 2017 +0100 ---------------------------------------------------------------------- server/protocols/webadmin/webadmin-data/pom.xml | 66 +++++++++----------- .../protocols/webadmin/webadmin-mailbox/pom.xml | 66 +++++++++----------- .../protocols/webadmin/webadmin-swagger/pom.xml | 66 +++++++++----------- 3 files changed, 93 insertions(+), 105 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/james-project/blob/c402ecf3/server/protocols/webadmin/webadmin-data/pom.xml ---------------------------------------------------------------------- diff --git a/server/protocols/webadmin/webadmin-data/pom.xml b/server/protocols/webadmin/webadmin-data/pom.xml index b9a403a..5fbad1a 100644 --- a/server/protocols/webadmin/webadmin-data/pom.xml +++ b/server/protocols/webadmin/webadmin-data/pom.xml @@ -116,39 +116,35 @@ </dependency> </dependencies> - <profiles> - <profile> - <id>swagger-json</id> - <build> - <plugins> - <plugin> - <groupId>com.github.kongchen</groupId> - <artifactId>swagger-maven-plugin</artifactId> - <configuration> - <apiSources> - <apiSource> - <springmvc>false</springmvc> - <locations>org.apache.james.webadmin</locations> - <info> - <title>Swagger Maven Plugin</title> - <version>v1</version> - </info> - <swaggerDirectory>${project.build.directory}</swaggerDirectory> - <swaggerFileName>webadmin-data</swaggerFileName> - </apiSource> - </apiSources> - </configuration> - <executions> - <execution> - <phase>compile</phase> - <goals> - <goal>generate</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - </profiles> + <build> + <plugins> + <plugin> + <groupId>com.github.kongchen</groupId> + <artifactId>swagger-maven-plugin</artifactId> + <configuration> + <apiSources> + <apiSource> + <springmvc>false</springmvc> + <locations>org.apache.james.webadmin</locations> + <info> + <title>Swagger Maven Plugin</title> + <version>v1</version> + </info> + <swaggerDirectory>${project.build.directory}</swaggerDirectory> + <swaggerFileName>webadmin-data</swaggerFileName> + </apiSource> + </apiSources> + </configuration> + <executions> + <execution> + <phase>compile</phase> + <goals> + <goal>generate</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </project> http://git-wip-us.apache.org/repos/asf/james-project/blob/c402ecf3/server/protocols/webadmin/webadmin-mailbox/pom.xml ---------------------------------------------------------------------- diff --git a/server/protocols/webadmin/webadmin-mailbox/pom.xml b/server/protocols/webadmin/webadmin-mailbox/pom.xml index a3e78c6..dfe3820 100644 --- a/server/protocols/webadmin/webadmin-mailbox/pom.xml +++ b/server/protocols/webadmin/webadmin-mailbox/pom.xml @@ -136,39 +136,35 @@ </dependency> </dependencies> - <profiles> - <profile> - <id>swagger-json</id> - <build> - <plugins> - <plugin> - <groupId>com.github.kongchen</groupId> - <artifactId>swagger-maven-plugin</artifactId> - <configuration> - <apiSources> - <apiSource> - <springmvc>false</springmvc> - <locations>org.apache.james.webadmin</locations> - <info> - <title>Swagger Maven Plugin</title> - <version>v1</version> - </info> - <swaggerDirectory>${project.build.directory}</swaggerDirectory> - <swaggerFileName>webadmin-mailbox</swaggerFileName> - </apiSource> - </apiSources> - </configuration> - <executions> - <execution> - <phase>compile</phase> - <goals> - <goal>generate</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - </profiles> + <build> + <plugins> + <plugin> + <groupId>com.github.kongchen</groupId> + <artifactId>swagger-maven-plugin</artifactId> + <configuration> + <apiSources> + <apiSource> + <springmvc>false</springmvc> + <locations>org.apache.james.webadmin</locations> + <info> + <title>Swagger Maven Plugin</title> + <version>v1</version> + </info> + <swaggerDirectory>${project.build.directory}</swaggerDirectory> + <swaggerFileName>webadmin-mailbox</swaggerFileName> + </apiSource> + </apiSources> + </configuration> + <executions> + <execution> + <phase>compile</phase> + <goals> + <goal>generate</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </project> http://git-wip-us.apache.org/repos/asf/james-project/blob/c402ecf3/server/protocols/webadmin/webadmin-swagger/pom.xml ---------------------------------------------------------------------- diff --git a/server/protocols/webadmin/webadmin-swagger/pom.xml b/server/protocols/webadmin/webadmin-swagger/pom.xml index 8ebdea9..cc8fa4f 100644 --- a/server/protocols/webadmin/webadmin-swagger/pom.xml +++ b/server/protocols/webadmin/webadmin-swagger/pom.xml @@ -39,39 +39,35 @@ </dependency> </dependencies> - <profiles> - <profile> - <id>swagger-json</id> - <build> - <plugins> - <plugin> - <groupId>com.github.kongchen</groupId> - <artifactId>swagger-maven-plugin</artifactId> - <configuration> - <apiSources> - <apiSource> - <springmvc>false</springmvc> - <locations>org.apache.james.webadmin</locations> - <info> - <title>Swagger Maven Plugin</title> - <version>v1</version> - </info> - <swaggerDirectory>${project.build.directory}</swaggerDirectory> - <swaggerFileName>webadmin-swagger</swaggerFileName> - </apiSource> - </apiSources> - </configuration> - <executions> - <execution> - <phase>compile</phase> - <goals> - <goal>generate</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - </profiles> + <build> + <plugins> + <plugin> + <groupId>com.github.kongchen</groupId> + <artifactId>swagger-maven-plugin</artifactId> + <configuration> + <apiSources> + <apiSource> + <springmvc>false</springmvc> + <locations>org.apache.james.webadmin</locations> + <info> + <title>Swagger Maven Plugin</title> + <version>v1</version> + </info> + <swaggerDirectory>${project.build.directory}</swaggerDirectory> + <swaggerFileName>webadmin-swagger</swaggerFileName> + </apiSource> + </apiSources> + </configuration> + <executions> + <execution> + <phase>compile</phase> + <goals> + <goal>generate</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </project> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
