File tree Expand file tree Collapse file tree 3 files changed +46
-0
lines changed
src/main/java/com/tutorialworks Expand file tree Collapse file tree 3 files changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ .idea /
2+ * .iml
3+ target /
4+
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 1+ package com .tutorialworks ;
2+
13public 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}
You can’t perform that action at this time.
0 commit comments