Hi All,
I am new here, so not sure if this is the right way to do it, but at least let me try. Forgive me if this not the right way to do this.
Anyway, so I am now working at High Performance Scientific Computing group at Mount Sinai Health Systems, and my goal is to create a local instance of Atlas. To do this, I will need to create a running instance of WebAPI, and that is where I hit a roadblock. Here is what I have done,
- git clone the source code of WebAPI (https://github.com/OHDSI/WebAPI.git)
- we do have a running instance of Atlas and WebAPI on our production server, so I copied the settings.xml and pom.xml from the production server
- run the following command, trying to build WebAPI:
mvn clean package -DskipTests -s settings.xml -P ‘webapi-postgresql’
and this is where things started to go wrong - I am getting the following error messages:
[ **INFO** ] **------------------------------------------------------------------------**
[ **INFO** ] **BUILD FAILURE**
[ **INFO** ] **------------------------------------------------------------------------**
[ **INFO** ] Total time: 1.293 s
[ **INFO** ] Finished at: 2021-02-10T15:02:25-05:00
[ **INFO** ] **------------------------------------------------------------------------**
[ **ERROR** ] Failed to execute goal on project WebAPI: **Could not resolve dependencies for project org.ohdsi:WebAPI:war:2.7.4: Failed to collect dependencies at org.springframework.batch:spring-batch-admin-manager:jar:2.0.0.M1** : Failed to read artifact descriptor for org.springframework.batch:spring-batch-admin-manager:jar:2.0.0.M1: Could not transfer artifact org.springframework.batch:spring-batch-admin-manager:pom:2.0.0.M1 from/to springsource.releases (http://repo.springsource.org/release): Authorization failed for http://repo.springsource.org/release/org/springframework/batch/spring-batch-admin-manager/2.0.0.M1/spring-batch-admin-manager-2.0.0.M1.pom 403 Forbidden -> **[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
I would appreciate it very much if someone can tell me if the same error message has been encountered, and what is the right steps to take to build a local instance of Atlas?
Many thanks!