This repository has been archived by the owner on Jan 7, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch from reload4j to more modern log4j2, which supports modules
Made for #9
- Loading branch information
1 parent
89d1268
commit f627d07
Showing
31 changed files
with
558 additions
and
316 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,7 @@ | |
app/target/ | ||
telegram/target/ | ||
youtubedl/target/ | ||
|
||
**/.classpath | ||
**/.factorypath | ||
**/.project | ||
**/.settings/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,106 +1,98 @@ | ||
<?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> | ||
<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> | ||
|
||
<parent> | ||
<groupId>com.eugene_andrienko</groupId> | ||
<artifactId>telepodcast</artifactId> | ||
<version>1.0-SNAPSHOT</version> | ||
</parent> | ||
<parent> | ||
<groupId>com.eugene_andrienko</groupId> | ||
<artifactId>telepodcast</artifactId> | ||
<version>1.0-SNAPSHOT</version> | ||
</parent> | ||
|
||
<groupId>com.eugene_andrienko</groupId> | ||
<artifactId>app</artifactId> | ||
<version>1.0-SNAPSHOT</version> | ||
<packaging>jar</packaging> | ||
<artifactId>app</artifactId> | ||
<version>1.0-SNAPSHOT</version> | ||
<packaging>jar</packaging> | ||
|
||
<properties> | ||
<telepodcast.version>1.0-SNAPSHOT</telepodcast.version> | ||
</properties> | ||
<properties> | ||
<telepodcast.version>1.0-SNAPSHOT</telepodcast.version> | ||
</properties> | ||
|
||
<name>Telepodcast application</name> | ||
<url>https://github.com/eugeneandrienko/telepodcast</url> | ||
<name>Telepodcast application</name> | ||
<url>https://github.com/eugeneandrienko/telepodcast</url> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-reload4j</artifactId> | ||
<version>2.0.3</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>ch.qos.reload4j</groupId> | ||
<artifactId>reload4j</artifactId> | ||
<version>1.2.22</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.beust</groupId> | ||
<artifactId>jcommander</artifactId> | ||
<version>1.82</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.googlecode.lanterna</groupId> | ||
<artifactId>lanterna</artifactId> | ||
<version>3.1.1</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.vdurmont</groupId> | ||
<artifactId>emoji-java</artifactId> | ||
<version>5.1.1</version> | ||
</dependency> | ||
<dependencies> | ||
<dependency> | ||
<groupId>com.beust</groupId> | ||
<artifactId>jcommander</artifactId> | ||
<version>1.82</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.googlecode.lanterna</groupId> | ||
<artifactId>lanterna</artifactId> | ||
<version>3.1.1</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.vdurmont</groupId> | ||
<artifactId>emoji-java</artifactId> | ||
<version>5.1.1</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>com.eugene_andrienko</groupId> | ||
<artifactId>telegram</artifactId> | ||
<version>1.0-SNAPSHOT</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.eugene_andrienko</groupId> | ||
<artifactId>youtubedl</artifactId> | ||
<version>1.0-SNAPSHOT</version> | ||
</dependency> | ||
</dependencies> | ||
<dependency> | ||
<groupId>com.eugene_andrienko</groupId> | ||
<artifactId>telegram</artifactId> | ||
<version>1.0-SNAPSHOT</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.eugene_andrienko</groupId> | ||
<artifactId>youtubedl</artifactId> | ||
<version>1.0-SNAPSHOT</version> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<artifactId>maven-jar-plugin</artifactId> | ||
<configuration> | ||
<archive> | ||
<manifest> | ||
<!-- TODO: rename JAR from app to telepodcast --> | ||
<addClasspath>true</addClasspath> | ||
<classpathPrefix>dependencies/</classpathPrefix> | ||
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> | ||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries> | ||
<mainClass>com.eugene_andrienko.telepodcast.TelePodcast</mainClass> | ||
<!-- TODO: --> | ||
<!-- <manifestEntries> --> | ||
<!-- <Implementation-Title>Telepodcast</Implementation-Title> --> | ||
<!-- <Implementation-Version>${telepodcast.version}</Implementation-Version> --> | ||
<!-- </manifestEntries> --> | ||
</manifest> | ||
</archive> | ||
</configuration> | ||
</plugin> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<artifactId>maven-jar-plugin</artifactId> | ||
<configuration> | ||
<archive> | ||
<manifest> | ||
<!-- TODO: rename JAR from app to telepodcast --> | ||
<addClasspath>true</addClasspath> | ||
<classpathPrefix>dependencies/</classpathPrefix> | ||
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> | ||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries> | ||
<mainClass>com.eugene_andrienko.telepodcast.TelePodcast</mainClass> | ||
<!-- TODO: --> | ||
<!-- <manifestEntries> --> | ||
<!-- <Implementation-Title>Telepodcast</Implementation-Title> --> | ||
<!-- <Implementation-Version>${telepodcast.version}</Implementation-Version> --> | ||
<!-- </manifestEntries> --> | ||
</manifest> | ||
</archive> | ||
</configuration> | ||
</plugin> | ||
|
||
<plugin> | ||
<artifactId>maven-shade-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<goals> | ||
<goal>shade</goal> | ||
</goals> | ||
<configuration> | ||
<shadedArtifactAttached>true</shadedArtifactAttached> | ||
<transformers> | ||
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> | ||
<mainClass>com.eugene_andrienko.telepodcast.TelePodcast</mainClass> | ||
</transformer> | ||
</transformers> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
<plugin> | ||
<artifactId>maven-shade-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<goals> | ||
<goal>shade</goal> | ||
</goals> | ||
<configuration> | ||
<shadedArtifactAttached>true</shadedArtifactAttached> | ||
<transformers> | ||
<transformer | ||
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> | ||
<mainClass>com.eugene_andrienko.telepodcast.TelePodcast | ||
</mainClass> | ||
</transformer> | ||
</transformers> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 3 additions & 5 deletions
8
app/src/main/java/com/eugene_andrienko/telepodcast/gui/GUI.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,14 @@ | ||
package com.eugene_andrienko.telepodcast.gui; | ||
|
||
import org.slf4j.Logger; | ||
import org.slf4j.LoggerFactory; | ||
import lombok.extern.log4j.Log4j2; | ||
|
||
|
||
@Log4j2 | ||
public class GUI | ||
{ | ||
private final Logger logger = LoggerFactory.getLogger(GUI.class); | ||
|
||
public GUI() | ||
{ | ||
logger.error("Not implemented yet!"); | ||
log.error("Not implemented yet!"); | ||
throw new UnsupportedOperationException("Not implemented yet!"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.