You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2024/10/08 11:12:37 UTC
(myfaces-tobago) branch tobago-5.x updated: build: cleanup unused code and config (#5552)
This is an automated email from the ASF dual-hosted git repository.
lofwyr pushed a commit to branch tobago-5.x
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git
The following commit(s) were added to refs/heads/tobago-5.x by this push:
new 430b98fda4 build: cleanup unused code and config (#5552)
430b98fda4 is described below
commit 430b98fda46e42fccbd11eea1bb671b3b967693b
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Tue Oct 8 13:12:32 2024 +0200
build: cleanup unused code and config (#5552)
---
build-site.sh | 56 ----------------------------------------------
pom.xml | 48 ----------------------------------------
src/site/site.xml | 66 -------------------------------------------------------
3 files changed, 170 deletions(-)
diff --git a/build-site.sh b/build-site.sh
deleted file mode 100755
index ad96ded4da..0000000000
--- a/build-site.sh
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/usr/bin/env bash
-
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-usage()
-{
- echo "Usage: $0"
- exit 1
-}
-
-if [ -r ./settings ]
-then
- source ./settings
-fi
-
-##############################################################################
-# Do some checks of the enviroment
-##############################################################################
-
-if [ -z "$JAVA_HOME" ]
-then
- echo "JAVA_HOME must be set."
-fi
-
-if [ -z "`which java`" ]
-then
- echo "Could not find 'java' in the path."
- echo "PATH: $PATH"
- exit 1
-fi
-
-
-##############################################################################
-# Build
-##############################################################################
-
-
-echo "Building tobago site."
-mvn clean
-mvn install javancss:report jxr:jxr jxr:test-jxr clirr:clirr -Daggregate=false --batch-mode
-mvn site:site -Daggregate=true --batch-mode
-mvn dashboard:dashboard
-mvn site:deploy -e -Daggregate=true --batch-mode
diff --git a/pom.xml b/pom.xml
index d7599ceffa..bc6f8a34f6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -450,36 +450,6 @@
</execution>
</executions>
</plugin>
-<!--
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <!– XXX better use antrun? –>
- <artifactId>maven-resources-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-config-schema</id>
-<!– XXX why it is not possible to use the site phase here? –>
- <!–<phase>site</phase>–>
- <phase>package</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <outputDirectory>${project.build.directory}/site</outputDirectory>
- <resources>
- <resource>
- <directory>tobago-core/src/main/resources/org/apache/myfaces/tobago/config</directory>
- <includes>
- <include>**/*.xsd</include>
- <include>**/*.dtd</include>
- </includes>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
--->
</plugins>
<pluginManagement>
<plugins>
@@ -623,15 +593,6 @@
<artifactId>maven-deploy-plugin</artifactId>
<version>3.1.3</version>
</plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>clirr-maven-plugin</artifactId>
- <version>2.8</version>
- <configuration>
- <failOnError>false</failOnError>
- <minSeverity>info</minSeverity>
- </configuration>
- </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
@@ -766,11 +727,6 @@
<arguments>-Papache-release,generate-assembly ${arguments}</arguments>
</configuration>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-site-plugin</artifactId>
- <version>3.20.0</version>
- </plugin>
<!--
usage: $ mvn versions:display-dependency-updates
usage: $ mvn versions:display-plugin-updates
@@ -833,10 +789,6 @@
<name>${distMgmtSnapshotsName}</name>
<url>${distMgmtSnapshotsUrl}</url>
</snapshotRepository>
- <site>
- <id>apache-site</id>
- <url>scpexe://minotaur.apache.org/www/myfaces.apache.org/tobago/</url>
- </site>
</distributionManagement>
<!-- Use this to include the staging repository for testing a new unreleased myfaces core.
diff --git a/src/site/site.xml b/src/site/site.xml
deleted file mode 100644
index 751c2f8989..0000000000
--- a/src/site/site.xml
+++ /dev/null
@@ -1,66 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
--->
-
-<project name="Tobago">
- <bannerLeft>
- <name>Tobago</name>
- <src>images/tobagoLogo.png</src>
- <href>http://myfaces.apache.org/tobago</href>
- </bannerLeft>
- <bannerRight>
- <name>Apache MyFaces</name>
- <src>img/banners/MyFaces_logo.jpg</src>
- <href>http://myfaces.apache.org/</href>
- </bannerRight>
- <publishDate format="dd MMM yyyy" />
- <skin>
- <groupId>org.apache.myfaces.maven</groupId>
- <artifactId>myfaces-site-skin</artifactId>
- <version>4</version>
- </skin>
- <body>
- <links>
- <item name="Apache" href="http://www.apache.org/"/>
- <item name="MyFaces" href="http://myfaces.apache.org/"/>
- <item name="Tobago" href="http://myfaces.apache.org/tobago"/>
- <item name="Mailing Lists" href="http://myfaces.apache.org/tobago/mail-lists.html" />
- </links>
-
- <menu name="Tobago">
- <item name="Introduction" href="http://myfaces.apache.org/tobago/index.html"/>
- <item name="Download" href="http://tobago-vm.apache.org/download.html"/>
- <item name="Demo & Docs" href="http://tobago-vm.apache.org/"/>
- <item name="Guide to Tobago" href="http://myfaces.apache.org/tobago/guide.html"/>
- </menu>
-
-<!--
- ${parentProject}
- ${modules}
--->
- ${reports}
-
- <menu name="Foundation">
- <item name="ASF" href="http://apache.org/" />
- <item name="Sponsorship" href="http://www.apache.org/foundation/sponsorship.html" />
- <item name="Thanks" href="http://www.apache.org/foundation/thanks.html" />
- <item name="Security" href="http://www.apache.org/security/" />
- <item name="License" href="http://www.apache.org/licenses/" />
- </menu>
-
- </body>
-</project>