package de.sormuras.bach.project;

import java.net.URI;
import java.nio.file.Path;

/** Properties used to upload compiled modules. */
public class /*record*/ Deployment {
  private final String mavenGroup;
  private final Path mavenPomTemplate;
  private final String mavenRepositoryId;
  private final URI mavenUri;

  public Deployment(String mavenGroup, Path mavenPomTemplate, String mavenRepositoryId, URI mavenUri) {
    this.mavenGroup = mavenGroup;
    this.mavenPomTemplate = mavenPomTemplate;
    this.mavenRepositoryId = mavenRepositoryId;
    this.mavenUri = mavenUri;
  }

  public String mavenGroup() {
    return mavenGroup;
  }

  public Path mavenPomTemplate() {
    return mavenPomTemplate;
  }

  /** Maven repository id. */
  public String mavenRepositoryId() {
    return mavenRepositoryId;
  }

  /** Maven URL as an URI. */
  public URI mavenUri() {
    return mavenUri;
  }
}

@@ -1,8 +1,642 @@
+/*%0A * Bach - Java Shell Builder%0A * Copyright (C) 2019 Christian Stein%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *     https://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0A%0A
 package 

Add missing license