Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: e46354f06ef4c5037304d3a422b6a3d0a61846d5 (plain) (tree)
1
2
3
4
5


                                                           
                                                             
                                                                 














                                                                                                    
                                      

           

                                                      
 
                                 





                                                                                                                                                                                                                                                                                                                                          
 

             
                     


                 








                                                         
                           







                                                        
                                                         


                                              
                            








                                 






                                                                         




                                                        







                                                     





                                                                                                                   
                                                                                      
                        






                                                                                       




























                                                                                                                                                                                                                                                
                                                                






                               

              
          
<?xml version="1.0" encoding="UTF-8"?>
<!--
   Copyright (C) 2009, Igor Fedorenko <igor@ifedorenko.com>
   Copyright (C) 2011, Chris Aniszczyk <caniszczyk@gmail.com>
   Copyright (C) 2011-2012, Matthias Sohn <matthias.sohn@sap.com>

   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 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/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>org.eclipse.egit</groupId>
    <artifactId>egit-parent</artifactId>
    <version>4.11.1-SNAPSHOT</version>
  </parent>

  <artifactId>org.eclipse.egit.repository</artifactId>
  <packaging>eclipse-repository</packaging>

  <name>EGit P2 Repository</name>
  <properties>
    <p2MirrorsURL>http://www.eclipse.org/downloads/download.php?file=${PUBLISH_FOLDER}&amp;format=xml</p2MirrorsURL>
    <p2StatsURL>http://download.eclipse.org/stats/egit/${project.artifactId}</p2StatsURL>
    <!-- At the moment, this list of features needs to be maintained manually. -->
    <statsTrackedArtifacts>org.eclipse.jgit.feature,org.eclipse.jgit.source.feature,org.eclipse.jgit.pgm.feature,org.eclipse.jgit.pgm.source.feature,org.eclipse.jgit.http.apache.feature,org.eclipse.egit.feature,org.eclipse.egit.gitflow.feature,org.eclipse.egit.mylyn.feature,org.eclipse.egit.source.feature</statsTrackedArtifacts>
  </properties>

  <profiles>
    <profile>
     <id>publish</id>
     <build>
       <plugins>
         <plugin>
             <artifactId>maven-antrun-plugin</artifactId>
             <executions>
               <execution>
                 <id>deploy</id>
                 <phase>install</phase>
                 <goals>
                   <goal>run</goal>
                 </goals>
                 <configuration>
                   <target>
                     <delete includeemptydirs="false">
                       <fileset
                         dir="${download-publish-path}">
                         <include name="**" />
                       </fileset>
                     </delete>
                     <copy includeemptydirs="false"
                       todir="${download-publish-path}">
                       <fileset dir="target/repository/">
                         <include name="**" />
                       </fileset>
                     </copy>
                   </target>
                 </configuration>
               </execution>
             </executions>
           </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>

  <pluginRepositories>
    <pluginRepository>
      <id>jboss-public-repository-group</id>
      <name>JBoss Public Repository Group</name>
      <url>http://repository.jboss.org/nexus/content/groups/public/</url>
    </pluginRepository>
  </pluginRepositories>
  <build>
    <plugins>
      <plugin>
        <groupId>org.jboss.tools.tycho-plugins</groupId>
        <artifactId>repository-utils</artifactId>
        <executions>
          <execution>
            <id>generate-facade</id>
            <phase>package</phase>
            <goals>
              <goal>generate-repository-facade</goal>
            </goals>
            <configuration>
              <siteTemplateFolder>siteTemplate/</siteTemplateFolder>
              <!-- Symbols are used while expanding index.html template -->
              <symbols>
                <update.site.name>EGit p2 Repository</update.site.name>
                <update.site.description>Use this URL in Eclipse to install EGit and JGit</update.site.description>
                <update.site.version>${project.version}</update.site.version>
                <target.eclipse.version>4.4.0 (Luna) or newer</target.eclipse.version>
              </symbols>
              <associateSites>
                <site>http://download.eclipse.org/e4/snapshots/org.eclipse.e4.ui</site>
              </associateSites>
            </configuration>
          </execution>
        </executions>
      </plugin>

      <plugin>
        <groupId>org.eclipse.tycho.extras</groupId>
        <artifactId>tycho-eclipserun-plugin</artifactId>
        <version>${tycho-version}</version>
        <executions>
         <execution>
          <id>add-repo-properties</id>
          <goals>
           <goal>eclipse-run</goal>
          </goals>
          <phase>package</phase>
          <configuration>
          <appArgLine>-application org.eclipse.wtp.releng.tools.addRepoProperties</appArgLine>
          <!-- See <http://wiki.eclipse.org/Equinox/p2/p2.mirrorsURL>. -->
          <!-- See <http://wiki.eclipse.org/Equinox_p2_download_stats>. -->
          <argLine>-DartifactRepoDirectory=${project.build.directory}/repository -Dp2MirrorsURL=${p2MirrorsURL} -Dp2StatsURI=${p2StatsURL} -DstatsTrackedArtifacts=${statsTrackedArtifacts} -DstatsArtifactsSuffix=-${project.version}</argLine>
          <dependencies>
           <dependency>
            <artifactId>org.eclipse.wtp.releng.tools.feature</artifactId>
            <type>eclipse-feature</type>
           </dependency>
          </dependencies>
          <repositories>
           <repository>
            <url>http://download.eclipse.org/webtools/releng/repository</url>
            <layout>p2</layout>
           </repository>
           <repository>
            <url>http://download.eclipse.org/staging/neon/</url>
            <layout>p2</layout>
           </repository>
          </repositories>
         </configuration>
        </execution>
       </executions>
      </plugin>
    </plugins>
  </build>
</project>

Back to the top