Skip to content

Commit

Permalink
work
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaswoehlke committed Dec 15, 2022
1 parent 4c1a8e5 commit be70995
Show file tree
Hide file tree
Showing 4 changed files with 221 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

60 changes: 60 additions & 0 deletions .idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

132 changes: 132 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1149,5 +1149,137 @@
</plugins>
</reporting>

<profiles>
<profile>
<id>run</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<skipTests>true</skipTests>
</properties>
<build>
<finalName>${project.artifactId}</finalName>
<defaultGoal>clean package exec:java</defaultGoal>
</build>
</profile>

<profile>
<id>build</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<properties>
<skipTests>false</skipTests>
</properties>
<build>
<finalName>${project.artifactId}</finalName>
<defaultGoal>clean dependency:resolve dependency:resolve-plugins dependency:sources install site site:deploy exec:java</defaultGoal>
</build>
</profile>

<profile>
<id>site</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<properties>
<skipTests>false</skipTests>
</properties>
<build>
<finalName>${project.artifactId}</finalName>
<defaultGoal>clean dependency:resolve dependency:resolve-plugins dependency:sources install site site:deploy</defaultGoal>
</build>
</profile>

<profile>
<id>release</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<properties>
<skipTests>false</skipTests>
<skipIntegrationTests>false</skipIntegrationTests>
</properties>
<build>
<finalName>${project.artifactId}</finalName>
<defaultGoal>release:prepare release:perform</defaultGoal>
</build>
</profile>

<profile>
<id>uml</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<properties>
<skipTests>true</skipTests>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.github.funthomas424242</groupId>
<artifactId>plantuml-maven-plugin</artifactId>
<version>${version.plantuml-maven-plugin}</version>
<type>maven-plugin</type>
<exclusions>
<exclusion>
<groupId>javax.enterprise</groupId>
<artifactId>cdi-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>net.sourceforge.plantuml</groupId>
<artifactId>plantuml</artifactId>
<version>${version.plantuml-maven-plugin.plantuml}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>com.github.funthomas424242</groupId>
<artifactId>plantuml-maven-plugin</artifactId>
<type>maven-plugin</type>
</dependency>
<dependency>
<groupId>net.sourceforge.plantuml</groupId>
<artifactId>plantuml</artifactId>
<scope>runtime</scope>
</dependency>
</dependencies>
<build>
<finalName>${project.artifactId}</finalName>
<defaultGoal>clean com.github.funthomas424242:plantuml-maven-plugin:generate</defaultGoal>
<plugins>
<plugin>
<groupId>com.github.funthomas424242</groupId>
<artifactId>plantuml-maven-plugin</artifactId>
<version>${version.plantuml-maven-plugin}</version>
<configuration>
<truncatePattern>src/main/*</truncatePattern>
<sourceFiles>
<directory>${basedir}</directory>
<includes>
<include>src/plantuml/**/*.puml</include>
</includes>
</sourceFiles>
</configuration>
<dependencies>
<dependency>
<groupId>net.sourceforge.plantuml</groupId>
<artifactId>plantuml</artifactId>
<version>${version.plantuml-maven-plugin.plantuml}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</profile>

</profiles>


</project>
28 changes: 28 additions & 0 deletions src/plantuml/Class_Diagram.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
@startuml
'https://plantuml.com/class-diagram

abstract class AbstractList
abstract AbstractCollection
interface List
interface Collection

List <|-- AbstractList
Collection <|-- AbstractCollection

Collection <|- List
AbstractCollection <|- AbstractList
AbstractList <|-- ArrayList

class ArrayList {
Object[] elementData
size()
}

enum TimeUnit {
DAYS
HOURS
MINUTES
}


@enduml

0 comments on commit be70995

Please sign in to comment.