├── .gitignore
├── LICENSE
├── README.md
├── pom.xml
└── src
├── main
└── java
│ └── com
│ └── github
│ └── jitpack
│ └── App.java
└── test
└── java
└── com
└── github
└── jitpack
└── AppTest.java
/.gitignore:
--------------------------------------------------------------------------------
1 | *.class
2 | target/
3 | bin/
4 | .project
5 | .classpath
6 | .settings/
7 |
8 | # Package Files #
9 | *.jar
10 | hs_err_pid*
11 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2015 jitpack
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
23 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # example
2 |
3 | Example Maven project generated using `maven-archetype-quickstart`
4 |
5 | [https://jitpack.io/#jitpack/maven-simple](https://jitpack.io/#jitpack/maven-simple)
6 |
7 | [](https://jitpack.io/#jitpack/maven-simple)
8 |
9 | To use it in your Maven build add:
10 | ```xml
11 |
12 |
13 | jitpack.io
14 | https://jitpack.io
15 |
16 |
17 | ```
18 |
19 | and the dependency:
20 |
21 | ```xml
22 |
23 | com.github.jitpack
24 | maven-simple
25 | 1.2
26 |
27 | ```
28 |
29 |
--------------------------------------------------------------------------------
/pom.xml:
--------------------------------------------------------------------------------
1 |
3 | 4.0.0
4 |
5 | com.github.jitpack
6 | maven-simple
7 | 0.2-SNAPSHOT
8 | jar
9 |
10 | Simple Maven example
11 | https://jitpack.io/#jitpack/maven-simple/0.1
12 |
13 |
14 |
15 | junit
16 | junit
17 | 4.13.1
18 | test
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 | org.apache.maven.plugins
27 | maven-compiler-plugin
28 | 3.2
29 |
30 | 1.8
31 | 1.8
32 |
33 |
34 |
35 |
36 | org.apache.maven.plugins
37 | maven-source-plugin
38 |
39 |
40 | attach-sources
41 |
42 | jar
43 |
44 |
45 |
46 |
47 |
48 |
49 | org.apache.maven.plugins
50 | maven-javadoc-plugin
51 |
52 |
53 | attach-javadocs
54 |
55 | jar
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
--------------------------------------------------------------------------------
/src/main/java/com/github/jitpack/App.java:
--------------------------------------------------------------------------------
1 | package com.github.jitpack;
2 |
3 | /**
4 | * Hello world!
5 | *
6 | */
7 | public class App
8 | {
9 | public static void main(String[] args)
10 | {
11 | System.out.println(new App().greet("world"));
12 | }
13 |
14 | public String greet(String name) {
15 | return "Hello " + name;
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/src/test/java/com/github/jitpack/AppTest.java:
--------------------------------------------------------------------------------
1 | package com.github.jitpack;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.assertEquals;
6 | import static org.junit.Assert.assertTrue;
7 |
8 | public class AppTest
9 | {
10 | App app = new App();
11 |
12 | @Test
13 | public void testApp()
14 | {
15 | assertEquals("Hello world", app.greet("world"));
16 | }
17 |
18 | @Test
19 | public void testTrue()
20 | {
21 | assertTrue( true );
22 | }
23 | }
24 |
--------------------------------------------------------------------------------