google-code-export / maven-confluence-plugin

Automatically exported from code.google.com/p/maven-confluence-plugin
1 stars 0 forks source link

Don't work with confluence 4.0 #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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 epot...@gmail.com on 13 Oct 2011 at 3:31

GoogleCodeExporter commented 9 years ago
Hi

Actually i've tested it until version 3.x .... 

I'll check the web service call over Confluence 4

Thx for feedback

Original comment by bartolom...@gmail.com on 13 Oct 2011 at 4:51

GoogleCodeExporter commented 9 years ago
In confluence 4 there are important changes regard remote services (see  
https://developer.atlassian.com/display/CONFDEV/Confluence+XML-RPC+and+SOAP+APIs
 )

Such changes are not backward compatible so we have to implement new remote 
interface and find a solution that works for both

Original comment by bartolom...@gmail.com on 14 Oct 2011 at 2:59

GoogleCodeExporter commented 9 years ago
Hi 

i've deployed release 3.0.5-SNAPSHOT that auto-detect confluence version and 
switch automatically on the right rpc protocol

Could you test it and give me feedbacks?

Thanks in Advance

Original comment by bartolom...@gmail.com on 14 Oct 2011 at 7:00

GoogleCodeExporter commented 9 years ago
With pleasure, but can you tell me on which maven repo I can find it?

Original comment by epot...@gmail.com on 14 Oct 2011 at 8:09

GoogleCodeExporter commented 9 years ago
the maven snapshot repo is 
https://oss.sonatype.org/content/repositories/snapshots

Original comment by bartolom...@gmail.com on 14 Oct 2011 at 9:54

GoogleCodeExporter commented 9 years ago
Can you tell me what I did wrong?

I have this in my pom :

  <build>
    <!-- To define the plugin version in your parent POM -->
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.bsc.maven</groupId>
          <artifactId>maven-confluence-reporting-plugin</artifactId>
          <version>3.0.5-SNAPSHOT</version>
        </plugin>
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>org.bsc.maven</groupId>
        <artifactId>maven-confluence-reporting-plugin</artifactId>
        <version>3.0.5-SNAPSHOT</version>
      </plugin>
    </plugins>
  </build>

    <reporting>
        <plugins>
            <plugin>
                <groupId>org.bsc.maven</groupId>
                <artifactId>maven-confluence-reporting-plugin</artifactId>
                <version>3.0.5-SNAPSHOT</version>
                <reportSets>
                    <reportSet>
                        <id>confluence</id>
                        <configuration>
                            <endPoint>http://localhost:8081/rpc/xmlrpc</endPoint>
                            <spaceKey>TEST</spaceKey>
                            <username>admin</username>
                            <password>admin123</password>
                            <parentPageTitle>Home</parentPageTitle>
                        </configuration>
                        <reports>
                            <report>plugin-confluence-summary</report>
                        </reports>
                    </reportSet>
                </reportSets>

            </plugin>
        </plugins>
    </reporting>

    <repositories>
        <repository>
            <id>sonatypes</id>
            <url>https://oss.sonatype.org/content/repositories/snapshots</url>
        </repository>
    </repositories> 

And it output this :

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Mon Oct 17 09:32:08 EDT 2011
[INFO] Final Memory: 6M/15M
[INFO] ------------------------------------------------------------------------
D:\code\GestionErreursApplicatives\maven>mvn site
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Gestion Anomalie Promutuel
[INFO]   Gestion Anomalie Promutuel WAR
[INFO]   Gestion Anomalie Promutuel EAR
[INFO] ------------------------------------------------------------------------
[INFO] Building Gestion Anomalie Promutuel
[INFO]    task-segment: [site]
[INFO] ------------------------------------------------------------------------
[INFO] snapshot org.bsc.maven:maven-confluence-reporting-plugin:3.0.5-SNAPSHOT: 
checking for updates from nexus
[INFO] snapshot org.bsc.maven:maven-confluence-reporting-plugin:3.0.5-SNAPSHOT: 
checking for updates from sonatypes
Downloading: 
https://oss.sonatype.org/content/repositories/snapshots/org/bsc/maven/maven-conf
luence-reporting-plugin/3.0.5-SNAPSHOT/maven-confluence-reporting-plugin-3.0.5-2
0111014.192215-5.pom

[INFO] snapshot org.bsc.maven:maven-confluence-parent:3.0.5-SNAPSHOT: checking 
for updates from nexus
[INFO] snapshot org.bsc.maven:maven-confluence-parent:3.0.5-SNAPSHOT: checking 
for updates from sonatypes
Downloading: 
https://oss.sonatype.org/content/repositories/snapshots/org/bsc/maven/maven-conf
luence-parent/3.0.5-SNAPSHOT/maven-confluence-parent-3.0.5-20111014.192155-6.pom

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] A required plugin was not found: Plugin could not be found - check that 
the goal name is correct: Unable to download the artifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command:
    mvn install:install-file -DgroupId=org.bsc.maven -DartifactId=maven-confluence-reporting-plugin -Dversion=3.0.5-SNAPSHOT -Dpackaging=maven-plugin -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there:
    mvn deploy:deploy-file -DgroupId=org.bsc.maven -DartifactId=maven-confluence-reporting-plugin -Dversion=3.0.5-SNAPSHOT -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  org.bsc.maven:maven-confluence-reporting-plugin:maven-plugin:3.0.5-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

  org.bsc.maven:maven-confluence-reporting-plugin:maven-plugin:3.0.5-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Mon Oct 17 09:32:22 EDT 2011
[INFO] Final Memory: 7M/17M
[INFO] ------------------------------------------------------------------------

Original comment by epot...@gmail.com on 17 Oct 2011 at 1:32

GoogleCodeExporter commented 9 years ago
Hi

I've checked and the dependency is present in snapshot repo

Try to configure in your pom also <pluginRepository> because it is a plugin

Let me kow

Thx in advance

Original comment by bartolom...@gmail.com on 18 Oct 2011 at 6:47

GoogleCodeExporter commented 9 years ago

Original comment by bartolom...@gmail.com on 17 Nov 2011 at 8:06