Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

You can't cheat the phone company.


devel / comp.lang.java.programmer / Re: how do you build a maven site?

SubjectAuthor
* how do you build a maven site?e.d.pro...@gmail.com
`* Re: how do you build a maven site?e.d.pro...@gmail.com
 `- Re: how do you build a maven site?e.d.pro...@gmail.com

1
how do you build a maven site?

<09d10726-4f5b-48c2-95c7-701ab0df6b91n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=198&group=comp.lang.java.programmer#198

  copy link   Newsgroups: comp.lang.java.programmer
X-Received: by 2002:a05:620a:1026:b0:706:91a1:e215 with SMTP id a6-20020a05620a102600b0070691a1e215mr173960qkk.350.1673986616593;
Tue, 17 Jan 2023 12:16:56 -0800 (PST)
X-Received: by 2002:a37:8703:0:b0:706:8dfa:9119 with SMTP id
j3-20020a378703000000b007068dfa9119mr226322qkd.152.1673986616347; Tue, 17 Jan
2023 12:16:56 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.java.programmer
Date: Tue, 17 Jan 2023 12:16:56 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=98.237.40.232; posting-account=2czF5goAAAD4GBMPIGV4KcD2K4PhoB_H
NNTP-Posting-Host: 98.237.40.232
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <09d10726-4f5b-48c2-95c7-701ab0df6b91n@googlegroups.com>
Subject: how do you build a maven site?
From: e.d.programmer@gmail.com (e.d.pro...@gmail.com)
Injection-Date: Tue, 17 Jan 2023 20:16:56 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2305
 by: e.d.pro...@gmail.com - Tue, 17 Jan 2023 20:16 UTC

I execute the mvn site command and I'm getting:
[ERROR] Failed to execute goal org.apache.maven.plugins:3.20.0:pmd ... : An error has ocurred in PMD report generation. Failed to create context for skin: Skin does not contain template at META-INF/maven/site.vm
It appears it's somehow looking for the maven default skin but now needs to somehow look for the maven fluido skin. I'm not sure how to specify this or if it can be applied to the whole site phase or needs configured specifically in the pmd.

My surefire report looks good. My spotbugs report looks good. My jacoco report page looks like it's header is broken.
If I reverse the change I made today causing this pmd error, I have 3 separate reports for pmd in their own folders, one for java, one for js, one for jsp, but the main site index.html just has one PMD link that goes to another report which is also java and isn't the custom java one, so I'm trying to find the proper way to configure that.
I've been searching all day and haven't found how to properly configure the site with skins. All I found is something about a skin tag which appears to go inside a project tag in a site.xml file which I think is supposed to be in a src/site folder.

Re: how do you build a maven site?

<1b6c5056-9009-4903-9581-89e031598a33n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=199&group=comp.lang.java.programmer#199

  copy link   Newsgroups: comp.lang.java.programmer
X-Received: by 2002:ac8:41cc:0:b0:3b6:5d23:873f with SMTP id o12-20020ac841cc000000b003b65d23873fmr5078qtm.176.1673988637027;
Tue, 17 Jan 2023 12:50:37 -0800 (PST)
X-Received: by 2002:a37:6387:0:b0:706:92f4:125 with SMTP id
x129-20020a376387000000b0070692f40125mr241784qkb.72.1673988636812; Tue, 17
Jan 2023 12:50:36 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.java.programmer
Date: Tue, 17 Jan 2023 12:50:36 -0800 (PST)
In-Reply-To: <09d10726-4f5b-48c2-95c7-701ab0df6b91n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=98.237.40.232; posting-account=2czF5goAAAD4GBMPIGV4KcD2K4PhoB_H
NNTP-Posting-Host: 98.237.40.232
References: <09d10726-4f5b-48c2-95c7-701ab0df6b91n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1b6c5056-9009-4903-9581-89e031598a33n@googlegroups.com>
Subject: Re: how do you build a maven site?
From: e.d.programmer@gmail.com (e.d.pro...@gmail.com)
Injection-Date: Tue, 17 Jan 2023 20:50:37 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2964
 by: e.d.pro...@gmail.com - Tue, 17 Jan 2023 20:50 UTC

> I execute the mvn site command and I'm getting:
> [ERROR] Failed to execute goal org.apache.maven.plugins:3.20.0:pmd ... : An error has ocurred in PMD report generation. Failed to create context for skin: Skin does not contain template at META-INF/maven/site.vm
> It appears it's somehow looking for the maven default skin but now needs to somehow look for the maven fluido skin. I'm not sure how to specify this or if it can be applied to the whole site phase or needs configured specifically in the pmd.
>
> My surefire report looks good. My spotbugs report looks good. My jacoco report page looks like it's header is broken.
> If I reverse the change I made today causing this pmd error, I have 3 separate reports for pmd in their own folders, one for java, one for js, one for jsp, but the main site index.html just has one PMD link that goes to another report which is also java and isn't the custom java one, so I'm trying to find the proper way to configure that.
> I've been searching all day and haven't found how to properly configure the site with skins. All I found is something about a skin tag which appears to go inside a project tag in a site.xml file which I think is supposed to be in a src/site folder.

The main site looks good. Changing the maven-site-plugin from 4.0.0-M3 to 4..0.0-M4 changed the whole look and feel and fixed some variable issues, was showing "Last Published: $dateValue", not shows a date.
Changing the doxia-site-renderer artifact from 2.0.0-M3 to 2.0.0-M4 is what breaks the maven-pmd-plugin looking for the old maven-default-skin.
I'm not sure how to set the pmd for the new skin or how to customize the site menu to have links to custom reports.

Re: how do you build a maven site?

<adca8171-daf9-400f-ac58-7f00dcdda2een@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=200&group=comp.lang.java.programmer#200

  copy link   Newsgroups: comp.lang.java.programmer
X-Received: by 2002:a37:b584:0:b0:706:9268:9e7b with SMTP id e126-20020a37b584000000b0070692689e7bmr245857qkf.459.1674049599622;
Wed, 18 Jan 2023 05:46:39 -0800 (PST)
X-Received: by 2002:ac8:58c3:0:b0:3ad:9e9a:17da with SMTP id
u3-20020ac858c3000000b003ad9e9a17damr351666qta.662.1674049599368; Wed, 18 Jan
2023 05:46:39 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.java.programmer
Date: Wed, 18 Jan 2023 05:46:39 -0800 (PST)
In-Reply-To: <1b6c5056-9009-4903-9581-89e031598a33n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=98.237.40.232; posting-account=2czF5goAAAD4GBMPIGV4KcD2K4PhoB_H
NNTP-Posting-Host: 98.237.40.232
References: <09d10726-4f5b-48c2-95c7-701ab0df6b91n@googlegroups.com> <1b6c5056-9009-4903-9581-89e031598a33n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <adca8171-daf9-400f-ac58-7f00dcdda2een@googlegroups.com>
Subject: Re: how do you build a maven site?
From: e.d.programmer@gmail.com (e.d.pro...@gmail.com)
Injection-Date: Wed, 18 Jan 2023 13:46:39 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1822
 by: e.d.pro...@gmail.com - Wed, 18 Jan 2023 13:46 UTC

I figured some things out. My pmd error was caused by my pom plugin tag having a nested dependency tag for some reason. I took that out, looks like it just works.
src/site/site.xml does work, does override all default site generation but there are some simple tags to include defaults.
To include all default menu items:
<body>
<menu ref="parent"/>
<menu ref="modules"/>
<menu ref="reports"/>
</body>
Then inserting custom menu tags and item tags can add menu items to point to the other reports which are not on the menu because they were generated from the plugins section instead of the reporting section.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor