-
Notifications
You must be signed in to change notification settings - Fork 3
/
pom.xml
125 lines (124 loc) · 4.89 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>io.github.trigunam.java.util</groupId>
<artifactId>tostring-implementation</artifactId>
<version>2.2</version>
<packaging>jar</packaging>
<properties>
<version.maven.compiler.plugin>3.8.1</version.maven.compiler.plugin>
<version.maven.source.plugin>2.2.1</version.maven.source.plugin>
<version.maven.javadoc.plugin>2.9.1</version.maven.javadoc.plugin>
<version.maven.gpg.plugin>1.5</version.maven.gpg.plugin>
<version.maven.release.plugin>2.5.3</version.maven.release.plugin>
<version.nexus.maven>1.6.8</version.nexus.maven>
<version.java>16</version.java>
<version.junit>4.13.2</version.junit>
<version.slf4j>1.7.32</version.slf4j>
<version.logback>1.2.5</version.logback>
</properties>
<!-- Project details -->
<name>tostring-implementation</name>
<description>This project is a library for any POJO class to implement a toString method. Given a class name and instance, the project will use reflection from Java API to get the getter methods for the given instance and execute it to print the methodName = methodValue in an appended string with comma separated values. This is very generic implementation so anybody can use this code to write their toString implementation. The idea is to avoid implementing toString by writing your own implementation every time.
Please put your thoughts on the implementation so we can evolve as a project which will help every Java Developer.</description>
<organization>
<name>Yet to identify</name>
</organization>
<url>https://github.com/trigunam/tostring-implementation</url>
<licenses>
<license>
<name>GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007</name>
<url>https://choosealicense.com/licenses/gpl-3.0/</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<id>trigunam</id>
<name>Triguna Mutuguppe Sripathi</name>
<email>triguna.mutuguppe@gmail.com</email>
<organization>io.github</organization>
<organizationUrl>https://github.com/trigunam/tostring-implementation</organizationUrl>
<roles>
<role>architect</role>
<role>developer</role>
</roles>
<timezone>+5:30</timezone>
</developer>
</developers>
<scm>
<url>https://github.com/trigunam/tostring-implementation</url>
</scm>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${version.junit}</version>
<scope>test</scope>
</dependency>
<!-- Logging Framework - slf4j over logback -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${version.slf4j}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${version.logback}</version>
</dependency>
</dependencies>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${version.maven.compiler.plugin}</version>
<configuration>
<source>${version.java}</source>
<target>${version.java}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${version.maven.source.plugin}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${version.maven.javadoc.plugin}</version>
<configuration>
<source>${version.java}</source>
<detectJavaApiLink>true</detectJavaApiLink>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>