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

Cant' find plugin fabric8 for https://github.com/RedHatWorkshops/rider-auto-openshift/blob/master/rider-auto-ose-installer/README.md #15

Open
alberttwong opened this issue May 9, 2016 · 8 comments

Comments

@alberttwong
Copy link

Says to run mvn clean install fabric8:json fabric8:apply

I get this.

[vagrant@rhel-cdk rider-auto-openshift]$ mvn clean install fabric8:json fabric8:apply
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Rider Auto OSGi Example
[INFO] Rider Auto OSGi Example :: Common
[INFO] Rider Auto OSGi Example :: File Poller
[INFO] Rider Auto OSGi Example :: Web Service
[INFO] Rider Auto OSGi Example :: Normalizer
[INFO] Rider Auto OSGi Example :: Backend
[INFO] Rider Auto OSGi Example :: OpenShift Installer
[INFO] Rider Auto OSGi Example :: REST service
Downloading: http://maven.repository.redhat.com/techpreview/all/org/codehaus/mojo/maven-metadata.xml
Downloading: http://maven.repository.redhat.com/techpreview/all/org/apache/maven/plugins/maven-metadata.xml
Downloading: http://maven.repository.redhat.com/earlyaccess/all/org/apache/maven/plugins/maven-metadata.xml
Downloading: http://maven.repository.redhat.com/earlyaccess/all/org/codehaus/mojo/maven-metadata.xml
Downloaded: http://maven.repository.redhat.com/earlyaccess/all/org/apache/maven/plugins/maven-metadata.xml (6 KB at 10.2 KB/sec)
Downloaded: http://maven.repository.redhat.com/techpreview/all/org/codehaus/mojo/maven-metadata.xml (228 B at 0.3 KB/sec)
Downloaded: http://maven.repository.redhat.com/earlyaccess/all/org/codehaus/mojo/maven-metadata.xml (5 KB at 4.2 KB/sec)
Downloading: https://repository.jboss.org/nexus/content/repositories/fs-releases/org/apache/maven/plugins/maven-metadata.xml
Downloading: https://repository.jboss.org/nexus/content/groups/public/org/apache/maven/plugins/maven-metadata.xml
Downloading: https://repository.jboss.org/nexus/content/repositories/fs-releases/org/codehaus/mojo/maven-metadata.xml
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml
Downloading: https://repository.jboss.org/nexus/content/groups/public/org/codehaus/mojo/maven-metadata.xml
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
Downloaded: https://repository.jboss.org/nexus/content/groups/public/org/apache/maven/plugins/maven-metadata.xml (9 KB at 12.8 KB/sec)
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (13 KB at 13.1 KB/sec)
Downloaded: https://repository.jboss.org/nexus/content/groups/public/org/codehaus/mojo/maven-metadata.xml (22 KB at 24.0 KB/sec)
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (20 KB at 17.5 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Rider Auto OSGi Example ............................ SKIPPED
[INFO] Rider Auto OSGi Example :: Common .................. SKIPPED
[INFO] Rider Auto OSGi Example :: File Poller ............. SKIPPED
[INFO] Rider Auto OSGi Example :: Web Service ............. SKIPPED
[INFO] Rider Auto OSGi Example :: Normalizer .............. SKIPPED
[INFO] Rider Auto OSGi Example :: Backend ................. SKIPPED
[INFO] Rider Auto OSGi Example :: OpenShift Installer ..... SKIPPED
[INFO] Rider Auto OSGi Example :: REST service ............ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.256 s
[INFO] Finished at: 2016-05-08T04:23:17-04:00
[INFO] Final Memory: 30M/195M
[INFO] ------------------------------------------------------------------------
[ERROR] No plugin found for prefix 'fabric8' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/home/vagrant/.m2/repository), jboss-earlyaccess-plugin-repository (http://maven.repository.redhat.com/earlyaccess/all/), jboss-ga-plugin-repository (http://maven.repository.redhat.com/techpreview/all), fuse-releases (https://repository.jboss.org/nexus/content/repositories/fs-releases/), public jboss (https://repository.jboss.org/nexus/content/groups/public/), central (https://repo.maven.apache.org/maven2)] -> [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/NoPluginFoundForPrefixException
@alberttwong
Copy link
Author

@christian-posta Any idea? I tried to manually edit the pom.xml in main and it didn't work. Usually this doesn't have this type of problem.

@alberttwong
Copy link
Author

need to add

      <plugin>
        <groupId>io.fabric8</groupId>
        <artifactId>fabric8-maven-plugin</artifactId>
      </plugin>

in the main pom.xml

@christian-posta
Copy link
Contributor

maybe an omission in the docs... can you try mvn clean install -Pfabric8 fabric8:json fabric8:apply?

@alberttwong
Copy link
Author

#16

@christian-posta
Copy link
Contributor

btw.. the installer project assumes all of the other modules have built their kubernetes.json files and then merges the result into a single kubernetes.json

@alberttwong
Copy link
Author

doesn't work... need to add to pom.xml

vagrant@rhel-cdk rider-auto-openshift]$ git reset HEAD --hard
HEAD is now at 780ff2f added puhlic jboss repos to the pom.xml for those that dont have it in their settings.xml
[vagrant@rhel-cdk rider-auto-openshift]$ mvn clean install -Pfabric8 fabric8:json fabric8:apply
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Rider Auto OSGi Example
[INFO] Rider Auto OSGi Example :: Common
[INFO] Rider Auto OSGi Example :: File Poller
[INFO] Rider Auto OSGi Example :: Web Service
[INFO] Rider Auto OSGi Example :: Normalizer
[INFO] Rider Auto OSGi Example :: Backend
[INFO] Rider Auto OSGi Example :: OpenShift Installer
[INFO] Rider Auto OSGi Example :: REST service
Downloading: http://maven.repository.redhat.com/earlyaccess/all/org/apache/maven/plugins/maven-metadata.xml
Downloading: https://repository.jboss.org/nexus/content/repositories/fs-releases/org/apache/maven/plugins/maven-metadata.xml
Downloading: https://repository.jboss.org/nexus/content/groups/public/org/apache/maven/plugins/maven-metadata.xml
Downloading: http://maven.repository.redhat.com/techpreview/all/org/apache/maven/plugins/maven-metadata.xml
Downloaded: http://maven.repository.redhat.com/earlyaccess/all/org/apache/maven/plugins/maven-metadata.xml (6 KB at 12.9 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml
Downloading: http://maven.repository.redhat.com/earlyaccess/all/org/codehaus/mojo/maven-metadata.xml
Downloaded: http://maven.repository.redhat.com/earlyaccess/all/org/codehaus/mojo/maven-metadata.xml (5 KB at 78.6 KB/sec)
Downloading: http://maven.repository.redhat.com/techpreview/all/org/codehaus/mojo/maven-metadata.xml
Downloaded: http://maven.repository.redhat.com/techpreview/all/org/codehaus/mojo/maven-metadata.xml (228 B at 5.3 KB/sec)
Downloading: https://repository.jboss.org/nexus/content/repositories/fs-releases/org/codehaus/mojo/maven-metadata.xml
Downloading: https://repository.jboss.org/nexus/content/groups/public/org/codehaus/mojo/maven-metadata.xml
Downloaded: https://repository.jboss.org/nexus/content/groups/public/org/apache/maven/plugins/maven-metadata.xml (9 KB at 13.3 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (13 KB at 31.8 KB/sec)
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (20 KB at 35.5 KB/sec)
Downloaded: https://repository.jboss.org/nexus/content/groups/public/org/codehaus/mojo/maven-metadata.xml (22 KB at 31.9 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Rider Auto OSGi Example ............................ SKIPPED
[INFO] Rider Auto OSGi Example :: Common .................. SKIPPED
[INFO] Rider Auto OSGi Example :: File Poller ............. SKIPPED
[INFO] Rider Auto OSGi Example :: Web Service ............. SKIPPED
[INFO] Rider Auto OSGi Example :: Normalizer .............. SKIPPED
[INFO] Rider Auto OSGi Example :: Backend ................. SKIPPED
[INFO] Rider Auto OSGi Example :: OpenShift Installer ..... SKIPPED
[INFO] Rider Auto OSGi Example :: REST service ............ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.132 s
[INFO] Finished at: 2016-05-08T04:52:07-04:00
[INFO] Final Memory: 29M/196M
[INFO] ------------------------------------------------------------------------
[ERROR] No plugin found for prefix 'fabric8' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/home/vagrant/.m2/repository), jboss-earlyaccess-plugin-repository (http://maven.repository.redhat.com/earlyaccess/all/), jboss-ga-plugin-repository (http://maven.repository.redhat.com/techpreview/all), fuse-releases (https://repository.jboss.org/nexus/content/repositories/fs-releases/), public jboss (https://repository.jboss.org/nexus/content/groups/public/), central (https://repo.maven.apache.org/maven2)] -> [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/NoPluginFoundForPrefixException

@alberttwong
Copy link
Author

the installer project assumes all of the other modules have built their kubernetes.json files and then merges the result into a single kubernetes.json

What does that? Do I have to type something or "mvn clean install" covers it?

@christian-posta
Copy link
Contributor

christian-posta commented May 9, 2016

This is from within the rider-auto-ose-installer directory as referenced in the issue title

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