Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #32107

Re: Working with maven

From Jeff Higgins <jeff@invalid.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Working with maven
Date 2015-07-22 17:10 -0400
Organization A noiseless patient Spider
Message-ID <mop10p$tbb$1@dont-email.me> (permalink)
References <87mvyonz6a.fsf@Equus.decebal.nl> <6d93ec51-ea9c-4777-a785-b00de815a1d9@googlegroups.com>

Show all headers | View raw


On 07/22/2015 01:08 PM, e.d.programmer@gmail.com wrote:
> On Wednesday, July 22, 2015 at 8:44:47 AM UTC-4, Cecil Westerhof wrote:
>> I started working on a project where maven is used.
>>
>> It is a project with several sub-directories.
>> In the root I can just run: mvn install.
>> A side effect is that the tests are run.
>> To run only the tests, I would expect I just need to run: mvn test.
>> But then no tests are run and I get: BUILD ERROR.
>> When going to a sub-directory 'mvn test' does work. (For that
>> directory.)
>> What could be the problem?
>>
>> Also when I only want to run a certain test set, I go to the directory
>> 'firstSet' and run: mvn test -Dtest=SoloTest.
>> I would like tor run only this test set without the need to go into
>> the directory, but stay in the projects root directory. is this
>> possible?
>>
>> --
>> Cecil Westerhof
>> Senior Software Engineer
>> LinkedIn: http://www.linkedin.com/in/cecilwesterhof
>
> I've seen a lot of maven projects give the instructions to run mvn install to get the source.  Why are they running dos commands, is this 1985?
> There is an eclipse plugin that should allow maven to import project source with a GUI.
>
Did you not understand the questions asked by Cecil Westerhof?

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Working with maven Cecil Westerhof <Cecil@decebal.nl> - 2015-07-22 14:40 +0200
  Re: Working with maven e.d.programmer@gmail.com - 2015-07-22 10:08 -0700
    Re: Working with maven Jeff Higgins <jeff@invalid.invalid> - 2015-07-22 17:10 -0400
      Re: Working with maven e.d.programmer@gmail.com - 2015-07-23 04:48 -0700
        Re: Working with maven Joerg Meier <joergmmeier@arcor.de> - 2015-07-23 19:24 +0200
          Re: Working with maven e.d.programmer@gmail.com - 2015-07-23 13:28 -0700
            Re: Working with maven lipska the kat <dont@email.me> - 2015-07-24 11:22 +0100
              Re: Working with maven Cecil Westerhof <Cecil@decebal.nl> - 2015-07-24 16:19 +0200
                Re: Working with maven lipska the kat <dont@email.me> - 2015-07-24 18:03 +0100
                Re: Working with maven Joerg Meier <joergmmeier@arcor.de> - 2015-07-24 20:36 +0200
                Re: Working with maven lipska the kat <dont@email.me> - 2015-07-26 05:49 +0100
                Re: Working with maven Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2015-07-26 13:56 +0000
                Re: Working with maven lipska the kat <dont@email.me> - 2015-07-26 15:38 +0100
                Re: Working with maven Gordon Levi <gordon@address.invalid> - 2015-07-27 01:18 +1000
                Re: Working with maven lipska the kat <dont@email.me> - 2015-07-26 17:02 +0100
                Re: Working with maven Arne Vajhøj <arne@vajhoej.dk> - 2015-07-26 21:16 -0400
                Re: Working with maven e.d.programmer@gmail.com - 2015-07-27 05:41 -0700
                Re: Working with maven Arne Vajhøj <arne@vajhoej.dk> - 2015-07-26 21:09 -0400
            Re: Working with maven Arne Vajhøj <arne@vajhoej.dk> - 2015-07-26 21:06 -0400
          Re: Working with maven Arne Vajhøj <arne@vajhoej.dk> - 2015-07-26 20:40 -0400
        Re: Working with maven Arne Vajhøj <arne@vajhoej.dk> - 2015-07-26 20:39 -0400
  Re: Working with maven Joerg Meier <joergmmeier@arcor.de> - 2015-07-23 19:17 +0200
  Re: Working with maven Cecil Westerhof <Cecil@decebal.nl> - 2015-07-24 16:34 +0200

csiph-web