I opened a JIRA for this porblem https://issues.apache.org/jira/browse/FLINK-1827. Obviously it's an improvement with minor priority but I think this will be a nice fix for user that want to compile java sources quickly.
On Fri, Apr 3, 2015 at 2:38 PM, Flavio Pompermaier <pomperma...@okkam.it> wrote: > This is my problem maybe..I'm quite strict about maven usage :) > SkipTests compiles the tests so you find the classes only because you > compiled them. > This is somehow wrong because that are test-scoped classes, I should not > be forced to compile them if I'm not interested in testing at all. > Don't you agree? > > On Fri, Apr 3, 2015 at 1:42 PM, Márton Balassi <balassi.mar...@gmail.com> > wrote: > >> Dear Flavio, >> >> 'mvn clean install -DskipTests' should do the trick. >> >> On Fri, Apr 3, 2015 at 12:11 AM, Flavio Pompermaier <pomperma...@okkam.it >> > >> wrote: >> >> > Hi to all, >> > >> > I was trying to compile Flink 0.9 skipping test compilation >> > (-Dmaven.test.skip=true) but this is not possible because there are >> > projects like flink-test-utils (for example) that requires test classes >> at >> > compile scope..shouldn't be better to keep the test source files in the >> > test folders (src/main/test and src/test/scala instead of src/main/java >> and >> > src/main/scala) so that to have all test dependencies with scope=test? >> > >> > Best, >> > Flavio >> > >> > >