Closed yeroc closed 6 years ago
Looking at this some more, it looks like the build script tries to remove this dependency but it's not working:
$ ./build-eap7.sh
Here we go. Building EAP version 7.1.2.
File jboss-eap-7.1.2-src.zip already here. No need to download it again.
download/jboss-eap-7.1.2-src.zip: OK
Checksum verified for jboss-eap-7.1.2-src.zip
Unzipping jboss-eap-7.1.2-src.zip
jboss-eap-7.1.2-src.zip unzipped
Undefined namespace prefix: //_:dependency[_:artifactId='jboss-server-migration-eap7.1-feature-pack']
Invalid expression: //_:dependency[_:artifactId='jboss-server-migration-eap7.1-feature-pack']
Undefined namespace prefix: //_:feature-pack[@artifactId='jboss-server-migration-eap7.1-feature-pack']
Invalid expression: //_:feature-pack[@artifactId='jboss-server-migration-eap7.1-feature-pack']
File wildfly-core-parent-3.0.10.Final-source-release.zip already here. No need to download it again.
download/wildfly-core-parent-3.0.10.Final-source-release.zip: OK
Checksum verified for wildfly-core-parent-3.0.10.Final-source-release.zip
Unzipping wildfly-core-parent-3.0.10.Final-source-release.zip
wildfly-core-parent-3.0.10.Final-source-release.zip unzipped
Undefined namespace prefix: //_:dependency[_:artifactId='wildfly-core-model-test-framework']
Invalid expression: //_:dependency[_:artifactId='wildfly-core-model-test-framework']
Undefined namespace prefix: //_:copy-artifact[@artifact='org.wildfly.openssl:wildfly-openssl-macosx-x86_64']
Invalid expression: //_:copy-artifact[@artifact='org.wildfly.openssl:wildfly-openssl-macosx-x86_64']
Launching Maven build for core-feature-pack
Error in Maven build for core-feature-pack
Build failed. You may have a look at the work/build.log file, maybe you'll find the reason why it failed.
Looks like the version of xmlstarlet available on my machine (CentOS 6 + EPEL) doesn't support the options being used in the build script. Any idea what the minimum xmlstarlet version is?
It looks like xmlstarlet 1.3.1 does not understand _ as the default namespace. According to the documentation, it has been introduced in version 1.5.0.
A workaround could be found with the -N option.
I've been unsuccessful in my attempts to build either EAP 7.1.1 or 7.1.2. In both cases the build fails on the same dependency:
NOTE: The version of the artifact differs between 7.1.1 and 7.1.2 but the end result is the same.