Skip to content

Commit

Permalink
Merge pull request #4 from mkolisnyk/master
Browse files Browse the repository at this point in the history
Changes to generex to match Maven structure
  • Loading branch information
mifmif committed Oct 11, 2014
2 parents e9c3a24 + 944988b commit a7c8e85
Show file tree
Hide file tree
Showing 22 changed files with 519 additions and 109 deletions.
36 changes: 36 additions & 0 deletions .classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/classes" path="src/main/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target
6 changes: 6 additions & 0 deletions generex/.project → .project
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,14 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures>
</projectDescription>
5 changes: 5 additions & 0 deletions .settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
org.eclipse.jdt.core.compiler.compliance=1.5
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.source=1.5
4 changes: 4 additions & 0 deletions .settings/org.eclipse.m2e.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
activeProfiles=
eclipse.preferences.version=1
resolveWorkspaceProjects=true
version=1
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,18 @@ Generex is based on the library http://www.brics.dk/~amoeller/automaton/.

**How to use it :**
-


If you use [Maven](http://maven.apache.org) you can include this library to your project by adding the following dependency:
```xml
<dependency>
<groupId>com.github.mkolisnyk</groupId>
<artifactId>generex</artifactId>
<version>0.0.1</version>
</dependency>
```
The list of all available versions can be found at [Maven Central](http://mvnrepository.com/artifact/com.github.mkolisnyk/generex).

Here is the sample Java code demonstrating library usage:
```java


Expand Down
17 changes: 17 additions & 0 deletions checkstyle-suppressions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0"?>

<!DOCTYPE suppressions PUBLIC
"-//Puppy Crawl//DTD Suppressions 1.1//EN"
"http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">

<suppressions>
<suppress checks="DesignForExtensionCheck"
files="MutationStrategy.java"
lines="98-100"/>
<suppress checks="MagicNumberCheck"
files="JavadocStyleCheck.java"
lines="221"/>
<suppress checks="JavadocTypeCheck"
files="MavenMutoReporter.java"
lines="1-120"/>
</suppressions>
8 changes: 8 additions & 0 deletions findBugsExclude.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<FindBugsFilter>
<Match>
<Class name="com.github.mkolisnyk.muto.reporter.HelpMojo" />
<Method name="build" />
<Bug pattern="OBL_UNSATISFIED_OBLIGATION" />
</Match>
</FindBugsFilter>
11 changes: 0 additions & 11 deletions generex/.classpath

This file was deleted.

1 change: 0 additions & 1 deletion generex/.gitignore

This file was deleted.

11 changes: 0 additions & 11 deletions generex/.settings/org.eclipse.jdt.core.prefs

This file was deleted.

59 changes: 0 additions & 59 deletions generex/README.md

This file was deleted.

Binary file removed generex/lib/automaton.jar
Binary file not shown.
Loading

0 comments on commit a7c8e85

Please sign in to comment.