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

Title element in plugin configuration ignored for maven plugin type projects #102

Closed
dgalanp opened this issue May 19, 2016 · 3 comments
Closed
Assignees
Labels
Milestone

Comments

@dgalanp
Copy link

dgalanp commented May 19, 2016

When I try to publish a page in confluence with the following plugin configuration:

          <plugin>
            <groupId>org.bsc.maven</groupId>
            <artifactId>confluence-reporting-maven-plugin</artifactId>
            <executions>
              <execution>
                <id>default-site-deploy</id>
                <goals>
                  <goal>deploy</goal>
                </goals>
                <phase>site-deploy</phase>
              </execution>
            </executions>
            <configuration>
              <endPoint>${confluence.home}/rpc/xmlrpc</endPoint>
              <spaceKey>${confluence.space.key}</spaceKey>
              <parentPageTitle>${project.confluence.report.parent}</parentPageTitle>
              <title>${project.name}</title>
              <templateWiki>src/site/confluence/info.confluence</templateWiki>
              <wikiFilesExt>.confluence</wikiFilesExt>
              <serverId>my-confluence-server</serverId>
            </configuration>
          </plugin>

In a project which happens to be a maven plugin, the "title" element in the configuration is ignored and the page title is of the form: "project-name-1.2.3.4"

Also the page contains a message:

auto generated page
this page has been generated by plugin: org.bsc.maven:maven-confluence-reporting-plugin
@bsorrentino
Copy link
Owner

Hi i've worked on issue. I have release a 4.8-SNAPSHOT with fix

Please, could you test it and let me know ?

Thanks in advance

@bsorrentino bsorrentino self-assigned this May 19, 2016
@bsorrentino bsorrentino added this to the 4.8 milestone May 19, 2016
@dgalanp
Copy link
Author

dgalanp commented May 20, 2016

Wow! That was fast! :)

It seems to be working now:

  • Title is as expected
  • Warning disappeared

Thanks!

@bsorrentino
Copy link
Owner

fix release on 4.8

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

No branches or pull requests

2 participants