flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fabian Hueske <fhue...@gmail.com>
Subject Re: Test sources in wrong folder
Date Sat, 04 Apr 2015 11:06:45 GMT
Thanks!

2015-04-04 12:54 GMT+02:00 Flavio Pompermaier <pompermaier@okkam.it>:

> 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 <pompermaier@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.marton@gmail.com
> >
> > wrote:
> >
> >> Dear Flavio,
> >>
> >> 'mvn clean install -DskipTests' should do the trick.
> >>
> >> On Fri, Apr 3, 2015 at 12:11 AM, Flavio Pompermaier <
> pompermaier@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
> >> >
> >>
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message