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

build failure #15

Open
akhilanath opened this issue Oct 12, 2019 · 2 comments
Open

build failure #15

akhilanath opened this issue Oct 12, 2019 · 2 comments

Comments

@akhilanath
Copy link

Windup OpenShift - Parent .......................... SUCCESS [ 19.282 s]
[INFO] windup-web-openshift ............................... FAILURE [ 13.835 s]
[INFO] windup-web-openshift-messaging-executor ............ SKIPPED
[INFO] windup-cli-openshift ............................... SKIPPED
[INFO] windup-web-openshift-templates ..................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 33.732 s
[INFO] Finished at: 2019-10-12T17:35:55+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.10:copy (copy-dependencies) on project windup-web-openshift: Unable to find artifact.: Could not find artifact org.jboss.windup.web:windup-web-services:war:4.3.0-SNAPSHOT
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=org.jboss.windup.web -DartifactId=windup-web-services -Dversion=4.3.0-SNAPSHOT -Dpackaging=war -Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository yo

@ezYakaEagle442
Copy link

I hit the same error running mvn clean package -DskipTests
@carlosthe19916 @jonathanvila

[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Windup OpenShift - Parent [pom]
[INFO] windup-web-openshift [jar]
[INFO] windup-web-openshift-messaging-executor [jar]
[INFO] windup-cli-openshift [jar]
[INFO] windup-web-openshift-templates [jar]
[INFO]
[INFO] --------------< org.jboss.windup:windup-openshift-parent >--------------
[INFO] Building Windup OpenShift - Parent 6.2.0-SNAPSHOT [1/5]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ windup-openshift-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java-version) @ windup-openshift-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ windup-openshift-parent ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.4:create (get-scm-revision) @ windup-openshift-parent ---
[INFO] Executing: /bin/sh -c cd '/mnt/c/github/windup-openshift' && 'git' 'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: /mnt/c/github/windup-openshift
[INFO] Storing buildNumber: dc25ba9 at timestamp: 1680505757414
[INFO] Storing buildScmBranch: master
[INFO]
[INFO] --- exec-maven-plugin:3.0.0:exec (start-async-podman-service) @ windup-openshift-parent ---
[INFO]
[INFO] --- maven-source-plugin:3.0.1:jar-no-fork (attach-sources) @ windup-openshift-parent ---
[INFO]
[INFO] ---------------< org.jboss.windup:windup-web-openshift >----------------
[INFO] Building windup-web-openshift 6.2.0-SNAPSHOT [2/5]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ windup-web-openshift ---
[INFO] Deleting /mnt/c/github/windup-openshift/web/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java-version) @ windup-web-openshift ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ windup-web-openshift ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.4:create (get-scm-revision) @ windup-web-openshift ---
[INFO]
[INFO] --- maven-resources-plugin:3.0.1:resources (default-resources) @ windup-web-openshift ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 12 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.0:compile (default-compile) @ windup-web-openshift ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-dependency-plugin:2.10:copy (copy-dependencies) @ windup-web-openshift ---
[INFO] Configured Artifact: org.keycloak:keycloak-wildfly-adapter-dist:18.0.2:zip
[INFO] Configured Artifact: org.jboss.windup.web:windup-web-services:6.2.0-SNAPSHOT:war
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Windup OpenShift - Parent 6.2.0-SNAPSHOT:
[INFO]
[INFO] Windup OpenShift - Parent .......................... SUCCESS [ 1.173 s]
[INFO] windup-web-openshift ............................... FAILURE [ 6.137 s]
[INFO] windup-web-openshift-messaging-executor ............ SKIPPED
[INFO] windup-cli-openshift ............................... SKIPPED
[INFO] windup-web-openshift-templates ..................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.959 s
[INFO] Finished at: 2023-04-03T09:09:24+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.10:copy (copy-dependencies) on project windup-web-openshift: Unable to find artifact.: Could not find artifact org.jboss.windup.web:windup-web-services:war:6.2.0-SNAPSHOT
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=org.jboss.windup.web -DartifactId=windup-web-services -Dversion=6.2.0-SNAPSHOT -Dpackaging=war -Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the file there:
[ERROR] mvn deploy:deploy-file -DgroupId=org.jboss.windup.web -DartifactId=windup-web-services -Dversion=6.2.0-SNAPSHOT -Dpackaging=war -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR]
[ERROR] org.jboss.windup.web:windup-web-services:war:6.2.0-SNAPSHOT
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false)
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :windup-web-openshift

@carlosthe19916
Copy link
Member

carlosthe19916 commented Apr 3, 2023

@ezYakaEagle442
The whole Windup project has a chain of dependencies that are as follow:

windup -> windup-rulesets -> windup-distribution -> windup-web -> windup-openshift

I can suggest you to do:

  1. Clone https://github.com/windup/windup-web and there execute mvn clean install -DskipTests -s settings.xml. This way you are using https://github.com/windup/windup-web/blob/master/settings.xml to download the snapshot dependency files.
  2. Clone https://github.com/windup/windup-openshift and there execute mvn clean install -DskipTests

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