Skip to content

Commit

Permalink
Merge pull request stritti#24 from stritti/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
stritti authored Sep 5, 2017
2 parents be1d6dd + 30ff580 commit ab2bb89
Show file tree
Hide file tree
Showing 76 changed files with 3,323 additions and 3,603 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ log4js/target/
log4js/node_modules/
log4js-servlet/target/
log4js-servlet/lib/
log4js-site/build/
log4js-site/build/
/log4js-servlet/nbproject/private/
/log4js-servlet/nbproject/
/log4js/nbproject/private/
36 changes: 26 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,32 @@
language: node_js
node_js:
- "0.10"
- 4.2.4
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- gem update --system
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- gem update --system
install:
- npm install
- npm install -g bower grunt-cli

- cd log4js
- npm install
- npm install -g bower grunt-cli
before_script:
- cd log4js
- npm install
- npm install
script:
- grunt --gruntfile "Gruntfile.js" build --verbose
- grunt --gruntfile "Gruntfile.js" build --verbose
deploy:
provider: releases
api_key:
secure: D3OkluDRa3mkyQAYPMCrbIqvIpZAGOsjqO/21myRDa7MiRjkZJgg2TMxfSTfUsnSf4aMKvLybvD7+YWd1015U7OqFR+I0hkwV49DNlQgw9/Gh7mFAfrM3wO7qibSKdTeaph76hmCQfNxN9UWEdyrnEzRooBlwJDa/skq65z70hc=
file: log4js\target\*.zip
skip_cleanup: true
on:
repo: stritti/log4js
branch: master
19 changes: 0 additions & 19 deletions log4js-servlet/.classpath

This file was deleted.

36 changes: 0 additions & 36 deletions log4js-servlet/.project

This file was deleted.

13 changes: 0 additions & 13 deletions log4js-servlet/.settings/org.eclipse.jdt.core.prefs

This file was deleted.

This file was deleted.

This file was deleted.

12 changes: 0 additions & 12 deletions log4js-servlet/.settings/org.eclipse.wst.common.component

This file was deleted.

11 changes: 0 additions & 11 deletions log4js-servlet/.settings/org.eclipse.wst.common.component.bak

This file was deleted.

This file was deleted.

4 changes: 0 additions & 4 deletions log4js-servlet/.settings/org.eclipse.wst.css.core.prefs

This file was deleted.

4 changes: 0 additions & 4 deletions log4js-servlet/.settings/org.eclipse.wst.html.core.prefs

This file was deleted.

6 changes: 0 additions & 6 deletions log4js-servlet/.settings/org.eclipse.wst.validation.prefs

This file was deleted.

4 changes: 0 additions & 4 deletions log4js-servlet/.settings/org.hibernate.eclipse.console.prefs

This file was deleted.

31 changes: 0 additions & 31 deletions log4js-servlet/log4js-servlet-AllTests.launch

This file was deleted.

156 changes: 156 additions & 0 deletions log4js-servlet/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
<?xml version="1.0" encoding="UTF-8"?>
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>de.log4js</groupId>
<artifactId>log4js</artifactId>
<name>Log4js</name>
<packaging>war</packaging>
<version>2.0.0Beta1</version>
<scm>
<connection>https://github.com/stritti/log4js.git</connection>
<url>https://github.com/stritti/log4js</url>
</scm>
<properties>
<java-version>1.7</java-version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<checkstyle.config.location>src/main/resources/sybit-checkstyle.xml</checkstyle.config.location>
</properties>
<dependencies>

<!-- Servlet -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.servlet.jsp</groupId>
<artifactId>jsp-api</artifactId>
<version>2.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
</dependency>

<!-- Test -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.3.1</version>
</dependency>
</dependencies>
<build>
<plugins>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<source>${java-version}</source>
<target>${java-version}</target>
<compilerArgument>-Xlint:all</compilerArgument>
<showWarnings>true</showWarnings>
<showDeprecation>true</showDeprecation>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2.1</version>
<configuration>
<mainClass>org.test.int1.Main</mainClass>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.4.3</version>
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.2.201409121644</version>
<configuration>
<rules>
<rule>
<element>CLASS</element>
<excludes>
<exclude>*Test</exclude>
</excludes>
</rule>
</rules>
</configuration>
<executions>
<execution>
<id>default-prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>default-report</id>
<phase>prepare-package</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
<execution>
<id>default-check</id>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>

</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>3.0.0</version>
<configuration>
<xmlOutput>true</xmlOutput>
<findbugsXmlOutputDirectory>${project.build.directory}</findbugsXmlOutputDirectory>
<!-- Optional directory to put findbugs xdoc xml report -->
<xmlOutputDirectory>target/site</xmlOutputDirectory>
<excludeFilterFile>src/main/resources/findbugs-excludes.xml</excludeFilterFile>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.15</version>
<configuration>
<enableRulesSummary>false</enableRulesSummary>
<configLocation>${checkstyle.config.location}</configLocation>
</configuration>
<reportSets>
<reportSet>
<reports>
<report>checkstyle</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
</project>
Loading

0 comments on commit ab2bb89

Please sign in to comment.