diff --git a/src/main/java/org/jenkinsci/plugins/configfiles/buildwrapper/CleanTempFilesAction.java b/src/main/java/org/jenkinsci/plugins/configfiles/buildwrapper/CleanTempFilesAction.java index 0b18bf5b..720f5938 100644 --- a/src/main/java/org/jenkinsci/plugins/configfiles/buildwrapper/CleanTempFilesAction.java +++ b/src/main/java/org/jenkinsci/plugins/configfiles/buildwrapper/CleanTempFilesAction.java @@ -1,3 +1,26 @@ +/* + The MIT License + + Copyright (c) 2011, Dominik Bartholdi, Olivier Lamy + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + */ package org.jenkinsci.plugins.configfiles.buildwrapper; import hudson.model.InvisibleAction; diff --git a/src/main/java/org/jenkinsci/plugins/configfiles/buildwrapper/CleanTempFilesRunListener.java b/src/main/java/org/jenkinsci/plugins/configfiles/buildwrapper/CleanTempFilesRunListener.java index 82c260d0..8333540c 100644 --- a/src/main/java/org/jenkinsci/plugins/configfiles/buildwrapper/CleanTempFilesRunListener.java +++ b/src/main/java/org/jenkinsci/plugins/configfiles/buildwrapper/CleanTempFilesRunListener.java @@ -1,5 +1,25 @@ -/** - * +/* + The MIT License + + Copyright (c) 2011, Dominik Bartholdi, Olivier Lamy + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. */ package org.jenkinsci.plugins.configfiles.buildwrapper; diff --git a/src/main/java/org/jenkinsci/plugins/configfiles/buildwrapper/ManagedFileUtil.java b/src/main/java/org/jenkinsci/plugins/configfiles/buildwrapper/ManagedFileUtil.java index b6df31d6..0e2de4a4 100644 --- a/src/main/java/org/jenkinsci/plugins/configfiles/buildwrapper/ManagedFileUtil.java +++ b/src/main/java/org/jenkinsci/plugins/configfiles/buildwrapper/ManagedFileUtil.java @@ -1,3 +1,26 @@ +/* + The MIT License + + Copyright (c) 2011, Dominik Bartholdi, Olivier Lamy + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + */ package org.jenkinsci.plugins.configfiles.buildwrapper; import hudson.FilePath; diff --git a/src/main/java/org/jenkinsci/plugins/configfiles/custom/CustomConfig.java b/src/main/java/org/jenkinsci/plugins/configfiles/custom/CustomConfig.java index b9c47a52..b009f2f2 100644 --- a/src/main/java/org/jenkinsci/plugins/configfiles/custom/CustomConfig.java +++ b/src/main/java/org/jenkinsci/plugins/configfiles/custom/CustomConfig.java @@ -1,3 +1,26 @@ +/* + The MIT License + + Copyright (c) 2011, Dominik Bartholdi, Olivier Lamy + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + */ package org.jenkinsci.plugins.configfiles.custom; import hudson.Extension; diff --git a/src/main/java/org/jenkinsci/plugins/configfiles/groovy/GroovyScript.java b/src/main/java/org/jenkinsci/plugins/configfiles/groovy/GroovyScript.java index d2673ae3..085e9dd3 100644 --- a/src/main/java/org/jenkinsci/plugins/configfiles/groovy/GroovyScript.java +++ b/src/main/java/org/jenkinsci/plugins/configfiles/groovy/GroovyScript.java @@ -1,3 +1,26 @@ +/* + The MIT License + + Copyright (c) 2011, Dominik Bartholdi, Olivier Lamy + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + */ package org.jenkinsci.plugins.configfiles.groovy; import hudson.Extension; diff --git a/src/main/java/org/jenkinsci/plugins/configfiles/maven/GlobalMavenSettingsConfig.java b/src/main/java/org/jenkinsci/plugins/configfiles/maven/GlobalMavenSettingsConfig.java index f889a147..006284ca 100644 --- a/src/main/java/org/jenkinsci/plugins/configfiles/maven/GlobalMavenSettingsConfig.java +++ b/src/main/java/org/jenkinsci/plugins/configfiles/maven/GlobalMavenSettingsConfig.java @@ -1,3 +1,26 @@ +/* + The MIT License + + Copyright (c) 2011, Dominik Bartholdi, Olivier Lamy + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + */ package org.jenkinsci.plugins.configfiles.maven; import hudson.Extension; diff --git a/src/main/java/org/jenkinsci/plugins/configfiles/maven/MavenSettingsConfig.java b/src/main/java/org/jenkinsci/plugins/configfiles/maven/MavenSettingsConfig.java index 3272f176..4dc6c670 100644 --- a/src/main/java/org/jenkinsci/plugins/configfiles/maven/MavenSettingsConfig.java +++ b/src/main/java/org/jenkinsci/plugins/configfiles/maven/MavenSettingsConfig.java @@ -1,3 +1,26 @@ +/* + The MIT License + + Copyright (c) 2011, Dominik Bartholdi, Olivier Lamy + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + */ package org.jenkinsci.plugins.configfiles.maven; import hudson.Extension; diff --git a/src/main/java/org/jenkinsci/plugins/configfiles/maven/MavenToolchainsConfig.java b/src/main/java/org/jenkinsci/plugins/configfiles/maven/MavenToolchainsConfig.java new file mode 100644 index 00000000..3e543404 --- /dev/null +++ b/src/main/java/org/jenkinsci/plugins/configfiles/maven/MavenToolchainsConfig.java @@ -0,0 +1,102 @@ +/* + The MIT License + + Copyright (c) 2011, Dominik Bartholdi, Olivier Lamy + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + */ +package org.jenkinsci.plugins.configfiles.maven; + +import java.io.InputStream; +import java.io.InputStreamReader; + +import hudson.Extension; +import jenkins.model.Jenkins; + +import org.jenkinsci.lib.configprovider.AbstractConfigProviderImpl; +import org.jenkinsci.lib.configprovider.model.Config; +import org.jenkinsci.lib.configprovider.model.ContentType; +import org.jenkinsci.plugins.configfiles.Messages; + +public class MavenToolchainsConfig extends Config { + private static final long serialVersionUID = 1L; + + public MavenToolchainsConfig(String id, String name, String comment, String content) { + super(id, name, comment, content); + } + + @Extension(ordinal = 180) + public static class MavenToolchainsConfigProvider extends AbstractConfigProviderImpl { + + public MavenToolchainsConfigProvider() { + load(); + } + + @Override + public ContentType getContentType() { + return ContentType.DefinedType.XML; + } + + @Override + public String getDisplayName() { + return Messages.mvn_toolchains_provider_name(); + } + + /* (non-Javadoc) + * @see org.jenkinsci.lib.configprovider.AbstractConfigProviderImpl#getXmlFileName() + */ + @Override + protected String getXmlFileName() { + return "maven-toolchains-files.xml"; + } + + /* (non-Javadoc) + * @see org.jenkinsci.lib.configprovider.AbstractConfigProviderImpl#newConfig() + */ + @Override + public Config newConfig() { + String id = this.getProviderId() + System.currentTimeMillis(); + return new Config(id, "MyToolchains", "", loadTemplateContent()); + } + + private String loadTemplateContent() { + String tpl; + try { + InputStream is = this.getClass().getResourceAsStream("toolchains-tpl.xml"); + StringBuilder sb = new StringBuilder(Math.max(16, is.available())); + char[] tmp = new char[4096]; + + try { + InputStreamReader reader = new InputStreamReader(is, "UTF-8"); + for (int cnt; (cnt = reader.read(tmp)) > 0;) + sb.append(tmp, 0, cnt); + + } finally { + is.close(); + } + tpl = sb.toString(); + } catch (Exception e) { + tpl = ""; + } + return tpl; + } + + } + +} diff --git a/src/main/java/org/jenkinsci/plugins/configfiles/xml/XmlConfig.java b/src/main/java/org/jenkinsci/plugins/configfiles/xml/XmlConfig.java index 18269595..91497b8b 100644 --- a/src/main/java/org/jenkinsci/plugins/configfiles/xml/XmlConfig.java +++ b/src/main/java/org/jenkinsci/plugins/configfiles/xml/XmlConfig.java @@ -1,3 +1,26 @@ +/* + The MIT License + + Copyright (c) 2011, Dominik Bartholdi, Olivier Lamy + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + */ package org.jenkinsci.plugins.configfiles.xml; import hudson.Extension; diff --git a/src/main/resources/org/jenkinsci/plugins/configfiles/Messages.properties b/src/main/resources/org/jenkinsci/plugins/configfiles/Messages.properties index 31f9f895..1e26d581 100644 --- a/src/main/resources/org/jenkinsci/plugins/configfiles/Messages.properties +++ b/src/main/resources/org/jenkinsci/plugins/configfiles/Messages.properties @@ -30,5 +30,6 @@ buildstep_provider_description=create a reusable build step xml_provider_name=Simple XML file mvn_global_settings_provider_name=Global Maven settings.xml mvn_settings_provider_name=Maven settings.xml +mvn_toolchains_provider_name=Maven toolchains.xml diff --git a/src/main/resources/org/jenkinsci/plugins/configfiles/Messages_fr.properties b/src/main/resources/org/jenkinsci/plugins/configfiles/Messages_fr.properties index 2e082a80..13c3dff6 100644 --- a/src/main/resources/org/jenkinsci/plugins/configfiles/Messages_fr.properties +++ b/src/main/resources/org/jenkinsci/plugins/configfiles/Messages_fr.properties @@ -23,4 +23,5 @@ groovy_provider_name=Fichier Groovy xml_provider_name=Simple XML fichier mvn_global_settings_provider_name=Global Maven settings.xml mvn_settings_provider_name=Maven settings.xml +mvn_toolchains_provider_name=Maven toolchains.xml diff --git a/src/main/resources/org/jenkinsci/plugins/configfiles/maven/MavenToolchainsConfig/MavenToolchainsConfigProvider/newInstanceDetail.jelly b/src/main/resources/org/jenkinsci/plugins/configfiles/maven/MavenToolchainsConfig/MavenToolchainsConfigProvider/newInstanceDetail.jelly new file mode 100644 index 00000000..9b62c32a --- /dev/null +++ b/src/main/resources/org/jenkinsci/plugins/configfiles/maven/MavenToolchainsConfig/MavenToolchainsConfigProvider/newInstanceDetail.jelly @@ -0,0 +1,29 @@ + + + + + + ${%mvn_toolchains_provider_description} + \ No newline at end of file diff --git a/src/main/resources/org/jenkinsci/plugins/configfiles/maven/MavenToolchainsConfig/MavenToolchainsConfigProvider/newInstanceDetail.properties b/src/main/resources/org/jenkinsci/plugins/configfiles/maven/MavenToolchainsConfig/MavenToolchainsConfigProvider/newInstanceDetail.properties new file mode 100644 index 00000000..c1895a34 --- /dev/null +++ b/src/main/resources/org/jenkinsci/plugins/configfiles/maven/MavenToolchainsConfig/MavenToolchainsConfigProvider/newInstanceDetail.properties @@ -0,0 +1,24 @@ +# The MIT License +# +# Copyright (c) 2012, Dominik Bartholdi +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. + +mvn_toolchains_provider_description=a toolchains.xml which can be referenced within Apache Maven jobs + diff --git a/src/main/resources/org/jenkinsci/plugins/configfiles/maven/MavenToolchainsConfig/MavenToolchainsConfigProvider/newInstanceDetail_fr.properties b/src/main/resources/org/jenkinsci/plugins/configfiles/maven/MavenToolchainsConfig/MavenToolchainsConfigProvider/newInstanceDetail_fr.properties new file mode 100644 index 00000000..d0dc18ca --- /dev/null +++ b/src/main/resources/org/jenkinsci/plugins/configfiles/maven/MavenToolchainsConfig/MavenToolchainsConfigProvider/newInstanceDetail_fr.properties @@ -0,0 +1,24 @@ +# The MIT License +# +# Copyright (c) 2012, Dominik Bartholdi +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. + +mvn_toolchains_provider_description=un toolchains.xml qui peut \u00EAtre utilis\u00E9 pour vos jobs Apache Maven + diff --git a/src/main/resources/org/jenkinsci/plugins/configfiles/maven/toolchains-tpl.xml b/src/main/resources/org/jenkinsci/plugins/configfiles/maven/toolchains-tpl.xml new file mode 100644 index 00000000..a2163987 --- /dev/null +++ b/src/main/resources/org/jenkinsci/plugins/configfiles/maven/toolchains-tpl.xml @@ -0,0 +1,54 @@ + + + + + + + jdk + + 1.5 + sun + default + + + /path/to/jdk/1.5 + + + + jdk + + 1.6 + sun + ide + + + /path/to/jdk/1.6 + + + + netbeans + + 5.5 + + + /path/to/netbeans/5.5 + + + \ No newline at end of file