[ https://issues.apache.org/jira/browse/THRIFT-5171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17077950#comment-17077950 ]
Kengo Seki commented on THRIFT-5171: ------------------------------------ lib/js has the same problem. {code} $ ./configure $ make $ cd lib/java $ make check $ cd ../js $ make check (snip) resolve: [artifact:dependencies] Downloading: com/googlecode/jslint4java/jslint4java-ant/1.4.6/jslint4java-ant-1.4.6.pom from repository central at http://repo1.maven.org/maven2 [artifact:dependencies] Error transferring file: Server returned HTTP response code: 501 for URL: http://repo1.maven.org/maven2/com/googlecode/jslint4java/jslint4java-ant/1.4.6/jslint4java-ant-1.4.6.pom [artifact:dependencies] [WARNING] Unable to get resource 'com.googlecode.jslint4java:jslint4java-ant:pom:1.4.6' from repository central (http://repo1.maven.org/maven2): Error transferring file: Server returned HTTP response code: 501 for URL: http://repo1.maven.org/maven2/com/googlecode/jslint4java/jslint4java-ant/1.4.6/jslint4java-ant-1.4.6.pom [artifact:dependencies] Downloading: eu/medsea/mimeutil/mime-util/2.1.3/mime-util-2.1.3.pom from repository central at http://repo1.maven.org/maven2 [artifact:dependencies] Error transferring file: Server returned HTTP response code: 501 for URL: http://repo1.maven.org/maven2/eu/medsea/mimeutil/mime-util/2.1.3/mime-util-2.1.3.pom [artifact:dependencies] [WARNING] Unable to get resource 'eu.medsea.mimeutil:mime-util:pom:2.1.3' from repository central (http://repo1.maven.org/maven2): Error transferring file: Server returned HTTP response code: 501 for URL: http://repo1.maven.org/maven2/eu/medsea/mimeutil/mime-util/2.1.3/mime-util-2.1.3.pom [artifact:dependencies] Downloading: com/googlecode/jslint4java/jslint4java-ant/1.4.6/jslint4java-ant-1.4.6.jar from repository central at http://repo1.maven.org/maven2 [artifact:dependencies] Downloading: org/apache/httpcomponents/httpclient/4.0.1/httpclient-4.0.1.jar from repository central at http://repo1.maven.org/maven2 [artifact:dependencies] Downloading: eu/medsea/mimeutil/mime-util/2.1.3/mime-util-2.1.3.jar from repository central at http://repo1.maven.org/maven2 [artifact:dependencies] Error transferring file: Server returned HTTP response code: 501 for URL: http://repo1.maven.org/maven2/org/apache/httpcomponents/httpclient/4.0.1/httpclient-4.0.1.jar [artifact:dependencies] [WARNING] Unable to get resource 'org.apache.httpcomponents:httpclient:jar:4.0.1' from repository central (http://repo1.maven.org/maven2): Error transferring file: Server returned HTTP response code: 501 for URL: http://repo1.maven.org/maven2/org/apache/httpcomponents/httpclient/4.0.1/httpclient-4.0.1.jar [artifact:dependencies] Error transferring file: Server returned HTTP response code: 501 for URL: http://repo1.maven.org/maven2/com/googlecode/jslint4java/jslint4java-ant/1.4.6/jslint4java-ant-1.4.6.jar [artifact:dependencies] [WARNING] Unable to get resource 'com.googlecode.jslint4java:jslint4java-ant:jar:1.4.6' from repository central (http://repo1.maven.org/maven2): Error transferring file: Server returned HTTP response code: 501 for URL: http://repo1.maven.org/maven2/com/googlecode/jslint4java/jslint4java-ant/1.4.6/jslint4java-ant-1.4.6.jar [artifact:dependencies] Error transferring file: Server returned HTTP response code: 501 for URL: http://repo1.maven.org/maven2/eu/medsea/mimeutil/mime-util/2.1.3/mime-util-2.1.3.jar [artifact:dependencies] [WARNING] Unable to get resource 'eu.medsea.mimeutil:mime-util:jar:2.1.3' from repository central (http://repo1.maven.org/maven2): Error transferring file: Server returned HTTP response code: 501 for URL: http://repo1.maven.org/maven2/eu/medsea/mimeutil/mime-util/2.1.3/mime-util-2.1.3.jar [artifact:dependencies] An error has occurred while processing the Maven artifact tasks. [artifact:dependencies] Diagnosis: [artifact:dependencies] [artifact:dependencies] Unable to resolve artifact: Missing: [artifact:dependencies] ---------- [artifact:dependencies] 1) org.apache.httpcomponents:httpclient:jar:4.0.1 [artifact:dependencies] [artifact:dependencies] Try downloading the file manually from the project website. [artifact:dependencies] [artifact:dependencies] Then, install it using the command: [artifact:dependencies] mvn install:install-file -DgroupId=org.apache.httpcomponents -DartifactId=httpclient -Dversion=4.0.1 -Dpackaging=jar -Dfile=/path/to/file [artifact:dependencies] [artifact:dependencies] Alternatively, if you host your own repository you can deploy the file there: [artifact:dependencies] mvn deploy:deploy-file -DgroupId=org.apache.httpcomponents -DartifactId=httpclient -Dversion=4.0.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] [artifact:dependencies] [artifact:dependencies] Path to dependency: [artifact:dependencies] 1) org.apache.maven:super-pom:pom:2.0 [artifact:dependencies] 2) org.apache.httpcomponents:httpclient:jar:4.0.1 [artifact:dependencies] [artifact:dependencies] 2) com.googlecode.jslint4java:jslint4java-ant:jar:1.4.6 [artifact:dependencies] [artifact:dependencies] Try downloading the file manually from the project website. [artifact:dependencies] [artifact:dependencies] Then, install it using the command: [artifact:dependencies] mvn install:install-file -DgroupId=com.googlecode.jslint4java -DartifactId=jslint4java-ant -Dversion=1.4.6 -Dpackaging=jar -Dfile=/path/to/file [artifact:dependencies] [artifact:dependencies] Alternatively, if you host your own repository you can deploy the file there: [artifact:dependencies] mvn deploy:deploy-file -DgroupId=com.googlecode.jslint4java -DartifactId=jslint4java-ant -Dversion=1.4.6 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] [artifact:dependencies] [artifact:dependencies] Path to dependency: [artifact:dependencies] 1) org.apache.maven:super-pom:pom:2.0 [artifact:dependencies] 2) com.googlecode.jslint4java:jslint4java-ant:jar:1.4.6 [artifact:dependencies] [artifact:dependencies] 3) eu.medsea.mimeutil:mime-util:jar:2.1.3 [artifact:dependencies] [artifact:dependencies] Try downloading the file manually from the project website. [artifact:dependencies] [artifact:dependencies] Then, install it using the command: [artifact:dependencies] mvn install:install-file -DgroupId=eu.medsea.mimeutil -DartifactId=mime-util -Dversion=2.1.3 -Dpackaging=jar -Dfile=/path/to/file [artifact:dependencies] [artifact:dependencies] Alternatively, if you host your own repository you can deploy the file there: [artifact:dependencies] mvn deploy:deploy-file -DgroupId=eu.medsea.mimeutil -DartifactId=mime-util -Dversion=2.1.3 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] [artifact:dependencies] [artifact:dependencies] Path to dependency: [artifact:dependencies] 1) org.apache.maven:super-pom:pom:2.0 [artifact:dependencies] 2) eu.medsea.mimeutil:mime-util:jar:2.1.3 [artifact:dependencies] [artifact:dependencies] ---------- [artifact:dependencies] 3 required artifacts are missing. [artifact:dependencies] [artifact:dependencies] for artifact: [artifact:dependencies] org.apache.maven:super-pom:pom:2.0 [artifact:dependencies] [artifact:dependencies] from the specified remote repositories: [artifact:dependencies] central (http://repo1.maven.org/maven2) [artifact:dependencies] [artifact:dependencies] BUILD FAILED /home/sekikn/repos/thrift/lib/js/test/build.xml:234: Unable to resolve artifact: Missing: ---------- 1) org.apache.httpcomponents:httpclient:jar:4.0.1 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.httpcomponents -DartifactId=httpclient -Dversion=4.0.1 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.httpcomponents -DartifactId=httpclient -Dversion=4.0.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.maven:super-pom:pom:2.0 2) org.apache.httpcomponents:httpclient:jar:4.0.1 2) com.googlecode.jslint4java:jslint4java-ant:jar:1.4.6 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=com.googlecode.jslint4java -DartifactId=jslint4java-ant -Dversion=1.4.6 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=com.googlecode.jslint4java -DartifactId=jslint4java-ant -Dversion=1.4.6 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.maven:super-pom:pom:2.0 2) com.googlecode.jslint4java:jslint4java-ant:jar:1.4.6 3) eu.medsea.mimeutil:mime-util:jar:2.1.3 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=eu.medsea.mimeutil -DartifactId=mime-util -Dversion=2.1.3 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=eu.medsea.mimeutil -DartifactId=mime-util -Dversion=2.1.3 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.maven:super-pom:pom:2.0 2) eu.medsea.mimeutil:mime-util:jar:2.1.3 ---------- 3 required artifacts are missing. for artifact: org.apache.maven:super-pom:pom:2.0 from the specified remote repositories: central (http://repo1.maven.org/maven2) Total time: 2 seconds Makefile:632: recipe for target 'check-local' failed make[2]: *** [check-local] Error 1 make[2]: Leaving directory '/home/sekikn/repos/thrift/lib/js/test' Makefile:502: recipe for target 'check-am' failed make[1]: *** [check-am] Error 2 make[1]: Leaving directory '/home/sekikn/repos/thrift/lib/js/test' Makefile:546: recipe for target 'check-recursive' failed make: *** [check-recursive] Error 1 {code} > Fix maven-ant-tasks to use HTTPS instead of HTTP > ------------------------------------------------ > > Key: THRIFT-5171 > URL: https://issues.apache.org/jira/browse/THRIFT-5171 > Project: Thrift > Issue Type: Bug > Components: JSON - Compiler > Reporter: Kengo Seki > Assignee: Kengo Seki > Priority: Major > > I ran {{make check}} in the lib/json directory and came across the following > error. > {code:java} > $ ./bootstrap.sh > $ ./configure > $ make > $ cd lib/json > $ make check > (snip) > mvn.init: > [artifact:dependencies] Downloading: > com/github/fge/json-schema-validator/2.2.6/json-schema-validator-2.2.6.pom > from repository central at http://repo1.maven.org/maven2 > [artifact:dependencies] Error transferring file: Server returned HTTP > response code: 501 for URL: > http://repo1.maven.org/maven2/com/github/fge/json-schema-validator/2.2.6/json-schema-validator-2.2.6.pom > [artifact:dependencies] [WARNING] Unable to get resource > 'com.github.fge:json-schema-validator:pom:2.2.6' from repository central > (http://repo1.maven.org/maven2): Error transferring file: Server returned > HTTP response code: 501 for URL: > http://repo1.maven.org/maven2/com/github/fge/json-schema-validator/2.2.6/json-schema-validator-2.2.6.pom > [artifact:dependencies] Downloading: > com/github/fge/json-schema-validator/2.2.6/json-schema-validator-2.2.6.jar > from repository central at http://repo1.maven.org/maven2 > [artifact:dependencies] Error transferring file: Server returned HTTP > response code: 501 for URL: > http://repo1.maven.org/maven2/com/github/fge/json-schema-validator/2.2.6/json-schema-validator-2.2.6.jar > [artifact:dependencies] [WARNING] Unable to get resource > 'com.github.fge:json-schema-validator:jar:2.2.6' from repository central > (http://repo1.maven.org/maven2): Error transferring file: Server returned > HTTP response code: 501 for URL: > http://repo1.maven.org/maven2/com/github/fge/json-schema-validator/2.2.6/json-schema-validator-2.2.6.jar > [artifact:dependencies] An error has occurred while processing the Maven > artifact tasks. > [artifact:dependencies] Diagnosis: > [artifact:dependencies] > [artifact:dependencies] Unable to resolve artifact: Missing: > [artifact:dependencies] ---------- > [artifact:dependencies] 1) com.github.fge:json-schema-validator:jar:2.2.6 > [artifact:dependencies] > [artifact:dependencies] Try downloading the file manually from the project > website. > [artifact:dependencies] > [artifact:dependencies] Then, install it using the command: > [artifact:dependencies] mvn install:install-file > -DgroupId=com.github.fge -DartifactId=json-schema-validator -Dversion=2.2.6 > -Dpackaging=jar -Dfile=/path/to/file > [artifact:dependencies] > [artifact:dependencies] Alternatively, if you host your own repository you > can deploy the file there: > [artifact:dependencies] mvn deploy:deploy-file -DgroupId=com.github.fge > -DartifactId=json-schema-validator -Dversion=2.2.6 -Dpackaging=jar > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > [artifact:dependencies] > [artifact:dependencies] Path to dependency: > [artifact:dependencies] 1) org.apache.maven:super-pom:pom:2.0 > [artifact:dependencies] 2) > com.github.fge:json-schema-validator:jar:2.2.6 > [artifact:dependencies] > [artifact:dependencies] ---------- > [artifact:dependencies] 1 required artifact is missing. > [artifact:dependencies] > [artifact:dependencies] for artifact: > [artifact:dependencies] org.apache.maven:super-pom:pom:2.0 > [artifact:dependencies] > [artifact:dependencies] from the specified remote repositories: > [artifact:dependencies] central (http://repo1.maven.org/maven2) > [artifact:dependencies] > [artifact:dependencies] > BUILD FAILED > /home/sekikn/repos/thrift/lib/json/test/build.xml:116: Unable to resolve > artifact: Missing: > ---------- > 1) com.github.fge:json-schema-validator:jar:2.2.6 > Try downloading the file manually from the project website. > Then, install it using the command: > mvn install:install-file -DgroupId=com.github.fge > -DartifactId=json-schema-validator -Dversion=2.2.6 -Dpackaging=jar > -Dfile=/path/to/file > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=com.github.fge > -DartifactId=json-schema-validator -Dversion=2.2.6 -Dpackaging=jar > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > Path to dependency: > 1) org.apache.maven:super-pom:pom:2.0 > 2) com.github.fge:json-schema-validator:jar:2.2.6 > ---------- > 1 required artifact is missing. > for artifact: > org.apache.maven:super-pom:pom:2.0 > from the specified remote repositories: > central (http://repo1.maven.org/maven2) > Total time: 2 seconds > Makefile:623: recipe for target 'check' failed > make[1]: *** [check] Error 1 > make[1]: Leaving directory '/home/sekikn/repos/thrift/lib/json/test' > Makefile:538: recipe for target 'check-recursive' failed > make: *** [check-recursive] Error 1 > {code} > maven-ant-tasks tries to download jars from the central repository using > HTTP, but the central repository only provides HTTPS access now, so this > error occurred. -- This message was sent by Atlassian Jira (v8.3.4#803005)