question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

samples/xml-config/pom.xml doesn't work

See original GitHub issue

Description

Steps to reproduce:

git clone https://github.com/fabric8io/fabric8-maven-plugin.git
cd fabric8-maven-plugin
mvn install
cd samples/xml-config/
mvn -Pnew fabric8:resource

[ERROR] Failed to execute goal io.fabric8:fabric8-maven-plugin:3.5.38:resource (default-cli) on project fabric8-maven-sample-xml-config: Unable to parse configuration of mojo io.fabric8:fabric8-maven-plugin:3.5.38:resource for parameter group: Cannot find ‘group’ in class io.fabric8.maven.core.config.MetaDataConfig

This can be fixed by adding <all> to <label><group>.

Then the error is:

[ERROR] Failed to execute goal io.fabric8:fabric8-maven-plugin:3.5.38:resource (default-cli) on project fabric8-maven-sample-xml-config: Unable to parse configuration of mojo io.fabric8:fabric8-maven-plugin:3.5.38:resource for parameter deployment: Cannot find ‘deployment’ in class io.fabric8.maven.core.config.ResourceConfig -> [Help 1]

This, in fact, reduces to #1249, except hereby I suggest to fix the documentation. Or is it in the roadmap? Is it in any branch? How about putting this docs to a branch and removing the elements which don’t work from master?

Thanks 😃

Info

  • f-m-p version : 3.5.38
  • Maven version (mvn -v) :
Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T21:39:06+02:00)
Maven home: /sw/prog/maven-3.5.0
Java version: 1.8.0_144, vendor: Oracle Corporation
Java home: /sw/prog/jdk/1.8.0_144/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.13.0-37-generic", arch: "amd64", family: "unix"
  • Kubernetes / OpenShift setup and version : minikube version: v0.25.0

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
dev-gaurcommented, Dec 8, 2018

@rohanKanojia @rhuss The samples POM use fmp 3.2 as dependencies even though we are on 4.0 now. Should I look into the deprecated samples and send a PR for what can be done?

0reactions
stale[bot]commented, Apr 29, 2019

This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Missing Maven settings.xml file for your Eclipse? What if you ...
What is you don't have correct settings.xml file? · Click on Project Menu · Click on Clean... and clean you project · Right...
Read more >
Maven settings.xml related issue - Stack Overflow
One thing my fellow colleague doing is keeping the settings.xml in project itself. Which I don't like as it is maven repository configuration...
Read more >
The settings.xml File in Maven - Baeldung
We can configure maven via the settings.xml file. We look at some common use cases and configuration options.
Read more >
Introduction to the POM - Apache Maven
It is an XML file that contains information about the project and configuration details used by Maven to build the project. It contains...
Read more >
[pom] Maven POM Rules don't check files named "pom.xml"
The PomLanguageModule seems to define Maven POM files as XML files having a "pom" extension. Is there a configuration that makes PMD pick...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found