Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WFLY-11932] Use HTTPS for repository and pluginRepository URLs #12199

Merged
merged 3 commits into from Apr 5, 2019

Conversation

@bstansberry
Copy link
Contributor

bstansberry commented Apr 2, 2019

@jamezp

This comment has been minimized.

Copy link
Member

jamezp commented Apr 2, 2019

Should we change all the links to the licenses to be https as well? For example

<url>http://repository.jboss.org/licenses/epl-1.0.txt</url>
.

Maybe in the Example_subsystem.adoc too.

@bstansberry

This comment has been minimized.

Copy link
Contributor Author

bstansberry commented Apr 2, 2019

@jamezp Sure, I'll change the Example_subsystem; it's somewhat related; might as well give good advice.

@psakar @dosoudil Are files like https://github.com/wildfly/wildfly/blob/7169e62f33e77aeb6fdbcc22031204c1d754026e/feature-pack/src/license/full-feature-pack-licenses.xml relevant to WFLY-11932? The point here is when WildFly is built we want it to use HTTPS to pull down things that end up in our dist. I forget whether the license plugin pulls anything down.

@bstansberry bstansberry force-pushed the bstansberry:WFLY-11932 branch from 9a9e2b4 to 2d80467 Apr 3, 2019
@bstansberry

This comment has been minimized.

Copy link
Contributor Author

bstansberry commented Apr 3, 2019

@jamezp I went ahead and updated the [full|servlet]-feature-pack-licenses.xml files, regardless of my question above (which I'm still curious about.) For all the URLs, https works so might as well use that.

@psakar

This comment has been minimized.

Copy link
Contributor

psakar commented Apr 3, 2019

@bstansberry licenses are not downloaded during build, they must be already present in the feature pack's folder src/main/resources/content/docs/licenses (eg https://github.com/wildfly/wildfly/tree/master/feature-pack/src/main/resources/content/docs/licenses)
List of approved licenses (their urls) should be updated first (or procedure checking those urls)

@bstansberry

This comment has been minimized.

Copy link
Contributor Author

bstansberry commented Apr 3, 2019

@psakar Thanks. I'll drop that last commit then as it's not relevant to the purpose of the JIRA.

@bstansberry bstansberry force-pushed the bstansberry:WFLY-11932 branch from 2d80467 to 27981b6 Apr 3, 2019
@bstansberry bstansberry added the hold label Apr 3, 2019
@bstansberry

This comment has been minimized.

Copy link
Contributor Author

bstansberry commented Apr 3, 2019

@psakar WDYT about the new commit I added here? It's your idea of allowing -D to control this. I made the prop just control the protocol vs the whole URL, figuring that would be easier to use, but the entire URL could be configurable if there's a benefit.

You can set to 'http' if you are using a maven proxy and 'https'
interferes with that. Use 'https' for builds that will be released
to non-snapshot public maven repos -->
<maven.repository.protocol>https</maven.repository.protocol>

This comment has been minimized.

Copy link
@psakar

psakar Apr 3, 2019

Contributor

I personally think that ability to control whole url is better (gives you chance to use different repo), OTOH for the purpose of being able to use http protocol to be able to use maven proxy this is perfectly valid

This comment has been minimized.

Copy link
@bstansberry

bstansberry Apr 3, 2019

Author Contributor

I'll add a second property, which uses this one for the protocol part of its default value.

This comment has been minimized.

Copy link
@bstansberry

bstansberry Apr 3, 2019

Author Contributor

@psakar Done

… communication with the remote maven repo
@bstansberry bstansberry force-pushed the bstansberry:WFLY-11932 branch from 38dcc56 to 3694831 Apr 3, 2019
@jamezp
jamezp approved these changes Apr 3, 2019
@bstansberry bstansberry added ready-for-merge and removed hold labels Apr 3, 2019
@bstansberry bstansberry merged commit 526d32b into wildfly:master Apr 5, 2019
6 checks passed
6 checks passed
Linux - JDK 11 (Pull Request) - merge TeamCity build finished
Details
Linux - JDK 8 Finished TeamCity Build WildFly / Pull Request / Linux - JDK 8 : Tests passed: 4843, ignored: 133
Details
Linux - elytron - JDK 8 (Pull Request) - merge TeamCity build finished
Details
Linux with security manager - JDK 8 Finished TeamCity Build WildFly / Pull Request / Linux SM - JDK 8 : Tests passed: 4499, ignored: 151
Details
Windows - JDK 11 Finished TeamCity Build WildFly / Pull Request / Windows - JDK 11 : Tests passed: 4616, ignored: 134
Details
Windows - JDK 8 Finished TeamCity Build WildFly / Pull Request / Windows - JDK 8 : Tests passed: 4836, ignored: 138
Details
@bstansberry bstansberry deleted the bstansberry:WFLY-11932 branch Apr 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.