My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 273: Maven 2/3 POM for JMesa
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Mar 2011


 
Reported by jeffjjen...@gmail.com, Jun 22, 2010
Attached is the first cut at a Maven 2/3 POM for JMesa 2.5.1.  All JMesa tests pass.  The local jar it built has had minimal miles on it as I'm setting up a new app with it, but works so far.

Please review and post feedback.  If you have made your own POM, please compare and see if this one should change.

pom.xml
10.3 KB   View   Download
Jun 24, 2010
#1 jeffjjen...@gmail.com
Thanks Jeff for committing the first version!

I added the following resources so they are included in the jar.  Please add this to the POM's <resources> element so the tld, JS, CSS, and images are available in the jar for direct use:

      <resource>
        <targetPath>META-INF</targetPath>
        <filtering>false</filtering>
        <directory>resources</directory>
        <includes>
          <include>**/*.tld</include>
        </includes>
      </resource>
      <resource>
        <targetPath>css</targetPath>
        <directory>resources</directory>
        <includes>
          <include>**/*.css</include>
        </includes>
      </resource>
      <resource>
        <targetPath>js</targetPath>
        <directory>resources</directory>
        <includes>
          <include>**/*.js</include>
        </includes>
      </resource>
      <resource>
        <targetPath>images</targetPath>
        <directory>resources/images</directory>
        <includes>
          <include>**/*.*</include>
        </includes>
      </resource>


Someone may want to enhance the build to create the minimized js files and include them too...
Jun 24, 2010
Project Member #2 jeff.johnston.mn@gmail.com
Got it. Thanks!
Mar 9, 2011
Project Member #3 jeff.johnston.mn@gmail.com
Have Maven working!
Status: Fixed

Powered by Google Project Hosting