forked from wildfly-security/elytron-web
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolves wildfly-security#1 Add the initial build with dependencies o…
…n the development versions of Elytron and Undertow.
- Loading branch information
Showing
3 changed files
with
242 additions
and
0 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,44 @@ | ||
# ignore .svn metadata files | ||
.svn | ||
# ignore Maven generated target folders | ||
~ | ||
target | ||
# ignore eclipse files | ||
.project | ||
.classpath | ||
.checkstyle | ||
.settings | ||
.metadata | ||
# ignore m2e annotation processing files | ||
.factorypath | ||
# ignore IDEA files | ||
*.iml | ||
*.ipr | ||
*.iws | ||
.idea | ||
# ignore NetBeans files | ||
nbactions.xml | ||
nb-configuration.xml | ||
catalog.xml | ||
# | ||
maven-ant-tasks.jar | ||
test-output | ||
transaction.log | ||
# vim files | ||
*.swp | ||
/.gitk-tmp.* | ||
atlassian-ide-plugin.xml | ||
# temp files | ||
*~ | ||
# maven versions plugin | ||
pom.xml.versionsBackup | ||
# hprof dumps | ||
/*.hprof | ||
# ignore 'randomly' strewn around logs | ||
server.log | ||
# ignore java crashes | ||
hs_err_pid*.log | ||
# ignore mvn-rpmbuild repo | ||
/.m2 | ||
settings.xml | ||
.codenvy |
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,2 +1,4 @@ | ||
# elytron-web | ||
Integration project for integrating Elytron based HTTP authentication with web containers and clients (Initially just Undertow server) | ||
|
||
Note: This project is expected to be switched to be a multi-module project once additional containers or client support is added. |
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,196 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
~ JBoss, Home of Professional Open Source. | ||
~ Copyright 2015 Red Hat, Inc., and individual contributors | ||
~ as indicated by the @author tags. | ||
~ | ||
~ Licensed 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 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> | ||
|
||
<groupId>org.wildfly.security.elytron-web</groupId> | ||
<artifactId>undertow-server</artifactId> | ||
<version>1.0.0.Alpha1-SNAPSHOT</version> | ||
|
||
<name>WildFly Elytron Web - Undertow Server</name> | ||
<description>WildFly Security SPIs</description> | ||
|
||
<parent> | ||
<groupId>org.jboss</groupId> | ||
<artifactId>jboss-parent</artifactId> | ||
<version>18</version> | ||
</parent> | ||
|
||
<properties> | ||
<version.io.undertow>1.3.0.Beta1-SNAPSHOT</version.io.undertow> | ||
<version.org.wildfly.security.elytron>1.0.0.Alpha2-SNAPSHOT</version.org.wildfly.security.elytron> | ||
<version.junit.junit>4.11</version.junit.junit> | ||
<version.org.wildfly.checkstyle-config>1.0.3.Final</version.org.wildfly.checkstyle-config> | ||
<version.com.puppycrawl.tools.checkstyle>6.3</version.com.puppycrawl.tools.checkstyle> | ||
|
||
<test.level>INFO</test.level> | ||
<!-- Checkstyle configuration --> | ||
<linkXRef>false</linkXRef> | ||
|
||
<maven.compiler.source>1.8</maven.compiler.source> | ||
<maven.compiler.target>1.8</maven.compiler.target> | ||
</properties> | ||
|
||
<build> | ||
<resources> | ||
<resource> | ||
<directory>${project.build.sourceDirectory}</directory> | ||
<includes> | ||
<include>**/*.properties</include> | ||
</includes> | ||
<filtering>true</filtering> | ||
</resource> | ||
</resources> | ||
|
||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-surefire-plugin</artifactId> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-checkstyle-plugin</artifactId> | ||
</plugin> | ||
</plugins> | ||
|
||
<pluginManagement> | ||
<plugins> | ||
|
||
<!-- Surefire --> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-surefire-plugin</artifactId> | ||
<version>${version.surefire.plugin}</version> | ||
<configuration> | ||
<systemPropertyVariables> | ||
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager> | ||
<log4j.defaultInitOverride>true</log4j.defaultInitOverride> | ||
<test.level>${test.level}</test.level> | ||
</systemPropertyVariables> | ||
<redirectTestOutputToFile>true</redirectTestOutputToFile> | ||
<trimStackTrace>false</trimStackTrace> | ||
<printSummary>true</printSummary> | ||
<includes> | ||
<include>**/*Test.java</include> | ||
<include>**/*TestSuite.java</include> | ||
</includes> | ||
<forkMode>always</forkMode> | ||
</configuration> | ||
</plugin> | ||
|
||
<!-- JAR --> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-jar-plugin</artifactId> | ||
<version>${version.jar.plugin}</version> | ||
<configuration> | ||
<archive> | ||
<manifest> | ||
<mainClass>org.wildfly.security._private.Main</mainClass> | ||
</manifest> | ||
</archive> | ||
</configuration> | ||
</plugin> | ||
|
||
<!-- Javadoc --> | ||
<plugin> | ||
<artifactId>maven-javadoc-plugin</artifactId> | ||
<configuration> | ||
<doclet>net.gleamynode.apiviz.APIviz</doclet> | ||
<docletArtifact> | ||
<groupId>org.jboss.apiviz</groupId> | ||
<artifactId>apiviz</artifactId> | ||
<version>1.3.2.GA</version> | ||
</docletArtifact> | ||
<excludePackageNames>*._private</excludePackageNames> | ||
</configuration> | ||
</plugin> | ||
|
||
<!-- Checkstyle --> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-checkstyle-plugin</artifactId> | ||
<version>${version.checkstyle.plugin}</version> | ||
<configuration> | ||
<configLocation>wildfly-checkstyle/checkstyle.xml</configLocation> | ||
<consoleOutput>true</consoleOutput> | ||
<failsOnError>true</failsOnError> | ||
<includeTestSourceDirectory>true</includeTestSourceDirectory> | ||
<useFile/> | ||
</configuration> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.wildfly.checkstyle</groupId> | ||
<artifactId>wildfly-checkstyle-config</artifactId> | ||
<version>${version.org.wildfly.checkstyle-config}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.puppycrawl.tools</groupId> | ||
<artifactId>checkstyle</artifactId> | ||
<version>${version.com.puppycrawl.tools.checkstyle}</version> | ||
</dependency> | ||
</dependencies> | ||
<executions> | ||
<execution> | ||
<id>check-style</id> | ||
<phase>compile</phase> | ||
<goals> | ||
<goal>checkstyle</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> | ||
<plugin> | ||
<groupId>org.eclipse.m2e</groupId> | ||
<artifactId>lifecycle-mapping</artifactId> | ||
<version>1.0.0</version> | ||
</plugin> | ||
</plugins> | ||
</pluginManagement> | ||
</build> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>io.undertow</groupId> | ||
<artifactId>undertow-core</artifactId> | ||
<version>${version.io.undertow}</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.wildfly.security</groupId> | ||
<artifactId>wildfly-elytron</artifactId> | ||
<version>${version.org.wildfly.security.elytron}</version> | ||
</dependency> | ||
<!-- | ||
Test Scope Only | ||
--> | ||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<version>${version.junit.junit}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
|
||
</dependencies> | ||
|
||
</project> |