Skip to content

Commit

Permalink
Merge branch '__rultor'
Browse files Browse the repository at this point in the history
  • Loading branch information
rultor committed Dec 28, 2023
2 parents 1408e2f + 7ab133e commit 56a8fb3
Show file tree
Hide file tree
Showing 6 changed files with 133 additions and 1 deletion.
33 changes: 33 additions & 0 deletions .github/workflows/site.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
name: site
on:
push:
tags:
- '*'
jobs:
site:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 11
- uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-jdk-${{ matrix.java }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-jdk-${{ matrix.java }}-maven-
- run: mvn clean site -Psite
- uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: target/site
target-folder: ${{ github.ref_name }}
clean: false
- uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: target/site
clean: false
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ Another way to use the plugin is to add it directly to your `pom.xml` file:

The default phase for the both goals is `process-classes`.

More details about plugin usage you can find in our
[Maven site](https://objectionary.github.io/opeo-maven-plugin).

## How to Contribute

Fork repository, make changes, then send us
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ SOFTWARE.
<packaging>maven-plugin</packaging>
<version>1.0-SNAPSHOT</version>
<name>opeo-maven-plugin</name>
<url>https://github.com/objectionary/opeo-maven-plugin</url>
<url>https://objectionary.github.io/opeo-maven-plugin</url>
<description>Bytecode decompiler to eolang and back</description>
<inceptionYear>2023</inceptionYear>
<organization>
Expand Down
11 changes: 11 additions & 0 deletions src/site/apt/404.apt.vm
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
Page Not Found
---
Volodya Lombrozo
---
2023-12-27
---

Page Not Found

The page you're looking for is not here. Try our {{{./}home page}}.
37 changes: 37 additions & 0 deletions src/site/apt/index.apt.vm
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
OPEO Maven Plugin
---
Volodya Lombrozo
---
2023-12-27
---

OPEO Maven Plugin

This {{{http://github.com/objectionary/opeo-maven-plugin}README}} documentation explains it in details.

Use it like this:

+--
<plugin>
<groupId>org.eolang</groupId>
<artifactId>opeo-maven-plugin</artifactId>
<version>0.0.2</version>
<executions>
<execution>
<id>opeo-decompile</id>
<goals>
<goal>decompile</goal>
</goals>
</execution>
<execution>
<id>opeo-compile</id>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>
+--

If any questions, submit a {{{http://github.com/objectionary/opeo-maven-plugin/issues}GitHub issue}}.
48 changes: 48 additions & 0 deletions src/site/site.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
The MIT License (MIT)
Copyright (c) 2016-2023 Objectionary.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
-->
<project xmlns="http://maven.apache.org/DECORATION/1.3.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/DECORATION/1.3.0 http://maven.apache.org/xsd/decoration-1.3.0.xsd" name="opeo-maven-plugin">
<skin>
<groupId>com.jcabi</groupId>
<artifactId>jcabi-maven-skin</artifactId>
<version>1.7.1</version>
</skin>
<bannerLeft>
<name>opeo-maven-plugin</name>
<src>https://www.objectionary.com/cactus.svg</src>
<href>https://objectionary.github.io/opeo-maven-plugin/index.html</href>
<width>92</width>
<height>92</height>
</bannerLeft>
<body>
<head>
&lt;link href="https://www.objectionary.com/cactus.svg" rel="shortcut icon"/&gt;
</head>
<menu name="Overview">
<item name="Introduction" href="./index.html"/>
<item name="Goals" href="./plugin-info.html"/>
</menu>
<menu ref="reports"/>
</body>
</project>

0 comments on commit 56a8fb3

Please sign in to comment.