Re: Maven with Hibernate/Multiple POM files

2009-06-26 Thread Jörg Schaible
Hi David, David Weintraub wrote at Donnerstag, 25. Juni 2009 17:34: 1/ A POM is not a programming language, but a project description. It is pointless to define the properties section in the top of the file in the hope that Maven sees the values first before you use them. You can call mvn

Re: Maven with Hibernate/Multiple POM files

2009-06-25 Thread David Weintraub
1/ A POM is not a programming language, but a project description. It is pointless to define the properties section in the top of the file in the hope that Maven sees the values first before you use them. You can call mvn help:effective-pom to see what Maven actually uses for the project

Re: Maven with Hibernate/Multiple POM files

2009-06-24 Thread Baptiste MATHUS
Well, could you give us at least an excerpt of your pom? I'm guessing you want to use some jar and didn't acknowledge the local maven repository existence, but I might be wrong. In fact you seem to be trying to directory use some given jar that's been produced by another projet. But this is all

Re: Maven with Hibernate/Multiple POM files

2009-06-24 Thread David Weintraub
The base directory's POM.xml: project modelVersion4.0.0/modelVersion properties base.version2.1.2-SNAPSHOT/base.version /properties groupIdcom.solbright/groupId version${base.version}/version artifactIdbase/artifactId packagingpom/packaging namebase/name

Re: Maven with Hibernate/Multiple POM files

2009-06-24 Thread Jörg Schaible
Hi David, [sorting the mail] Another question: I build the base.jar file, and the other two projects depend upon that file. I've setup the POMs to show this dependency: Everything builds, but when I run analyze:dependency, it tells me it is missing base.jar [snip] The base directory's

Maven with Hibernate/Multiple POM files

2009-06-22 Thread David Weintraub
I have a project (it's actually a sub-project of another project, so it will get interesting). We build three items: base.jar, base-ui.jar, and base-hib.har. These each are in their own sub-directory, and I can treat them like projects. I was able to get the whole thing working. However, the