Skip to content

Commit efccc83

Browse files
committed
initial commit
1 parent bd42866 commit efccc83

File tree

4 files changed

+240
-0
lines changed

4 files changed

+240
-0
lines changed

.gitignore

Lines changed: 164 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,164 @@
1+
/target/
2+
!.mvn/wrapper/maven-wrapper.jar
3+
4+
### STS ###
5+
.apt_generated
6+
.classpath
7+
.factorypath
8+
.project
9+
.settings
10+
.springBeans
11+
.sts4-cache
12+
13+
14+
# Created by https://www.gitignore.io/api/git,java,maven,eclipse,windows
15+
16+
### Eclipse ###
17+
18+
.metadata
19+
bin/
20+
tmp/
21+
*.tmp
22+
*.bak
23+
*.swp
24+
*~.nib
25+
local.properties
26+
.settings/
27+
.loadpath
28+
.recommenders
29+
30+
# External tool builders
31+
.externalToolBuilders/
32+
33+
# Locally stored "Eclipse launch configurations"
34+
*.launch
35+
36+
# PyDev specific (Python IDE for Eclipse)
37+
*.pydevproject
38+
39+
# CDT-specific (C/C++ Development Tooling)
40+
.cproject
41+
42+
# CDT- autotools
43+
.autotools
44+
45+
# Java annotation processor (APT)
46+
.factorypath
47+
48+
# PDT-specific (PHP Development Tools)
49+
.buildpath
50+
51+
# sbteclipse plugin
52+
.target
53+
54+
# Tern plugin
55+
.tern-project
56+
57+
# TeXlipse plugin
58+
.texlipse
59+
60+
# STS (Spring Tool Suite)
61+
.springBeans
62+
63+
# Code Recommenders
64+
.recommenders/
65+
66+
# Annotation Processing
67+
.apt_generated/
68+
69+
# Scala IDE specific (Scala & Java development for Eclipse)
70+
.cache-main
71+
.scala_dependencies
72+
.worksheet
73+
74+
### Eclipse Patch ###
75+
# Eclipse Core
76+
.project
77+
78+
# JDT-specific (Eclipse Java Development Tools)
79+
.classpath
80+
81+
# Annotation Processing
82+
.apt_generated
83+
84+
.sts4-cache/
85+
86+
### Git ###
87+
# Created by git for backups. To disable backups in Git:
88+
# $ git config --global mergetool.keepBackup false
89+
*.orig
90+
91+
# Created by git when using merge tools for conflicts
92+
*.BACKUP.*
93+
*.BASE.*
94+
*.LOCAL.*
95+
*.REMOTE.*
96+
*_BACKUP_*.txt
97+
*_BASE_*.txt
98+
*_LOCAL_*.txt
99+
*_REMOTE_*.txt
100+
101+
### Java ###
102+
# Compiled class file
103+
*.class
104+
105+
# Log file
106+
*.log
107+
108+
# BlueJ files
109+
*.ctxt
110+
111+
# Mobile Tools for Java (J2ME)
112+
.mtj.tmp/
113+
114+
# Package Files #
115+
*.jar
116+
*.war
117+
*.nar
118+
*.ear
119+
*.zip
120+
*.tar.gz
121+
*.rar
122+
123+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
124+
hs_err_pid*
125+
126+
### Maven ###
127+
target/
128+
pom.xml.tag
129+
pom.xml.releaseBackup
130+
pom.xml.versionsBackup
131+
pom.xml.next
132+
release.properties
133+
dependency-reduced-pom.xml
134+
buildNumber.properties
135+
.mvn/timing.properties
136+
.mvn/wrapper/maven-wrapper.jar
137+
138+
### Windows ###
139+
# Windows thumbnail cache files
140+
Thumbs.db
141+
ehthumbs.db
142+
ehthumbs_vista.db
143+
144+
# Dump file
145+
*.stackdump
146+
147+
# Folder config file
148+
[Dd]esktop.ini
149+
150+
# Recycle Bin used on file shares
151+
$RECYCLE.BIN/
152+
153+
# Windows Installer files
154+
*.cab
155+
*.msi
156+
*.msix
157+
*.msm
158+
*.msp
159+
160+
# Windows shortcuts
161+
*.lnk
162+
163+
164+
# End of https://www.gitignore.io/api/git,java,maven,eclipse,windows

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>com.coderolls</groupId>
6+
<artifactId>SampleProject</artifactId>
7+
<version>0.0.1-SNAPSHOT</version>
8+
<packaging>jar</packaging>
9+
10+
<name>SampleProject</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 com.coderolls.SampleProject;
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 com.coderolls.SampleProject;
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+
}

0 commit comments

Comments
 (0)