generator.maven.pom.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <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> <groupId>{{build.group}}</groupId> <artifactId>{{build.artifact}}</artifactId> <version>{{build.version}}</version> <packaging>{{build.packaging}}</packaging> <name>{{build.name}}</name> <description>{{build.description}}</description> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <!-- Set it to true if you want the documentation to be rendered as HTML and PDF You can also use it on the command line: -Dtalend.documentation.htmlAndPdf=true --> <talend.documentation.htmlAndPdf>false</talend.documentation.htmlAndPdf> <!-- if you want to deploy into the studio you can use the related goal: mvn package talend-component:deploy-in-studio -Dtalend.component.studioHome=/path/to/studio TIP: it is recommended to set this property into your settings.xml in an active by default profile. --> <talend.component.studioHome /> </properties> <dependencies> {{#dependencies}} <dependency> <groupId>{{value.group}}</groupId> <artifactId>{{value.artifact}}</artifactId> <version>{{value.version}}</version> {{#value.classifier}} <classifier>{{value.classifier}}</classifier> {{/value.classifier}} {{#value.scope}} <scope>{{value.scope}}</scope> {{/value.scope}} {{#value.type}} <type>{{value.type}}</type> {{/value.type}} </dependency> {{/dependencies}} </dependencies> <build> <extensions> <extension> <groupId>org.talend.sdk.component</groupId> <artifactId>talend-component-maven-plugin</artifactId> <version>{{pluginVersion}}</version> </extension> </extensions> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.0</version> <configuration> <source>{{build.javaVersion}}</source> <target>{{build.javaVersion}}</target> <forceJavacCompilerUse>true</forceJavacCompilerUse> <compilerId>javac</compilerId> <fork>true</fork> <compilerArgs> <arg>-parameters</arg> </compilerArgs> </configuration> </plugin> {{#plugins}} <plugin> <groupId>{{value.groupId}}</groupId> <artifactId>{{value.artifactId}}</artifactId> <version>{{value.version}}</version> {{#value.executions}} {{#first}} <executions> {{/first}} <execution> <id>{{value.id}}</id> <phase>{{value.phase}}</phase> <goals> <goal>{{value.goal}}</goal> </goals> </execution> {{#last}} </executions> {{/last}} {{/value.executions}} {{#value.configuration}} {{#first}} <configuration> {{/first}} <{{value.key}}>{{value.value}}</{{value.key}}> {{#last}} </configuration> {{/last}} {{/value.configuration}} </plugin> {{/plugins}} </plugins> </build> </project>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy