This repository has been archived by the owner on Nov 14, 2022. It is now read-only.
forked from WrenArchiver/forgerock-i18n-framework
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from karelmaxa/cleanup
Perform project cleanup.
- Loading branch information
Showing
25 changed files
with
749 additions
and
1,085 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Build | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
java: [11, 17] | ||
name: "Java ${{ matrix.java }} build" | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up JDK | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: ${{ matrix.java }} | ||
- name: Cache Maven packages | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.m2 | ||
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} | ||
restore-keys: ${{ runner.os }}-m2 | ||
- name: Run the Maven verify phase | ||
run: mvn -B verify --file pom.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
#--- Java ignores --- | ||
*.class | ||
|
||
# Package Files # | ||
*.jar | ||
*.war | ||
*.ear | ||
|
||
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml | ||
hs_err_pid* | ||
|
||
|
||
#--- Maven ignores --- | ||
target/ | ||
pom.xml.tag | ||
pom.xml.releaseBackup | ||
pom.xml.versionsBackup | ||
pom.xml.next | ||
release.properties | ||
dependency-reduced-pom.xml | ||
buildNumber.properties | ||
.mvn/timing.properties | ||
|
||
|
||
#--- IntelliJ ignores --- | ||
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio | ||
|
||
*.iml | ||
|
||
## Directory-based project format: | ||
.idea/ | ||
|
||
## File-based project format: | ||
*.ipr | ||
*.iws | ||
|
||
## Plugin-specific files: | ||
|
||
# IntelliJ | ||
/out/ | ||
|
||
# mpeltonen/sbt-idea plugin | ||
.idea_modules/ | ||
|
||
# JIRA plugin | ||
atlassian-ide-plugin.xml | ||
|
||
# Crashlytics plugin (for Android Studio and IntelliJ) | ||
com_crashlytics_export_strings.xml | ||
crashlytics.properties | ||
crashlytics-build.properties | ||
|
||
|
||
#--- Eclipse ignores --- | ||
*.pydevproject | ||
.metadata | ||
.gradle | ||
bin/ | ||
tmp/ | ||
*.tmp | ||
*.bak | ||
*.swp | ||
*~.nib | ||
local.properties | ||
.settings/ | ||
.loadpath | ||
|
||
# Eclipse Core | ||
.project | ||
|
||
# External tool builders | ||
.externalToolBuilders/ | ||
|
||
# Locally stored "Eclipse launch configurations" | ||
*.launch | ||
|
||
# CDT-specific | ||
.cproject | ||
|
||
# JDT-specific (Eclipse Java Development Tools) | ||
.classpath | ||
|
||
# Java annotation processor (APT) | ||
.factorypath | ||
|
||
# PDT-specific | ||
.buildpath | ||
|
||
# sbteclipse plugin | ||
.target | ||
|
||
# TeXlipse plugin | ||
.texlipse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Wren Security i18n Framework | ||
|
||
Common framework for embedding localizable messages in applications. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,79 +1,76 @@ | ||
<?xml version="1.0"?> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
! CDDL HEADER START | ||
! | ||
! The contents of this file are subject to the terms of the | ||
! Common Development and Distribution License, Version 1.0 only | ||
! (the "License"). You may not use this file except in compliance | ||
! with the License. | ||
! | ||
! You can obtain a copy of the license at legal/CDDLv1_0.txt or | ||
! http://forgerock.org/license/CDDLv1.0.html. | ||
! See the License for the specific language governing permissions | ||
! and limitations under the License. | ||
! | ||
! When distributing Covered Code, include this CDDL HEADER in each | ||
! file and include the License file at legal/CDDLv1_0.txt. If applicable, | ||
! add the following below this CDDL HEADER, with the fields enclosed | ||
! by brackets "[]" replaced with your own identifying information: | ||
! Portions Copyright [yyyy] [name of copyright owner] | ||
! | ||
! CDDL HEADER END | ||
! | ||
! Copyright 2011 ForgeRock AS. | ||
! Portions Copyright 2017 Wren Security. | ||
! | ||
--> | ||
The contents of this file are subject to the terms of the Common Development and | ||
Distribution License (the License). You may not use this file except in compliance with the | ||
License. | ||
You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the | ||
specific language governing permission and limitations under the License. | ||
When distributing Covered Software, include this CDDL Header Notice in each file and include | ||
the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL | ||
Header, with the fields enclosed by brackets [] replaced by your own identifying | ||
information: "Portions copyright [year] [name of copyright owner]". | ||
Copyright 2011 ForgeRock AS. | ||
Portions Copyright 2017-2022 Wren Security. | ||
--> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<parent> | ||
<groupId>org.forgerock.commons</groupId> | ||
<artifactId>i18n-framework</artifactId> | ||
<version>1.4.4-SNAPSHOT</version> | ||
</parent> | ||
<artifactId>i18n-core</artifactId> | ||
<name>Wren Security I18N Core</name> | ||
<description> | ||
This module provides core Java APIs for embedding and using | ||
localizable messages in applications. | ||
</description> | ||
<packaging>bundle</packaging> | ||
<build> | ||
<resources> | ||
<resource> | ||
<directory>src/main/resources</directory> | ||
<filtering>true</filtering> | ||
</resource> | ||
</resources> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.forgerock.commons</groupId> | ||
<artifactId>i18n-maven-plugin</artifactId> | ||
<version>${project.version}</version> | ||
<executions> | ||
<execution> | ||
<phase>generate-test-sources</phase> | ||
<goals> | ||
<goal>generate-test-messages</goal> | ||
</goals> | ||
<configuration> | ||
<messageFiles> | ||
<messageFile>org/forgerock/i18n/my_test.properties</messageFile> | ||
</messageFiles> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.felix</groupId> | ||
<artifactId>maven-bundle-plugin</artifactId> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<instructions> | ||
<Export-Package>org.forgerock.i18n.*</Export-Package> | ||
</instructions> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<parent> | ||
<groupId>org.wrensecurity.commons</groupId> | ||
<artifactId>i18n-framework</artifactId> | ||
<version>1.5.0-SNAPSHOT</version> | ||
<relativePath>../pom.xml</relativePath> | ||
</parent> | ||
|
||
<artifactId>i18n-core</artifactId> | ||
<packaging>bundle</packaging> | ||
|
||
<name>Wren Security I18N Core</name> | ||
|
||
<description> | ||
This module provides core Java APIs for embedding and using | ||
localizable messages in applications. | ||
</description> | ||
|
||
<build> | ||
<resources> | ||
<resource> | ||
<directory>src/main/resources</directory> | ||
<filtering>true</filtering> | ||
</resource> | ||
</resources> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.wrensecurity.commons</groupId> | ||
<artifactId>i18n-maven-plugin</artifactId> | ||
<version>${project.version}</version> | ||
<executions> | ||
<execution> | ||
<phase>generate-test-sources</phase> | ||
<goals> | ||
<goal>generate-test-messages</goal> | ||
</goals> | ||
<configuration> | ||
<messageFiles> | ||
<messageFile>org/forgerock/i18n/my_test.properties</messageFile> | ||
</messageFiles> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.felix</groupId> | ||
<artifactId>maven-bundle-plugin</artifactId> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<instructions> | ||
<Export-Package>org.forgerock.i18n.*</Export-Package> | ||
</instructions> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
Oops, something went wrong.