Skip to content

Commit a1fa701

Browse files
committed
init commit
1 parent fd2788f commit a1fa701

File tree

6 files changed

+184
-0
lines changed

6 files changed

+184
-0
lines changed

.gitignore

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio
2+
target/
3+
*.iml
4+
5+
## Directory-based project format:
6+
.idea/
7+
# if you remove the above rule, at least ignore the following:
8+
9+
# User-specific stuff:
10+
# .idea/workspace.xml
11+
# .idea/tasks.xml
12+
# .idea/dictionaries
13+
14+
# Sensitive or high-churn files:
15+
# .idea/dataSources.ids
16+
# .idea/dataSources.xml
17+
# .idea/sqlDataSources.xml
18+
# .idea/dynamic.xml
19+
# .idea/uiDesigner.xml
20+
21+
# Gradle:
22+
# .idea/gradle.xml
23+
# .idea/libraries
24+
25+
# Mongo Explorer plugin:
26+
# .idea/mongoSettings.xml
27+
28+
## File-based project format:
29+
*.ipr
30+
*.iws
31+
32+
## Plugin-specific files:
33+
34+
# IntelliJ
35+
/out/
36+
37+
# mpeltonen/sbt-idea plugin
38+
.idea_modules/
39+
40+
# JIRA plugin
41+
atlassian-ide-plugin.xml
42+
43+
# Crashlytics plugin (for Android Studio and IntelliJ)
44+
com_crashlytics_export_strings.xml
45+
crashlytics.properties
46+
crashlytics-build.properties
47+
48+
49+
50+
51+
*.pydevproject
52+
.metadata
53+
.gradle
54+
bin/
55+
tmp/
56+
*.tmp
57+
*.bak
58+
*.swp
59+
*~.nib
60+
local.properties
61+
.settings/
62+
.loadpath
63+
64+
# Eclipse Core
65+
.project
66+
67+
# External tool builders
68+
.externalToolBuilders/
69+
70+
# Locally stored "Eclipse launch configurations"
71+
*.launch
72+
73+
# CDT-specific
74+
.cproject
75+
76+
# JDT-specific (Eclipse Java Development Tools)
77+
.classpath
78+
79+
# Java annotation processor (APT)
80+
.factorypath
81+
82+
# PDT-specific
83+
.buildpath
84+
85+
# sbteclipse plugin
86+
.target
87+
88+
# TeXlipse plugin
89+
.texlipse

java-ormen.iml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
3+
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5" inherit-compiler-output="false">
4+
<output url="file://$MODULE_DIR$/target/classes" />
5+
<output-test url="file://$MODULE_DIR$/target/test-classes" />
6+
<content url="file://$MODULE_DIR$">
7+
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
8+
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
9+
<excludeFolder url="file://$MODULE_DIR$/target" />
10+
</content>
11+
<orderEntry type="inheritedJdk" />
12+
<orderEntry type="sourceFolder" forTests="false" />
13+
<orderEntry type="library" scope="TEST" name="Maven: junit:junit:3.8.1" level="project" />
14+
</component>
15+
</module>

pom.xml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
5+
<groupId>org.codebrewery</groupId>
6+
<artifactId>java-ormen</artifactId>
7+
<version>1.0-SNAPSHOT</version>
8+
<packaging>jar</packaging>
9+
10+
<name>java-ormen</name>
11+
<url>http://maven.apache.org</url>
12+
13+
<properties>
14+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15+
</properties>
16+
17+
<dependencies>
18+
<dependency>
19+
<groupId>junit</groupId>
20+
<artifactId>junit</artifactId>
21+
<version>3.8.1</version>
22+
<scope>test</scope>
23+
</dependency>
24+
</dependencies>
25+
</project>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package org.codebrewery;
2+
3+
/**
4+
* Hello world!
5+
*
6+
*/
7+
public class App
8+
{
9+
public static void main( String[] args )
10+
{
11+
System.out.println( "Hello World!" );
12+
}
13+
}
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
package org.codebrewery;
2+
3+
import junit.framework.Test;
4+
import junit.framework.TestCase;
5+
import junit.framework.TestSuite;
6+
7+
/**
8+
* Unit test for simple App.
9+
*/
10+
public class AppTest
11+
extends TestCase
12+
{
13+
/**
14+
* Create the test case
15+
*
16+
* @param testName name of the test case
17+
*/
18+
public AppTest( String testName )
19+
{
20+
super( testName );
21+
}
22+
23+
/**
24+
* @return the suite of tests being tested
25+
*/
26+
public static Test suite()
27+
{
28+
return new TestSuite( AppTest.class );
29+
}
30+
31+
/**
32+
* Rigourous Test :-)
33+
*/
34+
public void testApp()
35+
{
36+
assertTrue( true );
37+
}
38+
}

travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
language: java
2+
install: "mvn install -DskipTests=true -Dgpg.skip=true -B"
3+
jdk:
4+
- oraclejdk8

0 commit comments

Comments
 (0)