Skip to content
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.

fabric8-maven-plugin - Generates wrong description #5920

Closed
davsclaus opened this issue Apr 11, 2016 · 2 comments
Closed

fabric8-maven-plugin - Generates wrong description #5920

davsclaus opened this issue Apr 11, 2016 · 2 comments

Comments

@davsclaus
Copy link
Member

I deployed the kubernetes-zipkin using the mvn f8 plugin and after the pods et all are running, then in the run app the descriptions for all of those apps are using some sonartype description
https://github.com/fabric8io/kubernetes-zipkin

screen shot 2016-04-11 at 10 47 06 am

@rhuss
Copy link
Contributor

rhuss commented Apr 11, 2016

@davsclaus @iocanel The reason is that this description by default is extracted from the POM's <description>. If the project doesn't define it itself, then it inherits the description from the parent pom, which in all our apps is

<parent>
    <groupId>org.sonatype.oss</groupId>
    <artifactId>oss-parent</artifactId>
    <version>9</version>
</parent>

which has exactly this default description.

Possible solutions which is not related to this plugin:

  • Create a src/main/fabric8/Summary.md (and potentially also a ReadMe.md)
  • Add a proper <description> to your pom.xml

These files are picked up in this order and added as documentation annotations.

@rhuss
Copy link
Contributor

rhuss commented Apr 11, 2016

Closing this here since its more an issue for the users of the plugin.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants