etf-validator/etf-webapp

etf-sui-ae build error

jlgarciasanchez opened this issue · 5 comments

I'm trying to build etf-sui-ae using the gradle script, but I get the next error:

Could not resolve de.interactive_instruments:ii-commons-util:2.0.0-SNAPSHOT.
  Required by:
      project :etf-sui-mapper
   > Could not resolve de.interactive_instruments:ii-commons-util:2.0.0-SNAPSHOT.
      > Unable to load Maven meta-data from https://services.interactive-instruments.de/etfdev-af/snapshot/de/interactive_instruments/ii-commons-util/2.0.0-SNAPSHOT/maven-metadata.xml.
         > Could not GET 'https://services.interactive-instruments.de/etfdev-af/snapshot/de/interactive_instruments/ii-commons-util/2.0.0-SNAPSHOT/maven-metadata.xml'. Received status code 401 from server: Unauthorized
   > Could not resolve de.interactive_instruments:ii-commons-util:2.0.0-SNAPSHOT.
      > Unable to load Maven meta-data from http://services.interactive-instruments.de/etfdev-af/ext-releases-local/de/interactive_instruments/ii-commons-util/2.0.0-SNAPSHOT/maven-metadata.xml.
         > Could not GET 'http://services.interactive-instruments.de/etfdev-af/ext-releases-local/de/interactive_instruments/ii-commons-util/2.0.0-SNAPSHOT/maven-metadata.xml'. Received status code 403 from server: Forbidden
   > Could not resolve de.interactive_instruments:ii-commons-util:2.0.0-SNAPSHOT.
      > Unable to load Maven meta-data from http://services.interactive-instruments.de/etfdev-af/ext-cache/de/interactive_instruments/ii-commons-util/2.0.0-SNAPSHOT/maven-metadata.xml.
         > Could not GET 'http://services.interactive-instruments.de/etfdev-af/ext-cache/de/interactive_instruments/ii-commons-util/2.0.0-SNAPSHOT/maven-metadata.xml'. Received status code 403 from server: Forbidden

Todo:

  • The package needs an update of the etf-bda module.

Temporary workaround:

Comment out, line 20 in build.gradle:

dependencies {
		// ant.unjar src: configurations.classpath.files.find {it.path.contains('etf')}, dest: 'build/gradle'
	}

Replace lines 101 and 102 in build/gradle/ii-bda.gradle :

ext.r_user = project.findProperty("ii.etfdev.repo.username") ?: 'etf-public-releases'
ext.r_pwd = project.findProperty("ii.etfdev.repo.password") ?: 'etf-public-releases'

with


ext.r_user = project.findProperty("ii.etfdev.repo.username") ?: 'etf-public-dev'
ext.r_pwd = project.findProperty("ii.etfdev.repo.password") ?: 'etf-public-dev'

With these changes we can build the jar. Thank you.

You're welcome!
I reopen the issue -otherwise I forget to fix it.

Just a note that this also occurs when building the etf-stdtot (https://github.com/etf-validator/etf-stdtot) library standalone.

The issue should be fixed.