maven-site-plugin

Some problems were encountered while building the effective model for

ぐ巨炮叔叔 提交于 2020-05-29 02:49:29
问题 The maven build for the project https://github.com/BITPlan/com.bitplan.antlr gives the warning message: [WARNING] [WARNING] Some problems were encountered while building the effective model for com.bitplan.antlr:com.bitplan.antlr:jar:0.0.1 [WARNING] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter. @ line 213, column 20 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the

Have Syntax Highlighting in Markdown for Maven Site (Fluido)

天涯浪子 提交于 2019-12-25 02:00:55
问题 I have tried the following in my Maven project: Add a markdown file content.md with content ```java int a = 4; ``` in src/main/site/markdown . Write a site.xml with content <?xml version="1.0" encoding="ISO-8859-1"?> <project> <skin> <groupId>org.apache.maven.skins</groupId> <artifactId>maven-fluido-skin</artifactId> <version>1.7</version> </skin> <body> <menu name="Dokumentation"> <item name="Benutzerhandbuch" href="content.html" /> </menu> <menu ref="reports" /> </body> </project> Write a

Maven reactor and site

隐身守侯 提交于 2019-12-24 00:57:52
问题 I have a multi-module project with a parent pom.xml and several modules where some of the modules depend on each other. In the project directory I can call mvn test to run unittests in each module. No problem here. But if I call mvn site one of the modules reports [ERROR] Failed to execute goal on project myModule_C: Could not resolve dependencies for project org.myModule_C:jar:0.0.1-SNAPSHOT: The following artifacts could not be resolved: org.myModule_A:jar:0.0.1-SNAPSHOT, org.myModule_B:jar

maven-site-plugin: <body> tag is not being inherited

蓝咒 提交于 2019-12-23 04:41:53
问题 If I do an mvn site:effective-site on my parent I get this: <project> <bannerLeft> <name>xxx :: Open Source Parent POM</name> </bannerLeft> <publishDate /> <version /> <skin> <groupId>org.apache.maven.skins</groupId> <artifactId>maven-fluido-skin</artifactId> <version>1.5</version> </skin> <body> <menu ref="parent" /> <menu ref="reports" /> </body> </project> However, if I do it on a child project I get this: <project> <bannerLeft> <name>xxx :: Parent</name> </bannerLeft> <publishDate />

How can I get the maven-site-plugin to resolve the parent pom.xml of my multimodule Maven project?

浪尽此生 提交于 2019-12-21 18:26:29
问题 I have a garden variety Maven project. It has several modules in it. Thus the root pom.xml serves as both parent and aggregator in grand Maven fashion. This project builds and installs fine. The root pom.xml inherits from a corporate pom.xml with a stanza like this: <parent> <groupId>foo</groupId> <artifactId>bar</artifactId> <version>16</version> <!-- look, Ma, no SNAPSHOT --> </parent> When I run mvn site against this root pom.xml , the maven-site-plugin version 3.2 reports that it cannot

How to generate an aggregated scaladoc for a maven site?

微笑、不失礼 提交于 2019-12-20 12:09:13
问题 I have a multi-module Maven build and I would like to generate an aggregated Scaladoc in my root module, similar to what the aggregate goal for the maven-javadoc-plugin does. My first attempt was: <project ...> <build> <pluginManagement> <plugins> <plugin> <artifactId>maven-site-plugin</artifactId> <configuration> <reportPlugins> <plugin> <artifactId>maven-project-info-reports-plugin</artifactId> </plugin> <plugin> <groupId>net.alchim31.maven</groupId> <artifactId>scala-maven-plugin<

Non-resolvable parent POM: When building Maven 3 Project Site

狂风中的少年 提交于 2019-12-20 10:29:10
问题 I am currently facing the following problem with Maven 3 when I am trying to build the site. I will appreciate you help on this. mvn clean site .......... [INFO] Reactor Summary: [INFO] [INFO] Project A ......................................... SUCCESS [15.383s] [INFO] Project B ......................................... SUCCESS [2.232s] [INFO] My Site ........................................... FAILURE [0.105s] [INFO] ------------------------------------------------------------------------

How to us Maven PDF Plugin to generate PDF from Surefire Report?

不羁的心 提交于 2019-12-19 03:58:12
问题 after running my JUnit tests I use the Maven Surefire Report plugin (http://maven.apache.org/plugins/maven-surefire-report-plugin/) to generate a HTML test report. This results in the following file: ./target/site/surefire-report.html I know that there is a Maven PDF plugin to generate PDF files (http://maven.apache.org/plugins/maven-pdf-plugin/surefire-report.html). But I don't manage to get it working. I included it in my pom.xml: <plugin> <groupId>org.apache.maven.plugins</groupId>

Maven site (Maven 3) generates empty site folder

北战南征 提交于 2019-12-14 00:18:10
问题 I'm attempting to create a basic maven site using the maven site plugin. So I added this to my pom: <reporting> <plugins> <!--JavaDoc setup--> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.7</version> <configuration> <defaultAuthor>Leon Blakey</defaultAuthor> <defaultVersion>${project.version}</defaultVersion> <links> <link>http://download.oracle.com/javase/6/docs/api</link> </links> </configuration> </plugin> </plugins> <

Maven site warning: The repository url 'https://maven-repository.dev.java.net/nonav/repository' is invalid

对着背影说爱祢 提交于 2019-12-09 08:30:22
问题 I’m using Maven 3.2.3 on a multi-module project. I want to generate a checkstyle and findbugs report, so I have configured the following: <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>2.13</version> <reportSets> <reportSet> <reports> <report>checkstyle</report> </reports> </reportSet> </reportSets> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId>