Ozer Erturk

“Low quality code is not cheaper; it is vastly more expensive, even in the short term. Bad code slows everyone down from the minute that it is written. It creates a continuous and copious drag on further progress. It requires armies of coders to overcome that drag; and those armies must grow exponentially to maintain constant velocity against that drag.” Robert C. Martin

Monday, September 3, 2012

How to add xml resources in package using maven

By default maven does not include any files from "src/main/java" (${sourceDirectory} variable). You have two possibilities (choose one of them):
  • put all your resource files (different than java files) to "src/main/resources" - recomended
http://stackoverflow.com/questions/9798955/with-maven-clean-package-xml-source-files-are-not-included-in-classpath
Posted by Unknown at 11:11 PM No comments:
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

About Me

Unknown
View my complete profile
View Özer Ertürk's profile on LinkedIn

Scandev Conf 2011
Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License.

Blog Archive

  • ►  2015 (2)
    • ►  January (2)
  • ►  2014 (1)
    • ►  June (1)
  • ►  2013 (3)
    • ►  July (1)
    • ►  June (1)
    • ►  February (1)
  • ▼  2012 (8)
    • ▼  September (1)
      • How to add xml resources in package using maven
    • ►  May (1)
    • ►  April (1)
    • ►  March (5)
  • ►  2011 (11)
    • ►  May (1)
    • ►  April (9)
    • ►  March (1)
  • ►  2010 (2)
    • ►  December (1)
    • ►  August (1)
  • ►  2009 (13)
    • ►  December (1)
    • ►  November (1)
    • ►  June (1)
    • ►  May (1)
    • ►  April (2)
    • ►  March (4)
    • ►  January (3)
  • ►  2008 (3)
    • ►  July (3)

Total Pageviews

ozerErturk. Watermark theme. Powered by Blogger.