Comments (6)
What would the flags look like ?
from egeria.
See example in https://github.com/GaianRangerPlugin/ranger-gaian-plugin/blob/master/pom.xml
Basically this uses the 'DependencyManagement' to express the version that should be used in all modules, without actually pulling in as a dependency. In the 'Dependency' section the version is then omitted. A similar pattern applies to the plugins with 'PluginManagement'. This is the 'standard' maven mechanism
One main difference is the effective on transitive dependencies - the maven scheme arguably provides a little more assurance as to what is used.
There's some further docs at https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html
from egeria.
I think we should do this - as the code gets bigger, dependency management is going to become more important. I would like to take you up on your offer to code the patch (when you are back from vacation :)
from egeria.
Updating top level pom.
Removing any DependencyManagement elsewhere
Added validation - as an example if an inconsistent version is used we now fail the build with
[INFO] --- maven-dependency-plugin:3.1.1:analyze-dep-mgt (depmgmt) @ access-services-user-interface ---
[INFO] Found Resolved Dependency/DependencyManagement mismatches:
[INFO] Dependency: org.springframework.security:spring-security-web:jar
[INFO] DepMgt : 5.1.4.RELEASE
[INFO] Resolved: 5.1.5.RELEASE
There's no exception handling yet - will need to add on a case by case basis (overriding configuration in local pom.
Discrepancies so far
- Janusgraph - 0.3.1 used by graph repo, 0.3.0 by lineage -> updated to 0.3.1
- spring-security-web - 5.1.4 used most places, 5.1.5 in user interface (incorrect version compatibility with spring-web) -> corrected to 5.1.4 (this was caused by using the wrong property)
Local version properties and numbers have NOT been removed in this PR -- though any update that makes them inconsistent will fail the build. These will be cleaned in a subsequent update
from egeria.
Also not added -- any refactoring of UI build and expression of non-maven dependency versions (npm and polymer components)
from egeria.
this has been implemented
from egeria.
Related Issues (20)
- [RELEASE] Release 4.2 HOT 3
- [BUG] OMVS Rex bug, pre traversal displays a count including the deleted entities, but traversal does not return deleted entities HOT 1
- [Enhancement] Add RootCategory classification to CIM glossary HOT 2
- [Enhancement] Egeria file layout proposal to simplify deployment HOT 4
- [Enhancement] Add new view services to Egeria UI application HOT 1
- [Enhancement] Support the capabilities of Apache Atlas classifications HOT 3
- [Enhancement] Add OWASP depenency scanner for Gradle HOT 1
- OMRS-XTDB-REPOSITORY-0026 Cannot sort by property By property value (Ascending) on types: [ControlledGlossaryTerm, GlossaryTerm] HOT 1
- Remove sonatype Lift checks from Egeria repositories HOT 1
- [RELEASE] Release 4.3 HOT 1
- Series Tutorials HOT 10
- [Enhancement] The official website is not up to date, resulting in running errors HOT 3
- [BUG] Deprecated feature in gradle build HOT 1
- [Enhancement] Add framework clients to all OMASs HOT 6
- [RELEASE] Release 4.4 HOT 2
- [Enhancement] Consolidation of UI backend services HOT 1
- Getting LibraryNotFoundError please help me to solve HOT 1
- [Enhancement] Remove authentication for swagger ui URL HOT 1
- Exception: org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException: OMAG-MULTI-TENANT-404-001 The OMAG Server cocoMDS1 is not available to service a request from user admin HOT 4
- [BUG] <Infinite loop when retryable topic>
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from egeria.