Giter Site home page Giter Site logo

mom0aut / dynamicrelations Goto Github PK

View Code? Open in Web Editor NEW
14.0 3.0 12.0 189 KB

Dynamic Relations for Java Spring Projects

License: Apache License 2.0

Java 100.00%
java spring-boot springboot sql database dynamic-relations relationship open-source opensource spring

dynamicrelations's Issues

Add configuration for the flyway-maven-plugin

It would be nice to execute the flyway goals (info, clean, migrate) against a local database. Therefore the plugin needs an configuration.

Example:

<groupId>org.flywaydb</groupId>
<artifactId>flyway-maven-plugin</artifactId>
<version>${flyway-maven-plugin.version}</version>
<configuration>
  <user>localUser</user>
  <password>localPw</password>
  <url>localUrl/</url>
  <schemas>localSchema</schemas>
</configuration>

How to test:

Submodule testing mvn flyway:info

Extract jacoco version into pom property

The jacoco-maven-plugin version from the module jacoco-report should be extracted into a pom property.

Currently:

<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.8</version>

Should:

<properties>
        <jacoco.version>0.8.8</code.coverage.project.folder>        
 </properties>

<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco.version}</version>

Add Dependency Management into Root pom.xml

Currently the the versions of the dependencies are defined in each sub module. It would be convenient to define all dependencies in the root pom via the dependency management tag and use them in the matching sub module. With this change u can see all the version of the used dependencies from the whole project at once.

Example:

Root pom.xml:

 <dependency>
            <groupId>org.postgresql</groupId>
            <artifactId>postgresql</artifactId>
            <version>${postgresql.version}</version>
 </dependency>

 <dependencyManagement>
            <groupId>org.postgresql</groupId>
            <artifactId>postgresql</artifactId>
 </dependencyManagement>

Sub Module using it:

 <dependency>
            <groupId>org.postgresql</groupId>
            <artifactId>postgresql</artifactId>
 </dependency>

Extract maven dependency versions into properties

Currently the dependencies in the pom.xml are direct under the dependency it would be convenient to have them all under some pom properties.

Example: <spring.boot.version->3.0.0<\spring.boot.version>

Simplify the usage of the framwork

Currently there is a lot of configuration needed to get the DynamicRelations working (DrmConfig,RealtionType)
It should be possible to streamline the usage of the framework to a simpler process.
Any suggestions are welcome

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.