Re: Best practices for Java EE 7 dependencies

2014-02-11 Thread Wayne Fay
>> > Should I better specify the exact dependencies and investigate some >> > more work in POM maintainance? What would this gain me? >> >> You answered your own question, congrats! :) > > Well, if I got you right, you mean it won't gain me anything. Right? I made no such statement. I was simply a

Re: Best practices for Java EE 7 dependencies

2014-02-11 Thread Martin Hoeller
Hi! Thanks for your answers so far. Am Fri, 7 Feb 2014 11:17:22 -0600 schrieb Wayne Fay : > > Should I better specify the exact dependencies and investigate some > > more work in POM maintainance? What would this gain me? > > You answered your own question, congrats! :) Well, if I got you righ

Re: Best practices for Java EE 7 dependencies

2014-02-07 Thread Wayne Fay
> Should I better specify the exact dependencies and investigate some more > work in POM maintainance? What would this gain me? You answered your own question, congrats! :) Wayne - To unsubscribe, e-mail: users-unsubscr...@maven

Re: Best practices for Java EE 7 dependencies

2014-02-07 Thread Thomas Broyer
Because javax:javaee-api:7.0 doesn't use dependencyManagement, but declares straight dependencies, I don't think import would work (or be appropriate); however you should be able to declare javax:javaee-api:1.0 as a managed dependency (in , but without any specific scope, i.e. compile as it's the d

RE: Best practices for Java EE 7 dependencies

2014-02-07 Thread Samuli Saarinen
Hi, You could import the dependencies in dependencyManagement as described in [1] and only declare needed dependencies in the project. Cheers Samuli [1] http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Importing_Dependencies -Original Message-