maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Heinz Marbaise <khmarba...@gmx.de>
Subject Re: Can't build Maven site for m-assembly-p trunk
Date Tue, 14 Jun 2016 20:18:56 GMT
Hi Anders,

On 6/14/16 10:11 PM, Anders Hammar wrote:
> Hm, has nobody even tried generating the site? I'm also seeing several
> warnings among which a missing version for a reporting plugin...:-(

The warnings are a known problem in Maven 3.0.5...based on the usage 
pluginManagement related to reporting plugins...

Usually I generate a site only as a preparation for a release...

So best would be to remove the definition of the fluido skin in the 
site.xml etc. and using the newest parent and let the parent do the work...

Kind regards
Karl Heinz Marbaise


>
> /grumpy
>
> On Tue, Jun 14, 2016 at 10:06 PM, Karl Heinz Marbaise <khmarbaise@gmx.de
> <mailto:khmarbaise@gmx.de>> wrote:
>
>     Hi Anders,
>
>     you need to upgrade maven-fluidoe to at least 1.5 to get it working...
>
>     Kind regards
>     Karl Heinz
>
>     On 6/14/16 10:00 PM, Anders Hammar wrote:
>
>         I'm getting an error when building Maven site (mvn site) for
>         maven-assembly-plugin trunk:
>
>         [INFO] <<< maven-plugin-plugin:3.4:report @
>         maven-assembly-plugin <<<
>         [INFO] Relativizing decoration links with respect to localized
>         project URL:
>         https://maven.apache.org/plugins/maven-assembly-plugin/
>         [INFO] Rendering site with
>         org.apache.maven.skins:maven-fluido-skin:jar:1.4
>         skin.
>         [INFO] Skipped "About" report
>         (maven-project-info-reports-plugin:2.9:index), file "index.html"
>         already
>         exists for the English version.
>         [INFO] Rendering 20 Doxia documents: 16 apt, 1 fml, 3 xdoc
>         [ERROR] Parser Exception: META-INF/maven/site.vm
>         org.apache.velocity.runtime.parser.ParseException: Encountered
>         "source" at
>         line 1162, column 52.
>         Was expecting one of:
>             "," ...
>             ")" ...
>             <WHITESPACE> ...
>
>         Looking at site.vm in the fluido skin jar I see (at row 1162):
>
>                     $bodyContent.replaceAll( "<div
>         class=\"source\">(\r?\n)?<pre>",
>         "<div class=\"source\"><pre class=\"$sourceStyle\">" ).replaceAll(
>         "class=\"bodyTable\"", "class=\"table table-striped\"" )
>
>         Anyone familiar with the skin part that quickly sees the problem?
>         Is it just for me?
>
>         I'm on macOS with Maven 3.3.3 and Oracle JDK 1.8.0u92. Same
>         problem with
>         Maven 3.0.5.
>
>         /Anders

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message