John Caron wrote:
Hi all:
The Netcdf-Java/CDM library version 4.2.18 is an experimental version
that allows maven building from svn
If you are interested in building from source, you should be able to do:
svn co http://svn.unidata.ucar.edu/repos/thredds/trunk/ thredds
cd thredds
mvn install
This is experimental, please try it out and give feedback.
The jar files are available as the 4.2 development version from the
usual place:
http://www.unidata.ucar.edu/software/netcdf-java/
Thanks and Happy Holidays
John and everyone at Unidata
_______________________________________________
netcdf-java mailing list
address@hidden
For list information or to unsubscribe, visit:
http://www.unidata.ucar.edu/mailing_lists/
I am using mvn -version .. Apache Maven 3.0.1 (r1038046; 2010-11-23
03:58:32-0700) and I did have to make this change in the pom.xml to
get it to build.
<build>
.
.
.
<plugins>
.
.
.
</plugins>
******************added**********
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-webdav-jackrabbit</artifactId>
<version>1.0-beta-6</version>
</extension>
</extensions>
******************added**********
</build>
apparently there is an issue with dav with the latest maven. It gives
the following error without this addition to the pom.xml ...
"[ERROR] Failed to execute goal on project netcdf: Could not resolve
dependencies for project edu.ucar:netcdf:jar:4.2.19: Failed to collect
dependencies for [edu.ucar:unidataCommon:jar:4.2.19 (compile),
commons-httpclient:commons-httpclient:jar:3.1 (compile),
org.slf4j:slf4j-api:jar:1.6.1 (compile), edu.ucar:grib:jar:8.0.28
(provided), edu.ucar:opendap:jar:2.2.1 (provided),
edu.wisc:visad:jar:2010-08-09 (provided), org.jdom:jdom:jar:1.1
(provided), org.quartz-scheduler:quartz:jar:1.7.3 (provided),
com.google.protobuf:protobuf-java:jar:2.3.0 (provided),
net.sf.ehcache:ehcache:jar:1.6.0 (provided),
com.sleepycat:je:jar:4.0.92 (provided), junit:junit:jar:4.8.2 (test)]:
Failed to read artifact descriptor for edu.wisc:visad:jar:2010-08-09:
Could not transfer artifact edu.wisc:visad:pom:2010-08-09 from/to
geotoolkit (dav:http://maven.geotoolkit.org/): No connector available
to access repository geotoolkit (dav:http://maven.geotoolkit.org/) of
type default using the available factories
WagonRepositoryConnectorFactory -> [Help 1]"
There is also a warning about the version which is apparently related
to the latest maven...
"[WARNING] Some problems were encountered while building the effective
model for edu.ucar:unidataCommon:jar:4.2.19
[WARNING] 'version' contains an expression but should be a constant. @
edu.ucar:unidataCommon:${common.version},
/scratch/pierce/thredds/common/pom.xml, line 23, column 12
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-compiler-plugin is missing. @
edu.ucar:unidataCommon:${common.version},
/scratch/pierce/thredds/common/pom.xml, line 76, column 15
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-jar-plugin is missing. @
edu.ucar:netcdf-parent:4.2.19, /scratch/pierce/thredds/pom.xml, line
252, column 15"
I ignored that warning. Other than that it did build successfully.
Thanks very much for this, it makes it easier.
Randy Pierce - NOAA - Data Systems group