Giter Site home page Giter Site logo

bsorrentino / maven-confluence-plugin Goto Github PK

View Code? Open in Web Editor NEW
69.0 12.0 34.0 17.01 MB

Maven plugin that generates project's documentation directly to confluence allowing to keep in-sync project evolution with its documentation

Home Page: http://bsorrentino.github.io/maven-confluence-plugin/

License: Apache License 2.0

Java 55.83% HTML 28.65% JavaScript 2.37% CSS 5.46% Dockerfile 0.06% Shell 0.06% Kotlin 6.83% Mustache 0.07% Jinja 0.67%
maven confluence reporting java

maven-confluence-plugin's Introduction

      Join the chat at https://gitter.im/bsorrentino/maven-confluence-plugin

What is

It is a Maven plugin that generates project's documentation directly to confluence allowing, in the same time, to keep in-sync project evolution with its documentation.

Originally hosted to google code from release 4.0.0 has been moved to github

Documentation

The standard maven documentation is here

Format

Processor

Examples

For practical samples refer to folder/module test-publishing

News

Date Release Info
Feb 29, 2024 Release 8.0-beta1 move implementation on java 11 #296
Oct 12, 2023 Release 7.13 fix some links between markdown files point to non-existing pages #294. fix curly braces in table recognized as macro #295.
Jun 23, 2023 Release 7.12 Merged PR #288 that fix #287 "Maven report generation breaks, if a new page was added with new attachments and references to it". Thanks to williamschey for contribution.
Mar 23, 2023 Release 7.11 Support of Confluence Excerpt macro. Refer to #285
Mar 4, 2023 Release 7.10 Allow to skip html tags in markdown processing. Refer to #284
Jan 4, 2023 Release 7.9 Fix problem Problem parsing % character from markdown to wiki. Refer to #282
Dec 9, 2022 Release 7.8 Merged PR #281 that fix #280 "allows specifying additional HTTP headers in the servers section of settings.xml". Thanks to DirkMahler for contribution.
Jul 3, 2022 Release 7.7 Merged PR #266 "Adding JSON Support". Thanks to jksevend for contribution.
Jun 3, 2022 Release 7.6 Merged PR #267 "added function to define jira instance baseurl", that fix issue #136. Thanks to tspindler for contribution.
Apr 1, 2022 Release 7.5 Fix empty table cell not handled properly. Refer to [#264](https://github.com/bsorrentino/maven-confluence-plugin/issues/
Jan 10, 2022 Release 7.4 Fix problem with encoding. Refer to #261.

maven-confluence-plugin's People

Contributors

3a04huk avatar bsorrentino avatar dependabot[bot] avatar dirkmahler avatar gitter-badger avatar jksevend avatar neko-gg avatar pbaris avatar qwazer avatar rmannibucau avatar wattazoum avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

maven-confluence-plugin's Issues

add possibility to remove SNAPSHOT related pages

After publishing of documentation related to a release ... we would like add 
the possibility to remove any documentation related to release's SNAPSHOTs

Example: 
<removeSnapshot>true</removeSnapshotZ

Original issue reported on code.google.com by [email protected] on 21 Sep 2011 at 8:46

add offline parameter

add the possibility to generate pages as local file(s) avoiding to sending them 
to confluence 

Original issue reported on code.google.com by [email protected] on 20 Jun 2011 at 11:11

Error adding attachment first time

What steps will reproduce the problem?

1. Add an attachment in site/confluence/attachments
2. run mvn:site

What is the expected output? What do you see instead?

I expect the attachment to be uploaded to confluence.

Instead I get the error pasted below.

If I run mvn:site a second time (so there is already a page in confluence), it 
works.

What version of the product are you using? On what operating system?
1.3.2 on Ubuntu

Thanks for your help


Please provide any additional information below.

[ERROR] Error reading attachment [MyPackage-1.5.tar.gz] 
org.codehaus.swizzle.confluence.ConfluenceException: java.lang.Exception: 
java.lang.NumberFormatException: For input string: ""
    at org.codehaus.swizzle.confluence.Confluence.call(Confluence.java:836)
    at org.codehaus.swizzle.confluence.Confluence.call(Confluence.java:803)
    at org.codehaus.swizzle.confluence.Confluence.getAttachment(Confluence.java:276)
    at org.bsc.maven.reporting.AbstractConfluenceReportMojo.generateAttachments(AbstractConfluenceReportMojo.java:178)
    at org.bsc.maven.reporting.ConfluenceReportMojo.executeReport(ConfluenceReportMojo.java:307)
    at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:190)
    at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:144)
    at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:164)
    at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:328)
    at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:132)
    at org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:142)
    at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:109)
    at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
    at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:616)
    at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
    at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
    at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

