homena / jmesa

Automatically exported from code.google.com/p/jmesa
0 stars 0 forks source link

Maven 2/3 POM for JMesa #273

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by jeffjjen...@gmail.com on 22 Jun 2010 at 8:16

Attachments:

GoogleCodeExporter commented 9 years ago
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...

Original comment by jeffjjen...@gmail.com on 24 Jun 2010 at 7:15

GoogleCodeExporter commented 9 years ago
Got it. Thanks!

Original comment by jeff.johnston.mn@gmail.com on 25 Jun 2010 at 12:42

GoogleCodeExporter commented 9 years ago
Have Maven working!

Original comment by jeff.johnston.mn@gmail.com on 9 Mar 2011 at 7:40