This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag maven-sling-plugin-2.0.2-incubator
in repository https://gitbox.apache.org/repos/asf/sling-maven-sling-plugin.git

commit cbd59e3418df54652bf0e2e87f85dd7227b540b5
Author: Felix Meschberger <[email protected]>
AuthorDate: Mon Sep 24 09:17:41 2007 +0000

    - fix license header(s)
    - make abstract classes package level
    - cleanup imports
    
    git-svn-id: 
https://svn.apache.org/repos/asf/incubator/sling/trunk/maven-sling-plugin@578720
 13f79535-47bb-0310-9956-ffa450edef68
---
 .../bundlesupport/AbstractBundleInstallMojo.java   | 28 ++++++++++++----------
 .../bundlesupport/AbstractBundlePostMojo.java      |  2 +-
 .../maven/bundlesupport/BundleInstallFileMojo.java |  2 --
 .../maven/bundlesupport/BundleInstallMojo.java     | 18 --------------
 4 files changed, 16 insertions(+), 34 deletions(-)

diff --git 
a/src/main/java/org/apache/sling/maven/bundlesupport/AbstractBundleInstallMojo.java
 
b/src/main/java/org/apache/sling/maven/bundlesupport/AbstractBundleInstallMojo.java
index 53bf0f5..501388c 100644
--- 
a/src/main/java/org/apache/sling/maven/bundlesupport/AbstractBundleInstallMojo.java
+++ 
b/src/main/java/org/apache/sling/maven/bundlesupport/AbstractBundleInstallMojo.java
@@ -1,21 +1,24 @@
 /*
- * $Url: $
- * $Id: $
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
  *
- * Copyright 1997-2005 Day Management AG
- * Barfuesserplatz 6, 4001 Basel, Switzerland
- * All Rights Reserved.
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * This software is the confidential and proprietary information of
- * Day Management AG, ("Confidential Information"). You shall not
- * disclose such Confidential Information and shall use it only in
- * accordance with the terms of the license agreement you entered into
- * with Day.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
  */
 package org.apache.sling.maven.bundlesupport;
 
 import java.io.File;
-import java.net.ConnectException;
 import java.util.ArrayList;
 import java.util.List;
 
@@ -31,9 +34,8 @@ import 
org.apache.commons.httpclient.methods.multipart.MultipartRequestEntity;
 import org.apache.commons.httpclient.methods.multipart.Part;
 import org.apache.commons.httpclient.methods.multipart.StringPart;
 import org.apache.maven.plugin.MojoExecutionException;
-import org.apache.maven.plugin.MojoFailureException;
 
-public abstract class AbstractBundleInstallMojo extends AbstractBundlePostMojo 
{
+abstract class AbstractBundleInstallMojo extends AbstractBundlePostMojo {
 
     /**
      * The URL of the running Sling instance.
diff --git 
a/src/main/java/org/apache/sling/maven/bundlesupport/AbstractBundlePostMojo.java
 
b/src/main/java/org/apache/sling/maven/bundlesupport/AbstractBundlePostMojo.java
index 17d2317..ff4ea5e 100644
--- 
a/src/main/java/org/apache/sling/maven/bundlesupport/AbstractBundlePostMojo.java
+++ 
b/src/main/java/org/apache/sling/maven/bundlesupport/AbstractBundlePostMojo.java
@@ -26,7 +26,7 @@ import java.util.jar.Manifest;
 import org.apache.maven.plugin.AbstractMojo;
 import org.apache.maven.plugin.MojoExecutionException;
 
-public abstract class AbstractBundlePostMojo extends AbstractMojo {
+abstract class AbstractBundlePostMojo extends AbstractMojo {
 
     /**
      * Returns the symbolic name of the given bundle. If the
diff --git 
a/src/main/java/org/apache/sling/maven/bundlesupport/BundleInstallFileMojo.java 
b/src/main/java/org/apache/sling/maven/bundlesupport/BundleInstallFileMojo.java
index 5168ca2..1d7e584 100644
--- 
a/src/main/java/org/apache/sling/maven/bundlesupport/BundleInstallFileMojo.java
+++ 
b/src/main/java/org/apache/sling/maven/bundlesupport/BundleInstallFileMojo.java
@@ -17,8 +17,6 @@
 
 package org.apache.sling.maven.bundlesupport;
 
-import java.io.File;
-
 import org.apache.maven.plugin.MojoExecutionException;
 
 /**
diff --git 
a/src/main/java/org/apache/sling/maven/bundlesupport/BundleInstallMojo.java 
b/src/main/java/org/apache/sling/maven/bundlesupport/BundleInstallMojo.java
index 121d299..5c23654 100644
--- a/src/main/java/org/apache/sling/maven/bundlesupport/BundleInstallMojo.java
+++ b/src/main/java/org/apache/sling/maven/bundlesupport/BundleInstallMojo.java
@@ -17,25 +17,7 @@
 
 package org.apache.sling.maven.bundlesupport;
 
-import java.io.File;
-import java.net.ConnectException;
-import java.util.ArrayList;
-import java.util.List;
-
-import org.apache.commons.httpclient.Credentials;
-import org.apache.commons.httpclient.HttpClient;
-import org.apache.commons.httpclient.HttpStatus;
-import org.apache.commons.httpclient.UsernamePasswordCredentials;
-import org.apache.commons.httpclient.auth.AuthScope;
-import org.apache.commons.httpclient.methods.PostMethod;
-import org.apache.commons.httpclient.methods.multipart.FilePart;
-import org.apache.commons.httpclient.methods.multipart.FilePartSource;
-import org.apache.commons.httpclient.methods.multipart.MultipartRequestEntity;
-import org.apache.commons.httpclient.methods.multipart.Part;
-import org.apache.commons.httpclient.methods.multipart.StringPart;
-import org.apache.maven.model.Build;
 import org.apache.maven.plugin.MojoExecutionException;
-import org.apache.maven.plugin.MojoFailureException;
 
 /**
  * Install an OSGi bundle to a running Sling instance.

-- 
To stop receiving notification emails like this one, please contact
"[email protected]" <[email protected]>.

Reply via email to