Hi Jody,
I'm not sure the boundless repositories are the cause of this issue.
Let me try to explain my finding a little better.
The geotools-15-SNAPSHOT-bin.zip doesn't contain a couple of jar files
(which btw are available on the remote repositories).
Please, correct me if I'm wrong in relation to the following list of steps
(reported in reversed order, trying to spot the cause of the issue)
performed during binary zip creation.
4) The geotools-15-SNAPSHOT-bin.zip is built by the assembly plugin. (mvn
assembly:assembly)
3) The assembly plugin takes all the jar from target/binaries folder and
put them on the zip file.
2) The target/binaries folder is populated during mvn install -Pcollect by
jarCollector plugin.
1) The JarCollector takes the MavenProject and call the method
getDependencyArtifacts.
https://github.com/geotools/geotools/blob/master/build/maven/jar-collector/src/main/java/org/geotools/maven/JarCollector.java#L143
Note the javadoc getDependencyArtifacts:
http://maven.apache.org/ref/3.0.3/maven-core/apidocs/org/apache/maven/project/MavenProject.html#getDependencyArtifacts()
It states:
*Direct dependencies that this project has.*
Therefore, I think that the jarCollector won't copy the jars of a project
which aren't direct dependency:
So, pasting my previous maven dependency tree output:
[INFO] Building Grid Coverage module 15-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ gt-coverage ---
[INFO] org.geotools:gt-coverage:jar:15-SNAPSHOT
*[INFO] +- it.geosolutions.jaiext.affine:jt-affine:jar:1.0.8:compile*
[INFO] *| +*-
it.geosolutions.jaiext.iterators:jt-iterators:jar:1.0.8:compile
[INFO] *| +*-
it.geosolutions.jaiext.utilities:jt-utilities:jar:1.0.8:compile
[INFO] *| \*- it.geosolutions.jaiext.scale:jt-scale:jar:1.0.8:compile
[INFO] *| \*-
it.geosolutions.jaiext.translate:jt-translate:jar:1.0.8:compile
JarCollector will only copy the
it.geosolutions.jaiext.affine:jt-affine:jar:1.0.8:
artifact, being a direct dependency.
jt-iterators, jt-utilities, jt-scale and jt-translate will not be copied
being not direct dependencies of gt-coverage.
Do you think what I'm saying is correct?
In that case, would make sense to set them
(utilities,scale,translate,iterators) as direct dependencies of gt-coverage
in order to let them being retrieved by JarCollector?
What do you think about it?
Cheers,
Daniele
On Thu, Mar 10, 2016 at 4:19 PM, Jody Garnett <[email protected]>
wrote:
> We are having trouble with jars from our old repo.boundlessgeo.com (the
> sync between the systems is not working well). Any missing jars of this
> nature please upload to the geotools repository (our geotools developers
> guide actually asks this be done).
>
> If you are having trouble finding a copy of the jar in your local repo
> please contact myself, or Christian (CCed) for a link to the old repo.
>
>
>
> --
> Jody Garnett
>
> On 10 March 2016 at 02:10, Daniele Romagnoli <
> [email protected]> wrote:
>
>> Hi list,
>> An user (Gabriella Turek) reported an issue with the GeoTools bin distro,
>> missing some jars.
>>
>> Taking a look to the Jenkins release-build log (which I have also
>> replicated locally with the -Pcollect) I can see this the jar-collector in
>> action:
>>
>> [INFO] --- jar-collector:15-SNAPSHOT:collect (default) @ gt-coverage ---
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> org.geotools:gt-api:jar:15-SNAPSHOT]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> org.geotools:gt-referencing:jar:15-SNAPSHOT]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> org.geotools:gt-main:jar:15-SNAPSHOT]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> com.vividsolutions:jts:jar:1.13]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> javax.media:jai_imageio:jar:1.1]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> it.geosolutions.imageio-ext:imageio-ext-tiff:jar:1.1.13]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> org.jaitools:jt-zonalstats:jar:1.4.0]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> org.jaitools:jt-utils:jar:1.4.0]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> it.geosolutions.jaiext.affine:jt-affine:jar:1.0.8]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> it.geosolutions.jaiext.algebra:jt-algebra:jar:1.0.8]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> it.geosolutions.jaiext.bandmerge:jt-bandmerge:jar:1.0.8]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> it.geosolutions.jaiext.bandselect:jt-bandselect:jar:1.0.8]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> it.geosolutions.jaiext.bandcombine:jt-bandcombine:jar:1.0.8]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> it.geosolutions.jaiext.border:jt-border:jar:1.0.8]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> it.geosolutions.jaiext.buffer:jt-buffer:jar:1.0.8]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> it.geosolutions.jaiext.crop:jt-crop:jar:1.0.8]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> it.geosolutions.jaiext.lookup:jt-lookup:jar:1.0.8]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> it.geosolutions.jaiext.mosaic:jt-mosaic:jar:1.0.8]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> it.geosolutions.jaiext.nullop:jt-nullop:jar:1.0.8]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> it.geosolutions.jaiext.rescale:jt-rescale:jar:1.0.8]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> it.geosolutions.jaiext.stats:jt-stats:jar:1.0.8]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> it.geosolutions.jaiext.warp:jt-warp:jar:1.0.8]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> it.geosolutions.jaiext.zonal:jt-zonal:jar:1.0.8]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> it.geosolutions.jaiext.binarize:jt-binarize:jar:1.0.8]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> it.geosolutions.jaiext.format:jt-format:jar:1.0.8]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> it.geosolutions.jaiext.colorconvert:jt-colorconvert:jar:1.0.8]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> it.geosolutions.jaiext.errordiffusion:jt-errordiffusion:jar:1.0.8]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> it.geosolutions.jaiext.orderdither:jt-orderdither:jar:1.0.8]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> it.geosolutions.jaiext.colorindexer:jt-colorindexer:jar:1.0.8]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> it.geosolutions.jaiext.imagefunction:jt-imagefunction:jar:1.0.8]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> it.geosolutions.jaiext.piecewise:jt-piecewise:jar:1.0.8]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> it.geosolutions.jaiext.classifier:jt-classifier:jar:1.0.8]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> it.geosolutions.jaiext.rlookup:jt-rlookup:jar:1.0.8]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> it.geosolutions.jaiext.vectorbin:jt-vectorbin:jar:1.0.8]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> org.geotools:gt-shapefile:jar:15-SNAPSHOT]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> org.geotools:gt-epsg-hsql:jar:15-SNAPSHOT]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> org.geotools:gt-sample-data:jar:15-SNAPSHOT]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> org.geotools:gt-cql:jar:15-SNAPSHOT]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> javax.media:jai_codec:jar:1.1.3]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> commons-io:commons-io:jar:2.1]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT,
>> javax.media:jai_core:jar:1.1.3]
>> +++ DEP: [org.geotools:gt-coverage:jar:15-SNAPSHOT, junit:junit:jar:4.11]
>>
>>
>> Running a "mvn dependency:tree" I can see the gt-coverage dependencies:
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Building Grid Coverage module 15-SNAPSHOT
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO]
>> [INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ gt-coverage
>> ---
>> [INFO] org.geotools:gt-coverage:jar:15-SNAPSHOT
>> *[INFO] +- org.geotools:gt-api:jar:15-SNAPSHOT:compile*
>> *[INFO] +- org.geotools:gt-referencing:jar:15-SNAPSHOT:compile*
>> [INFO] | +-
>> com.googlecode.efficient-java-matrix-library:core:jar:0.26:compile
>> [INFO] | +- commons-pool:commons-pool:jar:1.5.4:compile
>> [INFO] | +- org.geotools:gt-metadata:jar:15-SNAPSHOT:compile
>> [INFO] | | \- org.geotools:gt-opengis:jar:15-SNAPSHOT:compile
>> [INFO] | | \- net.java.dev.jsr-275:jsr-275:jar:1.0-beta-2:compile
>> [INFO] | +- jgridshift:jgridshift:jar:1.0:compile
>> [INFO] | \- net.sf.geographiclib:GeographicLib-Java:jar:1.44:compile
>> *[INFO] +- org.geotools:gt-main:jar:15-SNAPSHOT:compile*
>> [INFO] | \- org.jdom:jdom:jar:1.1.3:compile
>> *[INFO] +- com.vividsolutions:jts:jar:1.13:compile*
>> *[INFO] +- javax.media:jai_imageio:jar:1.1:compile*
>> *[INFO] +-
>> it.geosolutions.imageio-ext:imageio-ext-tiff:jar:1.1.13:compile*
>> [INFO] | +-
>> it.geosolutions.imageio-ext:imageio-ext-utilities:jar:1.1.13:compile
>> [INFO] | \-
>> it.geosolutions.imageio-ext:imageio-ext-geocore:jar:1.1.13:compile
>> [INFO] | \-
>> it.geosolutions.imageio-ext:imageio-ext-streams:jar:1.1.13:compile
>> *[INFO] +- org.jaitools:jt-zonalstats:jar:1.4.0:compile*
>> *[INFO] +- org.jaitools:jt-utils:jar:1.4.0:compile*
>> *[INFO] +- it.geosolutions.jaiext.affine:jt-affine:jar:1.0.8:compile*
>> *[INFO] | +-
>> it.geosolutions.jaiext.iterators:jt-iterators:jar:1.0.8:compile*
>> *[INFO] | +-
>> it.geosolutions.jaiext.utilities:jt-utilities:jar:1.0.8:compile*
>> *[INFO] | \- it.geosolutions.jaiext.scale:jt-scale:jar:1.0.8:compile*
>> *[INFO] | \-
>> it.geosolutions.jaiext.translate:jt-translate:jar:1.0.8:compile*
>> *[INFO] +- it.geosolutions.jaiext.algebra:jt-algebra:jar:1.0.8:compile*
>> *[INFO] +-
>> it.geosolutions.jaiext.bandmerge:jt-bandmerge:jar:1.0.8:compile*
>> *[INFO] +-
>> it.geosolutions.jaiext.bandselect:jt-bandselect:jar:1.0.8:compile*
>> *[INFO] +-
>> it.geosolutions.jaiext.bandcombine:jt-bandcombine:jar:1.0.8:compile*
>> *[INFO] +- it.geosolutions.jaiext.border:jt-border:jar:1.0.8:compile*
>> *[INFO] +- it.geosolutions.jaiext.buffer:jt-buffer:jar:1.0.8:compile*
>> *[INFO] +- it.geosolutions.jaiext.crop:jt-crop:jar:1.0.8:compile*
>> *[INFO] +- it.geosolutions.jaiext.lookup:jt-lookup:jar:1.0.8:compile*
>> *[INFO] +- it.geosolutions.jaiext.mosaic:jt-mosaic:jar:1.0.8:compile*
>> *[INFO] +- it.geosolutions.jaiext.nullop:jt-nullop:jar:1.0.8:compile*
>> *[INFO] +- it.geosolutions.jaiext.rescale:jt-rescale:jar:1.0.8:compile*
>> *[INFO] +- it.geosolutions.jaiext.stats:jt-stats:jar:1.0.8:compile*
>> [INFO] | \- com.google.guava:guava:jar:17.0:compile
>> *[INFO] +- it.geosolutions.jaiext.warp:jt-warp:jar:1.0.8:compile*
>> *[INFO] +- it.geosolutions.jaiext.zonal:jt-zonal:jar:1.0.8:compile*
>> *[INFO] +- it.geosolutions.jaiext.binarize:jt-binarize:jar:1.0.8:compile*
>> *[INFO] +- it.geosolutions.jaiext.format:jt-format:jar:1.0.8:compile*
>> *[INFO] +-
>> it.geosolutions.jaiext.colorconvert:jt-colorconvert:jar:1.0.8:compile*
>> *[INFO] +-
>> it.geosolutions.jaiext.errordiffusion:jt-errordiffusion:jar:1.0.8:compile*
>> *[INFO] +-
>> it.geosolutions.jaiext.orderdither:jt-orderdither:jar:1.0.8:compile*
>> *[INFO] +-
>> it.geosolutions.jaiext.colorindexer:jt-colorindexer:jar:1.0.8:compile*
>> *[INFO] +-
>> it.geosolutions.jaiext.imagefunction:jt-imagefunction:jar:1.0.8:compile*
>> *[INFO] +-
>> it.geosolutions.jaiext.piecewise:jt-piecewise:jar:1.0.8:compile*
>> *[INFO] +-
>> it.geosolutions.jaiext.classifier:jt-classifier:jar:1.0.8:compile*
>> *[INFO] +- it.geosolutions.jaiext.rlookup:jt-rlookup:jar:1.0.8:compile*
>> *[INFO] +-
>> it.geosolutions.jaiext.vectorbin:jt-vectorbin:jar:1.0.8:compile*
>>
>> I assume the jar-collector won't collect the "nested dependencies".
>> Take a look on what I have marked with red.
>>
>> The jt-affine is collected.
>> jt-affine depends on jt-iterators, jt-utilities and jt-scale which
>> depends on jt-translate.
>> Those 4 jars aren't collected being not direct dependencies of
>> gt-coverage.
>>
>> Is it there any way to specify somehow a "deeper" level of collection?
>> Or do you think we should simply add the missing dependencies as
>> explicit/direct dependencies of gt-coverage to make sure they are taken by
>> the jar collector?
>>
>> Please, let me know what do you think about it.
>> Cheers,
>> Daniele
>>
>>
>> --
>> ==
>> GeoServer Professional Services from the experts! Visit
>> http://goo.gl/it488V for more information.
>> ==
>>
>> Ing. Daniele Romagnoli
>> Senior Software Engineer
>>
>> GeoSolutions S.A.S.
>> Via di Montramito 3/A
>> 55054 Massarosa (LU)
>> Italy
>> phone: +39 0584 962313
>> fax: +39 0584 1660272
>>
>> http://www.geo-solutions.it
>> http://twitter.com/geosolutions_it
>>
>> -------------------------------------------------------
>>
>> *AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*
>>
>> Le informazioni contenute in questo messaggio di posta elettronica e/o
>> nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
>> loro utilizzo è consentito esclusivamente al destinatario del messaggio,
>> per le finalità indicate nel messaggio stesso. Qualora riceviate questo
>> messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
>> darcene notizia via e-mail e di procedere alla distruzione del messaggio
>> stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
>> divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
>> utilizzarlo per finalità diverse, costituisce comportamento contrario ai
>> principi dettati dal D.Lgs. 196/2003.
>>
>>
>>
>> The information in this message and/or attachments, is intended solely
>> for the attention and use of the named addressee(s) and may be confidential
>> or proprietary in nature or covered by the provisions of privacy act
>> (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
>> Code).Any use not in accord with its purpose, any disclosure, reproduction,
>> copying, distribution, or either dissemination, either whole or partial, is
>> strictly forbidden except previous formal approval of the named
>> addressee(s). If you are not the intended recipient, please contact
>> immediately the sender by telephone, fax or e-mail and delete the
>> information in this message that has been received in error. The sender
>> does not give any warranty or accept liability as the content, accuracy or
>> completeness of sent messages and accepts no responsibility for changes
>> made after they were sent or for other risks which arise as a result of
>> e-mail transmission, viruses, etc.
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Transform Data into Opportunity.
>> Accelerate data analysis in your applications with
>> Intel Data Analytics Acceleration Library.
>> Click to learn more.
>> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
>> _______________________________________________
>> GeoTools-Devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>>
>>
>
>
> ------------------------------------------------------------------------------
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
> _______________________________________________
> GeoTools-Devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>
>
--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==
Ing. Daniele Romagnoli
Senior Software Engineer
GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*
Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel