Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDennis Wagelaar2018-05-27 10:47:31 -0400
committerDennis Wagelaar2018-05-27 10:47:31 -0400
commit0679493e9fb925e41b323349c200c49f0e870e27 (patch)
tree2aa9c8b57b8f7d0e96a636f337ec82860534fa73 /plugins/org.eclipse.m2m.atl.emftvm
parent03f6ceffd1f1b14876b89d85f415d1e2b4b4d1f0 (diff)
downloadorg.eclipse.atl-0679493e9fb925e41b323349c200c49f0e870e27.tar.gz
org.eclipse.atl-0679493e9fb925e41b323349c200c49f0e870e27.tar.xz
org.eclipse.atl-0679493e9fb925e41b323349c200c49f0e870e27.zip
Formatting + use custom deploy configuration for maven repo.
Diffstat (limited to 'plugins/org.eclipse.m2m.atl.emftvm')
-rw-r--r--plugins/org.eclipse.m2m.atl.emftvm/pom.xml69
1 files changed, 47 insertions, 22 deletions
diff --git a/plugins/org.eclipse.m2m.atl.emftvm/pom.xml b/plugins/org.eclipse.m2m.atl.emftvm/pom.xml
index 6bc29e40..e8abf624 100644
--- a/plugins/org.eclipse.m2m.atl.emftvm/pom.xml
+++ b/plugins/org.eclipse.m2m.atl.emftvm/pom.xml
@@ -9,26 +9,51 @@
Contributors:
Obeo - initial creator
-->
- <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>4.0.0</modelVersion>
- <parent>
- <artifactId>m2m.atl-parent</artifactId>
- <groupId>org.eclipse.m2m.atl</groupId>
- <version>4.0.0-SNAPSHOT</version>
- <relativePath>../../releng/org.eclipse.m2m.atl.releng.parent</relativePath>
- </parent>
- <groupId>org.eclipse.m2m.atl</groupId>
- <artifactId>org.eclipse.m2m.atl.emftvm</artifactId>
- <version>4.0.0-SNAPSHOT</version>
- <packaging>eclipse-plugin</packaging>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-source-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
+<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>4.0.0</modelVersion>
+ <parent>
+ <artifactId>m2m.atl-parent</artifactId>
+ <groupId>org.eclipse.m2m.atl</groupId>
+ <version>4.0.0-SNAPSHOT</version>
+ <relativePath>../../releng/org.eclipse.m2m.atl.releng.parent</relativePath>
+ </parent>
+ <groupId>org.eclipse.m2m.atl</groupId>
+ <artifactId>org.eclipse.m2m.atl.emftvm</artifactId>
+ <version>4.0.0-SNAPSHOT</version>
+ <packaging>eclipse-plugin</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-source-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>deploy-custom</id>
+ <phase>deploy</phase>
+ <goals>
+ <goal>deploy-file</goal>
+ </goals>
+ <configuration>
+ <file>${project.build.directory}/${project.artifactId}-${project.version}.jar</file>
+ <sources>${project.build.directory}/${project.artifactId}-${project.version}-sources.jar</sources>
+ <repositoryId>${repository.id}</repositoryId>
+ <url>${repository.url}</url>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>${project.artifactId}</artifactId>
+ <version>${project.deployVersion}</version>
+ <packaging>jar</packaging>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
</project>

Back to the top