Failed to execute goal on project tp-user: Could not resolve dependencies for project com.tp:tp-user:jar:0.0.1-SNAPSHOT: The following artifacts could not be resolved: com.tp:tp-common:jar:0.0.1-SNAPSHOT, com.tp:tp-utility:jar:0.0.1-SNAPSHOT, com.tp:tp-client-api:jar:0.0.1-SNAPSHOT: Could not find artifact com.tp:tp-common:jar:0.0.1-SNAPSHOT -> [Help 1]
# tp-common:jar bulided on bitbucket, still i not getting when i try bulid tp-user on bitbuckets
#This is .yml file
# Template maven-build
# This template allows you to test and build your Java project with Maven.
# The workflow allows running tests, code checkstyle and security scans on the default branch.
# Prerequisites: pom.xml and appropriate project structure should exist in the repository.
image: maven:3.8.6-openjdk-18
pipelines:
default:
- step:
name: Build and Test
caches:
- maven
script:
- mvn -B clean install # -B batch mode makes Maven less verbose
artifacts:
- 'target/**'
- step:
name: Deploy to server
deployment: Production
script:
- pipe: atlassian/scp-deploy:1.2.1
variables:
USER: '${USER}'
SERVER: '${HOST}'
REMOTE_PATH: '/home/ultivic/'
LOCAL_PATH: 'target/**'
DEBUG: 'true'
- pipe: atlassian/ssh-run:0.2.2
variables:
SSH_USER: '${USER}'
SERVER: '${HOST}'
COMMAND: 'ls -l'
.