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

How build candy #757

Open
baobab-it opened this issue Jun 29, 2023 · 4 comments
Open

How build candy #757

baobab-it opened this issue Jun 29, 2023 · 4 comments

Comments

@baobab-it
Copy link

Hello

I've try build candy generator (with Java 17 and 11):

$ mvn generate-sources -P genparser

But got error:

Could not resolve dependencies for project org.jsweet:jsweet-candy-generator:jar:2.0.0-SNAPSHOT: Failed to collect dependencies at org.cincheo:file-visitor:jar:1.0.0: Failed to read artifact descriptor for org.cincheo:file-visitor:jar:1.0.0: Could not transfer artifact org.cincheo:file-visitor:pom:1.0.0 from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [jsweet-central (http://repository.jsweet.org/artifactory/libs-release-local, default, releases+snapshots), jsweet-snapshots (http://repository.jsweet.org/artifactory/libs-snapshot-local, default, releases+snapshots), jsweet-external (http://repository.jsweet.org/artifactory/ext-release-local, default, releases+snapshots)]

Something blocking in repository http://repository.jsweet.org?

@bannmann
Copy link

I had the same problem. It seems that recent Maven versions block any repository that has a http:// URL. Luckily, JSweet's Artifactory serves HTTPS just fine. The main JSweet pom.xml even uses https:// URLs, but for some reason the candy generator doesn't.

So to fix the generator, all one needs to do is to edit its pom.xml and change http:// to https:// in all repository entries.

@renaudpawlak, could you please apply that fix?

@lgrignon
Copy link
Collaborator

Thanks @bannmann that's exactly what you need to do, use only https

@bannmann
Copy link

@lgrignon, I think this issue should stay open until candy-generator/pom.xml includes that fix.

@lgrignon
Copy link
Collaborator

Actually there was no contribution to this project for a long time now, but let's keep it open in case someone has time to contribute again in the future

@lgrignon lgrignon reopened this Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants