META-INF.maven.archetype-metadata.xml Maven / Gradle / Ivy
<archetype-descriptor xmlns="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.0.0 http://maven.apache.org/xsd/archetype-descriptor-1.0.0.xsd" name="Global Shared Library Example"> <requiredProperties> <requiredProperty key="groupId"> <defaultValue>org.sample</defaultValue> </requiredProperty> <requiredProperty key="package"> <defaultValue>io.jenkins.pipeline.sample</defaultValue> </requiredProperty> </requiredProperties> <fileSets> <fileSet filtered="true"> <directory>.</directory> <includes> <include>pom.xml</include> </includes> </fileSet> <fileSet filtered="true"> <directory></directory> <includes> <include>README.md</include> </includes> </fileSet> <!-- Shared Library sources --> <fileSet packaged="true"> <directory>shared-library/resources</directory> </fileSet> <fileSet packaged="true" filtered="true"> <directory>shared-library/src</directory> </fileSet> <fileSet> <directory>shared-library/vars</directory> </fileSet> <!-- Test sources --> <fileSet packaged="true" filtered="true"> <directory>unit-tests/src/main/jenkins</directory> <includes> <include>pipelineUsingSharedLib.groovy</include> </includes> </fileSet> <fileSet filtered="true" packaged="true"> <directory>unit-tests/src/test/groovy</directory> <includes> <include>TestSharedLibrary.groovy</include> </includes> </fileSet> <fileSet filtered="true"> <directory>unit-tests</directory> <includes> <include>pom.xml</include> </includes> </fileSet> </fileSets> </archetype-descriptor>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy