Maven Repository - POM file for Build hudson-maven-artifact-manager 1.0 1.0

Summary

Hudson Maven Artifact Manager.

hackhish version of artifact manager to continue support uniqueVersion = false with maven2 builds.

Declaration

Here is the list of declaration for hudson-maven-artifact-manager. If you use Maven you can use the following code to add the dependency for this POM file.

<dependency>
   <groupId>org.jvnet.hudson</groupId>
   <artifactId>hudson-maven-artifact-manager</artifactId>
   <version>1.0</version>
</dependency>

If you think this Maven repository POM file listing for hudson-maven-artifact-manager is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

License

Apache License.





Depends on

The hudson-maven-artifact-manager-1.0 has 6 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.

CategoryArtifactDepended By Count
Networkwagon-file 1.0-beta-7
Wagon that gets and puts artifacts using file system protocol
11
XMLplexus-utils 2.0.5
A collection of various utility classes to ease working with strings, files, command lines, XML and more.
34
Buildwagon-provider-api 1.0-beta-7
Maven Wagon API that defines the contract between different Wagon implementations
11

Depended by

The following table lists the most popular artifacts which are depending on hudson-maven-artifact-manager-1.0. Their categories and depend by count are also listed.

CategoryArtifactDepended By Count
Buildmaven-plugin 2.2.1
This plug-in provides deep integration of Hudson and Maven. This functionality used to be part of the Hudson core. Now it is a plug-in that is installed by default, but can be disabled.
5
Buildmaven-plugin 3.0.1
This plug-in is needed if you have legacy maven 2 job type. Preferred way to use maven in Hudson is by using maven as a builder in your Free Style job, which is provided by Maven 3 plugin. Version 3.0.1 of this plugin requires Hudson Version 3.1.2 or later.
8

Plugin

The following plugins are used in the hudson-maven-artifact-manager-1.0.jar

  1. plexus-component-metadata

Packages

The following packages are defined in the hudson-maven-artifact-manager-1.0.jar

hudson.maven.artifact.deployer
hudson.maven.artifact.transform




POM File Source

Here is the content of the POM file.

<?xml version="1.0" encoding="UTF-8"?>
<!--
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

    http://www.apache.org/licenses/LICENSE-2.0

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.
--><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <artifactId>lib</artifactId>
    <groupId>org.jvnet.hudson</groupId>
    <version>1.7</version>
  </parent>

  <artifactId>hudson-maven-artifact-manager</artifactId>
  <version>1.0</version>

  <name>Hudson Maven Artifact Manager</name>
  
  <description>hackhish version of artifact manager to continue support uniqueVersion = false with maven2 builds</description>

  <scm>
    <connection>scm:svn:https://svn.java.net/svn/hudson~svn/tags/hudson-maven-artifact-manager-1.0</connection>
    <developerConnection>scm:svn:https://svn.java.net/svn/hudson~svn/tags/hudson-maven-artifact-manager-1.0</developerConnection>
    <url>https://hudson.dev.java.net/source/browse/hudson/tags/hudson-maven-artifact-manager-1.0</url>
  </scm>

  <properties>
    <wagonVersion>1.0-beta-7</wagonVersion>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>
  <dependencies>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-compat</artifactId>
      <version>3.0.1</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.wagon</groupId>
      <artifactId>wagon-file</artifactId>
      <version>${wagonVersion}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.wagon</groupId>
      <artifactId>wagon-http</artifactId>
      <version>${wagonVersion}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-utils</artifactId>
      <version>2.0.5</version>
    </dependency>

    <dependency>
      <groupId>org.sonatype.sisu</groupId>
      <artifactId>sisu-inject-plexus</artifactId>
      <version>1.4.3.1</version>
      <scope>provided</scope>
    </dependency> 
    <dependency>
      <groupId>org.apache.maven.wagon</groupId>
      <artifactId>wagon-provider-api</artifactId>
      <version>${wagonVersion}</version>
    </dependency>
  </dependencies>

  <build>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-release-plugin</artifactId>
          <version>2.1</version>
          <configuration>
            <tagBase>https://svn.java.net/svn/hudson~svn/tags/</tagBase>
            <goals>deploy</goals>
          </configuration>  
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-compiler-plugin</artifactId>
          <version>2.3.2</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-surefire-plugin</artifactId>
          <version>2.7</version>
          <configuration>
            <systemPropertyVariables>
              <localRepository>${settings.localRepository}</localRepository>
            </systemPropertyVariables>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-enforcer-plugin</artifactId>
          <version>1.0-beta-1</version>
          <executions>
            <execution>
              <goals>
                <goal>enforce</goal>
              </goals>
              <phase>validate</phase>
              <id>ensure-no-plexus-container</id>
              <configuration>
                <rules>
                  <bannedDependencies>
                    <excludes>
                      <exclude>org.codehaus.plexus:plexus-container-default</exclude>
                    </excludes>
                    <message>
                    ensure-no-plexus-container doesn't work anymore with maven 3 librairies. you have to add some exclusions.
                    </message>
                  </bannedDependencies>
                </rules>
                <fail>true</fail>
              </configuration>
            </execution>
          </executions>
        </plugin>       
      </plugins>
    </pluginManagement>
    <plugins>
      <plugin>
        <groupId>org.codehaus.plexus</groupId>
        <artifactId>plexus-component-metadata</artifactId>
        <version>1.5.4</version>
        <executions>
          <execution>
            <goals>
              <goal>generate-metadata</goal>
            </goals>
          </execution>
        </executions>        
      </plugin>    
    </plugins>
  </build>
  
  
  
  <distributionManagement>
    <repository>
      <id>java.net-m2-repository</id>
      <url>http://maven.hudson-labs.org/content/repositories/releases/</url>
    </repository>
  </distributionManagement>  
  
  <profiles>
    <profile>
      <id>m2e</id>
      <properties>
        <m2BuildDirectory>target</m2BuildDirectory>
      </properties>
      <activation>
        <property>
          <name>m2e.version</name>
        </property>
      </activation>
      <build>
        <directory>${m2BuildDirectory}</directory>
        <plugins>
          <plugin>
            <groupId>org.maven.ide.eclipse</groupId>
            <artifactId>lifecycle-mapping</artifactId>
            <version>0.12.0</version>
            <configuration>
              <mappingId>customizable</mappingId>
              <configurators>
                <configurator id="org.maven.ide.eclipse.jdt.javaConfigurator" />
              </configurators>
              <mojoExecutions>
                <mojoExecution>org.apache.maven.plugins:maven-resources-plugin::</mojoExecution>
              </mojoExecutions>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>  
  </profiles>  
  
</project>