Skip to content

Commit

Permalink
Coderize
Browse files Browse the repository at this point in the history
  • Loading branch information
NeftaliYagua committed Jan 22, 2025
1 parent 439fc09 commit 87c2c7e
Show file tree
Hide file tree
Showing 7 changed files with 88 additions and 41 deletions.
31 changes: 16 additions & 15 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,26 @@ permissions:
id-token: write
jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Set up JDK 22
uses: actions/setup-java@v4
with:
java-version: 22
distribution: 'temurin'
cache: maven
- name: Test with Maven
run: mvn clean test --file pom.xml
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: 21
distribution: 'temurin'
cache: maven
- name: Test with Maven
run: mvn clean test --file pom.xml
build:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: test
steps:
- uses: actions/checkout@v4
- name: Set up JDK 22
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: 22
java-version: 21
distribution: 'temurin'
cache: maven
- name: Deploy site
Expand All @@ -46,7 +46,7 @@ jobs:
id: deployment
uses: actions/deploy-pages@v4
deploy:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: build
permissions:
contents: read
Expand All @@ -57,8 +57,9 @@ jobs:
- name: Set up Maven Central Repository
uses: actions/setup-java@v4
with:
java-version: 22
java-version: 21
distribution: 'temurin'
cache: maven
server-id: TomcatServer
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 22
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: 22
java-version: 21
distribution: 'temurin'
cache: maven
- name: Test with Maven
Expand Down
21 changes: 10 additions & 11 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<packaging>war</packaging>
<name>Endpoint for Bank Transactions</name>
<description>Bank Transactions Endpoint</description>
<url>https://github.com/CodericBusiness/org.coderic.bank.endpoint</url>
<url>https://coderic.org/org.coderic.bank.endpoint</url>
<organization>
<name>Coderic</name>
<url>https://coderic.org/</url>
Expand All @@ -28,18 +28,17 @@
</license>
</licenses>
<scm>
<connection>scm:git:https://github.com/CodericBusiness/org.coderic.bank.endpoint.git</connection>
<developerConnection>${project.scm.connection}</developerConnection>
<tag>HEAD</tag>
<url>https://github.com/CodericBusiness/org.coderic.bank.endpoint.git</url>
<connection>scm:git:https://github.com/Coderic/org.coderic.bank.endpoint.git</connection>
<developerConnection>scm:git:[email protected]:Coderic/org.coderic.bank.endpoint.git</developerConnection>
<url>http://github.com/Coderic/org.coderic.bank.endpoint/tree/master</url>
</scm>
<ciManagement>
<system>GitHub Actions</system>
<url>https://github.com/CodericBusiness/org.coderic.bank.endpoint/actions</url>
<url>https://github.com/Coderic/org.coderic.bank.endpoint/actions</url>
</ciManagement>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/CodericBusiness/org.coderic.bank.endpoint/issues</url>
<url>https://github.com/Coderic/org.coderic.bank.endpoint/issues</url>
</issueManagement>
<developers>
<developer>
Expand All @@ -55,7 +54,7 @@
</developer>
</developers>
<properties>
<java.version>22</java.version>
<java.version>21</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>
Expand Down Expand Up @@ -115,8 +114,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>22</source>
<target>22</target>
<source>21</source>
<target>21</target>
</configuration>
</plugin>
<plugin>
Expand All @@ -126,7 +125,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>4.0.0-M16</version>
<version>3.21.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Created-By: Apache Maven
Main-Class: org.coderic.bank.endpoint.EndpointApplication
Manifest-Version: 2.0
Name: coderic-bank/endpoint
Name: coderic-fintech/bank-endpoint
Specification-Title: Endpoint for Bank Transactions
Specification-Version: 1.0
Specification-Vendor: Coderic
Expand Down
35 changes: 35 additions & 0 deletions src/site/resources/css/site.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@300;400;500&amp;display=swap');

body {
font-family: 'Red Hat Display', sans;
}
#bannerRight a {
margin-right: 100px;
vertical-align: middle;
height: 50px;
vertical-align: text-top;
background: linear-gradient(180deg,
hsl(0, 0%, 58%) 0%,
hsl(0, 0%, 80%) 47%,
hsl(0, 0%, 38%) 53%,
hsl(0, 0%, 58%) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
font-size: 35px;
font-style: normal;
font-variant: normal;
font-weight: normal;
font-stretch: normal;
font-family: 'Red Hat Display';
letter-spacing:-2px;
}
#bannerRight a:hover {
text-decoration: none;
}

#bannerRight img{
height: 47px;
margin-bottom: 0;
vertical-align: text-top;
}
Binary file removed src/site/resources/images/logo.png
Binary file not shown.
36 changes: 24 additions & 12 deletions src/site/site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,43 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.6.0 http://maven.apache.org/xsd/decoration-1.6.0.xsd"
name="${project.name}">
<bannerLeft>
<name>${project.name}</name>
</bannerLeft>
<bannerRight>
<name>CODERIC</name>
<src>https://coderic.org/favicon.svg</src>
<href>https://coderic.org</href>
</bannerRight>
<poweredBy>
<logo name="Coderic" href="https://coderic.org"
img="https://coderic.org/favicon.svg" position="center"
width="80%" title="Coderic"/>
</poweredBy>
<skin>
<groupId>org.apache.maven.skins</groupId>
<artifactId>maven-fluido-skin</artifactId>
<version>2.0.0-M8</version>
<version>2.0.1</version>
</skin>
<custom>
<fluidoSkin>
<!--profile>(pre-release|sandbox|retired)</profile-->
<profile>pre-release</profile>
<sourceLineNumbersEnabled>true</sourceLineNumbersEnabled>
<topBarIcon>
<name>Coderic</name>
<alt>Coderic</alt>
<src>https://coderic.org/favicon.svg</src>
<href>/index.html</href>
</topBarIcon>
<profile>pre-release</profile>
<gitHub>
<projectId>CodericBusiness/org.coderic.bank.gateway</projectId>
<projectId>Coderic/org.coderic.bank.endpoint</projectId>
<ribbonOrientation>right</ribbonOrientation>
<ribbonColor>orange</ribbonColor>
</gitHub>
</fluidoSkin>
</custom>
<bannerLeft>
<name>${project.name}</name>
<!--src>/images/logox1.png</src-->
<!--href>https://coderic.org/</href-->
</bannerLeft>
<edit>${project.scm.url}/edit/master/</edit>
<poweredBy>
<logo name="Coderic" href="https://coderic.org/" img="/images/logo.png" position="center" width="80%" title="Coderic" />
</poweredBy>
<body>
<breadcrumbs>
<item name="Endpoint" href="/index.html"/>
Expand All @@ -36,7 +48,7 @@ name="${project.name}">
<item name="Repositorio" href="${project.scm.url}" />
</links>
<menu name="Related links">
<item name="Semantic Versioning" href="https://semver.org/lang/es/" />
<item name="Semantic Versioning" href="https://semver.org/" />
<item name="Spring Boot" href="https://spring.io/" />
<item name="Maven" href="https://maven.apache.org/" />
<item name="Java" href="https://www.javainuse.com/" />
Expand Down

0 comments on commit 87c2c7e

Please sign in to comment.