Original issue reported on code.google.com by tam.slinn on 5 Apr 2011 at 3:17

Nested children

This is not an issue, but a question/request: is it possible to nest children? 
from my test it doesn't work. only files at the root of the confluence folder 
or at the root of the children folder are published to confluence. Am I right? 
For our project it is very important to have the possibility to nest pages, 
because the childrenTreeMacro used in confluence is essential for us. Any idea? 
do you think to add this feature in a next release?

thanks

Original issue reported on code.google.com by [email protected] on 15 May 2012 at 4:18

add child pages scanning a predefined folder

in order to use the plugin in a multimodule project we want introduce the 
possibility to add child pages scanning a .wiki file contained in a pre-defined 
folder (e.g. children)

Original issue reported on code.google.com by [email protected] on 3 Oct 2011 at 1:12

Deploy Confluence page during site deploy, not site generation

What steps will reproduce the problem?
1. "mvn site" with the maven-confluence-plugin enabled in the <reporting> 
section
2. watch as site is generated and Confluence is updated
3. Confluence now contains a broken link since the site itself isn't 
deployed.

What is the expected output? What do you see instead?
I tend to use a ${project.url} value of 
<url>https://mysite/projects/${project.artifactId}/${project.artifactId}-
${project.version}/</url>
This allows me to deploy separate sites per version. When I create a site 
in Maven (say, to view the CPD report as well as the Javadocs), the maven-
confluence-plugin updates the Confluence site. I would expect this to 
happen during "site-deploy", not "site."

What version of the product are you using? On what operating system?
1.2 on Windows XP

Please provide any additional information below.
I really like this plugin; thanks so much for providing it :)

Original issue reported on code.google.com by [email protected] on 28 May 2010 at 8:50

fix dependencies paragraph labels


add resolution of the labels

report.transitivedependencies.title
report.transitivedependencies.nolist
report.transitivedependencies.intro
report.dependencies.graph.tables.title

Original issue reported on code.google.com by [email protected] on 20 Jun 2011 at 2:04

Invalid web access links created

The default link created for "Web Access" has a wiki formatted link inside of a 
{noformat} section -- thus it does not create a link.

Original issue reported on code.google.com by [email protected] on 7 Aug 2012 at 6:21

Perform delete before page creation

For performance reasons, and disk space conservation, an option should be 
exposed to allow users to delete an existing page first it exists.

Most users I imagine would not care for a history trail on automated reports. 
For jobs that run frequently, this could result in thousands of pages in the 
Confluence database.


Original issue reported on code.google.com by [email protected] on 20 Dec 2012 at 9:15

attachments not linked to the children pages and sub-pages

What steps will reproduce the problem?
1. have pages in the children folder or subfolders with images attached
2. use the plugin to publish the pages to confluence

What is the expected output? What do you see instead?
the attachments are linked only to the root page not to the children ones, I 
can see this in the space admin section in confluence, in the attachments 
section

What version of the product are you using? On what operating system?
plugin 3.2.0, confluence 4.2.1

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 2 Jul 2012 at 4:05

encoding dependencies name

To avoid the message: Unknown macro: xxxxx,  we have to introduce an encoding 
process before to 
write wiki output


Original issue reported on code.google.com by [email protected] on 17 May 2010 at 12:39

Create Page with Confluence 4, doesn't show formated text

What steps will reproduce the problem?
Use the plugin to create a page in Confluence 4 with the following template:

