Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update download server script #189

Merged
merged 1 commit into from
Jul 18, 2022
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
6 changes: 3 additions & 3 deletions examples/workflow-glsp/scripts/download.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ import download from 'mvn-artifact-download';
import { join, resolve } from 'path';

const downloadDir = resolve(join(__dirname)) + '/../../..';
const mavenRepository = 'https://repo1.maven.org/maven2/';
const mavenRepository = 'https://oss.sonatype.org/content/repositories/snapshots/';
const groupId = 'org.eclipse.glsp.example';
const artifactId = 'org.eclipse.glsp.example.workflow';
const version = '1.0.0';
const version = '1.1.0';
const classifier = 'glsp';

console.log('Downloading latest version of the Workflow Example Java Server from the maven repository...');
const isSnapShot = false;
const isSnapShot = true;
download({ groupId, artifactId, version, classifier, isSnapShot }, downloadDir, mavenRepository).then(() =>
console.log(
'Download completed. Start the server using this command: \njava -jar org.eclipse.glsp.example.workflow-' +
Expand Down