Skip to content

Commit

Permalink
NUTCH-2722 Fetch dependencies via https
Browse files Browse the repository at this point in the history
- change repository URLs to https
- fix ant "restdocs" task not to download
  dependencies via http://
  • Loading branch information
sebastian-nagel committed Jul 11, 2019
1 parent f4b6b37 commit fc6a274
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
11 changes: 11 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,17 @@
<artifact:mvn>
<arg value="test"/>
<arg value="-e"/>
<arg value="-o"/>
<!-- run offline (-o): must not download dependencies as this is
done from http://repo1.maven.org/ hardwired in
maven-ant-tasks-2.1.3.jar, see NUTCH-2722.
Dependencies and plugins need to be resolved and cached locally beforehand
by running
`mvn dependency:resolve`
resp.
`mvn dependency:resolve-plugins`
after the pom.xml has been generated. -->
</artifact:mvn>
</target>

Expand Down
13 changes: 2 additions & 11 deletions ivy/ivysettings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,11 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- you can override this property to use mirrors
http://repo1.maven.org/maven2/
http://mirrors.dotsrc.org/maven2
http://ftp.ggi-project.org/pub/packages/maven2
http://mirrors.sunsite.dk/maven2
http://public.planetmirror.com/pub/maven2
http://ibiblio.lsu.edu/main/pub/packages/maven2
http://www.ibiblio.net/pub/packages/maven2
-->
<property name="oss.sonatype.org"
value="http://oss.sonatype.org/content/repositories/releases/"
value="https://oss.sonatype.org/content/repositories/releases/"
override="false"/>
<property name="repo.maven.org"
value="http://repo1.maven.org/maven2/"
value="https://repo1.maven.org/maven2/"
override="false"/>
<property name="repository.apache.org"
value="https://repository.apache.org/content/repositories/snapshots/"
Expand Down
2 changes: 1 addition & 1 deletion ivy/mvn.template
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

<scm>
<developerConnection>scm:git:https://github.com/apache/nutch.git</developerConnection>
<connection>scm:git:http://github.com/apache/nutch.git</connection>
<connection>scm:git:https://github.com/apache/nutch.git</connection>
<url>https://github.com/apache/nutch.git</url>
</scm>

Expand Down

0 comments on commit fc6a274

Please sign in to comment.