Hi Tanim:
I made another pass to get these poms to work in the latest release
(4.2.22), after Chris Mattman got the maven central repository working.
I will incorporate your changes into the next release. Thanks!
John
On 3/29/2011 7:19 PM, Islam, Tanim S. (ARC-AF)[UNIV OF CALIFORNIA SANTA
CRUZ] wrote:
Hello:
I've found some problems with the thredds maven pom file (in parent
directory). I've been able to get it to compile by changing the
following in the pom.xml:
* changing “<version>4.2.21-SNAPSHOT</version>” to
“<version>4.2.22</version>”
Furthermore, perhaps the parent pom.xml should have extra plugins for
source, javadoc, and for tests, and slight changes to allow for proper
compilation and deployment using maven 3? Here is the snipped from the
<build>...</build> section of pom.xml:
<!-- =========================================================== Build
configuration
=========================================================== -->
<build>
<plugins>
<plugin>
<artifactId>_maven_-resources-_plugin_</artifactId>
<version>2.5</version>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<artifactId>_maven_-compiler-_plugin_</artifactId>
<version>2.3.2</version>
<configuration>
<fork>true</fork>
<source>1.6</source>
<target>1.6</target>
<maxmem>512m</maxmem>
</configuration>
</plugin>
<plugin>
<artifactId>_maven_-jar-_plugin_</artifactId>
<version>2.3.1</version>
<configuration>
<archive>
<index>true</index><!-- Archive will contain an INDEX.LIST file. -->
<manifest>
<addClasspath>true</addClasspath>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<manifestEntries>
<Built-On>${maven.build.timestamp}</Built-On>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<artifactId>_maven_-_surefire_-plugin</artifactId>
<version>2.8</version>
<configuration>
<excludes>
<exclude>**/*UITest.java</exclude>
</excludes>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
</configuration>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.7</version>
<configuration>
<maxmemory>512m</maxmemory>
</configuration>
<executions>
<execution>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<version>2.1.2</version>
<executions>
<execution>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh</artifactId>
<version>1.0-beta-6</version>
</extension>
</extensions>
</build>
Tanim Islam
_______________________________________________
netcdf-java mailing list
netcdf-java@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit:
http://www.unidata.ucar.edu/mailing_lists/