From b05f739a5681824a391ac29cf624bae3c8cad991 Mon Sep 17 00:00:00 2001 From: esoe Date: Thu, 20 Oct 2022 12:17:04 +0300 Subject: [PATCH] qq --- country/pom.xml | 2 +- files/src/main/java/ru/molokoin/Extension.java | 1 + files/src/main/java/ru/molokoin/File.java | 2 ++ files/src/main/java/ru/molokoin/Storage.java | 18 ++++++++++++++++-- files/target/dependencies.txt | 2 ++ pom.xml | 1 + practice/pom.xml | 2 +- 7 files changed, 24 insertions(+), 4 deletions(-) create mode 100644 files/target/dependencies.txt diff --git a/country/pom.xml b/country/pom.xml index 6bbcb7c..9643194 100644 --- a/country/pom.xml +++ b/country/pom.xml @@ -13,7 +13,7 @@ 4.0.0 - ru.molokoin.education + ru.molokoin country 1.0 jar diff --git a/files/src/main/java/ru/molokoin/Extension.java b/files/src/main/java/ru/molokoin/Extension.java index 3345c31..aa9587c 100644 --- a/files/src/main/java/ru/molokoin/Extension.java +++ b/files/src/main/java/ru/molokoin/Extension.java @@ -1,3 +1,4 @@ +package ru.molokoin; public enum Extension { DOCUMENT, IMAGE, diff --git a/files/src/main/java/ru/molokoin/File.java b/files/src/main/java/ru/molokoin/File.java index 268d9d5..8ab6a9d 100644 --- a/files/src/main/java/ru/molokoin/File.java +++ b/files/src/main/java/ru/molokoin/File.java @@ -1,3 +1,5 @@ +package ru.molokoin; + @Inherited @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) diff --git a/files/src/main/java/ru/molokoin/Storage.java b/files/src/main/java/ru/molokoin/Storage.java index 8b3feaf..b1e9759 100644 --- a/files/src/main/java/ru/molokoin/Storage.java +++ b/files/src/main/java/ru/molokoin/Storage.java @@ -1,7 +1,21 @@ +package ru.molokoin; //import annotations -@File (name=noname, size=0, extension=Extension.OTHER) +//@File (name=noname, size=0, extension=Extension.OTHER) public class Storage { - Extension extension; + //Extension extension; + public Storage(){ + + } + public Storage(Extension extension){ + + } + //читаем днные аннотации + public static void main(String[] args) { + System.out.println("Storage.main()"); + //Storage storage = new Storage(); + + + } } diff --git a/files/target/dependencies.txt b/files/target/dependencies.txt new file mode 100644 index 0000000..1c65e84 --- /dev/null +++ b/files/target/dependencies.txt @@ -0,0 +1,2 @@ +digraph "ru.molokoin:files:jar:1.0" { + } \ No newline at end of file diff --git a/pom.xml b/pom.xml index fb3abc4..e145378 100644 --- a/pom.xml +++ b/pom.xml @@ -22,6 +22,7 @@ book universaty practice + files diff --git a/practice/pom.xml b/practice/pom.xml index 63ed2a0..da495de 100644 --- a/practice/pom.xml +++ b/practice/pom.xml @@ -13,7 +13,7 @@ 4.0.0 - ru.molokoin.education + ru.molokoin practice 1.0 jar