mvn install ignore hibernate hbm.xml files

2008-03-06 Thread MPF

Hi!

If I wanna install my project on my local repository the hibernate hbm.xml
files always get ignored - No hbm.xml file is in the generated JAR!
If I use mvn package the hbm.xml files are there - whats going wrong with
mvn install

pom file:
http://www.nabble.com/file/p15873003/pom.xml pom.xml 
-- 
View this message in context: 
http://www.nabble.com/mvn-install-ignore-hibernate-hbm.xml-files-tp15873003s177p15873003.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: mvn install ignore hibernate hbm.xml files

2008-03-06 Thread Manos Batsis

MPF wrote:

Hi!

If I wanna install my project on my local repository the hibernate hbm.xml
files always get ignored - No hbm.xml file is in the generated JAR!
If I use mvn package the hbm.xml files are there - whats going wrong with
mvn install


I assume you have those along with your java source files. Only 
javadoc-related files are copied from there (i.e. src/main/java). You 
could copy the hbm mappings in your src/main/resources directory, 
keeping the same sub-dir structure if any.


hth,

Manos

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: mvn install ignore hibernate hbm.xml files

2008-03-06 Thread markus.pfeiffer
Thank you very much, it works!

Best regards
Markus

-Ursprüngliche Nachricht-
Von: Manos Batsis [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 06. März 2008 14:19
An: Maven Users List
Betreff: Re: mvn install ignore hibernate hbm.xml files

MPF wrote:
 Hi!
 
 If I wanna install my project on my local repository the hibernate hbm.xml
 files always get ignored - No hbm.xml file is in the generated JAR!
 If I use mvn package the hbm.xml files are there - whats going wrong with
 mvn install

I assume you have those along with your java source files. Only 
javadoc-related files are copied from there (i.e. src/main/java). You 
could copy the hbm mappings in your src/main/resources directory, 
keeping the same sub-dir structure if any.

hth,

Manos

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]