diff --git a/build.xml b/build.xml index 09afe80c..a6bffdbe 100644 --- a/build.xml +++ b/build.xml @@ -101,7 +101,7 @@ - + Preparing for distribution. @@ -109,5 +109,62 @@ + + + + + + + + + Preparing for maven distribution. + + + + + Preparing openlayers for maven distribution. + + + + + + + + + + + + + + + + + Preparing geoext for maven distribution. + + + + + + + + + + + + + + Preparing gxp for maven distribution. + + + + + + + + + + + + diff --git a/examples/query.js b/examples/query.js index 580198cf..15e7298f 100644 --- a/examples/query.js +++ b/examples/query.js @@ -20,6 +20,9 @@ Ext.onReady(function() { var vector = new OpenLayers.Layer.Vector(); map.addLayers([wms, vector]); map.setCenter(new OpenLayers.LonLat(-120, 45), 5); + + //Init ext quicktips + Ext.QuickTips.init(); panel = new gxp.QueryPanel({ title: "Query Panel", diff --git a/src/maven/all.xml b/src/maven/all.xml new file mode 100644 index 00000000..b5deffb1 --- /dev/null +++ b/src/maven/all.xml @@ -0,0 +1,78 @@ + + + 4.0.0 + opengeo + gxp-maven-modules + 1.0-SNAPSHOT + pom + + + + + BSD + https://github.com/opengeo/gxp/raw/master/license.txt + + + + Maven modules to GXP use + https://github.com/opengeo/gxp/raw/master/license.txt + + + + adiaz + Alejandro Díaz Torres + adiaz@emergya.com + Emergya Consultoría + http://www.emergya.es + + Analista + + + + + 2011 + + + + + + scm:git://github.com/opengeo/gxp/raw/master + scm:git://github.com/opengeo/gxp/raw/master + https://github.com/opengeo/gxp/raw/master + + + + + + + nexus.releases + Nexus SiceCat Releases + http://nexus.emergya.es/nexus/content/repositories/sicecat-repo/ + + + + nexus.snapshots + Nexus SiceCat Snapshot + http://nexus.emergya.es/nexus/content/repositories/sicecat-repo-snapshots/ + + + + + UTF-8 + + + + + junit + junit + 3.8.1 + test + + + + openlayers-maven + geoext-maven + gxp-maven + + + diff --git a/src/maven/geoext-maven.xml b/src/maven/geoext-maven.xml new file mode 100644 index 00000000..4e3234a2 --- /dev/null +++ b/src/maven/geoext-maven.xml @@ -0,0 +1,140 @@ + + + 4.0.0 + org.geoext + geoext-maven + 1.0-SNAPSHOT + javascript + + + Geoext library + http://www.geoext.org + 2011 + + + + + + scm:git://github.com/opengeo/gxp/raw/master + scm:git://github.com/opengeo/gxp/raw/master + https://github.com/opengeo/gxp/raw/master + + + + + org.osgeo + openlayers-maven + 1.0-SNAPSHOT + jar + + + + + target/scripts + target/test-scripts + + + org.codehaus.mojo.javascript + javascript-maven-plugin + true + + + + war-package + + + + + + + + + + javascript + + + + org.codehaus.mojo.javascript + javascript-maven-plugin + true + + + + war-package + + + + + + + + + + org.osgeo + openlayers-maven + 1.0-SNAPSHOT + javascript + + + + + release + + + + org.codehaus.mojo.javascript + javascript-maven-plugin + true + + + + war-package + prepare-tests + jsunit + compress + + + + + + + + + + org.osgeo + openlayers-maven + 1.0-SNAPSHOT + javascript + + + + + + + + + nexus.snapshot + Nexus Public Snapshots + http://nexus.emergya.es/nexus/content/groups/public-snapshots/ + + true + + + false + + + + + codehaus.snapshot + Codehaus Snapshots + http://snapshots.repository.codehaus.org/ + + true + + + never + + + + + diff --git a/src/maven/gxp-maven.xml b/src/maven/gxp-maven.xml new file mode 100644 index 00000000..785f7d67 --- /dev/null +++ b/src/maven/gxp-maven.xml @@ -0,0 +1,143 @@ + + + 4.0.0 + org.opengeo + gxp-maven + 1.0-SNAPSHOT + javascript + + + GXP library extension + https://github.com/opengeo/gxp + 2011 + + + + + + scm:git://github.com/opengeo/gxp/raw/master + scm:git://github.com/opengeo/gxp/raw/master + https://github.com/opengeo/gxp/raw/master + + + + + org.geoext + geoext-maven + 1.0-SNAPSHOT + jar + + + + + target/scripts + target/test-scripts + + + org.codehaus.mojo.javascript + javascript-maven-plugin + true + + + + war-package + + + + + + + + + + javascript + + + + org.codehaus.mojo.javascript + javascript-maven-plugin + true + + + + war-package + + + + + + + + + + + org.geoext + geoext-maven + 1.0-SNAPSHOT + javascript + + + + + + release + + + + org.codehaus.mojo.javascript + javascript-maven-plugin + true + + + + war-package + prepare-tests + jsunit + compress + + + + + + + + + + + org.geoext + geoext-maven + 1.0-SNAPSHOT + javascript + + + + + + + + + nexus.snapshot + Nexus Public Snapshots + http://nexus.emergya.es/nexus/content/groups/public-snapshots/ + + true + + + false + + + + + codehaus.snapshot + Codehaus Snapshots + http://snapshots.repository.codehaus.org/ + + true + + + never + + + + + diff --git a/src/maven/openlayers-maven.xml b/src/maven/openlayers-maven.xml new file mode 100644 index 00000000..f7ff4741 --- /dev/null +++ b/src/maven/openlayers-maven.xml @@ -0,0 +1,113 @@ + + + 4.0.0 + org.osgeo + openlayers-maven + 1.0-SNAPSHOT + javascript + + + Openlayers library + http://openlayers.org + 2011 + + + + + + scm:git://github.com/opengeo/gxp/raw/master + scm:git://github.com/opengeo/gxp/raw/master + https://github.com/opengeo/gxp/raw/master + + + + target/scripts + target/test-scripts + + + org.codehaus.mojo.javascript + javascript-maven-plugin + true + + + + war-package + + + + + + + + + + javascript + + + + org.codehaus.mojo.javascript + javascript-maven-plugin + true + + + + war-package + + + + + + + + + release + + + + org.codehaus.mojo.javascript + javascript-maven-plugin + true + + + + war-package + prepare-tests + jsunit + compress + + + + + + + + + + + + + nexus.snapshot + Nexus Public Snapshots + http://nexus.emergya.es/nexus/content/groups/public-snapshots/ + + true + + + false + + + + + codehaus.snapshot + Codehaus Snapshots + http://snapshots.repository.codehaus.org/ + + true + + + never + + + + +