{info:title=Useful Information}
This page has been generated by 
[maven-confluence-plugin|http://code.google.com/p/maven-confluence-plugin/]
{info}

{toc}
{children}

h1. Introduction

{panel}
project description 
{panel}

h1. Usage

{panel}
How to use the project
{panel}

${project.summary}


${project.scmManager}


${project.dependencies}

What is the expected output? What do you see instead?
I have expected that i can see a fully styled site but i see the source text. 
See the attached screenshot.

What version of the product are you using? On what operating system?
maven-confluence-plugin 3.1.1, maven 3.0.3, Win 7, latest Confluence 4.0.5

Please provide any additional information below.
Maybe this is no bug and i using the wrong template, but it was the only i have 
found in the documentation of the plugin

Original issue reported on code.google.com by [email protected] on 8 Dec 2011 at 3:11

Attachments:

NullPointerException executing confluence-summary goal

What steps will reproduce the problem?
1. mvn confluence:confluence-summary

What version of the product are you using? On what operating system?
3.0.2

Please provide any additional information below.

[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.bsc.maven:maven-confluence-reporting-plugin:3.0.2:confluence-summary 
(default-cli) on project DBChangeManagementImpl: Executi
on default-cli of goal 
org.bsc.maven:maven-confluence-reporting-plugin:3.0.2:confluence-summary 
failed. NullPointerException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.bsc.maven:maven-confluence-reporting-plugin:3.0.2:confluence-summary 
(default
-cli) on project DBChangeManagementImpl: Execution default-cli of goal 
org.bsc.maven:maven-confluence-reporting-plugin:3.0.2:confluence-summary failed.
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution 
default-cli of goal 
org.bsc.maven:maven-confluence-reporting-plugin:3.0.2:confluence-summ
ary failed.
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
        ... 19 more
Caused by: java.lang.NullPointerException
        at org.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenReport.java:105)
        at org.bsc.maven.reporting.ConfluenceReportMojo.execute(ConfluenceReportMojo.java:151)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
        ... 20 more


Original issue reported on code.google.com by [email protected] on 15 Aug 2011 at 9:17

error creating page

adding child page under a page different from home i've got the following 
exception

[WARNING] has been imposssible connect to confluence due exception
org.codehaus.swizzle.confluence.ConfluenceException: java.lang.Exception: 
org.springframework.transaction.UnexpectedRollbackException: Transaction rolled 
back because it has been marked as rollback-only
    at org.codehaus.swizzle.confluence.Confluence.call(Confluence.java:853)
    at org.codehaus.swizzle.confluence.Confluence.call(Confluence.java:810)
    at org.codehaus.swizzle.confluence.Confluence.storePage(Confluence.java:255)
    at org.bsc.maven.reporting.ConfluenceReportMojo.executeReport(ConfluenceReportMojo.java:324)
    at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:190)
    at org.bsc.maven.reporting.ConfluenceReportMojo.generate(ConfluenceReportMojo.java:350)
    at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:219)
    at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:317)
    at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:134)
    at org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:175)
    at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:138)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)



Original issue reported on code.google.com by [email protected] on 30 Nov 2011 at 7:01

MAVEN3 COMPLIANCE

Investigate how to make plugin MAVEN3 compliant


https://cwiki.apache.org/MAVEN/maven-3x-compatibility-notes.html

https://cwiki.apache.org/MAVEN/maven-3x-and-site-plugin.html

Original issue reported on code.google.com by [email protected] on 22 Oct 2010 at 3:24

build-in template variables not working in child pages

Using Version 3.1.4
The project. build-in template variables are not working in child pages.
Children pages are added via children-subfolder, pages are created in 
confluence but all the ${project.*} variables are empty. (${pageTitle}, 
${artifactId}, ${version} are rendered correctly)
Using the same template not as child, everything works fine..

My template:
h1. ${pageTitle}

