Skip to content

Commit 1c4ef23

Browse files
committed
first commit
1 parent 5a2acea commit 1c4ef23

File tree

3 files changed

+46
-0
lines changed

3 files changed

+46
-0
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.idea/
2+
*.iml
3+
target/
4+

maven-jar/pom.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
7+
<groupId>com.tutorialworks</groupId>
8+
<artifactId>maven-jar</artifactId>
9+
<version>1.0-SNAPSHOT</version>
10+
11+
<properties>
12+
<!-- We specify Java 1.6 or later, otherwise the build will fail -->
13+
<maven.compiler.source>1.6</maven.compiler.source>
14+
<maven.compiler.target>1.6</maven.compiler.target>
15+
16+
<!-- We also specify the file encoding of our source files, to avoid a warning -->
17+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
18+
</properties>
19+
20+
</project>
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,24 @@
1+
package com.tutorialworks;
2+
13
public class Book {
4+
5+
private String author;
6+
private String title;
7+
8+
public String getAuthor() {
9+
return author;
10+
}
11+
12+
public void setAuthor(String author) {
13+
this.author = author;
14+
}
15+
16+
public String getTitle() {
17+
return title;
18+
}
19+
20+
public void setTitle(String title) {
21+
this.title = title;
22+
}
23+
224
}

0 commit comments

Comments
 (0)