Hi,

I think I'm running into the issues described in JENKINS-6681[1], however I
have slightly different problem. As described in the issue if I run mvn
clean deploy site on a multi module project the link gives 401 and there is
no way to get to the combined reports. After that I splitted the goals in
different build steps and added site:stage, so now my main build goal is
clean deploy, there is a post-build step with site goal and another one
with site:stage. The last step combines the reports beautifully under the
reactor's project under target/staging/<reactors' artifactId> folder and if
I call the index.html from there everything is ok. The problem is - now I
don't have "Maven generated site" link on my project and its submodules?!
So, the only way to see the docs is to browse the workspace, however this
is normally available only to logged in users. I know that I could use
"Archive artifacts" as a workaround, but is there some "normal" way to see
the maven generated reports? For info I'm using maven 3.0.4 with
maven-site-plugin 3.2 on multi module project with flat structure. The
related pom parts:

In the parent pom (parent of the reactor and the modules)

<distributionManagement>
...
<!--
                for use with site:stage
         -->
          <site>
              <id>dummy</id>
              <url>file://tmp/fake.com</url>
          </site>

    </distributionManagement>

<reporting>
        <plugins>
            <plugin>
                <artifactId>maven-project-info-reports-plugin</artifactId>

<version>${maven-project-info-reports-plugin.version}</version>
            </plugin>
            <plugin>
                <artifactId>maven-javadoc-plugin</artifactId>
                <version>${maven-javadoc-plugin.version}</version>
            </plugin>
        </plugins>
    </reporting>

In reactor there are only the module references defined and the scm section
for the release goals (these will be run in a separate job)

Or shoud I report it to JENKINS-6681

TIA,
Ilko

[1] https://issues.jenkins-ci.org/browse/JENKINS-6681

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to