{info:title=Useful Information}
This page has been generated by 
[maven-confluence-plugin|http://code.google.com/p/maven-confluence-plugin/]
${artifactId}-${version}
{info}

${project.summary}
${project.scmManager}
${project.dependencies}

Original issue reported on code.google.com by [email protected] on 30 Apr 2012 at 9:53

[WARNING] Plugin without mojos.

I am able to generate output for the confluence-summary report, but I don't get 
any output for the plugin-confluence-summary report.  I notice that there are 
warnings in the log regarding no mojo's found, but I am not sure what the real 
issue is.

I have attached the output from maven.  I am running on Ubuntu 11.10, Sun JDK 
1.6.x, and maven 3.x.

Let me know what else you might need to help troubleshoot this issue.

thanks,
Garrett

Original issue reported on code.google.com by [email protected] on 6 Jan 2012 at 1:41

Attachments:

missing dependency

your maven repo correctly expose org.bsc.maven:maven-confluence-reporting-
plugin:1.0.0-SNAPSHOT but an internal dependency of your plugin is missing:
org.bsc.maven:maven-confluence-core:jar:1.0.0-SNAPSHOT


Original issue reported on code.google.com by [email protected] on 5 Aug 2009 at 2:24

Expose additional project properties to templates

It would be helpful to expose more properties from the POM to the templates. 
Namely the name & description since those are usually used for documentation 
purposes. Exposing the groupId allows template authors to create links to 
things like maven repos as part of their site generation.

Attached is a patch which exposes groupId, name, description and all elements 
defined in the properties section of the pom.

Original issue reported on code.google.com by [email protected] on 28 Jun 2012 at 8:23

Attachments:

Support Storage Format

Considering that Confluence doesnt support anymore wiki markup as input for the 
pages (in face if you type wiki markup in the editor it is converted into the 
Storage Format) would it be possible to support also Storage Format in this 
plugin?

Original issue reported on code.google.com by [email protected] on 3 Oct 2012 at 3:52

Don't work with confluence 4.0

The server respond to login rpc call with :

2011-10-13 11:06:19,395 ERROR [http-8090-2] 
[confluence.rpc.xmlrpc.XmlRpcServer] service javax.servlet.ServletException: 
org.apache.xmlrpc.ParseFailed: Premature end of file.
 -- url: /rpc/xmlrpc | userName: anonymous
javax.servlet.ServletException: org.apache.xmlrpc.ParseFailed: Premature end of 
file.

Original issue reported on code.google.com by [email protected] on 13 Oct 2011 at 3:31

Add parameter to override page title.

At the moment the page title is hardcoded as 
${project.artifactId}-${project.version}

Since confluence doesn't support identical page names in a space, this becomes 
problematic when we need to publish the same project with same version but with 
different classifier. 
eg. proj-0.1-test
    proj-0.1-prod

What I propose is a configuration parameter that could be used to override the 
default values.  

Original issue reported on code.google.com by [email protected] on 22 Dec 2011 at 10:13

NullPointerException in ResolutionNode.addDependencies()

What steps will reproduce the problem?
I followed all the appropriate steps:
- I added the pluginManagement section defining the plugin version
- I added the plugin element to the build section and the proper
configuration for our confluence instance
- I added "org.bsc.maven" to my plugin groups
- I ran mvn confluence-reporting:confluence-summary

What is the expected output? 
Either success, or if I am doing something wrong, something describing what
I should be doing instead (not a stack trace).
What do you see instead?
[INFO] [confluence:confluence-summary]
[INFO] execute
[INFO] generate
org.apache.maven.doxia.siterenderer.sink.SiteRendererSink@1de4376
[INFO] executeReport
[WARNING] template not set! default using ...
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] null
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NullPointerException
        at
org.apache.maven.artifact.resolver.ResolutionNode.addDependencies(ResolutionNode
.java:90)
        at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(DefaultArtif
actCollector.java:70)
        at
org.bsc.maven.reporting.ConfluenceReportMojo.resolveProject(ConfluenceReportMojo
.java:381)
        at
org.bsc.maven.reporting.ConfluenceReportMojo.executeReport(ConfluenceReportMojo.
java:294)
        at
org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java
:90)
        at
org.bsc.maven.reporting.ConfluenceReportMojo.generate(ConfluenceReportMojo.java:
357)
        at
org.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenReport.java:
65)
        at
org.bsc.maven.reporting.ConfluenceReportMojo.execute(ConfluenceReportMojo.java:1
85)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.ja
va:453)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycl
eExecutor.java:559)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(Defaul
tLifecycleExecutor.java:513)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycle
Executor.java:483)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:331)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultL
ifecycleExecutor.java:292)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExec
utor.java:142)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)


What version of the product are you using? On what operating system?
I'm using maven-confluence-plugin v1.1, using Maven 2.0.10 on Java 6u11.

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 12 Jan 2010 at 3:44

Generating over a proxy

Our confluence resides on a corporate network and sits behind a proxy. Even 
after setting the proxy correctly in settings.xml, a Connection Refused error 
is thrown when we attempt to generate project documentation:


org.codehaus.swizzle.confluence.SwizzleException: Execution error during 
communication: java.net.ConnectException: Connection refused: no further 
information
        at org.codehaus.swizzle.confluence.Confluence.call(Confluence.java:834)
        at org.codehaus.swizzle.confluence.Confluence.call(Confluence.java:798)
        at org.codehaus.swizzle.confluence.Confluence.login(Confluence.java:67)



