<?xml version="1.0" encoding="UTF-8"?> | |
<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:mtl="http://www.eclipse.org/acceleo/mtl/3.0" xmlns:ocl.ecore="http://www.eclipse.org/ocl/1.1.0/Ecore"> | |
<mtl:Module name="pom" nsURI="org::eclipse::acceleo::module::sample::main::pom" startHeaderPosition="411" endHeaderPosition="593"> | |
<documentation xsi:type="mtl:ModuleDocumentation" author="sbegaudeau"> | |
<body startPosition="32" endPosition="408" value="
Copyright (c) 2008, 2012 Obeo.<br/>
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

Contributors:
Obeo - initial API and implementation
@author sbegaudeau

"/> | |
</documentation> | |
<input> | |
<takesTypesFrom href="http://www.eclipse.org/acceleo/ui/acceleowizardmodel/3.1#/"/> | |
</input> | |
<ownedModuleElement xsi:type="mtl:Template" name="genPom" visibility="Public" main="true"> | |
<body xsi:type="mtl:FileBlock" openMode="OverWrite"> | |
<body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="<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>

 <prerequisites>
 <maven>3.0</maven>
 </prerequisites>

 <groupId>org.eclipse.acceleo</groupId>
 <artifactId>"/> | |
<body xsi:type="ocl.ecore:VariableExp" name="parent" referredVariable="/0/genPom/parent"> | |
<eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> | |
</body> | |
<body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="</artifactId>
 <version>1.0.0.qualifier</version>
 <packaging>pom</packaging>
 <name>Acceleo Generator Project</name>

 <modules>
 <module>../"/> | |
<body xsi:type="ocl.ecore:PropertyCallExp"> | |
<eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> | |
<source xsi:type="ocl.ecore:VariableExp" name="anAcceleoPom" referredVariable="/0/genPom/anAcceleoPom"> | |
<eType xsi:type="ecore:EClass" href="http://www.eclipse.org/acceleo/ui/acceleowizardmodel/3.1#//AcceleoPom"/> | |
</source> | |
<referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/acceleo/ui/acceleowizardmodel/3.1#//AcceleoPom/artifactId"/> | |
</body> | |
<body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="</module>
 <module>../"/> | |
<body xsi:type="ocl.ecore:PropertyCallExp"> | |
<eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> | |
<source xsi:type="ocl.ecore:VariableExp" name="anAcceleoPom" referredVariable="/0/genPom/anAcceleoPom"> | |
<eType xsi:type="ecore:EClass" href="http://www.eclipse.org/acceleo/ui/acceleowizardmodel/3.1#//AcceleoPom"/> | |
</source> | |
<referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/acceleo/ui/acceleowizardmodel/3.1#//AcceleoPom/artifactId"/> | |
</body> | |
<body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=".feature</module>
 <module>../"/> | |
<body xsi:type="ocl.ecore:PropertyCallExp"> | |
<eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> | |
<source xsi:type="ocl.ecore:VariableExp" name="anAcceleoPom" referredVariable="/0/genPom/anAcceleoPom"> | |
<eType xsi:type="ecore:EClass" href="http://www.eclipse.org/acceleo/ui/acceleowizardmodel/3.1#//AcceleoPom"/> | |
</source> | |
<referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/acceleo/ui/acceleowizardmodel/3.1#//AcceleoPom/artifactId"/> | |
</body> | |
<body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=".updatesite</module>
 </modules>

 <properties>
 <acceleo-version>3.3.0</acceleo-version>
 <tycho-version>0.14.1</tycho-version>
 <acceleo-site>https://hudson.eclipse.org/hudson/job/m2t-acceleo-master/lastSuccessfulBuild/artifact/Acceleo.p2.repository/</acceleo-site>
 <orbit-site>http://download.eclipse.org/tools/orbit/downloads/drops/S20120308061416/repository/</orbit-site>
 </properties>

 <profiles>
 <profile>
 <id>platform-indigo</id>
 <activation>
 <activeByDefault>true</activeByDefault>
 <property>
 <name>platform-version-name</name>
 <value>indigo</value>
 </property>
 </activation>
 <properties>
 <eclipse-site>http://download.eclipse.org/releases/indigo</eclipse-site>
 <platform-version>"/> | |
<body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="["> | |
<eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> | |
</body> | |
<body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="3.7,3.8)</platform-version>
 </properties>
 </profile>
 <profile>
 <id>platform-juno</id>
 <activation>
 <activeByDefault>false</activeByDefault>
 <property>
 <name>platform-version-name</name>
 <value>juno</value>
 </property>
 </activation>
 <properties>
 <eclipse-site>http://download.eclipse.org/releases/juno</eclipse-site>
 <platform-version>"/> | |
