You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Ebersole, Steven" <st...@vignette.com> on 2004/01/20 16:13:05 UTC

including resources into target/classes

I am trying to build a hibernate-backed app using maven, but noticed that the hibernate mapping files are not pulled over into the target/classes directory.  How is this typically acheived using maven?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: including resources into target/classes

Posted by Emmanuel Venisse <em...@venisse.net>.
You should add this in build tag in your project.xml :

    <resources>
      <resource>
        <directory>src/conf</directory>
        <includes>
          <include>*.*</include>
        </includes>
      </resource>
    </resources>

and put your conf files in <projet_home>/src/conf

Emmanuel

----- Original Message ----- 
From: "Ebersole, Steven" <st...@vignette.com>
To: "Maven Users List" <us...@maven.apache.org>
Sent: Tuesday, January 20, 2004 4:13 PM
Subject: including resources into target/classes


I am trying to build a hibernate-backed app using maven, but noticed that
the hibernate mapping files are not pulled over into the target/classes
directory.  How is this typically acheived using maven?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org