Hi,

Am 25.05.2016 um 23:26 schrieb Adrien Rivard <adrien.riv...@gmail.com>:

> Hello,
> 
> On Wed, May 25, 2016 at 10:14 PM, Philipp Kraus <
> philipp.kr...@tu-clausthal.de> wrote:
> 
>> Hello,
>> 
>> I’m working on my first Maven framework, I would like to test the
>> framework in another project,
>> so I build a jar file with „mvn package", and then I install the jar into
>> my local repository with „mvn install:install-file -Dfile=myjar.jar“.
>> 
>> 
> When you have the project source, you should do "mvn install" and not "mvn
> install:install-file -Dxxxxx", it will take the right
> parameters(groupId/artifactid/version ...)  from the project pom.

thanks that was my mistake. I have got the sources and I run „mvn package“, not 
„mvn install“.
With install everything works fine

Phil

Reply via email to