TIBCOSoftware / be-contribution

This repository is to add various contributions across different modules within TIBCO BusinessEvents. It will include contributions by TIBCO BusinessEvents team as well external users/customers/fields teams.
BSD 3-Clause "New" or "Revised" License
0 stars 9 forks source link

Getting could not resolve dependencies error while performing mvn clean install #118

Closed jgandhi-tibco closed 1 year ago

jgandhi-tibco commented 1 year ago

Version Information

Software Version(s)
BusinessEvents 6.3.0
OS Type? Windows
OS Version? Windows 10

What is the expected behavior?

The build should get succeed

What is the actual behavior?

While performing mvn clean install, it's giving following error:

[INFO] Scanning for projects...
[INFO]
[INFO] --------------------< com.tibco.businessevents:sb >---------------------
[INFO] Building sb 1.0.0
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for org.antlr:stringtemplate:jar:3.1 is missing, no dependency information available
[WARNING] The POM for org.apache:antlr:jar:3 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.333 s
[INFO] Finished at: 2023-07-19T12:34:42+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project sb: Could not resolve dependencies for project com.tibco.businessevents:sb:jar:1.0.0: The following artifacts could not be resolved: org.antlr:stringtemplate:jar:3.1, org.apache:antlr:jar:3: org.antlr:stringtemplate:jar:3.1 was not found in https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

Please provide a unit test that demonstrates the bug.

  1. Clone the be-contribution repo
  2. Navigate to be-contribution/channel/sb
  3. Perform mvn clean install

Note: This is also observed for catalog/pattern-catalog-fn and catalog/analytics-catalog-fn

tyogeshp-tibco commented 1 year ago

Fixed

jgandhi-tibco commented 1 year ago

Maven build is working now.

Pattern SB Analytics