[Geoserver-devel] Maven compile error

Hi,

Trying to compile Geoserver:

https://docs.geoserver.org/latest/en/developer/quickstart/maven.html

It stops with;

Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project gs-main: Compilation failure: Compilation failure:
[ERROR] /E:/git/geoserver/src/main/src/main/java/org/geoserver/catalog/CoverageDimensionCustomizerReader.java:[58,25] package tec.uom.se.format does not exist
[ERROR] /E:/git/geoserver/src/main/src/main/java/org/geoserver/catalog/CoverageDimensionCustomizerReader.java:[597,28] cannot find symbol
[ERROR] symbol: variable SimpleUnitFormat
[ERROR] location: class org.geoserver.catalog.CoverageDimensionCustomizerReader.WrappedSampleDimension

I understand that there has been an update of that package to ...Units2?

Is this something we can skip? Or is there a way to make maven aware of that package (there are A LOT of pom files :slight_smile: )

Thanks for any pointers,

Regards,

Richard Duivenvoorde

ps main goal is to be able to debug in Eclipse/Windows to be able to research an ldap/ad issue we have..

Ah, duh,

Never mind, I had an old git checkout (branch master...) which I updated (till june last year...).

Should have started with a fresh checkout which has a 'main'....

Sorry for the noise

Regards,
Richard

On 1/11/22 10:20, Richard Duivenvoorde wrote:

Hi,

Trying to compile Geoserver:

https://docs.geoserver.org/latest/en/developer/quickstart/maven.html

It stops with;

Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project gs-main: Compilation failure: Compilation failure:
[ERROR] /E:/git/geoserver/src/main/src/main/java/org/geoserver/catalog/CoverageDimensionCustomizerReader.java:[58,25] package tec.uom.se.format does not exist
[ERROR] /E:/git/geoserver/src/main/src/main/java/org/geoserver/catalog/CoverageDimensionCustomizerReader.java:[597,28] cannot find symbol
[ERROR] symbol: variable SimpleUnitFormat
[ERROR] location: class org.geoserver.catalog.CoverageDimensionCustomizerReader.WrappedSampleDimension

I understand that there has been an update of that package to ...Units2?

Is this something we can skip? Or is there a way to make maven aware of that package (there are A LOT of pom files :slight_smile: )

Thanks for any pointers,

Regards,

Richard Duivenvoorde

ps main goal is to be able to debug in Eclipse/Windows to be able to research an ldap/ad issue we have..

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