We are using maven-confluence-reporting-plugin V3.0.4 and confluence 3.5.7


Original issue reported on code.google.com by [email protected] on 17 Nov 2011 at 4:37

java.lang.NoClassDefFoundError: org/codehaus/swizzle/confluence/Page during execution of release 3.0.0

during execution site:site of release 3.0.0 i got a 

    at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:470)
    at org.apache.maven.plugins.site.DefaultMavenReportExecutor.getConfiguredMavenReport(DefaultMavenReportExecutor.java:339)
    at org.apache.maven.plugins.site.DefaultMavenReportExecutor.buildMavenReports(DefaultMavenReportExecutor.java:268)
    ... 23 more
Caused by: java.lang.NoClassDefFoundError: org/codehaus/swizzle/confluence/Page
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
    at java.lang.Class.getDeclaredConstructors(Class.java:1836)
    at com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:243)
    at com.google.inject.internal.ConstructorBindingImpl.create(ConstructorBindingImpl.java:96)
    at com.google.inject.internal.InjectorImpl.createUninitializedBinding(InjectorImpl.java:609)
    at com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:816)
    at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:750)
    at com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:235)
    at com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:185)
    at com.google.inject.internal.InjectorImpl.getInternalFactory(InjectorImpl.java:824)
    at com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:938)
    at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:971)
    at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:932)
    at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:984)
    at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:48)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
    at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:949)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:995)
    at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:945)
    at com.google.inject.Scopes$1$1.get(Scopes.java:59)
    at org.sonatype.guice.bean.locators.LazyQualifiedBean.getValue(LazyQualifiedBean.java:66)
    at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:54)
    at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:247)
    at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:239)
    at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:451)
    ... 25 more
Caused by: java.lang.ClassNotFoundException: 
org.codehaus.swizzle.confluence.Page
    at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
    at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
    at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
    ... 51 more
[ERROR] 

Original issue reported on code.google.com by [email protected] on 18 Jun 2011 at 8:08

Cannot change the download information for an attached artifact

What steps will reproduce the problem?
Multi-module build. Top-level pom configured for maven-confluence-plugin.

What is the expected output? What do you see instead?
I expect all of the modules to upload to the server.
The parent pom and the first module transfer -- then the build aborts with:
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-site-plugin:3.1:site (default-cli) on project 
uibinder-test: Execution default-cli of goal 
org.apache.maven.plugins:maven-site-plugin:3.1:site failed: Cannot change the 
download information for an attached artifact. It is derived from the main 
artifact. -> [Help 1]


What version of the product are you using? On what operating system?
3.2.2
LMDE

Please provide any additional information below.
I think this is where the error is coming from:
AttachedArtifact:
     public void setDownloadUrl( String downloadUrl )
     {
         throw new UnsupportedOperationException( "Cannot change the download information for an attached artifact. It is derived from the main artifact." );
     }

Original issue reported on code.google.com by [email protected] on 7 Aug 2012 at 2:52

Allow the templateWiki config parameter to specify a URL or classpath resource

For people who want to share a common template across multiple projects it 
would be nice to be able to distribute the template via a url or build 
dependency.

Attached is a patch which allows templateWiki to be specified as a URL or a 
resource on the classpath. If the template is a classpath resource then the 
templateWiki must start with "classpath:". For Example:

<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-site-plugin</artifactId>
        <version>3.1</version>
        <configuration>
            <reportPlugins>
              <plugin>
                <groupId>org.bsc.maven</groupId>
                <artifactId>maven-confluence-reporting-plugin</artifactId>
                <version>3.2.1-SNAPSHOT</version>
                  ...
                    <configuration>
                      <templateWiki>classpath:company-template.wiki</templateWiki>
                       ...    
                    </configuration>
                     ...
              </plugin>  
            </reportPlugins>
         </configuration>       
         <dependencies>
           <dependency>
             <groupId>com.mycompany</groupId>
             <artifactId>confluence-report-template</artifactId>
             <version>1.0</version>
           </dependency>
         </dependencies>
      </plugin>   

Let me know if this patch doesn't work.

Original issue reported on code.google.com by [email protected] on 16 Jul 2012 at 10:22

Attachments:

set attachment name as comment

prefix comment 'attached by maven-confluence-plugin' with attachment name

Take in consideration to add another property to customize attachment comment

Original issue reported on code.google.com by [email protected] on 20 Sep 2012 at 9:34

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.