This repository was archived by the owner on Apr 25, 2020. It is now read-only.
File tree 1 file changed +19
-3
lines changed
1 file changed +19
-3
lines changed Original file line number Diff line number Diff line change 89
89
</dependencies >
90
90
91
91
<build >
92
- <sourceDirectory >src/main/scala</sourceDirectory >
93
- <testSourceDirectory >src/test/scala</testSourceDirectory >
92
+ <sourceDirectory >${basedir} / src/main/scala</sourceDirectory >
93
+ <testSourceDirectory >${basedir} / src/test/scala</testSourceDirectory >
94
94
<resources >
95
95
<resource >
96
96
<directory >${basedir} /src/main/resources</directory >
133
133
<recompileMode >incremental</recompileMode >
134
134
<scalaVersion >${scala.version} </scalaVersion >
135
135
<charset >${project.build.sourceEncoding} </charset >
136
+ <javacArgs >
137
+ <javacArg >-Xlint:unchecked</javacArg >
138
+ <javacArg >-Xlint:deprecation</javacArg >
139
+ </javacArgs >
136
140
<args >
137
141
<arg >-deprecation</arg >
138
142
<arg >-unchecked</arg >
139
143
<arg >-optimize</arg >
140
144
</args >
141
- <charset >${project.build.sourceEncoding} </charset >
142
145
</configuration >
143
146
<executions >
144
147
<execution >
148
+ <id >scala-compile-first</id >
149
+ <phase >process-resources</phase >
145
150
<goals >
151
+ <goal >add-source</goal >
146
152
<goal >compile</goal >
153
+ </goals >
154
+ </execution >
155
+
156
+ <execution >
157
+ <id >scala-test-compile</id >
158
+ <phase >process-test-resources</phase >
159
+ <goals >
160
+ <!-- <goal>add-source</goal>-->
147
161
<goal >testCompile</goal >
148
162
</goals >
149
163
</execution >
163
177
<plugin >
164
178
<groupId >org.apache.maven.plugins</groupId >
165
179
<artifactId >maven-javadoc-plugin</artifactId >
180
+ <version >2.9</version >
166
181
<executions >
167
182
<execution >
168
183
<id >attach-javadoc</id >
177
192
<plugin >
178
193
<groupId >org.apache.maven.plugins</groupId >
179
194
<artifactId >maven-source-plugin</artifactId >
195
+ <version >2.2.1</version >
180
196
<executions >
181
197
<execution >
182
198
<id >attach-sources</id >
You can’t perform that action at this time.
0 commit comments