|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
1 | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
2 | 3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
3 | 4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
|
6 | 7 | <groupId>com.minres.coredsl</groupId> |
7 | 8 | <artifactId>com.minres.coredsl.parent</artifactId> |
8 | 9 | <version>2.0.1-SNAPSHOT</version> |
9 | | - <relativePath>..</relativePath> |
| 10 | + <relativePath>..</relativePath> |
10 | 11 | </parent> |
11 | 12 | <artifactId>com.minres.coredsl.repository</artifactId> |
12 | 13 | <packaging>eclipse-repository</packaging> |
13 | | - |
14 | 14 | <build> |
15 | 15 | <pluginManagement> |
16 | 16 | <plugins> |
|
37 | 37 | </goals> |
38 | 38 | </pluginExecutionFilter> |
39 | 39 | <action> |
40 | | - <ignore></ignore> |
| 40 | + <ignore /> |
41 | 41 | </action> |
42 | 42 | </pluginExecution> |
43 | 43 | </pluginExecutions> |
|
46 | 46 | </plugin> |
47 | 47 | </plugins> |
48 | 48 | </pluginManagement> |
| 49 | + |
| 50 | + <extensions> |
| 51 | + <!-- Enabling the use of FTP --> |
| 52 | + <extension> |
| 53 | + <groupId>org.apache.maven.wagon</groupId> |
| 54 | + <artifactId>wagon-ftp</artifactId> |
| 55 | + <version>1.0-beta-6</version> |
| 56 | + </extension> |
| 57 | + </extensions> |
49 | 58 | </build> |
50 | 59 | <profiles> |
51 | 60 | <profile> |
|
70 | 79 | </executions> |
71 | 80 | </plugin> |
72 | 81 | <plugin> |
73 | | - <groupId>com.carrotgarden.maven</groupId> |
74 | | - <artifactId>bintray-maven-plugin</artifactId> |
75 | | - <version>1.5.20191113165555</version> |
| 82 | + <groupId>org.codehaus.mojo</groupId> |
| 83 | + <artifactId>exec-maven-plugin</artifactId> |
| 84 | + <version>3.0.0</version> |
| 85 | + <executions> |
| 86 | + <execution> |
| 87 | + <phase>package</phase> |
| 88 | + <goals> |
| 89 | + <goal>exec</goal> |
| 90 | + </goals> |
| 91 | + </execution> |
| 92 | + </executions> |
76 | 93 | <configuration> |
77 | | - <skip>false</skip> |
78 | | - <!-- Bintray organization name. --> |
79 | | - <subject>minres</subject> |
80 | | - <!-- Bintray target repository. --> |
81 | | - <repository>eclipse</repository> |
82 | | - <!-- Bintray package name. --> |
83 | | - <bintrayPackage>CoreDSL</bintrayPackage> |
84 | | - <bintrayVersion>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}</bintrayVersion> |
85 | | - <packageVcsUrl>https://github.com/Minres/CoreDSL.git</packageVcsUrl> |
86 | | - <!-- Local folder content to sync to the remote repo. --> |
87 | | - <sourceFolder>${project.build.directory}/repository</sourceFolder> |
88 | | - <!-- Remote folder for local content upload, relative path. --> |
89 | | - <targetFolder>CoreDSL/${parsedVersion.majorVersion}.${parsedVersion.minorVersion}</targetFolder> |
90 | | - |
91 | | - <!-- Bintray credentials in settings.xml. --> |
92 | | - <serverId>bintray-minres-deploy</serverId> |
| 94 | + <executable>bash</executable> |
| 95 | + <!-- optional --> |
| 96 | + <workingDirectory>${software.download.area}</workingDirectory> |
| 97 | + <arguments> |
| 98 | + <argument>-c</argument> |
| 99 | + <argument>if [ -d CoreDSL-gh ]; then cd CoreDSL-gh; git pull; else git clone --branch gh-pages https://github.com/Minres/CoreDSL.git CoreDSL-gh; fi</argument> |
| 100 | + </arguments> |
| 101 | + <environmentVariables> |
| 102 | + <LANG>en_US</LANG> |
| 103 | + </environmentVariables> |
| 104 | + </configuration> |
| 105 | + </plugin> |
| 106 | + <plugin> |
| 107 | + <groupId>org.eclipse.tycho.extras</groupId> |
| 108 | + <artifactId>tycho-eclipserun-plugin</artifactId> |
| 109 | + <version>${tycho-version}</version> |
| 110 | + <configuration> |
| 111 | + <!-- IMPORTANT: DO NOT split the arg line --> |
| 112 | + <appArgLine>-application org.eclipse.ant.core.antRunner -buildfile packaging-p2-composite.ant p2.composite.add -Dsite.label="CoreDSL Software Repository" -Dproject.build.directory=${project.build.directory} -DunqualifiedVersion=${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion} -Dsoftware.download.area="${software.download.area}/CoreDSL-gh/repository"</appArgLine> |
| 113 | + <repositories> |
| 114 | + <repository> |
| 115 | + <id>2020-03</id> |
| 116 | + <layout>p2</layout> |
| 117 | + <url>http://download.eclipse.org/releases/2020-03/</url> |
| 118 | + </repository> |
| 119 | + </repositories> |
| 120 | + <dependencies> |
| 121 | + <dependency> |
| 122 | + <artifactId>org.eclipse.ant.core</artifactId> |
| 123 | + <type>eclipse-plugin</type> |
| 124 | + </dependency> |
| 125 | + <dependency> |
| 126 | + <artifactId>org.apache.ant</artifactId> |
| 127 | + <type>eclipse-plugin</type> |
| 128 | + </dependency> |
| 129 | + <dependency> |
| 130 | + <artifactId>org.eclipse.equinox.p2.repository.tools</artifactId> |
| 131 | + <type>eclipse-plugin</type> |
| 132 | + </dependency> |
| 133 | + <dependency> |
| 134 | + <artifactId>org.eclipse.equinox.p2.core.feature</artifactId> |
| 135 | + <type>eclipse-feature</type> |
| 136 | + </dependency> |
| 137 | + <dependency> |
| 138 | + <artifactId>org.eclipse.equinox.p2.extras.feature</artifactId> |
| 139 | + <type>eclipse-feature</type> |
| 140 | + </dependency> |
| 141 | + <dependency> |
| 142 | + <artifactId>org.eclipse.equinox.ds</artifactId> |
| 143 | + <type>eclipse-plugin</type> |
| 144 | + </dependency> |
| 145 | + </dependencies> |
93 | 146 | </configuration> |
94 | 147 | <executions> |
95 | | - <!-- Activate "bintray:upload" during "package" --> |
96 | 148 | <execution> |
| 149 | + <id>add-p2-composite-repository</id> |
97 | 150 | <phase>package</phase> |
98 | 151 | <goals> |
99 | | - <goal>upload</goal> |
| 152 | + <goal>eclipse-run</goal> |
100 | 153 | </goals> |
101 | 154 | </execution> |
102 | 155 | </executions> |
|
106 | 159 | </profile> |
107 | 160 | </profiles> |
108 | 161 |
|
109 | | - <dependencies> |
110 | | - </dependencies> |
| 162 | + <dependencies /> |
| 163 | + |
111 | 164 | </project> |
0 commit comments