jeudi 11 septembre 2008

Wicket & Maven packaging (fichiers html, css, js...)



Si vous utilisez Maven pour packager votre appplication Wicket, n'oubliez pas de modifier le POM.xml pour inclure les fichiers html, css, js, etc. dans votre war (ou jar).
A moins que vous placiez tous ces fichiers non-java sous src/main/resources au lieu de src/main/java (ça fait quand même bizarre de voir tous ces fichiers non-java à coté des classes).

<build>
 <resources>
  <resource>
   <directory>src/main/java</directory>
   <includes>
    <include>**/*</include>
   </includes>
   <excludes>
    <exclude>**/*.java</exclude>
   </excludes>
  </resource>
 </resources>
</build>

12 commentaires:

Anonyme a dit...

I just like the helpful info you provide for your articles.
I'll bookmark your blog and take a look at once more right here regularly. I'm slightly certain I'll be informed plenty of new stuff right here! Best of luck for the following!

Also visit my web-site - http://www.tedxyse.com/sac-guess-pas-cher.html

Anonyme a dit...

It's a pity you don't have a donate button! I'd without a doubt donate to this superb blog! I guess for now i'll settle for book-marking and adding your RSS feed to my Google account.
I look forward to brand new updates and will share this website with my
Facebook group. Talk soon!

My web page :: explorethecapabilities.com

Anonyme a dit...

wonderful points altogether, you just received a new reader.
What could you recommend about your put up that you simply
made some days in the past? Any sure?

Also visit my web blog http://www.explorethecapabilities.com/

Anonyme a dit...

I'm now not sure where you are getting your information, but great topic. I needs to spend some time learning much more or understanding more. Thanks for great information I used to be looking for this information for my mission.

Here is my blog: Michael Kors Canada

Anonyme a dit...

First of all I would like to say great blog! I had a quick question
in which I'd like to ask if you do not mind. I was curious to find out how you center yourself and clear your thoughts prior to writing. I have had a hard time clearing my thoughts in getting my ideas out there. I do take pleasure in writing however it just seems like the first 10 to 15 minutes are usually lost just trying to figure out how to begin. Any ideas or tips? Cheers!

Review my page :: helpful resources

Anonyme a dit...

You made some good points there. I checked on the internet to find out
more about the issue and found most individuals will go along with
your views on this website.

My site - This Site

Anonyme a dit...

Way cool! Some very valid points! I appreciate you writing this post and the rest of the website is really good.


my web-site ... Louis Vuitton Purses Outlet ()

Anonyme a dit...

Hey there! I've been following your blog for some time now and finally got the bravery to go ahead and give you a shout out from Atascocita Tx! Just wanted to tell you keep up the fantastic job!

Feel free to visit my web blog ... Abercrombie France

Anonyme a dit...

http://mckague.org/HoustonTexans.html I’m quite pleased to uncover this internet web-site. I need to to thank you for the time for this amazing read!! I absolutely liked every single element of it and i also have you saved to fav to take a look at new factors in your web site. [url=http://www.mckague.org/NewYorkGiants.html]Eli Manning Jersey[/url]
http://www.mckague.org/PittsburghSteelers1.html I was able to seek out superior suggestions from your content. [url=http://mckague.org/GreenBayPackers.html]Clay Matthews Jersey[/url] http://mckague.org/CarolinaPanthers.html Thank you very substantially. This actually helped me with my function. I appreciate your assistance. Thanks lots. satellite tv pc [url=http://mckague.org/HoustonTexans.html]Johnathan Joseph Jersey[/url]
http://mckague.org/HoustonTexans.html Thank you for any other superb short article. Where else could anybody get that form of info in such an ideal manner of writing? I’ve a presentation subsequent week, and I'm in the appear for such info. [url=http://www.mckague.org/OaklandRaiders.html]Richard Seymour Jersey[/url]

Anonyme a dit...

Great web site you have here.. It's difficult to find good quality writing like yours nowadays. I truly appreciate individuals like you! Take care!!

Feel free to surf to my web-site; Chaussures Foot

Anonyme a dit...

Howdy are using Wordpress for your blog platform?
I'm new to the blog world but I'm trying to get started and set up my own.

Do you require any html coding expertise to make your own blog?
Any help would be really appreciated!

my webpage: Nike Free Run

Anonyme a dit...

Do you mind if I quote a few of your posts as long as I provide credit and sources back to your weblog?

My blog is in the exact same niche as yours and my visitors
would really benefit from some of the information you
provide here. Please let me know if this ok with you. Appreciate it!


My website ... Sac A Main Louis Vuitton