<body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="["> | |
<eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> | |
</body> | |
<body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="3.8,4.2)</platform-version>
 </properties>
 </profile>
 </profiles>

 <repositories>
 <repository>
 <id>eclipse-platform</id>
 <layout>p2</layout>
 <url>${eclipse-site}</url>
 </repository>
 <repository>
 <id>acceleo</id>
 <layout>p2</layout>
 <url>${acceleo-site}</url>
 </repository>
 <repository>
 <id>orbit</id>
 <layout>p2</layout>
 <url>${orbit-site}</url>
 </repository>
 </repositories>

 <pluginRepositories>
 <pluginRepository>
 <id>codehaus.snapshots</id>
 <url>http://snapshots.repository.codehaus.org/</url>
 </pluginRepository>
 </pluginRepositories>

 <build>
 <plugins>
 <plugin>
 <groupId>org.eclipse.tycho</groupId>
 <artifactId>tycho-maven-plugin</artifactId>
 <version>${tycho-version}</version>
 <extensions>true</extensions>
 </plugin>
 <plugin>
 <groupId>org.eclipse.tycho</groupId>
 <artifactId>target-platform-configuration</artifactId>
 <version>${tycho-version}</version>
 <configuration>
 <resolver>p2</resolver>
 <pomDependencies>consider</pomDependencies>
 </configuration>
 </plugin>
 </plugins>
 <pluginManagement>
 <plugins>
 <plugin>
 <groupId>org.eclipse.tycho</groupId>
 <artifactId>tycho-compiler-plugin</artifactId>
 <version>${tycho-version}</version>
 <configuration>
 <encoding>UTF-8</encoding>
 </configuration>
 </plugin>
 <plugin>
 <groupId>org.eclipse.tycho</groupId>
 <artifactId>tycho-source-plugin</artifactId>
 <version>${tycho-version}</version>
 <executions>
 <execution>
 <id>attach-source</id>
 <phase>process-classes</phase>
 <goals>
 <goal>plugin-source</goal>
 </goals>
 </execution>
 </executions>
 </plugin>
 <plugin>
 <groupId>org.apache.maven.plugins</groupId>
 <artifactId>maven-resources-plugin</artifactId>
 <version>2.4.1</version>
 <configuration>
 <encoding>ISO-8859-1</encoding>
 </configuration>
 </plugin>
 <plugin>
 <groupId>org.apache.maven.plugins</groupId>
 <artifactId>maven-antrun-plugin</artifactId>
 <version>1.3</version>
 </plugin>
 </plugins>
 </pluginManagement>
 </build>
</project>
"/> | |
<fileUrl xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="pom.xml"> | |
<eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> | |
</fileUrl> | |
<charset xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="UTF-8"> | |
<eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> | |
</charset> | |
</body> | |
<documentation xsi:type="mtl:ModuleElementDocumentation"> | |
<body startPosition="489" endPosition="593" value="
Generates the pom.xml file.
@param anAcceleoPom The Acceleo Pom
@param parent The parent id

