File tree 6 files changed +406
-0
lines changed
swagger-codegen-maven-plugin
6 files changed +406
-0
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 61
61
</execution >
62
62
</executions >
63
63
</plugin >
64
+ <plugin >
65
+ <groupId >net.revelc.code</groupId >
66
+ <artifactId >formatter-maven-plugin</artifactId >
67
+ <configuration >
68
+ <!-- Point at the eclipse-formatter.xml in the swagger-codegen parent project directory -->
69
+ <configFile >${project.basedir}${file.separator}${project.parent.relativePath}${file.separator} eclipse-formatter.xml</configFile >
70
+ </configuration >
71
+ </plugin >
64
72
</plugins >
65
73
</build >
66
74
Original file line number Diff line number Diff line change 83
83
</plugin >
84
84
</plugins >
85
85
</pluginManagement >
86
+ <plugins >
87
+ <plugin >
88
+ <groupId >net.revelc.code</groupId >
89
+ <artifactId >formatter-maven-plugin</artifactId >
90
+ <configuration >
91
+ <!-- Point at the eclipse-formatter.xml in the swagger-codegen parent project directory -->
92
+ <configFile >${project.basedir}${file.separator}${project.parent.relativePath}${file.separator} eclipse-formatter.xml</configFile >
93
+ </configuration >
94
+ </plugin >
95
+ </plugins >
86
96
</build >
87
97
</project >
Original file line number Diff line number Diff line change 110
110
<artifactId >maven-release-plugin</artifactId >
111
111
<version >2.5.3</version >
112
112
</plugin >
113
+ <plugin >
114
+ <groupId >net.revelc.code</groupId >
115
+ <artifactId >formatter-maven-plugin</artifactId >
116
+ <configuration >
117
+ <!-- Point at the eclipse-formatter.xml in the swagger-codegen parent project directory -->
118
+ <configFile >${project.basedir}${file.separator}${project.parent.relativePath}${file.separator} eclipse-formatter.xml</configFile >
119
+ </configuration >
120
+ </plugin >
113
121
</plugins >
114
122
</build >
115
123
<profiles >
Original file line number Diff line number Diff line change 119
119
</execution >
120
120
</executions >
121
121
</plugin >
122
+ <plugin >
123
+ <groupId >net.revelc.code</groupId >
124
+ <artifactId >formatter-maven-plugin</artifactId >
125
+ <configuration >
126
+ <!-- Point at the eclipse-formatter.xml in the swagger-codegen parent project directory -->
127
+ <configFile >${project.basedir}${file.separator}${project.parent.relativePath}${file.separator} eclipse-formatter.xml</configFile >
128
+ </configuration >
129
+ </plugin >
122
130
</plugins >
123
131
</build >
124
132
<dependencies >
Original file line number Diff line number Diff line change 67
67
<directory >target</directory >
68
68
<finalName >${project.artifactId} -${project.version} </finalName >
69
69
<plugins >
70
+ <plugin >
71
+ <groupId >net.revelc.code</groupId >
72
+ <artifactId >formatter-maven-plugin</artifactId >
73
+ <!-- Uncomment this to format before checkstyle -->
74
+ <!-- <executions>
75
+ <execution>
76
+ <id>format</id>
77
+ <phase>validate</phase>
78
+ <goals>
79
+ <goal>format</goal>
80
+ </goals>
81
+ </execution>
82
+ </executions> -->
83
+ <configuration >
84
+ <compilerSource >1.7</compilerSource >
85
+ <compilerCompliance >1.7</compilerCompliance >
86
+ <compilerTargetPlatform >1.7</compilerTargetPlatform >
87
+ <lineEnding >LF</lineEnding >
88
+ </configuration >
89
+ </plugin >
70
90
<plugin >
71
91
<groupId >org.apache.maven.plugins</groupId >
72
92
<artifactId >maven-checkstyle-plugin</artifactId >
77
97
<phase >validate</phase >
78
98
<configuration >
79
99
<configLocation >google_checkstyle.xml</configLocation >
100
+ <!-- Don't include generated sources a la http://stackoverflow.com/a/30406454 -->
101
+ <sourceDirectory >${project.build.sourceDirectory} </sourceDirectory >
80
102
<encoding >UTF-8</encoding >
81
103
<consoleOutput >true</consoleOutput >
82
104
<failsOnError >true</failsOnError >
201
223
</executions >
202
224
</plugin >
203
225
</plugins >
226
+ <pluginManagement >
227
+ <plugins >
228
+ <plugin >
229
+ <groupId >net.revelc.code</groupId >
230
+ <artifactId >formatter-maven-plugin</artifactId >
231
+ <version >0.5.2</version >
232
+ </plugin >
233
+ </plugins >
234
+ </pluginManagement >
204
235
</build >
205
236
<profiles >
206
237
<profile >
You can’t perform that action at this time.
0 commit comments