Skip to content

Commit 36046a3

Browse files
fix: refactor of groupid and artifactid
1 parent 5c4b6e1 commit 36046a3

File tree

6 files changed

+14
-41
lines changed

6 files changed

+14
-41
lines changed

.gitignore

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
2-
# Created by https://www.toptal.com/developers/gitignore/api/java
3-
# Edit at https://www.toptal.com/developers/gitignore?templates=java
4-
51
### Java ###
62
# Compiled class file
73
*.class
@@ -27,3 +23,6 @@
2723
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
2824
hs_err_pid*
2925
replay_pid*
26+
27+
# vscode
28+
.vscode/

pom.xml

Lines changed: 5 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,17 @@
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66

7-
<groupId>com.proxy.client</groupId>
7+
<groupId>cr.go.municarrillo.proxyclient</groupId>
88
<artifactId>proxyclient</artifactId>
99
<version>1.0-SNAPSHOT</version>
1010

1111
<name>proxyclient</name>
12-
<!-- FIXME change it to the project's website -->
13-
<url>http://www.example.com</url>
12+
<url>https://www.municarrillo.go.cr</url>
1413

1514
<properties>
1615
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
17-
<maven.compiler.source>1.7</maven.compiler.source>
18-
<maven.compiler.target>1.7</maven.compiler.target>
16+
<maven.compiler.source>1.8</maven.compiler.source>
17+
<maven.compiler.target>1.8</maven.compiler.target>
1918
</properties>
2019

2120
<dependencies>
@@ -28,47 +27,22 @@
2827
</dependencies>
2928

3029
<build>
31-
<pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
30+
<pluginManagement>
3231
<plugins>
3332
<!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
3433
<plugin>
3534
<artifactId>maven-clean-plugin</artifactId>
3635
<version>3.1.0</version>
3736
</plugin>
3837
<!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
39-
<plugin>
40-
<artifactId>maven-resources-plugin</artifactId>
41-
<version>3.0.2</version>
42-
</plugin>
4338
<plugin>
4439
<artifactId>maven-compiler-plugin</artifactId>
4540
<version>3.8.0</version>
4641
</plugin>
47-
<plugin>
48-
<artifactId>maven-surefire-plugin</artifactId>
49-
<version>2.22.1</version>
50-
</plugin>
5142
<plugin>
5243
<artifactId>maven-jar-plugin</artifactId>
5344
<version>3.0.2</version>
5445
</plugin>
55-
<plugin>
56-
<artifactId>maven-install-plugin</artifactId>
57-
<version>2.5.2</version>
58-
</plugin>
59-
<plugin>
60-
<artifactId>maven-deploy-plugin</artifactId>
61-
<version>2.8.2</version>
62-
</plugin>
63-
<!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
64-
<plugin>
65-
<artifactId>maven-site-plugin</artifactId>
66-
<version>3.7.1</version>
67-
</plugin>
68-
<plugin>
69-
<artifactId>maven-project-info-reports-plugin</artifactId>
70-
<version>3.0.0</version>
71-
</plugin>
7246
</plugins>
7347
</pluginManagement>
7448
</build>

src/main/java/com/proxy/client/App.java renamed to src/main/java/cr/go/municarrillo/proxyclient/App.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
package com.proxy.client;
1+
package cr.go.municarrillo.proxyclient;
22

33
import java.util.Scanner;
44

5-
import com.proxy.client.Config.ClientAuthentication;
6-
import com.proxy.client.Settings.ProxySettings;
5+
import cr.go.municarrillo.proxyclient.Config.ClientAuthentication;
6+
import cr.go.municarrillo.proxyclient.Settings.ProxySettings;
77

88

99
public class App {

src/main/java/com/proxy/client/Config/ClientAuthentication.java renamed to src/main/java/cr/go/municarrillo/proxyclient/Config/ClientAuthentication.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.proxy.client.Config;
1+
package cr.go.municarrillo.proxyclient.Config;
22

33
import java.io.IOException;
44
import java.net.Authenticator;

src/main/java/com/proxy/client/Settings/ProxySettings.java renamed to src/main/java/cr/go/municarrillo/proxyclient/Settings/ProxySettings.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.proxy.client.Settings;
1+
package cr.go.municarrillo.proxyclient.Settings;
22

33
import java.net.InetSocketAddress;
44
import java.net.ProxySelector;

src/test/java/com/proxy/client/AppTest.java renamed to src/test/java/cr/go/municarrillo/proxyclient/AppTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.proxy.client;
1+
package cr.go.municarrillo.proxyclient;
22

33
import static org.junit.Assert.assertTrue;
44

0 commit comments

Comments
 (0)