Comments (11)
Hi @brianlynn2
I'm not sure - this looks strange. Note that this is (almost) definitely a local issue, since the CI builds are working. You could maybe try with a clean Maven repository, e.g., mvn clean install -Dmaven.repo.local=<path to temporary directory>
?
from rune-dsl.
Hi @SimonCockx -
Yes, it does seem like it could be a local issue. However, I tried your suggestion and got the same result. (Just slower). I also tried renaming my .m2 folder to something else to force a cache reload (in case that might be different from your suggestion) but with the same results.
I'm wondering if it is some kind of permissions issue with accessing a repo, but it seems like the repos are open. Any other suggestions?
Any other suggestions? Could it be an issue with my environment, like mvn or java?
from rune-dsl.
I don't get the error message. It seems like the build of com.regnosys.rosetta:jar:0.0.0.master-SNAPSHOT
is failing because it relies on com.regnosys.rosetta:jar:7.9.3
, which does not make sense at all.
Are you doing a full mvn clean install
of the parent module, or just of the com.regnosys.rosetta
(rosetta-lang) module?
from rune-dsl.
You could try running a mvn dependency:tree
to figure out where the faulty com.regnosys.rosetta:jar:7.9.3
dependency is coming from.
from rune-dsl.
I get the error in both the rosetta-dsl root folder (I guess the parent project) and in the rosetta-lang subfolder. In rosetta-ide I get a different error about xtend sources not being available. Didn't try any others.
I did try mvn dependency:tree and found something interesting:
[WARNING] The POM for com.regnosys.rosetta:com.regnosys.rosetta:jar:7.9.3 is missing, no dependency information available
There is a pom.xml in both the root folder and the rosetta-lang folder.
Am I missing another project or folder?
from rune-dsl.
You aren't missing anything. Do you see occurences of com.regnosys.rosetta:jar:7.9.3
in any of the dependency trees?
That dependency is the culprit. It shouldn't exist. When building locally there should only be dependencies on com.regnosys.rosetta:jar:0.0.0.master-SNAPSHOT
.
from rune-dsl.
The only mention of 7.9.3 is in the following bit of the dependency tree:
[INFO]
[INFO] -------------< com.regnosys.rosetta:com.regnosys.rosetta >--------------
[INFO] Building Rosetta DSL SDK 0.0.0.master-SNAPSHOT [4/9]
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for com.regnosys.rosetta:com.regnosys.rosetta:jar:7.9.3 is missing, no dependency information available
[INFO]
[INFO] --- maven-dependency-plugin:3.6.1:tree (default-cli) @ com.regnosys.rosetta ---
[INFO] com.regnosys.rosetta:com.regnosys.rosetta:jar:0.0.0.master-SNAPSHOT
[INFO] +- com.regnosys.rosetta:com.regnosys.rosetta.lib:jar:0.0.0.master-SNAPSHOT:compile
[INFO] | +- org.eclipse.xtend:org.eclipse.xtend.lib:jar:2.27.0:compile
[INFO] | | - org.eclipse.xtend:org.eclipse.xtend.lib.macro:jar:2.27.0:compile
[INFO] | +- com.google.inject:guice:jar:5.0.1:compile
[INFO] | | +- javax.inject:javax.inject:jar:1:compile
[INFO] | | +- aopalliance:aopalliance:jar:1.0:compile
[INFO] | | - com.google.guava:guava:jar:30.1-jre:compile
[INFO] | | +- com.google.guava:failureaccess:jar:1.0.1:compile
[INFO] | | +- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile
[INFO] | | +- com.google.code.findbugs:jsr305:jar:3.0.2:compile
[INFO] | | +- org.checkerframework:checker-qual:jar:3.5.0:compile
[INFO] | | +- com.google.errorprone:error_prone_annotations:jar:2.3.4:compile
[INFO] | | - com.google.j2objc:j2objc-annotations:jar:1.3:compile
[INFO] | +- org.apache.commons:commons-lang3:jar:3.14.0:compile
[INFO] | - com.fasterxml.jackson.core:jackson-databind:jar:2.16.0:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.16.0:compile
[INFO] | - com.fasterxml.jackson.core:jackson-core:jar:2.16.0:compile
[INFO] +- org.eclipse.emf:org.eclipse.emf.ecore:jar:2.20.0:compile
[INFO] | - org.eclipse.emf:org.eclipse.emf.common:jar:2.17.0:compile
[INFO] +- org.eclipse.xtext:org.eclipse.xtext:jar:2.27.0:compile
[INFO] | +- org.eclipse.xtext:org.eclipse.xtext.util:jar:2.27.0:compile
[INFO] | +- org.eclipse.platform:org.eclipse.equinox.common:jar:3.13.0:compile
[INFO] | +- org.eclipse.platform:org.eclipse.osgi:jar:3.16.0:compile
[INFO] | +- org.eclipse.emf:org.eclipse.emf.ecore.xmi:jar:2.16.0:compile
[INFO] | - org.antlr:antlr-runtime:jar:3.2:compile
[INFO] +- org.eclipse.xsemantics:org.eclipse.xsemantics.runtime:jar:1.22.0:compile
[INFO] | - org.eclipse.xtext:org.eclipse.xtext.xbase.lib:jar:2.27.0:compile
[INFO] +- org.eclipse.emf:org.eclipse.emf.ecore.xcore.lib:jar:1.6.0:compile
[INFO] +- org.apache.commons:commons-text:jar:1.11.0:compile
[INFO] +- com.regnosys.rosetta:com.regnosys.rosetta:jar:7.9.3:compile
[INFO] +- org.junit.jupiter:junit-jupiter:jar:5.10.1:test
[INFO] | +- org.junit.jupiter:junit-jupiter-api:jar:5.10.1:test
[INFO] | | +- org.opentest4j:opentest4j:jar:1.2.0:test
[INFO] | | +- org.junit.platform:junit-platform-commons:jar:1.10.1:test
[INFO] | | - org.apiguardian:apiguardian-api:jar:1.1.2:test
[INFO] | +- org.junit.jupiter:junit-jupiter-params:jar:5.10.1:test
[INFO] | - org.junit.jupiter:junit-jupiter-engine:jar:5.10.1:test
[INFO] | - org.junit.platform:junit-platform-engine:jar:1.10.1:test
[INFO] +- ch.qos.logback:logback-classic:jar:1.4.14:test
[INFO] | - org.slf4j:slf4j-api:jar:2.0.9:compile
[INFO] +- ch.qos.logback:logback-core:jar:1.4.14:test
[INFO] - org.slf4j:log4j-over-slf4j:jar:2.0.9:compile
[INFO]
I've attached the full tree as an attached file
depend.txt
from rune-dsl.
I found a dependency on rosetta.jar:7.9.3 in pom.xml in rosetta-lang, at line 58. I commented it out and now it seems to build.
Thanks for the help!
from rune-dsl.
No trouble, glad you got it working.
Looking at the master branch, I see this at line 58: https://github.com/REGnosys/rosetta-dsl/blob/31c6cef285bc53dae8bb5ab38f68e934826c75e7/rosetta-lang/pom.xml#L58
which does not correspond with your comment that the rosetta.jar:7.9.3
dependency is present at that location.
Are you sure you did not modify this file after cloning this project? I'm trying to understand what happened.
from rune-dsl.
Huh, that's strange. I have not edited any files in the project, at least not intentionally. I did originally clone the project some weeks ago, and I refreshed it several times, most recently in the last day or two. But I see that the pom file I have is slightly different from the one in version control, with the extra dependency (now commented out). So something happened that my version got out of sync. (Because I hadn't made any changes that I was aware of, it didn't occur to me to compare my local version to the version in git.)
Sorry for the confusion, and thanks for the help.
from rune-dsl.
Issue resolved; closing.
from rune-dsl.
Related Issues (20)
- Rename master to main HOT 2
- Create Docusaurus website basic structure HOT 3
- Static compilation error when type starts with lowercase character
- Enhancements to one-of construct HOT 26
- Unable to build the repo HOT 5
- Xtext grammar file is too large HOT 1
- Condition with only exists operator should only validate attributes on the type that contains the condition
- Errors in naming of Rune DSL in documentation HOT 1
- DSL should show when the implementation of a function is in code (ie Java) HOT 3
- Clarification of the definition and use of the meta data annotations HOT 4
- Missing documentation on the generated Java code
- Incompatible Types error thrown converting List of String(Enum Value) to List of FieldWithMetaString
- Caching sometimes breaks change propagation
- Highlighting broken for `only exists` and `required choice` with a comma
- Code generator crashes when using Java keyword `exists` in Function output
- Using fully qualified name of enum in expression returns class cast error
- Tabulator Generator does not support circular dependancies
- Dedicated choice types
- Support choice types as enum
- Choice type attributes should be referencable with address/location
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 rune-dsl.