Skip to content

Commit

Permalink
java metrics-sdk project skeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
Serhii Vydiuk committed Oct 31, 2024
1 parent d293305 commit 0dbba83
Show file tree
Hide file tree
Showing 5 changed files with 86 additions and 11 deletions.
13 changes: 2 additions & 11 deletions packages/java/examples/OwlTestApp/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
HELP.md
target/
!.mvn/wrapper/maven-wrapper.jar
!**/src/main/**/target/
Expand All @@ -19,15 +18,7 @@ target/
*.iml
*.ipr

### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
build/
!**/src/main/**/build/
!**/src/test/**/build/

### VS Code ###
.vscode/

.DS_Store
3 changes: 3 additions & 0 deletions packages/java/examples/OwlTestApp/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# OwlTestApp

The application is a simple REST web-service. It is an example of using Java metrics SDK.
38 changes: 38 additions & 0 deletions packages/java/readme-metrics/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
target/
!.mvn/wrapper/maven-wrapper.jar
!**/src/main/**/target/
!**/src/test/**/target/

### IntelliJ IDEA ###
.idea/modules.xml
.idea/jarRepositories.xml
.idea/compiler.xml
.idea/libraries/
*.iws
*.iml
*.ipr

### Eclipse ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache

### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
build/
!**/src/main/**/build/
!**/src/test/**/build/

### VS Code ###
.vscode/

### Mac OS ###
.DS_Store
34 changes: 34 additions & 0 deletions packages/java/readme-metrics/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?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>com.readme</groupId>
<artifactId>readme-metrics</artifactId>
<version>0.0.1</version>

<properties>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<lombok.version>1.18.34</lombok.version>
<mockito-core.version>5.11.0</mockito-core.version>
</properties>

<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito-core.version}</version>
<scope>test</scope>
</dependency>

</dependencies>

</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package com.readme;

public class ReadmeMetrics {

public static void main(String[] args) {
System.out.println("Here we started... ");
}

}

0 comments on commit 0dbba83

Please sign in to comment.