Maven Repository - POM file for Testing incrementalbuild-workspace 0.7.0 0.7.0

Summary

Provides hooks to run incremental build inside m2e workspace. Other host applications may also be able to use this API, but have not been tested. Incremental build workspace API will be embedded in m2e, and therefore the same version of this API should work with multiple versions of increme....

Declaration

Here is the list of declaration for incrementalbuild-workspace. If you use Maven you can use the following code to add the dependency for this POM file.

<dependency>
   <groupId>io.takari</groupId>
   <artifactId>incrementalbuild-workspace</artifactId>
   <version>0.7.0</version>
</dependency>

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





Plugin

The following plugins are used in the incrementalbuild-workspace-0.7.0.jar

  1. animal-sniffer-maven-plugin
  2. maven-bundle-plugin
  3. sisu-maven-plugin
  4. takari-lifecycle-plugin

POM File Source

Here is the content of the POM file.

<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>
    <groupId>io.takari</groupId>
    <artifactId>io.takari.incrementalbuild</artifactId>
    <version>0.7.0</version>
  </parent>
  <artifactId>incrementalbuild-workspace</artifactId>
  <packaging>takari-jar</packaging>

  <description>
  Provides hooks to run incremental build inside m2e workspace. Other host applications
  may also be able to use this API, but have not been tested.

  Incremental build workspace API will be embedded in m2e, and therefore the same version 
  of this API should work with multiple versions of incrementalbuild library. This means
  all changes to this API must be backwards compatible. This also means that changes to
  this API will require update to io.takari.m2e.lifecycle.
  </description>

  <properties>
    <maven.build.timestamp.format>yyyyMMdd-HHmm</maven.build.timestamp.format>
    <osgi-version-qualifier>${maven.build.timestamp}</osgi-version-qualifier>
  </properties>

  <build>
    <plugins>
      <plugin>
        <groupId>io.takari.maven.plugins</groupId>
        <artifactId>takari-lifecycle-plugin</artifactId>
        <configuration>
          <archive>
            <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
          </archive>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.sonatype.plugins</groupId>
        <artifactId>sisu-maven-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>animal-sniffer-maven-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <version>2.4.0</version>
        <configuration>
          <supportedProjectTypes>
            <packaging>takari-jar</packaging>
          </supportedProjectTypes>
        </configuration>
        <executions>
          <execution>
            <id>bundle-manifest</id>
            <phase>process-classes</phase>
            <goals>
              <goal>manifest</goal>
            </goals>
            <configuration>
              <instructions>
                <_failok>true</_failok>
                <_nouses>true</_nouses>
                <_nodefaultversion>true</_nodefaultversion>
                <_snapshot>${osgi-version-qualifier}</_snapshot>

                <Bundle-SymbolicName>io.takari.incrementalbuild.workspace;singleton:=false</Bundle-SymbolicName>
                <Bundle-RequiredExecutionEnvironment>JavaSE-1.7,JavaSE-1.8</Bundle-RequiredExecutionEnvironment>

                <Import-Package>!*</Import-Package>
              </instructions>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>


  <profiles>
    <profile>
      <id>m2e</id>
      <activation>
        <property>
          <name>m2e.version</name>
        </property>
      </activation>
      <properties>
        <osgi-version-qualifier>qualifier</osgi-version-qualifier>
      </properties>
      <build>
        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.apache.felix</groupId>
              <artifactId>maven-bundle-plugin</artifactId>
              <configuration>
                <!-- PDE does not honour custom manifest location -->
                <manifestLocation>META-INF</manifestLocation>
              </configuration>
            </plugin>
          </plugins>
        </pluginManagement>
      </build>
    </profile>
  </profiles>

</project>