Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ import globals from '../../../shared/extensionGlobals'
function collectDependenciesAndMetadata(dependenciesFolderPath: string, workingDirPath: string) {
getLogger().info('CodeTransformation: running mvn clean test-compile with maven JAR')

const baseCommand = transformByQState.getMavenName()
const baseCommand = transformByQState.getMavenName() // always 'mvn'
const jarPath = globals.context.asAbsolutePath(path.join('resources', 'amazonQCT', 'QCT-Maven-1-0-156-0.jar'))

getLogger().info('CodeTransformation: running Maven extension with JAR')

const args = [
`-Dmaven.ext.class.path=${jarPath}`,
`-Dcom.amazon.aws.developer.transform.jobDirectory=${dependenciesFolderPath}`,
`-Dmaven.ext.class.path="${jarPath}"`,
`-Dcom.amazon.aws.developer.transform.jobDirectory="${dependenciesFolderPath}"`,
'clean',
'test-compile',
]
Expand Down
Loading