All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gems.maven-tools-1.2.1.spec.pom.xml Maven / Gradle / Ivy

The newest version!
<?xml version="1.0" encoding="UTF-8"?>
<!--

    Copyright (c) 2012 to original author or authors
    All rights reserved. This program and the accompanying materials
    are made available under the terms of the Eclipse Public License v1.0
    which accompanies this distribution, and is available at
    http://www.eclipse.org/legal/epl-v10.html

-->
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>1.0.1</modelVersion>
  <parent>
    <groupId>example</groupId>
    <artifactId>parent</artifactId>
    <version>1.1</version>
    <relativePath>../pom.xml</relativePath>
  </parent>
  <artifactId>project</artifactId>
  <packaging>jar</packaging>
  <name>my name</name>
  <url>example.com</url>
  <description>some description</description>
  <inceptionYear>2020</inceptionYear>
  <organization>
    <name>ngo</name>
    <url>ngo.org</url>
  </organization>
  <licenses>
    <license>
      <name>AGPL</name>
      <url>gnu.org/agpl</url>
      <distribution>online</distribution>
      <comments>should be used more often</comments>
    </license>
  </licenses>
  <developers>
    <developer>
      <id>1</id>
      <name>first</name>
      <url>example.com/first</url>
      <email>[email protected]</email>
      <organization>orga</organization>
      <organizationUrl>example.org</organizationUrl>
      <roles>
        <role>developer</role>
        <role>architect</role>
      </roles>
      <timezone>IST</timezone>
      <properties>
        <gender>male</gender>
      </properties>
    </developer>
  </developers>
  <contributors>
    <contributor>
      <name>first</name>
      <url>example.com/first</url>
      <email>[email protected]</email>
      <organization>orga</organization>
      <organizationUrl>example.org</organizationUrl>
      <roles>
        <role>developer</role>
        <role>architect</role>
      </roles>
      <timezone>IST</timezone>
      <properties>
        <gender>male</gender>
      </properties>
    </contributor>
  </contributors>
  <mailingLists>
    <mailingList>
      <name>development</name>
      <subscribe>[email protected]</subscribe>
      <unsubscribe>[email protected]</unsubscribe>
      <post>[email protected]</post>
      <archive>example.com/archive</archive>
      <otherArchives>
        <otherArchive>example.com/archive1</otherArchive>
        <otherArchive>example.com/archive2</otherArchive>
      </otherArchives>
    </mailingList>
  </mailingLists>
  <prerequisites>
    <maven>3.0.5</maven>
  </prerequisites>
  <modules>
    <module>part1</module>
    <module>part2</module>
  </modules>
  <scm>
    <connection>scm:git:git://github.com/torquebox/maven-tools.git</connection>
    <developerConnection>scm:git:ssh://[email protected]/torquebox/maven-tools.git</developerConnection>
    <tag>first</tag>
    <url>http://github.com/torquebox/maven-tools</url>
  </scm>
  <issueManagement>
    <system>jira</system>
    <url>https://issues.sonatype.org/</url>
  </issueManagement>
  <ciManagement>
    <system>travis</system>
    <url>travis-ci.org/jruby/jruby</url>
    <notifiers>
      <notifier>
        <type>email</type>
        <address>[email protected]</address>
      </notifier>
      <notifier>
        <type>email</type>
        <sendOnError>true</sendOnError>
        <sendOnFailure>false</sendOnFailure>
        <sendOnSuccess>true</sendOnSuccess>
        <sendOnWarning>false</sendOnWarning>
        <address>[email protected]</address>
        <configuration>
          <key1>value1</key1>
          <key2>value2</key2>
        </configuration>
      </notifier>
    </notifiers>
  </ciManagement>
  <distributionManagement>
    <repository>
      <releases>
        <enabled>true</enabled>
        <updatePolicy>daily</updatePolicy>
        <checksumPolicy>strict</checksumPolicy>
      </releases>
      <snapshots>
        <enabled>false</enabled>
        <updatePolicy>never</updatePolicy>
        <checksumPolicy>none</checksumPolicy>
      </snapshots>
      <id>first</id>
      <name>First</name>
      <url>http://repo.example.com</url>
      <layout>legacy</layout>
    </repository>
    <snapshotRepository>
      <releases>
        <enabled>false</enabled>
        <updatePolicy>daily</updatePolicy>
        <checksumPolicy>strict</checksumPolicy>
      </releases>
      <snapshots>
        <enabled>true</enabled>
        <updatePolicy>never</updatePolicy>
        <checksumPolicy>none</checksumPolicy>
      </snapshots>
      <id>snapshots</id>
      <name>First Snapshots</name>
      <url>http://snaphots.example.com</url>
      <layout>legacy</layout>
    </snapshotRepository>
    <site>
      <id>first</id>
      <name>dev site</name>
      <url>http://dev.example.com</url>
    </site>
    <downloadUrl>http://dev.example.com/downloads</downloadUrl>
    <status>active</status>
    <relocation>
      <groupId>org.group</groupId>
      <artifactId>artifact</artifactId>
      <version>1.2.3</version>
      <message>follow the maven convention</message>
    </relocation>
  </distributionManagement>
  <properties>
    <key1>value1</key1>
    <key2>value2</key2>
  </properties>
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>com.example</groupId>
        <artifactId>tools</artifactId>
        <version>1.2.3</version>
        <classifier>super</classifier>
        <scope>provided</scope>
        <systemPath>/home/development/tools.jar</systemPath>
        <exclusions>
          <exclusion>
            <groupId>org.example</groupId>
            <artifactId>some</artifactId>
          </exclusion>
          <exclusion>
            <groupId>org.example</groupId>
            <artifactId>something</artifactId>
          </exclusion>
        </exclusions>
        <optional>true</optional>
      </dependency>
    </dependencies>
  </dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>com.example</groupId>
      <artifactId>tools</artifactId>
      <version>2.3</version>
      <type>war</type>
      <classifier>super</classifier>
      <scope>provided</scope>
      <systemPath>/home/development/wartools.jar</systemPath>
      <exclusions>
        <exclusion>
          <groupId>org.example</groupId>
          <artifactId>some</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.example</groupId>
          <artifactId>something</artifactId>
        </exclusion>
      </exclusions>
      <optional>false</optional>
    </dependency>
  </dependencies>
  <repositories>
    <repository>
      <releases>
        <enabled>true</enabled>
        <updatePolicy>daily</updatePolicy>
        <checksumPolicy>strict</checksumPolicy>
      </releases>
      <snapshots>
        <enabled>false</enabled>
        <updatePolicy>never</updatePolicy>
        <checksumPolicy>none</checksumPolicy>
      </snapshots>
      <id>first</id>
      <name>First</name>
      <url>http://repo.example.com</url>
      <layout>legacy</layout>
    </repository>
    <repository>
      <releases>
        <enabled>false</enabled>
        <updatePolicy>daily</updatePolicy>
        <checksumPolicy>strict</checksumPolicy>
      </releases>
      <snapshots>
        <enabled>true</enabled>
        <updatePolicy>never</updatePolicy>
        <checksumPolicy>none</checksumPolicy>
      </snapshots>
      <id>snapshots</id>
      <name>First Snapshots</name>
      <url>http://snaphots.example.com</url>
      <layout>legacy</layout>
    </repository>
  </repositories>
  <pluginRepositories>
    <pluginRepository>
      <releases>
        <enabled>true</enabled>
        <updatePolicy>daily</updatePolicy>
        <checksumPolicy>strict</checksumPolicy>
      </releases>
      <snapshots>
        <enabled>false</enabled>
        <updatePolicy>never</updatePolicy>
        <checksumPolicy>none</checksumPolicy>
      </snapshots>
      <id>first</id>
      <name>First</name>
      <url>http://pluginrepo.example.com</url>
      <layout>legacy</layout>
    </pluginRepository>
  </pluginRepositories>
  <build>
    <sourceDirectory>src</sourceDirectory>
    <scriptSourceDirectory>script</scriptSourceDirectory>
    <testSourceDirectory>test</testSourceDirectory>
    <outputDirectory>pkg</outputDirectory>
    <testOutputDirectory>pkg/test</testOutputDirectory>
    <extensions>
      <extension>
        <groupId>org.group</groupId>
        <artifactId>gem-extension</artifactId>
        <version>1.2</version>
      </extension>
    </extensions>
    <defaultGoal>deploy</defaultGoal>
    <resources>
      <resource>
        <targetPath>target</targetPath>
        <filtering>true</filtering>
        <directory>resources</directory>
        <includes>
          <include>**/*</include>
        </includes>
        <excludes>
          <exclude>*~</exclude>
        </excludes>
      </resource>
    </resources>
    <testResources>
      <testResource>
        <targetPath>target/test</targetPath>
        <filtering>false</filtering>
        <directory>testresources</directory>
        <includes>
          <include>**/*</include>
        </includes>
        <excludes>
          <exclude>*~</exclude>
        </excludes>
      </testResource>
    </testResources>
    <directory>target</directory>
    <finalName>myproject</finalName>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.jruby.maven</groupId>
          <artifactId>gem-maven-plugin</artifactId>
          <version>3.0.0</version>
          <configuration>
            <scope>compile</scope>
            <gems>
              <thread_safe>0.3.3</thread_safe>
              <jdbc-mysql>5.1.30</jdbc-mysql>
            </gems>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.mortbay.jetty</groupId>
          <artifactId>jetty-maven-plugin</artifactId>
          <version>8.1</version>
          <configuration>
            <path>/</path>
            <connectors>
              <connector
                implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
                <port>${run.port}</port>
              </connector>
              <connector
                implementation="org.eclipse.jetty.server.ssl.SslSelectChannelConnector">
                <port>${run.sslport}</port>
                <keystore>${run.keystore}</keystore>
                <keyPassword>${run.keystore.pass}</keyPassword>
                <trustPassword>${run.truststore.pass}</trustPassword>
              </connector>
            </connectors>
            <httpConnector>
              <port>${run.port}</port>
            </httpConnector>
          </configuration>
        </plugin>
      </plugins>
    </pluginManagement>
    <plugins>
      <plugin>
        <artifactId>maven-jar-plugin</artifactId>
        <version>1.0</version>
        <extensions>true</extensions>
        <inherited>false</inherited>
        <configuration>
          <finalName>testing</finalName>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.jruby.maven</groupId>
        <artifactId>gem-maven-plugin</artifactId>
        <version>1.0.0</version>
        <extensions>false</extensions>
        <dependencies>
          <dependency>
            <groupId>rubygems</groupId>
            <artifactId>bundler</artifactId>
            <version>1.7.13</version>
            <type>gem</type>
          </dependency>
        </dependencies>
      </plugin>
      <plugin>
        <artifactId>maven-antrun-plugin</artifactId>
        <executions>
          <execution>
            <id>copy</id>
            <phase>package</phase>
            <goals>
              <goal>run</goal>
            </goals>
            <configuration>
              <tasks>
                <exec
                  executable="/bin/sh"
                  osfamily="unix">
                  <arg
                    line="-c 'cp &quot;${jruby.basedir}/bin/jruby.bash&quot; &quot;${jruby.basedir}/bin/jruby&quot;'">
                  </arg>
                </exec>
                <chmod
                  file="${jruby.basedir}/bin/jruby"
                  perm="755">
                </chmod>
              </tasks>
            </configuration>
          </execution>
        </executions>
        <dependencies>
          <dependency>
            <groupId>org.super.duper</groupId>
            <artifactId>executor</artifactId>
            <version>1.0.0</version>
          </dependency>
        </dependencies>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>exec-maven-plugin</artifactId>
        <executions>
          <execution>
            <id>invoker-generator</id>
            <goals>
              <goal>exec</goal>
            </goals>
            <configuration>
              <arguments>
                <argument>-Djruby.bytecode.version=${base.java.version}</argument>
                <argument>-classpath</argument>
                <classpath/>
                <argument>org.jruby.anno.InvokerGenerator</argument>
                <argument>${anno.sources}/annotated_classes.txt</argument>
                <argument>${project.build.outputDirectory}</argument>
              </arguments>
              <executable>java</executable>
              <classpathScope>compile</classpathScope>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <profiles>
    <profile>
      <id>one</id>
      <activation>
        <activeByDefault>false</activeByDefault>
        <jdk>1.7</jdk>
        <os>
          <name>linux</name>
          <family>nix</family>
          <arch>x86_64</arch>
          <version>2.7</version>
        </os>
        <property>
          <name>test</name>
          <value>extended</value>
        </property>
        <file>
          <missing>required_file</missing>
          <exists>optional</exists>
        </file>
      </activation>
    </profile>
  </profiles>
</project>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy