[Geoserver-devel] Maven artifacts

Hi all,

I have noticed that when I build GeoServer locally (‘mvn install’) I end up with a small web-app-(VERSION).jar in my local maven repository. But the one on the repository is quite large. On inspection, it appears to include all the resources that would go into the GeoServer WAR file. Is this intended? Should I be building differently to be consistent with the public repository?

GeoNode is currently listing web-app as a dependency, but if those JAR files contain all of geoserver then it will effectively double the file size of our WARs.


David Winslow
OpenGeo - http://opengeo.org/

On Mon, Jul 16, 2012 at 5:40 PM, David Winslow <dwinslow@anonymised.com> wrote:

Hi all,

I have noticed that when I build GeoServer locally (‘mvn install’) I end up with a small web-app-(VERSION).jar in my local maven repository. But the one on the repository is quite large. On inspection, it appears to include all the resources that would go into the GeoServer WAR file. Is this intended? Should I be building differently to be consistent with the public repository?

I noticed that too time ago, see this thread:
http://www.mail-archive.com/geoserver-devel@lists.sourceforge.net/msg15236.html

As far as I understand this is not normal, but more of a side effect of how we handle
the release packaging.

That said, when I prepare a web app based on geoserver I don’t depend on web-app,
I copy it and alter it instead so that I can cherry-pick only the parts I want, which is
the spirit of the mail thread above

Cheers
Andrea

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 962313
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


Yes, this has come up before and its because the web-app module doesn’t use war packaging but still performs a war execution on install. We tried changing that before and I can’t remember why but it caused something else to fail, so we changed it back.

On Mon, Jul 16, 2012 at 9:40 AM, David Winslow <dwinslow@anonymised.com> wrote:

Hi all,

I have noticed that when I build GeoServer locally (‘mvn install’) I end up with a small web-app-(VERSION).jar in my local maven repository. But the one on the repository is quite large. On inspection, it appears to include all the resources that would go into the GeoServer WAR file. Is this intended? Should I be building differently to be consistent with the public repository?

GeoNode is currently listing web-app as a dependency, but if those JAR files contain all of geoserver then it will effectively double the file size of our WARs.


David Winslow
OpenGeo - http://opengeo.org/


Live Security Virtual Conference
Exclusive live event will cover all the ways today’s security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/


Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.