You should not have to build jjtree-javacc manually in a separate step. If I make a fresh clone, switch to 19.x, and build with "mvn clean install" (with only a "-s" option to set an empty local repo), the build passes.

Dave, did any previous 19.x build use -T?

I suspect that we might have a race condition. gt-cql uses the jjtree-javacc plugin but does not declare a dependency on it, so a multithreaded build can race between a local build of jjtree-javacc and a remote snapshot download from repo.boundlessgeo.com.

(Not to mention the default (without -llr) repository behaviour using _remote.repositories to remember origin and reject origin change (see <https://issues.apache.org/jira/browse/MNG-5883> and related issues).)

Here is the output for mvn dependency:tree on 19.x:

[INFO] org.geotools:gt-cql:jar:19-SNAPSHOT
[INFO] +- org.geotools:gt-main:jar:19-SNAPSHOT:compile
[INFO] |  +- org.geotools:gt-api:jar:19-SNAPSHOT:compile
[INFO] |  +- com.vividsolutions:jts-core:jar:1.14.0:compile
[INFO] |  \- org.jdom:jdom2:jar:2.0.6:compile
[INFO] +- org.geotools:gt-epsg-wkt:jar:19-SNAPSHOT:provided
[INFO] |  \- org.geotools:gt-referencing:jar:19-SNAPSHOT:compile
[INFO] |     +- org.ejml:ejml-ddense:jar:0.32:compile
[INFO] |     |  \- org.ejml:ejml-core:jar:0.32:compile
[INFO] |     +- commons-pool:commons-pool:jar:1.5.4:compile
[INFO] |     +- org.geotools:gt-metadata:jar:19-SNAPSHOT:compile
[INFO] |     |  \- org.geotools:gt-opengis:jar:19-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] +- javax.media:jai_core:jar:1.1.3:compile
[INFO] \- junit:junit:jar:4.11:test
[INFO]    \- org.hamcrest:hamcrest-core:jar:1.3:test

I tested with:

$ mvn -version
Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-18T06:33:14+12:00)
Maven home: /home/ben/java/maven
Java version: 1.8.0_171, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux", version: "4.16.0-2-amd64", arch: "amd64", family: "unix"

Kind regards,
Ben.

On 04/07/18 09:27, Dave Wichers wrote:
That worked! Thanks (I'm using CentOS 7 by the way).


I'd  suggest you update the Build section of: 
https://github.com/geotools/geotools/blob/master/README.md to mention that you 
have to run mvn clean install from the build directory once, the first time, 
before you can build from the root of the project.


Thanks, Dave


________________________________
From: [email protected] <[email protected]> on behalf of Andrea Aime 
<[email protected]>
Sent: Tuesday, July 3, 2018 10:12:28 AM
To: Dave Wichers
Cc: [email protected]
Subject: Re: [Geotools-devel] Can't build GeoTools??

Hi Dave,
that's the same as I have... maybe we don't see it because we have a long 
history of builds locally...
Wondering, what if you do the following, just for the first time:

   *   cd build
   *   mvn clean install
   *   cd ..
   *   mvn clean install

Ah, what operating system are you on? There are tests not passing on Windows, 
it's a known issue, but we lack
the Windows devs to fix it.

Cheers
Andrea

On Mon, Jul 2, 2018 at 3:58 PM, Dave Wichers 
<[email protected]<mailto:[email protected]>> wrote:

I've tried building the master, 18.x, and 19.x branches and I always get an 
error in this project:

[INFO] OGC CQL to Filter parser ........................... FAILURE [  0.001 s]

Like so:

[ERROR] Failed to parse plugin descriptor for 
org.geotools.maven:jjtree-javacc:19-SNAPSHOT 
(/home/drwiche/git/geotools/build/maven/jjtree-javacc/target/classes): No plugin 
descriptor found at META-INF/maven/plugin.xml -> [Help 1]

Am I trying to build it wrong? I'm simply using: mvn clean install (as it 
suggests).

Thanks, Dave


Any tax advice in this e-mail should be considered in the context of the tax 
services we are providing to you. Preliminary tax advice should not be relied 
upon and may be insufficient for penalty protection.
________________________________________________________________________
The information contained in this message may be privileged and confidential 
and protected from disclosure. If the reader of this message is not the 
intended recipient, or an employee or agent responsible for delivering this 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this communication in error, please notify us 
immediately by replying to the message and deleting it from your computer.

Notice required by law: This e-mail may constitute an advertisement or solicitation under U.S. law, 
if its primary purpose is to advertise or promote a commercial product or service. You may choose 
not to receive advertising and promotional messages from Ernst & Young LLP (except for EY 
Client Portal and the ey.com<http://ey.com> website, which track e-mail preferences through a 
separate process) at this e-mail address by forwarding this message to 
[email protected]<mailto:[email protected]>. If you do so, the sender of this message 
will be notified promptly. Our principal postal address is 5 Times Square, New York, NY 10036. 
Thank you. Ernst & Young LLP

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
GeoTools-Devel mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/geotools-devel




--

Regards, Andrea Aime == GeoServer Professional Services from the experts! Visit 
http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf 
Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) 
phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 
http://www.geo-solutions.it http://twitter.com/geosolutions_it 
------------------------------------------------------- Con riferimento alla 
normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento 
generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza 
inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è 
un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, 
ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene 
notizia. This email is intended only for the person or entity to which it is 
addressed and may contain information that is privileged, confidential or 
otherwise protected from disclosure. We remind that - as provided by European 
Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or 
the information herein by anyone other than the intended recipient is 
prohibited. If you have received this email by mistake, please notify us 
immediately by telephone or e-mail.


Any tax advice in this e-mail should be considered in the context of the tax 
services we are providing to you. Preliminary tax advice should not be relied 
upon and may be insufficient for penalty protection.
________________________________________________________________________
The information contained in this message may be privileged and confidential 
and protected from disclosure. If the reader of this message is not the 
intended recipient, or an employee or agent responsible for delivering this 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this communication in error, please notify us 
immediately by replying to the message and deleting it from your computer.

Notice required by law: This e-mail may constitute an advertisement or solicitation 
under U.S. law, if its primary purpose is to advertise or promote a commercial product 
or service. You may choose not to receive advertising and promotional messages from 
Ernst & Young LLP (except for EY Client Portal and the ey.com website, which track 
e-mail preferences through a separate process) at this e-mail address by forwarding 
this message to [email protected]. If you do so, the sender of this message will be 
notified promptly. Our principal postal address is 5 Times Square, New York, NY 10036. 
Thank you. Ernst & Young LLP



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot



_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel


--
Ben Caradoc-Davies <[email protected]>
Director
Transient Software Limited <https://transient.nz/>
New Zealand
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to