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

Failed to resolve Maven universe org.jboss.universe:community-universe #245

Open
sekaijin opened this issue Mar 29, 2019 · 1 comment
Open

Comments

@sekaijin
Copy link

sekaijin commented Mar 29, 2019

Hello

How to use galleon without internet access.
I have a nexus server that has access to the internet.
I added the repository
jboss-public-repository-group
http://myserver:8081/nexus/content/repositories/jboss-public-repository-group/ which is a mirror.

but I still have the messages
install wildfly-core:current --dir=myinstallation -v
Error: Install failed.

  • Failed to resolve Maven universe org.jboss.universe:community-universe
  • Failed to determine the latest version of org.jboss.universe:community-universe:jar:resolver-status.properties. Make sure the remote Maven repository is properly configured and available.

`$maven get-info

Configuration Item Value

Default release policy daily
Default snapshot policy never
Enable release true
Enable snapshot false
Local repository C:\Users\me.m2\repository
Maven xml settings C:\tools\org\apache\maven\3.5.3\conf\settings.xml
Offline false
Remote repositories jboss-public-repository-group
url=http://repository.jboss.org/nexus/content/groups/public/
type=default
release=true
releaseUpdatePolicy=daily
snapshot=false
snapshotUpdatePolicy=never
maven-central
url=http://repo1.maven.org/maven2/
type=default
release=true
releaseUpdatePolicy=daily
snapshot=false
snapshotUpdatePolicy=never
public
url=http://sap-nexus.sap.aphp.fr:8081/nexus/content/groups/public/
type=default
release=true
releaseUpdatePolicy=daily
snapshot=false
snapshotUpdatePolicy=never
releases
url=http://myserver:8081/nexus/content/repositories/releases/
type=default
release=true
releaseUpdatePolicy=daily
snapshot=false
snapshotUpdatePolicy=never
jboss-public-repository-group
url=http://myserver:8081/nexus/content/repositories/jboss-public-repository-group/
type=default
release=true
releaseUpdatePolicy=daily
snapshot=false
snapshotUpdatePolicy=never`

I tried maven remove-repository maven-central
to remove "maven-central" and replace it with my nexus server. but I did not find the right syntax
I still have "maven-central" not found

A+JYT

@aloubyansky
Copy link
Contributor

Hello,

sorry, I noticed this issue too late. As you probably noticed, we don't use github for issue tracking or discussions.
Galleon issue track is https://issues.jboss.org/projects/GAL/issues
And for discussions we use https://wildfly.zulipchat.com/#narrow/stream/184003-galleon

Anyway, back to your issue. First of all you can't actually remove maven-central. This repository is always added by Maven itself.
How is the repo that you configured is populated? The universe artifact is available in maven-central but it appears it isn't in your repo. If you can't get the universe artifact in your repo, install command won't actually work. I think we should fix it for the default universe.

You can still provision wildfly w/o it assuming you have all the other necessary artifacts in your repo. Here is an example how it provisioned using a maven plugin https://github.com/wildfly/wildfly/blob/master/dist/pom.xml#L76

Another workaround would be to download the necessary feature-packs as ZIP files and use the CLI import command for each. And then install wildfly.

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

2 participants