"/> | |
<parametersDocumentation name="anAcceleoPom"> | |
<body value=" The Acceleo Pom"/> | |
</parametersDocumentation> | |
<parametersDocumentation name="parent"> | |
<body value=" The parent id"/> | |
</parametersDocumentation> | |
</documentation> | |
<parameter name="anAcceleoPom"> | |
<eType xsi:type="ecore:EClass" href="http://www.eclipse.org/acceleo/ui/acceleowizardmodel/3.1#//AcceleoPom"/> | |
</parameter> | |
<parameter name="parent"> | |
<eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> | |
</parameter> | |
</ownedModuleElement> | |
</mtl:Module> | |
<ecore:EPackage name="additions"> | |
<eClassifiers xsi:type="ecore:EClass" name="String_Class"> | |
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> | |
<references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> | |
</eAnnotations> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="Integer_Class"> | |
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> | |
<references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> | |
</eAnnotations> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="Real_Class"> | |
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> | |
<references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Real"/> | |
</eAnnotations> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="EObject_Class"> | |
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> | |
<references href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> | |
</eAnnotations> | |
<eOperations name="genPom"> | |
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> | |
<contents xsi:type="ocl.ecore:Constraint"/> | |
</eAnnotations> | |
<eAnnotations source="MTL" references="/0/genPom"/> | |
<eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> | |
<eParameters name="anAcceleoPom"> | |
<eType xsi:type="ecore:EClass" href="http://www.eclipse.org/acceleo/ui/acceleowizardmodel/3.1#//AcceleoPom"/> | |
</eParameters> | |
<eParameters name="parent"> | |
<eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> | |
</eParameters> | |
</eOperations> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="OclAny_Class"> | |
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> | |
<references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny"/> | |
</eAnnotations> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="Collection(T)_Class"> | |
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> | |
<references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Collection(T)"/> | |
</eAnnotations> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="Sequence(T)_Class"> | |
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> | |
<references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Sequence(T)"/> | |
</eAnnotations> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="OrderedSet(T)_Class"> | |
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> | |
<references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OrderedSet(T)"/> | |
</eAnnotations> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="AcceleoPom_Class"> | |
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> | |
<references href="http://www.eclipse.org/acceleo/ui/acceleowizardmodel/3.1#//AcceleoPom"/> | |
</eAnnotations> | |
</eClassifiers> | |
</ecore:EPackage> | |
<ocl.ecore:Variable name="self"> | |
<eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> | |
</ocl.ecore:Variable> | |
<ocl.ecore:Variable name="self"> | |
<eType xsi:type="ecore:EClass" href="http://www.eclipse.org/acceleo/ui/acceleowizardmodel/3.1#//AcceleoPom"/> | |
</ocl.ecore:Variable> | |
<ocl.ecore:Variable name="self"> | |
<eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> | |
</ocl.ecore:Variable> | |
<ocl.ecore:Variable name="self"> | |
<eType xsi:type="ecore:EClass" href="http://www.eclipse.org/acceleo/ui/acceleowizardmodel/3.1#//AcceleoPom"/> | |
</ocl.ecore:Variable> | |
<ocl.ecore:Variable name="self"> | |
<eType xsi:type="ecore:EClass" href="http://www.eclipse.org/acceleo/ui/acceleowizardmodel/3.1#//AcceleoPom"/> | |
</ocl.ecore:Variable> | |
<ocl.ecore:Variable name="self"> | |
<eType xsi:type="ecore:EClass" href="http://www.eclipse.org/acceleo/ui/acceleowizardmodel/3.1#//AcceleoPom"/> | |
</ocl.ecore:Variable> | |
<ocl.ecore:Variable name="self"> | |
<eType xsi:type="ecore:EClass" href="http://www.eclipse.org/acceleo/ui/acceleowizardmodel/3.1#//AcceleoPom"/> | |
</ocl.ecore:Variable> | |
<ocl.ecore:Variable name="self"> | |
<eType xsi:type="ecore:EClass" href="http://www.eclipse.org/acceleo/ui/acceleowizardmodel/3.1#//AcceleoPom"/> | |
</ocl.ecore:Variable> | |
<ocl.ecore:Variable name="self"> | |
<eType xsi:type="ecore:EClass" href="http://www.eclipse.org/acceleo/ui/acceleowizardmodel/3.1#//AcceleoPom"/> | |
</ocl.ecore:Variable> | |
<ocl.ecore:Variable name="self"> | |
<eType xsi:type="ecore:EClass" href="http://www.eclipse.org/acceleo/ui/acceleowizardmodel/3.1#//AcceleoPom"/> | |
</ocl.ecore:Variable> | |
<ocl.ecore:Variable name="self"> | |
<eType xsi:type="ecore:EClass" href="http://www.eclipse.org/acceleo/ui/acceleowizardmodel/3.1#//AcceleoPom"/> | |
</ocl.ecore:Variable> | |
<ocl.ecore:Variable name="self"> | |
<eType xsi:type="ecore:EClass" href="http://www.eclipse.org/acceleo/ui/acceleowizardmodel/3.1#//AcceleoPom"/> | |
</ocl.ecore:Variable> | |
<ocl.ecore:Variable name="self"> | |
<eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> | |
</ocl.ecore:Variable> | |
<ecore:EAnnotation source="positions"> | |
<eAnnotations source="positions.0" references="/0/@documentation"> | |
<details key="start" value="29"/> | |
<details key="end" value="410"/> | |
<details key="line" value="0"/> | |
</eAnnotations> | |
<eAnnotations source="positions.1" references="/0/genPom"> | |
<details key="start" value="596"/> | |
<details key="end" value="5148"/> | |
<details key="line" value="21"/> | |
</eAnnotations> | |
<eAnnotations source="positions.2" references="/0/genPom/@body.0"> | |
<details key="start" value="683"/> | |
<details key="end" value="5136"/> | |
<details key="line" value="23"/> | |
</eAnnotations> | |
<eAnnotations source="positions.3" references="/0/genPom/@body.0/@body.0"> | |
<details key="start" value="718"/> | |
<details key="end" value="1082"/> | |
<details key="line" value="24"/> | |
</eAnnotations> | |
<eAnnotations source="positions.4" references="/0/genPom/@body.0/parent"> | |
<details key="start" value="1083"/> | |
<details key="end" value="1089"/> | |
<details key="line" value="0"/> | |
</eAnnotations> | |
<eAnnotations source="positions.5" references="/0/genPom/@body.0/@body.2"> | |
<details key="start" value="1091"/> | |
<details key="end" value="1240"/> | |
<details key="line" value="34"/> | |
</eAnnotations> | |
<eAnnotations source="positions.6" references="/0/genPom/@body.0/@body.3"> | |
<details key="start" value="1241"/> | |
<details key="end" value="1264"/> | |
<details key="line" value="0"/> | |
</eAnnotations> | |
<eAnnotations source="positions.7" references="/0/genPom/@body.0/@body.3/anAcceleoPom"> | |
<details key="start" value="1241"/> | |
<details key="end" value="1253"/> | |
<details key="line" value="0"/> | |
</eAnnotations> | |
<eAnnotations source="positions.8" references="/0/genPom/@body.0/@body.4"> | |
<details key="start" value="1266"/> | |
<details key="end" value="1291"/> | |
<details key="line" value="40"/> | |
</eAnnotations> | |
<eAnnotations source="positions.9" references="/0/genPom/@body.0/@body.5"> | |
<details key="start" value="1292"/> | |
<details key="end" value="1315"/> | |
<details key="line" value="0"/> | |
</eAnnotations> | |
<eAnnotations source="positions.10" references="/0/genPom/@body.0/@body.5/anAcceleoPom"> | |
<details key="start" value="1292"/> | |
<details key="end" value="1304"/> | |
<details key="line" value="0"/> | |
</eAnnotations> | |
<eAnnotations source="positions.11" references="/0/genPom/@body.0/@body.6"> | |
<details key="start" value="1317"/> | |
<details key="end" value="1350"/> | |
<details key="line" value="41"/> | |
</eAnnotations> | |
<eAnnotations source="positions.12" references="/0/genPom/@body.0/@body.7"> | |
<details key="start" value="1351"/> | |
<details key="end" value="1374"/> | |
<details key="line" value="0"/> | |
</eAnnotations> | |
<eAnnotations source="positions.13" references="/0/genPom/@body.0/@body.7/anAcceleoPom"> | |
<details key="start" value="1351"/> | |
<details key="end" value="1363"/> | |
<details key="line" value="0"/> | |
</eAnnotations> | |
<eAnnotations source="positions.14" references="/0/genPom/@body.0/@body.8"> | |
<details key="start" value="1376"/> | |
<details key="end" value="2173"/> | |
<details key="line" value="42"/> | |
</eAnnotations> | |
<eAnnotations source="positions.15" references="/0/genPom/@body.0/@body.9"> | |
<details key="start" value="2174"/> | |
<details key="end" value="2177"/> | |
<details key="line" value="0"/> | |
</eAnnotations> | |
<eAnnotations source="positions.16" references="/0/genPom/@body.0/@body.10"> | |
<details key="start" value="2179"/> | |
<details key="end" value="2612"/> | |
<details key="line" value="64"/> | |
</eAnnotations> | |
<eAnnotations source="positions.17" references="/0/genPom/@body.0/@body.11"> | |
<details key="start" value="2613"/> | |
<details key="end" value="2616"/> | |
<details key="line" value="0"/> | |
</eAnnotations> | |
<eAnnotations source="positions.18" references="/0/genPom/@body.0/@body.12"> | |
<details key="start" value="2618"/> | |
<details key="end" value="5129"/> | |
<details key="line" value="78"/> | |
</eAnnotations> | |
<eAnnotations source="positions.19" references="/0/genPom/@body.0/@fileUrl"> | |
<details key="start" value="690"/> | |
<details key="end" value="699"/> | |
<details key="line" value="0"/> | |
</eAnnotations> | |
<eAnnotations source="positions.20" references="/0/genPom/@body.0/@charset"> | |
<details key="start" value="708"/> | |
<details key="end" value="715"/> | |
<details key="line" value="0"/> | |
</eAnnotations> | |
<eAnnotations source="positions.21" references="/0/genPom/@documentation"> | |
<details key="start" value="486"/> | |
<details key="end" value="595"/> | |
<details key="line" value="0"/> | |
</eAnnotations> | |
<eAnnotations source="positions.22" references="/0/genPom/@documentation/anAcceleoPom"> | |
<details key="start" value="-1"/> | |
<details key="end" value="-1"/> | |
<details key="line" value="0"/> | |
</eAnnotations> | |
<eAnnotations source="positions.23" references="/0/genPom/@documentation/parent"> | |
<details key="start" value="-1"/> | |
<details key="end" value="-1"/> | |
<details key="line" value="0"/> | |
</eAnnotations> | |
<eAnnotations source="positions.24" references="/0/genPom/anAcceleoPom"> | |
<details key="start" value="620"/> | |
<details key="end" value="645"/> | |
<details key="line" value="21"/> | |
</eAnnotations> | |
<eAnnotations source="positions.25" references="/0/genPom/parent"> | |
<details key="start" value="647"/> | |
<details key="end" value="662"/> | |
<details key="line" value="21"/> | |
</eAnnotations> | |
</ecore:EAnnotation> | |
</xmi:XMI> |