Maven-helper-plugin-commits
Threads by month
- ----- 2026 -----
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- 427 discussions
10 Apr '10
Author: tchemit
Date: 2010-04-10 17:39:56 +0200 (Sat, 10 Apr 2010)
New Revision: 690
Log:
remove headers (to be regenerate with maven-license-plugin 2.1)
Added:
trunk/src/license/
trunk/src/license/project.xml
Modified:
trunk/src/main/java/org/nuiton/components/cipher/DefaultPlexusCipher.java
trunk/src/main/java/org/nuiton/components/sec/dispatcher/DefaultSecDispatcher.java
trunk/src/main/java/org/nuiton/helper/plugin/CollectFilesMojo.java
trunk/src/main/java/org/nuiton/helper/plugin/SendEmailMojo.java
trunk/src/main/java/org/nuiton/helper/plugin/ShareServerSecretPlugin.java
trunk/src/main/java/org/nuiton/io/FileUpdater.java
trunk/src/main/java/org/nuiton/io/FileUpdaterHelper.java
trunk/src/main/java/org/nuiton/io/MirroredFileUpdater.java
trunk/src/main/java/org/nuiton/io/PropertiesDateRemoveFilterStream.java
trunk/src/main/java/org/nuiton/io/SortedProperties.java
trunk/src/main/java/org/nuiton/io/mail/MailSender.java
trunk/src/main/java/org/nuiton/io/mail/ProjectJavamailMailSender.java
trunk/src/main/java/org/nuiton/io/rest/DefaultRestClientConfiguration.java
trunk/src/main/java/org/nuiton/io/rest/RestClient.java
trunk/src/main/java/org/nuiton/io/rest/RestClientConfiguration.java
trunk/src/main/java/org/nuiton/io/rest/RestDataNotFoundException.java
trunk/src/main/java/org/nuiton/io/rest/RestException.java
trunk/src/main/java/org/nuiton/io/rest/RestRequest.java
trunk/src/main/java/org/nuiton/io/rest/RestRequestBuilder.java
trunk/src/main/java/org/nuiton/io/rest/RestSession.java
trunk/src/main/java/org/nuiton/io/xpp3/AbstractXpp3Reader.java
trunk/src/main/java/org/nuiton/io/xpp3/DataConverter.java
trunk/src/main/java/org/nuiton/io/xpp3/DefaultDataConverter.java
trunk/src/main/java/org/nuiton/io/xpp3/PropertyMapper.java
trunk/src/main/java/org/nuiton/io/xpp3/Xpp3Helper.java
trunk/src/main/java/org/nuiton/io/xpp3/Xpp3Reader.java
trunk/src/main/java/org/nuiton/plugin/AbstractPlugin.java
trunk/src/main/java/org/nuiton/plugin/DependencyUtil.java
trunk/src/main/java/org/nuiton/plugin/Plugin.java
trunk/src/main/java/org/nuiton/plugin/PluginHelper.java
trunk/src/main/java/org/nuiton/plugin/PluginIOContext.java
trunk/src/main/java/org/nuiton/plugin/VelocityTemplateGenerator.java
trunk/src/test/java/org/nuiton/helper/plugin/SendEmailMojoTest.java
trunk/src/test/java/org/nuiton/io/JavaFileUpdaterTest.java
trunk/src/test/java/org/nuiton/io/JaxxFileUpdaterTest.java
trunk/src/test/java/org/nuiton/io/xpp3/Identity.java
trunk/src/test/java/org/nuiton/io/xpp3/IdentityXpp3Reader.java
trunk/src/test/java/org/nuiton/io/xpp3/Xpp3HelperTest.java
trunk/src/test/java/org/nuiton/io/xpp3/Xpp3ReaderTest.java
trunk/src/test/java/org/nuiton/plugin/AbstractMojoTest.java
trunk/src/test/java/org/nuiton/plugin/PluginHelperTest.java
trunk/src/test/java/org/nuiton/plugin/TestHelper.java
trunk/src/test/resources/org/nuiton/io/JavaDummy.java
trunk/src/test/resources/org/nuiton/io/JaxxDummy.java
Added: trunk/src/license/project.xml
===================================================================
--- trunk/src/license/project.xml (rev 0)
+++ trunk/src/license/project.xml 2010-04-10 15:39:56 UTC (rev 690)
@@ -0,0 +1,45 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<project xmlns="http://maven-site.nuiton.org/maven-license-plugin/1.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven-site.nuiton.org/maven-license-plugin/1.0.0 http://maven-site.nuiton.org/maven-license-plugin/licenseProject-1.0.0.xsd">
+ <mainLicense>lgpl_v3</mainLicense>
+ <licenseSets>
+ <licenseSet>
+ <fileSets>
+
+ <fileSet>
+ <headerType>java</headerType>
+ <basedir>src/main/java</basedir>
+ <includes>
+ <include>**/*.java</include>
+ </includes>
+ </fileSet>
+
+ <fileSet>
+ <headerType>java</headerType>
+ <basedir>src/test/java</basedir>
+ <includes>
+ <include>**/*.java</include>
+ </includes>
+ </fileSet>
+
+ <fileSet>
+ <headerType>rst</headerType>
+ <basedir>src/site</basedir>
+ <includes>
+ <include>**/*.apt</include>
+ </includes>
+ </fileSet>
+
+ <fileSet>
+ <headerType>xml</headerType>
+ <basedir>src/site</basedir>
+ <includes>
+ <include>**/*.xml</include>
+ </includes>
+ </fileSet>
+
+ </fileSets>
+ </licenseSet>
+ </licenseSets>
+</project>
Property changes on: trunk/src/license/project.xml
___________________________________________________________________
Added: svn:keywords
+ "Author Date Id Revision HeadURL
Modified: trunk/src/main/java/org/nuiton/components/cipher/DefaultPlexusCipher.java
===================================================================
--- trunk/src/main/java/org/nuiton/components/cipher/DefaultPlexusCipher.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/main/java/org/nuiton/components/cipher/DefaultPlexusCipher.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.components.cipher;
import org.codehaus.plexus.logging.AbstractLogEnabled;
Modified: trunk/src/main/java/org/nuiton/components/sec/dispatcher/DefaultSecDispatcher.java
===================================================================
--- trunk/src/main/java/org/nuiton/components/sec/dispatcher/DefaultSecDispatcher.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/main/java/org/nuiton/components/sec/dispatcher/DefaultSecDispatcher.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.components.sec.dispatcher;
Modified: trunk/src/main/java/org/nuiton/helper/plugin/CollectFilesMojo.java
===================================================================
--- trunk/src/main/java/org/nuiton/helper/plugin/CollectFilesMojo.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/main/java/org/nuiton/helper/plugin/CollectFilesMojo.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.helper.plugin;
import org.apache.maven.artifact.Artifact;
@@ -37,7 +17,7 @@
/**
* Collect files some files from a project and copy them into a directory.
*
- * @author tchemit
+ * @author tchemit <chemit(a)codelutin.com>
* @goal collect-files
* @requiresProject true
* @since 1.1.0
Modified: trunk/src/main/java/org/nuiton/helper/plugin/SendEmailMojo.java
===================================================================
--- trunk/src/main/java/org/nuiton/helper/plugin/SendEmailMojo.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/main/java/org/nuiton/helper/plugin/SendEmailMojo.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.helper.plugin;
import org.apache.commons.lang.StringUtils;
@@ -39,7 +19,7 @@
/**
* Send a email.
*
- * @author tchemit
+ * @author tchemit <chemit(a)codelutin.com>
* @goal send-email
* @requiresOnline true
* @requiresProject true
Modified: trunk/src/main/java/org/nuiton/helper/plugin/ShareServerSecretPlugin.java
===================================================================
--- trunk/src/main/java/org/nuiton/helper/plugin/ShareServerSecretPlugin.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/main/java/org/nuiton/helper/plugin/ShareServerSecretPlugin.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.helper.plugin;
import org.apache.commons.lang.StringUtils;
Modified: trunk/src/main/java/org/nuiton/io/FileUpdater.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/FileUpdater.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/main/java/org/nuiton/io/FileUpdater.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.io;
import java.io.File;
Modified: trunk/src/main/java/org/nuiton/io/FileUpdaterHelper.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/FileUpdaterHelper.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/main/java/org/nuiton/io/FileUpdaterHelper.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.io;
import java.io.File;
Modified: trunk/src/main/java/org/nuiton/io/MirroredFileUpdater.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/MirroredFileUpdater.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/main/java/org/nuiton/io/MirroredFileUpdater.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.io;
import org.apache.commons.logging.Log;
Modified: trunk/src/main/java/org/nuiton/io/PropertiesDateRemoveFilterStream.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/PropertiesDateRemoveFilterStream.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/main/java/org/nuiton/io/PropertiesDateRemoveFilterStream.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.io;
import java.io.FilterOutputStream;
Modified: trunk/src/main/java/org/nuiton/io/SortedProperties.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/SortedProperties.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/main/java/org/nuiton/io/SortedProperties.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.io;
import org.nuiton.plugin.*;
Modified: trunk/src/main/java/org/nuiton/io/mail/MailSender.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/mail/MailSender.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/main/java/org/nuiton/io/mail/MailSender.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.io.mail;
/**
Modified: trunk/src/main/java/org/nuiton/io/mail/ProjectJavamailMailSender.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/mail/ProjectJavamailMailSender.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/main/java/org/nuiton/io/mail/ProjectJavamailMailSender.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.io.mail;
import java.security.Security;
Modified: trunk/src/main/java/org/nuiton/io/rest/DefaultRestClientConfiguration.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/rest/DefaultRestClientConfiguration.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/main/java/org/nuiton/io/rest/DefaultRestClientConfiguration.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.io.rest;
import org.apache.commons.lang.builder.ToStringBuilder;
Modified: trunk/src/main/java/org/nuiton/io/rest/RestClient.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/rest/RestClient.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/main/java/org/nuiton/io/rest/RestClient.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.io.rest;
import java.io.IOException;
Modified: trunk/src/main/java/org/nuiton/io/rest/RestClientConfiguration.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/rest/RestClientConfiguration.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/main/java/org/nuiton/io/rest/RestClientConfiguration.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.io.rest;
import java.net.URL;
Modified: trunk/src/main/java/org/nuiton/io/rest/RestDataNotFoundException.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/rest/RestDataNotFoundException.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/main/java/org/nuiton/io/rest/RestDataNotFoundException.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.io.rest;
/**
Modified: trunk/src/main/java/org/nuiton/io/rest/RestException.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/rest/RestException.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/main/java/org/nuiton/io/rest/RestException.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.io.rest;
/**
Modified: trunk/src/main/java/org/nuiton/io/rest/RestRequest.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/rest/RestRequest.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/main/java/org/nuiton/io/rest/RestRequest.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.io.rest;
import java.io.File;
Modified: trunk/src/main/java/org/nuiton/io/rest/RestRequestBuilder.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/rest/RestRequestBuilder.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/main/java/org/nuiton/io/rest/RestRequestBuilder.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.io.rest;
/**
Modified: trunk/src/main/java/org/nuiton/io/rest/RestSession.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/rest/RestSession.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/main/java/org/nuiton/io/rest/RestSession.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.io.rest;
import java.io.File;
Modified: trunk/src/main/java/org/nuiton/io/xpp3/AbstractXpp3Reader.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/xpp3/AbstractXpp3Reader.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/main/java/org/nuiton/io/xpp3/AbstractXpp3Reader.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.io.xpp3;
import org.codehaus.plexus.util.xml.pull.MXParser;
Modified: trunk/src/main/java/org/nuiton/io/xpp3/DataConverter.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/xpp3/DataConverter.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/main/java/org/nuiton/io/xpp3/DataConverter.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.io.xpp3;
/**
Modified: trunk/src/main/java/org/nuiton/io/xpp3/DefaultDataConverter.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/xpp3/DefaultDataConverter.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/main/java/org/nuiton/io/xpp3/DefaultDataConverter.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.io.xpp3;
/**
Modified: trunk/src/main/java/org/nuiton/io/xpp3/PropertyMapper.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/xpp3/PropertyMapper.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/main/java/org/nuiton/io/xpp3/PropertyMapper.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.io.xpp3;
import org.apache.commons.lang.builder.ToStringBuilder;
Modified: trunk/src/main/java/org/nuiton/io/xpp3/Xpp3Helper.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/xpp3/Xpp3Helper.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/main/java/org/nuiton/io/xpp3/Xpp3Helper.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.io.xpp3;
import java.beans.BeanInfo;
Modified: trunk/src/main/java/org/nuiton/io/xpp3/Xpp3Reader.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/xpp3/Xpp3Reader.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/main/java/org/nuiton/io/xpp3/Xpp3Reader.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.io.xpp3;
import org.codehaus.plexus.util.xml.pull.XmlPullParserException;
Modified: trunk/src/main/java/org/nuiton/plugin/AbstractPlugin.java
===================================================================
--- trunk/src/main/java/org/nuiton/plugin/AbstractPlugin.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/main/java/org/nuiton/plugin/AbstractPlugin.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.plugin;
import org.apache.maven.artifact.Artifact;
Modified: trunk/src/main/java/org/nuiton/plugin/DependencyUtil.java
===================================================================
--- trunk/src/main/java/org/nuiton/plugin/DependencyUtil.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/main/java/org/nuiton/plugin/DependencyUtil.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.plugin;
import java.util.Iterator;
Modified: trunk/src/main/java/org/nuiton/plugin/Plugin.java
===================================================================
--- trunk/src/main/java/org/nuiton/plugin/Plugin.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/main/java/org/nuiton/plugin/Plugin.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.plugin;
import org.apache.maven.plugin.Mojo;
Modified: trunk/src/main/java/org/nuiton/plugin/PluginHelper.java
===================================================================
--- trunk/src/main/java/org/nuiton/plugin/PluginHelper.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/main/java/org/nuiton/plugin/PluginHelper.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.plugin;
import org.apache.maven.model.Resource;
Modified: trunk/src/main/java/org/nuiton/plugin/PluginIOContext.java
===================================================================
--- trunk/src/main/java/org/nuiton/plugin/PluginIOContext.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/main/java/org/nuiton/plugin/PluginIOContext.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.plugin;
import java.io.File;
Modified: trunk/src/main/java/org/nuiton/plugin/VelocityTemplateGenerator.java
===================================================================
--- trunk/src/main/java/org/nuiton/plugin/VelocityTemplateGenerator.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/main/java/org/nuiton/plugin/VelocityTemplateGenerator.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,24 +1,5 @@
+
/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
-/*
* Copyright 2001-2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License" );
@@ -32,8 +13,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- */
-package org.nuiton.plugin;
+ */package org.nuiton.plugin;
import java.io.File;
import java.io.FileWriter;
Modified: trunk/src/test/java/org/nuiton/helper/plugin/SendEmailMojoTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/helper/plugin/SendEmailMojoTest.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/test/java/org/nuiton/helper/plugin/SendEmailMojoTest.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.helper.plugin;
import org.junit.Assert;
@@ -30,7 +10,7 @@
import java.util.Arrays;
/**
- * @author tchemit
+ * @author tchemit <chemit(a)codelutin.com>
* @since 1.0.0
*/
public class SendEmailMojoTest extends AbstractMojoTest<SendEmailMojo> {
Modified: trunk/src/test/java/org/nuiton/io/JavaFileUpdaterTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/io/JavaFileUpdaterTest.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/test/java/org/nuiton/io/JavaFileUpdaterTest.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.io;
import org.junit.BeforeClass;
Modified: trunk/src/test/java/org/nuiton/io/JaxxFileUpdaterTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/io/JaxxFileUpdaterTest.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/test/java/org/nuiton/io/JaxxFileUpdaterTest.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.io;
import org.junit.BeforeClass;
Modified: trunk/src/test/java/org/nuiton/io/xpp3/Identity.java
===================================================================
--- trunk/src/test/java/org/nuiton/io/xpp3/Identity.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/test/java/org/nuiton/io/xpp3/Identity.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.io.xpp3;
import java.beans.PropertyChangeListener;
Modified: trunk/src/test/java/org/nuiton/io/xpp3/IdentityXpp3Reader.java
===================================================================
--- trunk/src/test/java/org/nuiton/io/xpp3/IdentityXpp3Reader.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/test/java/org/nuiton/io/xpp3/IdentityXpp3Reader.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.io.xpp3;
import java.beans.IntrospectionException;
Modified: trunk/src/test/java/org/nuiton/io/xpp3/Xpp3HelperTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/io/xpp3/Xpp3HelperTest.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/test/java/org/nuiton/io/xpp3/Xpp3HelperTest.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.io.xpp3;
import org.junit.Assert;
Modified: trunk/src/test/java/org/nuiton/io/xpp3/Xpp3ReaderTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/io/xpp3/Xpp3ReaderTest.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/test/java/org/nuiton/io/xpp3/Xpp3ReaderTest.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.io.xpp3;
import org.junit.Assert;
Modified: trunk/src/test/java/org/nuiton/plugin/AbstractMojoTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/plugin/AbstractMojoTest.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/test/java/org/nuiton/plugin/AbstractMojoTest.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.plugin;
import org.apache.commons.logging.Log;
Modified: trunk/src/test/java/org/nuiton/plugin/PluginHelperTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/plugin/PluginHelperTest.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/test/java/org/nuiton/plugin/PluginHelperTest.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.plugin;
import org.junit.Assert;
Modified: trunk/src/test/java/org/nuiton/plugin/TestHelper.java
===================================================================
--- trunk/src/test/java/org/nuiton/plugin/TestHelper.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/test/java/org/nuiton/plugin/TestHelper.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 - 2010 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.plugin;
import org.apache.maven.plugin.Mojo;
Modified: trunk/src/test/resources/org/nuiton/io/JavaDummy.java
===================================================================
--- trunk/src/test/resources/org/nuiton/io/JavaDummy.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/test/resources/org/nuiton/io/JavaDummy.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.io;
/** @author tchemit <chemit(a)codelutin.com> */
Modified: trunk/src/test/resources/org/nuiton/io/JaxxDummy.java
===================================================================
--- trunk/src/test/resources/org/nuiton/io/JaxxDummy.java 2010-04-09 23:08:46 UTC (rev 689)
+++ trunk/src/test/resources/org/nuiton/io/JaxxDummy.java 2010-04-10 15:39:56 UTC (rev 690)
@@ -1,23 +1,3 @@
-/*
- * *##%
- * Maven helper plugin
- * Copyright (C) 2009 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>.
- * ##%*
- */
package org.nuiton.io;
/** @author tchemit <chemit(a)codelutin.com> */
1
0
Author: tchemit
Date: 2010-04-10 01:08:46 +0200 (Sat, 10 Apr 2010)
New Revision: 689
Log:
add svn:keywords on files
Modified:
trunk/LICENSE.txt
trunk/README.txt
trunk/changelog.txt
trunk/pom.xml
trunk/src/it/collect-files/multi/invoker.properties
trunk/src/it/collect-files/multi/module1/pom.xml
trunk/src/it/collect-files/multi/module1/src/module1-2.txt
trunk/src/it/collect-files/multi/module1/src/module1.txt
trunk/src/it/collect-files/multi/module2/pom.xml
trunk/src/it/collect-files/multi/module2/src/module2-2.txt
trunk/src/it/collect-files/multi/module2/src/module2.txt
trunk/src/it/collect-files/multi/pom.xml
trunk/src/it/collect-files/multi/src/collect-files-2.txt
trunk/src/it/collect-files/multi/src/collect-files.txt
trunk/src/it/collect-files/multi/verify.groovy
trunk/src/it/collect-files/single/invoker.properties
trunk/src/it/collect-files/single/pom.xml
trunk/src/it/collect-files/single/src/collect-files-2.txt
trunk/src/it/collect-files/single/src/collect-files.txt
trunk/src/it/collect-files/single/verify.groovy
trunk/src/it/send-email/single/emailContent.txt
trunk/src/it/send-email/single/invoker.properties
trunk/src/it/send-email/single/pom.xml
trunk/src/it/send-email/single/verify.groovy
trunk/src/it/settings.xml
trunk/src/it/share-server-secret/single/invoker.properties
trunk/src/it/share-server-secret/single/pom.xml
trunk/src/it/share-server-secret/single/verify.groovy
trunk/src/main/java/org/nuiton/components/cipher/DefaultPlexusCipher.java
trunk/src/main/java/org/nuiton/components/sec/dispatcher/DefaultSecDispatcher.java
trunk/src/main/java/org/nuiton/helper/plugin/CollectFilesMojo.java
trunk/src/main/java/org/nuiton/helper/plugin/SendEmailMojo.java
trunk/src/main/java/org/nuiton/helper/plugin/ShareServerSecretPlugin.java
trunk/src/main/java/org/nuiton/io/FileUpdater.java
trunk/src/main/java/org/nuiton/io/FileUpdaterHelper.java
trunk/src/main/java/org/nuiton/io/MirroredFileUpdater.java
trunk/src/main/java/org/nuiton/io/PropertiesDateRemoveFilterStream.java
trunk/src/main/java/org/nuiton/io/SortedProperties.java
trunk/src/main/java/org/nuiton/io/mail/MailSender.java
trunk/src/main/java/org/nuiton/io/mail/ProjectJavamailMailSender.java
trunk/src/main/java/org/nuiton/io/rest/DefaultRestClientConfiguration.java
trunk/src/main/java/org/nuiton/io/rest/RestClient.java
trunk/src/main/java/org/nuiton/io/rest/RestClientConfiguration.java
trunk/src/main/java/org/nuiton/io/rest/RestDataNotFoundException.java
trunk/src/main/java/org/nuiton/io/rest/RestException.java
trunk/src/main/java/org/nuiton/io/rest/RestRequest.java
trunk/src/main/java/org/nuiton/io/rest/RestRequestBuilder.java
trunk/src/main/java/org/nuiton/io/rest/RestSession.java
trunk/src/main/java/org/nuiton/io/xpp3/AbstractXpp3Reader.java
trunk/src/main/java/org/nuiton/io/xpp3/DataConverter.java
trunk/src/main/java/org/nuiton/io/xpp3/DefaultDataConverter.java
trunk/src/main/java/org/nuiton/io/xpp3/PropertyMapper.java
trunk/src/main/java/org/nuiton/io/xpp3/Xpp3Helper.java
trunk/src/main/java/org/nuiton/io/xpp3/Xpp3Reader.java
trunk/src/main/java/org/nuiton/plugin/AbstractPlugin.java
trunk/src/main/java/org/nuiton/plugin/DependencyUtil.java
trunk/src/main/java/org/nuiton/plugin/Plugin.java
trunk/src/main/java/org/nuiton/plugin/PluginHelper.java
trunk/src/main/java/org/nuiton/plugin/PluginIOContext.java
trunk/src/main/java/org/nuiton/plugin/VelocityTemplateGenerator.java
trunk/src/main/resources/META-INF/plexus/components.xml
trunk/src/main/resources/assemblies/deps.xml
trunk/src/main/resources/assemblies/full.xml
trunk/src/site/apt/Todo.apt
trunk/src/site/apt/index.apt
trunk/src/site/apt/mojo-examples.apt
trunk/src/site/apt/mojo-framework.apt
trunk/src/site/apt/mojo-testFramework.apt
trunk/src/site/apt/mojo-usages.apt
trunk/src/site/site_en.xml
trunk/src/test/java/org/nuiton/helper/plugin/SendEmailMojoTest.java
trunk/src/test/java/org/nuiton/io/JavaFileUpdaterTest.java
trunk/src/test/java/org/nuiton/io/JaxxFileUpdaterTest.java
trunk/src/test/java/org/nuiton/io/xpp3/Identity.java
trunk/src/test/java/org/nuiton/io/xpp3/IdentityXpp3Reader.java
trunk/src/test/java/org/nuiton/io/xpp3/Xpp3HelperTest.java
trunk/src/test/java/org/nuiton/io/xpp3/Xpp3ReaderTest.java
trunk/src/test/java/org/nuiton/plugin/AbstractMojoTest.java
trunk/src/test/java/org/nuiton/plugin/PluginHelperTest.java
trunk/src/test/java/org/nuiton/plugin/TestHelper.java
trunk/src/test/resources/META-INF/services/org.nuiton.io.xpp3.Xpp3Reader
trunk/src/test/resources/log4j.properties
trunk/src/test/resources/org/nuiton/helper/plugin/sendEmailMojoTest/mailContentFile.txt
trunk/src/test/resources/org/nuiton/helper/plugin/sendEmailMojoTest/sendEmail.xml
trunk/src/test/resources/org/nuiton/helper/plugin/sendEmailMojoTest/skipSendEmail.xml
trunk/src/test/resources/org/nuiton/io/JavaDummy.java
trunk/src/test/resources/org/nuiton/io/JaxxDummy.java
trunk/src/test/resources/org/nuiton/io/JaxxDummy.jaxx
trunk/src/test/resources/org/nuiton/io/xpp3/identities.xml
trunk/src/test/resources/org/nuiton/io/xpp3/identities2.xml
trunk/src/test/resources/org/nuiton/io/xpp3/identity.xml
trunk/src/test/resources/org/nuiton/plugin/urls.txt
Property changes on: trunk/LICENSE.txt
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/README.txt
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/changelog.txt
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/pom.xml
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/it/collect-files/multi/invoker.properties
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/it/collect-files/multi/module1/pom.xml
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/it/collect-files/multi/module1/src/module1-2.txt
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/it/collect-files/multi/module1/src/module1.txt
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/it/collect-files/multi/module2/pom.xml
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/it/collect-files/multi/module2/src/module2-2.txt
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/it/collect-files/multi/module2/src/module2.txt
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/it/collect-files/multi/pom.xml
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/it/collect-files/multi/src/collect-files-2.txt
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/it/collect-files/multi/src/collect-files.txt
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/it/collect-files/multi/verify.groovy
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/it/collect-files/single/invoker.properties
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/it/collect-files/single/pom.xml
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/it/collect-files/single/src/collect-files-2.txt
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/it/collect-files/single/src/collect-files.txt
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/it/collect-files/single/verify.groovy
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/it/send-email/single/emailContent.txt
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/it/send-email/single/invoker.properties
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/it/send-email/single/pom.xml
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/it/send-email/single/verify.groovy
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/it/settings.xml
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/it/share-server-secret/single/invoker.properties
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/it/share-server-secret/single/pom.xml
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/it/share-server-secret/single/verify.groovy
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/components/cipher/DefaultPlexusCipher.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/components/sec/dispatcher/DefaultSecDispatcher.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/helper/plugin/CollectFilesMojo.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/helper/plugin/SendEmailMojo.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/helper/plugin/ShareServerSecretPlugin.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/io/FileUpdater.java
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/io/FileUpdaterHelper.java
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/io/MirroredFileUpdater.java
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/io/PropertiesDateRemoveFilterStream.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/io/SortedProperties.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/io/mail/MailSender.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/io/mail/ProjectJavamailMailSender.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/io/rest/DefaultRestClientConfiguration.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/io/rest/RestClient.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/io/rest/RestClientConfiguration.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/io/rest/RestDataNotFoundException.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/io/rest/RestException.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/io/rest/RestRequest.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/io/rest/RestRequestBuilder.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/io/rest/RestSession.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/io/xpp3/AbstractXpp3Reader.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/io/xpp3/DataConverter.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/io/xpp3/DefaultDataConverter.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/io/xpp3/PropertyMapper.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/io/xpp3/Xpp3Helper.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/io/xpp3/Xpp3Reader.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/plugin/AbstractPlugin.java
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/plugin/DependencyUtil.java
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/plugin/Plugin.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/plugin/PluginHelper.java
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/plugin/PluginIOContext.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/plugin/VelocityTemplateGenerator.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/resources/META-INF/plexus/components.xml
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/resources/assemblies/deps.xml
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/resources/assemblies/full.xml
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/site/apt/Todo.apt
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/site/apt/index.apt
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/site/apt/mojo-examples.apt
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/site/apt/mojo-framework.apt
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/site/apt/mojo-testFramework.apt
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/site/apt/mojo-usages.apt
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/site/site_en.xml
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/helper/plugin/SendEmailMojoTest.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/io/JavaFileUpdaterTest.java
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/io/JaxxFileUpdaterTest.java
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/io/xpp3/Identity.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/io/xpp3/IdentityXpp3Reader.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/io/xpp3/Xpp3HelperTest.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/io/xpp3/Xpp3ReaderTest.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/plugin/AbstractMojoTest.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/plugin/PluginHelperTest.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/plugin/TestHelper.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/resources/META-INF/services/org.nuiton.io.xpp3.Xpp3Reader
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/resources/log4j.properties
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/resources/org/nuiton/helper/plugin/sendEmailMojoTest/mailContentFile.txt
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/resources/org/nuiton/helper/plugin/sendEmailMojoTest/sendEmail.xml
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/resources/org/nuiton/helper/plugin/sendEmailMojoTest/skipSendEmail.xml
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/resources/org/nuiton/io/JavaDummy.java
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/resources/org/nuiton/io/JaxxDummy.java
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/resources/org/nuiton/io/JaxxDummy.jaxx
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/resources/org/nuiton/io/xpp3/identities.xml
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/resources/org/nuiton/io/xpp3/identities2.xml
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/resources/org/nuiton/io/xpp3/identity.xml
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/resources/org/nuiton/plugin/urls.txt
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
1
0
09 Apr '10
Author: tchemit
Date: 2010-04-09 21:10:49 +0200 (Fri, 09 Apr 2010)
New Revision: 688
Log:
update headers
Modified:
trunk/src/main/java/org/nuiton/components/cipher/DefaultPlexusCipher.java
trunk/src/main/java/org/nuiton/components/sec/dispatcher/DefaultSecDispatcher.java
trunk/src/main/java/org/nuiton/helper/plugin/CollectFilesMojo.java
trunk/src/main/java/org/nuiton/helper/plugin/SendEmailMojo.java
trunk/src/main/java/org/nuiton/helper/plugin/ShareServerSecretPlugin.java
trunk/src/main/java/org/nuiton/io/FileUpdater.java
trunk/src/main/java/org/nuiton/io/FileUpdaterHelper.java
trunk/src/main/java/org/nuiton/io/MirroredFileUpdater.java
trunk/src/main/java/org/nuiton/io/PropertiesDateRemoveFilterStream.java
trunk/src/main/java/org/nuiton/io/SortedProperties.java
trunk/src/main/java/org/nuiton/io/mail/MailSender.java
trunk/src/main/java/org/nuiton/io/mail/ProjectJavamailMailSender.java
trunk/src/main/java/org/nuiton/io/rest/DefaultRestClientConfiguration.java
trunk/src/main/java/org/nuiton/io/rest/RestClient.java
trunk/src/main/java/org/nuiton/io/rest/RestClientConfiguration.java
trunk/src/main/java/org/nuiton/io/rest/RestDataNotFoundException.java
trunk/src/main/java/org/nuiton/io/rest/RestException.java
trunk/src/main/java/org/nuiton/io/rest/RestRequest.java
trunk/src/main/java/org/nuiton/io/rest/RestRequestBuilder.java
trunk/src/main/java/org/nuiton/io/rest/RestSession.java
trunk/src/main/java/org/nuiton/io/xpp3/AbstractXpp3Reader.java
trunk/src/main/java/org/nuiton/io/xpp3/DataConverter.java
trunk/src/main/java/org/nuiton/io/xpp3/DefaultDataConverter.java
trunk/src/main/java/org/nuiton/io/xpp3/PropertyMapper.java
trunk/src/main/java/org/nuiton/io/xpp3/Xpp3Helper.java
trunk/src/main/java/org/nuiton/io/xpp3/Xpp3Reader.java
trunk/src/main/java/org/nuiton/plugin/AbstractPlugin.java
trunk/src/main/java/org/nuiton/plugin/DependencyUtil.java
trunk/src/main/java/org/nuiton/plugin/Plugin.java
trunk/src/main/java/org/nuiton/plugin/PluginHelper.java
trunk/src/main/java/org/nuiton/plugin/PluginIOContext.java
trunk/src/main/java/org/nuiton/plugin/VelocityTemplateGenerator.java
trunk/src/test/java/org/nuiton/helper/plugin/SendEmailMojoTest.java
trunk/src/test/java/org/nuiton/io/JavaFileUpdaterTest.java
trunk/src/test/java/org/nuiton/io/JaxxFileUpdaterTest.java
trunk/src/test/java/org/nuiton/io/xpp3/Identity.java
trunk/src/test/java/org/nuiton/io/xpp3/IdentityXpp3Reader.java
trunk/src/test/java/org/nuiton/io/xpp3/Xpp3HelperTest.java
trunk/src/test/java/org/nuiton/io/xpp3/Xpp3ReaderTest.java
trunk/src/test/java/org/nuiton/plugin/AbstractMojoTest.java
trunk/src/test/java/org/nuiton/plugin/PluginHelperTest.java
trunk/src/test/java/org/nuiton/plugin/TestHelper.java
Modified: trunk/src/main/java/org/nuiton/components/cipher/DefaultPlexusCipher.java
===================================================================
--- trunk/src/main/java/org/nuiton/components/cipher/DefaultPlexusCipher.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/main/java/org/nuiton/components/cipher/DefaultPlexusCipher.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * Maven helper plugin
+ * Copyright (C) 2009 - 2010 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * ##%*
+ */
package org.nuiton.components.cipher;
import org.codehaus.plexus.logging.AbstractLogEnabled;
Modified: trunk/src/main/java/org/nuiton/components/sec/dispatcher/DefaultSecDispatcher.java
===================================================================
--- trunk/src/main/java/org/nuiton/components/sec/dispatcher/DefaultSecDispatcher.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/main/java/org/nuiton/components/sec/dispatcher/DefaultSecDispatcher.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * Maven helper plugin
+ * Copyright (C) 2009 - 2010 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * ##%*
+ */
package org.nuiton.components.sec.dispatcher;
Modified: trunk/src/main/java/org/nuiton/helper/plugin/CollectFilesMojo.java
===================================================================
--- trunk/src/main/java/org/nuiton/helper/plugin/CollectFilesMojo.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/main/java/org/nuiton/helper/plugin/CollectFilesMojo.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,7 +1,7 @@
/*
* *##%
* Maven helper plugin
- * Copyright (C) 2009 CodeLutin
+ * Copyright (C) 2009 - 2010 CodeLutin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
Modified: trunk/src/main/java/org/nuiton/helper/plugin/SendEmailMojo.java
===================================================================
--- trunk/src/main/java/org/nuiton/helper/plugin/SendEmailMojo.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/main/java/org/nuiton/helper/plugin/SendEmailMojo.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,7 +1,7 @@
/*
* *##%
* Maven helper plugin
- * Copyright (C) 2009 CodeLutin
+ * Copyright (C) 2009 - 2010 CodeLutin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
Modified: trunk/src/main/java/org/nuiton/helper/plugin/ShareServerSecretPlugin.java
===================================================================
--- trunk/src/main/java/org/nuiton/helper/plugin/ShareServerSecretPlugin.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/main/java/org/nuiton/helper/plugin/ShareServerSecretPlugin.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * Maven helper plugin
+ * Copyright (C) 2009 - 2010 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * ##%*
+ */
package org.nuiton.helper.plugin;
import org.apache.commons.lang.StringUtils;
Modified: trunk/src/main/java/org/nuiton/io/FileUpdater.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/FileUpdater.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/main/java/org/nuiton/io/FileUpdater.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,7 +1,7 @@
/*
* *##%
* Maven helper plugin
- * Copyright (C) 2009 CodeLutin
+ * Copyright (C) 2009 - 2010 CodeLutin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
Modified: trunk/src/main/java/org/nuiton/io/FileUpdaterHelper.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/FileUpdaterHelper.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/main/java/org/nuiton/io/FileUpdaterHelper.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,7 +1,7 @@
/*
* *##%
* Maven helper plugin
- * Copyright (C) 2009 CodeLutin
+ * Copyright (C) 2009 - 2010 CodeLutin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
Modified: trunk/src/main/java/org/nuiton/io/MirroredFileUpdater.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/MirroredFileUpdater.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/main/java/org/nuiton/io/MirroredFileUpdater.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,7 +1,7 @@
/*
* *##%
* Maven helper plugin
- * Copyright (C) 2009 CodeLutin
+ * Copyright (C) 2009 - 2010 CodeLutin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
Modified: trunk/src/main/java/org/nuiton/io/PropertiesDateRemoveFilterStream.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/PropertiesDateRemoveFilterStream.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/main/java/org/nuiton/io/PropertiesDateRemoveFilterStream.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * Maven helper plugin
+ * Copyright (C) 2009 - 2010 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * ##%*
+ */
package org.nuiton.io;
import java.io.FilterOutputStream;
Modified: trunk/src/main/java/org/nuiton/io/SortedProperties.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/SortedProperties.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/main/java/org/nuiton/io/SortedProperties.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * Maven helper plugin
+ * Copyright (C) 2009 - 2010 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * ##%*
+ */
package org.nuiton.io;
import org.nuiton.plugin.*;
Modified: trunk/src/main/java/org/nuiton/io/mail/MailSender.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/mail/MailSender.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/main/java/org/nuiton/io/mail/MailSender.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,7 +1,7 @@
/*
* *##%
* Maven helper plugin
- * Copyright (C) 2009 CodeLutin
+ * Copyright (C) 2009 - 2010 CodeLutin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
Modified: trunk/src/main/java/org/nuiton/io/mail/ProjectJavamailMailSender.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/mail/ProjectJavamailMailSender.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/main/java/org/nuiton/io/mail/ProjectJavamailMailSender.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,7 +1,7 @@
/*
* *##%
* Maven helper plugin
- * Copyright (C) 2009 CodeLutin
+ * Copyright (C) 2009 - 2010 CodeLutin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
Modified: trunk/src/main/java/org/nuiton/io/rest/DefaultRestClientConfiguration.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/rest/DefaultRestClientConfiguration.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/main/java/org/nuiton/io/rest/DefaultRestClientConfiguration.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,7 +1,7 @@
/*
* *##%
* Maven helper plugin
- * Copyright (C) 2009 CodeLutin
+ * Copyright (C) 2009 - 2010 CodeLutin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
Modified: trunk/src/main/java/org/nuiton/io/rest/RestClient.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/rest/RestClient.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/main/java/org/nuiton/io/rest/RestClient.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,7 +1,7 @@
/*
* *##%
* Maven helper plugin
- * Copyright (C) 2009 CodeLutin
+ * Copyright (C) 2009 - 2010 CodeLutin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
Modified: trunk/src/main/java/org/nuiton/io/rest/RestClientConfiguration.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/rest/RestClientConfiguration.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/main/java/org/nuiton/io/rest/RestClientConfiguration.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,7 +1,7 @@
/*
* *##%
* Maven helper plugin
- * Copyright (C) 2009 CodeLutin
+ * Copyright (C) 2009 - 2010 CodeLutin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
Modified: trunk/src/main/java/org/nuiton/io/rest/RestDataNotFoundException.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/rest/RestDataNotFoundException.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/main/java/org/nuiton/io/rest/RestDataNotFoundException.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,7 +1,7 @@
/*
* *##%
* Maven helper plugin
- * Copyright (C) 2009 CodeLutin
+ * Copyright (C) 2009 - 2010 CodeLutin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
Modified: trunk/src/main/java/org/nuiton/io/rest/RestException.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/rest/RestException.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/main/java/org/nuiton/io/rest/RestException.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,7 +1,7 @@
/*
* *##%
* Maven helper plugin
- * Copyright (C) 2009 CodeLutin
+ * Copyright (C) 2009 - 2010 CodeLutin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
Modified: trunk/src/main/java/org/nuiton/io/rest/RestRequest.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/rest/RestRequest.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/main/java/org/nuiton/io/rest/RestRequest.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,7 +1,7 @@
/*
* *##%
* Maven helper plugin
- * Copyright (C) 2009 CodeLutin
+ * Copyright (C) 2009 - 2010 CodeLutin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
Modified: trunk/src/main/java/org/nuiton/io/rest/RestRequestBuilder.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/rest/RestRequestBuilder.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/main/java/org/nuiton/io/rest/RestRequestBuilder.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,7 +1,7 @@
/*
* *##%
* Maven helper plugin
- * Copyright (C) 2009 CodeLutin
+ * Copyright (C) 2009 - 2010 CodeLutin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
Modified: trunk/src/main/java/org/nuiton/io/rest/RestSession.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/rest/RestSession.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/main/java/org/nuiton/io/rest/RestSession.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,7 +1,7 @@
/*
* *##%
* Maven helper plugin
- * Copyright (C) 2009 CodeLutin
+ * Copyright (C) 2009 - 2010 CodeLutin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
Modified: trunk/src/main/java/org/nuiton/io/xpp3/AbstractXpp3Reader.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/xpp3/AbstractXpp3Reader.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/main/java/org/nuiton/io/xpp3/AbstractXpp3Reader.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,7 +1,7 @@
/*
* *##%
* Maven helper plugin
- * Copyright (C) 2009 CodeLutin
+ * Copyright (C) 2009 - 2010 CodeLutin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
Modified: trunk/src/main/java/org/nuiton/io/xpp3/DataConverter.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/xpp3/DataConverter.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/main/java/org/nuiton/io/xpp3/DataConverter.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,7 +1,7 @@
/*
* *##%
* Maven helper plugin
- * Copyright (C) 2009 CodeLutin
+ * Copyright (C) 2009 - 2010 CodeLutin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
Modified: trunk/src/main/java/org/nuiton/io/xpp3/DefaultDataConverter.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/xpp3/DefaultDataConverter.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/main/java/org/nuiton/io/xpp3/DefaultDataConverter.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,7 +1,7 @@
/*
* *##%
- * JRedmine client
- * Copyright (C) 2009 CodeLutin
+ * Maven helper plugin
+ * Copyright (C) 2009 - 2010 CodeLutin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
@@ -84,4 +84,4 @@
return t;
}
}
-}
\ No newline at end of file
+}
Modified: trunk/src/main/java/org/nuiton/io/xpp3/PropertyMapper.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/xpp3/PropertyMapper.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/main/java/org/nuiton/io/xpp3/PropertyMapper.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,7 +1,7 @@
/*
* *##%
* Maven helper plugin
- * Copyright (C) 2009 CodeLutin
+ * Copyright (C) 2009 - 2010 CodeLutin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
Modified: trunk/src/main/java/org/nuiton/io/xpp3/Xpp3Helper.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/xpp3/Xpp3Helper.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/main/java/org/nuiton/io/xpp3/Xpp3Helper.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,7 +1,7 @@
/*
* *##%
* Maven helper plugin
- * Copyright (C) 2009 CodeLutin
+ * Copyright (C) 2009 - 2010 CodeLutin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
Modified: trunk/src/main/java/org/nuiton/io/xpp3/Xpp3Reader.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/xpp3/Xpp3Reader.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/main/java/org/nuiton/io/xpp3/Xpp3Reader.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,7 +1,7 @@
/*
* *##%
* Maven helper plugin
- * Copyright (C) 2009 CodeLutin
+ * Copyright (C) 2009 - 2010 CodeLutin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
Modified: trunk/src/main/java/org/nuiton/plugin/AbstractPlugin.java
===================================================================
--- trunk/src/main/java/org/nuiton/plugin/AbstractPlugin.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/main/java/org/nuiton/plugin/AbstractPlugin.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,7 +1,7 @@
/*
* *##%
* Maven helper plugin
- * Copyright (C) 2009 CodeLutin
+ * Copyright (C) 2009 - 2010 CodeLutin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
Modified: trunk/src/main/java/org/nuiton/plugin/DependencyUtil.java
===================================================================
--- trunk/src/main/java/org/nuiton/plugin/DependencyUtil.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/main/java/org/nuiton/plugin/DependencyUtil.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,7 +1,7 @@
/*
* *##%
* Maven helper plugin
- * Copyright (C) 2009 CodeLutin
+ * Copyright (C) 2009 - 2010 CodeLutin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
Modified: trunk/src/main/java/org/nuiton/plugin/Plugin.java
===================================================================
--- trunk/src/main/java/org/nuiton/plugin/Plugin.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/main/java/org/nuiton/plugin/Plugin.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,7 +1,7 @@
/*
* *##%
* Maven helper plugin
- * Copyright (C) 2009 CodeLutin
+ * Copyright (C) 2009 - 2010 CodeLutin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
Modified: trunk/src/main/java/org/nuiton/plugin/PluginHelper.java
===================================================================
--- trunk/src/main/java/org/nuiton/plugin/PluginHelper.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/main/java/org/nuiton/plugin/PluginHelper.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,7 +1,7 @@
/*
* *##%
* Maven helper plugin
- * Copyright (C) 2009 CodeLutin
+ * Copyright (C) 2009 - 2010 CodeLutin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
Modified: trunk/src/main/java/org/nuiton/plugin/PluginIOContext.java
===================================================================
--- trunk/src/main/java/org/nuiton/plugin/PluginIOContext.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/main/java/org/nuiton/plugin/PluginIOContext.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,7 +1,7 @@
/*
* *##%
* Maven helper plugin
- * Copyright (C) 2009 CodeLutin
+ * Copyright (C) 2009 - 2010 CodeLutin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
Modified: trunk/src/main/java/org/nuiton/plugin/VelocityTemplateGenerator.java
===================================================================
--- trunk/src/main/java/org/nuiton/plugin/VelocityTemplateGenerator.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/main/java/org/nuiton/plugin/VelocityTemplateGenerator.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,7 +1,7 @@
/*
* *##%
* Maven helper plugin
- * Copyright (C) 2009 CodeLutin
+ * Copyright (C) 2009 - 2010 CodeLutin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
Modified: trunk/src/test/java/org/nuiton/helper/plugin/SendEmailMojoTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/helper/plugin/SendEmailMojoTest.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/test/java/org/nuiton/helper/plugin/SendEmailMojoTest.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,7 +1,7 @@
/*
* *##%
* Maven helper plugin
- * Copyright (C) 2009 CodeLutin
+ * Copyright (C) 2009 - 2010 CodeLutin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
Modified: trunk/src/test/java/org/nuiton/io/JavaFileUpdaterTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/io/JavaFileUpdaterTest.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/test/java/org/nuiton/io/JavaFileUpdaterTest.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,7 +1,7 @@
/*
* *##%
* Maven helper plugin
- * Copyright (C) 2009 CodeLutin
+ * Copyright (C) 2009 - 2010 CodeLutin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
Modified: trunk/src/test/java/org/nuiton/io/JaxxFileUpdaterTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/io/JaxxFileUpdaterTest.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/test/java/org/nuiton/io/JaxxFileUpdaterTest.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,7 +1,7 @@
/*
* *##%
* Maven helper plugin
- * Copyright (C) 2009 CodeLutin
+ * Copyright (C) 2009 - 2010 CodeLutin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
Modified: trunk/src/test/java/org/nuiton/io/xpp3/Identity.java
===================================================================
--- trunk/src/test/java/org/nuiton/io/xpp3/Identity.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/test/java/org/nuiton/io/xpp3/Identity.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * Maven helper plugin
+ * Copyright (C) 2009 - 2010 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * ##%*
+ */
package org.nuiton.io.xpp3;
import java.beans.PropertyChangeListener;
Modified: trunk/src/test/java/org/nuiton/io/xpp3/IdentityXpp3Reader.java
===================================================================
--- trunk/src/test/java/org/nuiton/io/xpp3/IdentityXpp3Reader.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/test/java/org/nuiton/io/xpp3/IdentityXpp3Reader.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * Maven helper plugin
+ * Copyright (C) 2009 - 2010 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * ##%*
+ */
package org.nuiton.io.xpp3;
import java.beans.IntrospectionException;
Modified: trunk/src/test/java/org/nuiton/io/xpp3/Xpp3HelperTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/io/xpp3/Xpp3HelperTest.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/test/java/org/nuiton/io/xpp3/Xpp3HelperTest.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * Maven helper plugin
+ * Copyright (C) 2009 - 2010 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * ##%*
+ */
package org.nuiton.io.xpp3;
import org.junit.Assert;
Modified: trunk/src/test/java/org/nuiton/io/xpp3/Xpp3ReaderTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/io/xpp3/Xpp3ReaderTest.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/test/java/org/nuiton/io/xpp3/Xpp3ReaderTest.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * Maven helper plugin
+ * Copyright (C) 2009 - 2010 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * ##%*
+ */
package org.nuiton.io.xpp3;
import org.junit.Assert;
Modified: trunk/src/test/java/org/nuiton/plugin/AbstractMojoTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/plugin/AbstractMojoTest.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/test/java/org/nuiton/plugin/AbstractMojoTest.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,7 +1,7 @@
/*
* *##%
* Maven helper plugin
- * Copyright (C) 2009 CodeLutin
+ * Copyright (C) 2009 - 2010 CodeLutin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
Modified: trunk/src/test/java/org/nuiton/plugin/PluginHelperTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/plugin/PluginHelperTest.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/test/java/org/nuiton/plugin/PluginHelperTest.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,3 +1,23 @@
+/*
+ * *##%
+ * Maven helper plugin
+ * Copyright (C) 2009 - 2010 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * ##%*
+ */
package org.nuiton.plugin;
import org.junit.Assert;
Modified: trunk/src/test/java/org/nuiton/plugin/TestHelper.java
===================================================================
--- trunk/src/test/java/org/nuiton/plugin/TestHelper.java 2010-04-09 19:07:07 UTC (rev 687)
+++ trunk/src/test/java/org/nuiton/plugin/TestHelper.java 2010-04-09 19:10:49 UTC (rev 688)
@@ -1,7 +1,7 @@
/*
* *##%
* Maven helper plugin
- * Copyright (C) 2009 CodeLutin
+ * Copyright (C) 2009 - 2010 CodeLutin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
1
0
r687 - in trunk/src: main/java/org/nuiton/helper/plugin main/java/org/nuiton/io main/java/org/nuiton/io/mail main/java/org/nuiton/io/rest main/java/org/nuiton/io/xpp3 main/java/org/nuiton/plugin test/java/org/nuiton/io test/java/org/nuiton/plugin test/resources/org/nuiton/io
by tchemit@users.nuiton.org 09 Apr '10
by tchemit@users.nuiton.org 09 Apr '10
09 Apr '10
Author: tchemit
Date: 2010-04-09 21:07:07 +0200 (Fri, 09 Apr 2010)
New Revision: 687
Log:
fix author + always pass in verbose mode in mojo when maven logger is in debug
Modified:
trunk/src/main/java/org/nuiton/helper/plugin/ShareServerSecretPlugin.java
trunk/src/main/java/org/nuiton/io/FileUpdater.java
trunk/src/main/java/org/nuiton/io/FileUpdaterHelper.java
trunk/src/main/java/org/nuiton/io/MirroredFileUpdater.java
trunk/src/main/java/org/nuiton/io/SortedProperties.java
trunk/src/main/java/org/nuiton/io/mail/MailSender.java
trunk/src/main/java/org/nuiton/io/mail/ProjectJavamailMailSender.java
trunk/src/main/java/org/nuiton/io/rest/DefaultRestClientConfiguration.java
trunk/src/main/java/org/nuiton/io/rest/RestClient.java
trunk/src/main/java/org/nuiton/io/rest/RestClientConfiguration.java
trunk/src/main/java/org/nuiton/io/rest/RestDataNotFoundException.java
trunk/src/main/java/org/nuiton/io/rest/RestException.java
trunk/src/main/java/org/nuiton/io/rest/RestRequest.java
trunk/src/main/java/org/nuiton/io/rest/RestRequestBuilder.java
trunk/src/main/java/org/nuiton/io/rest/RestSession.java
trunk/src/main/java/org/nuiton/io/xpp3/AbstractXpp3Reader.java
trunk/src/main/java/org/nuiton/io/xpp3/DataConverter.java
trunk/src/main/java/org/nuiton/io/xpp3/DefaultDataConverter.java
trunk/src/main/java/org/nuiton/io/xpp3/PropertyMapper.java
trunk/src/main/java/org/nuiton/io/xpp3/Xpp3Helper.java
trunk/src/main/java/org/nuiton/io/xpp3/Xpp3Reader.java
trunk/src/main/java/org/nuiton/plugin/AbstractPlugin.java
trunk/src/main/java/org/nuiton/plugin/DependencyUtil.java
trunk/src/main/java/org/nuiton/plugin/Plugin.java
trunk/src/main/java/org/nuiton/plugin/PluginHelper.java
trunk/src/main/java/org/nuiton/plugin/PluginIOContext.java
trunk/src/main/java/org/nuiton/plugin/VelocityTemplateGenerator.java
trunk/src/test/java/org/nuiton/io/JavaFileUpdaterTest.java
trunk/src/test/java/org/nuiton/io/JaxxFileUpdaterTest.java
trunk/src/test/java/org/nuiton/plugin/AbstractMojoTest.java
trunk/src/test/java/org/nuiton/plugin/TestHelper.java
trunk/src/test/resources/org/nuiton/io/JavaDummy.java
trunk/src/test/resources/org/nuiton/io/JaxxDummy.java
Modified: trunk/src/main/java/org/nuiton/helper/plugin/ShareServerSecretPlugin.java
===================================================================
--- trunk/src/main/java/org/nuiton/helper/plugin/ShareServerSecretPlugin.java 2010-04-09 16:27:54 UTC (rev 686)
+++ trunk/src/main/java/org/nuiton/helper/plugin/ShareServerSecretPlugin.java 2010-04-09 19:07:07 UTC (rev 687)
@@ -25,7 +25,7 @@
* passphraseOut
* </pre>
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
* @goal share-server-secret
* @phase initialize
* @requiresProject true
Modified: trunk/src/main/java/org/nuiton/io/FileUpdater.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/FileUpdater.java 2010-04-09 16:27:54 UTC (rev 686)
+++ trunk/src/main/java/org/nuiton/io/FileUpdater.java 2010-04-09 19:07:07 UTC (rev 687)
@@ -27,7 +27,7 @@
* <p/>
* use {@link #isFileUpToDate(java.io.File)} to determine if a file is up to date.
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
*/
public interface FileUpdater {
Modified: trunk/src/main/java/org/nuiton/io/FileUpdaterHelper.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/FileUpdaterHelper.java 2010-04-09 16:27:54 UTC (rev 686)
+++ trunk/src/main/java/org/nuiton/io/FileUpdaterHelper.java 2010-04-09 19:07:07 UTC (rev 687)
@@ -22,7 +22,7 @@
import java.io.File;
-/** @author chemit */
+/** @author tchemit <chemit(a)codelutin.com> */
public class FileUpdaterHelper {
static public MirroredFileUpdater newJavaFileUpdater() {
@@ -44,7 +44,7 @@
/**
* To test if a java source file is newser than his compiled class
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
*/
public static class JavaFileUpdater extends MirroredFileUpdater {
@@ -63,7 +63,7 @@
/**
* To test if a jaxx source file is newser than his generated java source file
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
*/
public static class JaxxFileUpdater extends MirroredFileUpdater {
Modified: trunk/src/main/java/org/nuiton/io/MirroredFileUpdater.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/MirroredFileUpdater.java 2010-04-09 16:27:54 UTC (rev 686)
+++ trunk/src/main/java/org/nuiton/io/MirroredFileUpdater.java 2010-04-09 19:07:07 UTC (rev 687)
@@ -28,7 +28,7 @@
/**
* Simple base implementation of a {@link FileUpdater} for an updater with a sourcedir and a destinationdir.
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
*/
public class MirroredFileUpdater implements FileUpdater {
Modified: trunk/src/main/java/org/nuiton/io/SortedProperties.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/SortedProperties.java 2010-04-09 16:27:54 UTC (rev 686)
+++ trunk/src/main/java/org/nuiton/io/SortedProperties.java 2010-04-09 19:07:07 UTC (rev 687)
@@ -18,7 +18,7 @@
* Permet d'avoir les fichiers de proprietes tries.
*
* @author julien
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
*/
public class SortedProperties extends Properties {
Modified: trunk/src/main/java/org/nuiton/io/mail/MailSender.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/mail/MailSender.java 2010-04-09 16:27:54 UTC (rev 686)
+++ trunk/src/main/java/org/nuiton/io/mail/MailSender.java 2010-04-09 19:07:07 UTC (rev 687)
@@ -26,7 +26,7 @@
* Note : this code was stolen in {@code maven-changes-plugin}, should thanks
* them...
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
* @since 1.0.3
*/
public class MailSender {
Modified: trunk/src/main/java/org/nuiton/io/mail/ProjectJavamailMailSender.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/mail/ProjectJavamailMailSender.java 2010-04-09 16:27:54 UTC (rev 686)
+++ trunk/src/main/java/org/nuiton/io/mail/ProjectJavamailMailSender.java 2010-04-09 19:07:07 UTC (rev 687)
@@ -46,7 +46,7 @@
* Note : this code was stolen in {@code maven-changes-plugin}, should thanks
* them...
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
* @since 1.0.3
*/
public class ProjectJavamailMailSender
Modified: trunk/src/main/java/org/nuiton/io/rest/DefaultRestClientConfiguration.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/rest/DefaultRestClientConfiguration.java 2010-04-09 16:27:54 UTC (rev 686)
+++ trunk/src/main/java/org/nuiton/io/rest/DefaultRestClientConfiguration.java 2010-04-09 19:07:07 UTC (rev 687)
@@ -28,7 +28,7 @@
/**
* Default implementation of a {@link RestClientConfiguration}.
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
* @since 1.0.3
*/
public class DefaultRestClientConfiguration implements RestClientConfiguration {
Modified: trunk/src/main/java/org/nuiton/io/rest/RestClient.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/rest/RestClient.java 2010-04-09 16:27:54 UTC (rev 686)
+++ trunk/src/main/java/org/nuiton/io/rest/RestClient.java 2010-04-09 19:07:07 UTC (rev 687)
@@ -31,7 +31,7 @@
/**
* Abtract REST client.
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
* @since 1.0.3
*/
public abstract class RestClient {
Modified: trunk/src/main/java/org/nuiton/io/rest/RestClientConfiguration.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/rest/RestClientConfiguration.java 2010-04-09 16:27:54 UTC (rev 686)
+++ trunk/src/main/java/org/nuiton/io/rest/RestClientConfiguration.java 2010-04-09 19:07:07 UTC (rev 687)
@@ -25,7 +25,7 @@
/**
* Contract of a {@link RestClient}.
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
* @since 1.0.3
*/
public interface RestClientConfiguration {
Modified: trunk/src/main/java/org/nuiton/io/rest/RestDataNotFoundException.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/rest/RestDataNotFoundException.java 2010-04-09 16:27:54 UTC (rev 686)
+++ trunk/src/main/java/org/nuiton/io/rest/RestDataNotFoundException.java 2010-04-09 19:07:07 UTC (rev 687)
@@ -24,7 +24,7 @@
* Exception to be raised if a data does not exist ina 'askData' request, says
* when the rest server returns a {@code 4XX} status code.
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
* @since 1.0.3
*/
public class RestDataNotFoundException extends RestException {
Modified: trunk/src/main/java/org/nuiton/io/rest/RestException.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/rest/RestException.java 2010-04-09 16:27:54 UTC (rev 686)
+++ trunk/src/main/java/org/nuiton/io/rest/RestException.java 2010-04-09 19:07:07 UTC (rev 687)
@@ -23,7 +23,7 @@
/**
* Base exception for any excpeiton in rest service.
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
* @since 1.0.3
*/
public class RestException extends Exception {
Modified: trunk/src/main/java/org/nuiton/io/rest/RestRequest.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/rest/RestRequest.java 2010-04-09 16:27:54 UTC (rev 686)
+++ trunk/src/main/java/org/nuiton/io/rest/RestRequest.java 2010-04-09 19:07:07 UTC (rev 687)
@@ -26,7 +26,7 @@
/**
* The contract of a rest request.
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
* @since 1.0.3
*/
public interface RestRequest {
Modified: trunk/src/main/java/org/nuiton/io/rest/RestRequestBuilder.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/rest/RestRequestBuilder.java 2010-04-09 16:27:54 UTC (rev 686)
+++ trunk/src/main/java/org/nuiton/io/rest/RestRequestBuilder.java 2010-04-09 19:07:07 UTC (rev 687)
@@ -23,7 +23,7 @@
/**
* The contract of a request builder.
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
* @since 1.0.3
*/
public interface RestRequestBuilder {
Modified: trunk/src/main/java/org/nuiton/io/rest/RestSession.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/rest/RestSession.java 2010-04-09 16:27:54 UTC (rev 686)
+++ trunk/src/main/java/org/nuiton/io/rest/RestSession.java 2010-04-09 19:07:07 UTC (rev 687)
@@ -49,7 +49,7 @@
/**
* A REST session.
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
* @since 1.0.3
*/
public class RestSession {
Modified: trunk/src/main/java/org/nuiton/io/xpp3/AbstractXpp3Reader.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/xpp3/AbstractXpp3Reader.java 2010-04-09 16:27:54 UTC (rev 686)
+++ trunk/src/main/java/org/nuiton/io/xpp3/AbstractXpp3Reader.java 2010-04-09 19:07:07 UTC (rev 687)
@@ -49,7 +49,7 @@
* <p/>
* If you want to do something more complex, override these methods.
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
* @param <O> the type of object to be build by the reader
* @see PropertyMapper
* @see Xpp3Reader
Modified: trunk/src/main/java/org/nuiton/io/xpp3/DataConverter.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/xpp3/DataConverter.java 2010-04-09 16:27:54 UTC (rev 686)
+++ trunk/src/main/java/org/nuiton/io/xpp3/DataConverter.java 2010-04-09 19:07:07 UTC (rev 687)
@@ -26,7 +26,7 @@
* We does not here use the commons-beans classes, since we could have different
* types of converter for a same type....
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
* @since 1.0.3
*/
public interface DataConverter {
Modified: trunk/src/main/java/org/nuiton/io/xpp3/DefaultDataConverter.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/xpp3/DefaultDataConverter.java 2010-04-09 16:27:54 UTC (rev 686)
+++ trunk/src/main/java/org/nuiton/io/xpp3/DefaultDataConverter.java 2010-04-09 19:07:07 UTC (rev 687)
@@ -24,7 +24,7 @@
* A enumaration to convert some data from a string representation.
* <p/>
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
* @since 1.0.0
*/
public enum DefaultDataConverter implements DataConverter {
Modified: trunk/src/main/java/org/nuiton/io/xpp3/PropertyMapper.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/xpp3/PropertyMapper.java 2010-04-09 16:27:54 UTC (rev 686)
+++ trunk/src/main/java/org/nuiton/io/xpp3/PropertyMapper.java 2010-04-09 19:07:07 UTC (rev 687)
@@ -46,7 +46,7 @@
* <li>{@link Xpp3Helper#addAttributeValueMappers(Class, org.nuiton.io.xpp3.DataConverter, boolean, java.util.Map, String...)}</li>
* </ul>
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
* @since 1.0.3
*/
public abstract class PropertyMapper {
Modified: trunk/src/main/java/org/nuiton/io/xpp3/Xpp3Helper.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/xpp3/Xpp3Helper.java 2010-04-09 16:27:54 UTC (rev 686)
+++ trunk/src/main/java/org/nuiton/io/xpp3/Xpp3Helper.java 2010-04-09 19:07:07 UTC (rev 687)
@@ -52,7 +52,7 @@
* In this class, there is some methods to obtain a discovered {@link Xpp3Reader}
* registred by a {@link ServiceLoader} mecanism.
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
* @see Xpp3Reader
* @since 1.0.3
*/
Modified: trunk/src/main/java/org/nuiton/io/xpp3/Xpp3Reader.java
===================================================================
--- trunk/src/main/java/org/nuiton/io/xpp3/Xpp3Reader.java 2010-04-09 16:27:54 UTC (rev 686)
+++ trunk/src/main/java/org/nuiton/io/xpp3/Xpp3Reader.java 2010-04-09 19:07:07 UTC (rev 687)
@@ -40,7 +40,7 @@
* See {@link Xpp3Helper#getReader(java.lang.Class)} and
* {@link Xpp3Helper#getReaders()}.
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
* @param <O> the type of object to be build by the reader.
* @since 1.0.3
*/
Modified: trunk/src/main/java/org/nuiton/plugin/AbstractPlugin.java
===================================================================
--- trunk/src/main/java/org/nuiton/plugin/AbstractPlugin.java 2010-04-09 16:27:54 UTC (rev 686)
+++ trunk/src/main/java/org/nuiton/plugin/AbstractPlugin.java 2010-04-09 19:07:07 UTC (rev 687)
@@ -40,7 +40,7 @@
/**
* Base mojo with usefull methods and implementing {@link Plugin} contract.
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
*/
public abstract class AbstractPlugin extends AbstractMojo implements Plugin {
@@ -72,12 +72,18 @@
public final void execute() throws MojoExecutionException,
MojoFailureException {
try {
+ if (getLog().isDebugEnabled()) {
+
+ // always be verbose in debug mode
+ setVerbose(true);
+ }
+
// check if project packaging is compatible with the mojo
boolean canContinue = checkPackaging();
if (!canContinue) {
getLog().warn("The goal is skip due to packaging '" +
- getProject().getPackaging() + "'");
+ getProject().getPackaging() + "'");
return;
}
@@ -90,7 +96,7 @@
} catch (Exception e) {
throw new MojoExecutionException(
"could not init goal " + getClass().getSimpleName() +
- " for reason : " + e.getMessage(), e);
+ " for reason : " + e.getMessage(), e);
}
// check if mojo can be skipped
@@ -112,7 +118,7 @@
} catch (Exception e) {
throw new MojoExecutionException(
"could not execute goal " + getClass().getSimpleName() +
- " for reason : " + e.getMessage(), e);
+ " for reason : " + e.getMessage(), e);
}
} finally {
afterExecute();
@@ -134,11 +140,11 @@
* <p/>
* <b>Tip:</b> There is two method to simplify the packaging check :
* <p/>
- * {@link #acceptPackaging(Packaging...)}
+ * {@link #acceptPackaging(Plugin.Packaging...)}
* <p/>
* and
* <p/>
- * {@link #rejectPackaging(Packaging...)}
+ * {@link #rejectPackaging(Plugin.Packaging...)}
*
* @return {@code true} if can execute the goal for the packaging of the
* project, {@code false} otherwise.
@@ -493,7 +499,7 @@
srcDir.getPath())) {
if (isVerbose()) {
getLog().info("adding test source roots : " +
- srcDir.getPath());
+ srcDir.getPath());
}
getProject().addTestCompileSourceRoot(srcDir.getPath());
}
@@ -510,7 +516,7 @@
srcDir.getPath())) {
if (isVerbose()) {
getLog().info("removing test source roots : " +
- srcDir.getPath());
+ srcDir.getPath());
}
getProject().getTestCompileSourceRoots().remove(srcDir.getPath());
}
@@ -526,10 +532,10 @@
*/
protected void addResourceDir(File dir, String... includes) {
boolean added = PluginHelper.addResourceDir(dir, getProject(),
- includes);
+ includes);
if (added && isVerbose()) {
getLog().info("add resource " + dir + " with includes " +
- Arrays.toString(includes));
+ Arrays.toString(includes));
}
}
@@ -546,7 +552,7 @@
dir, getProject(), includes);
if (added && isVerbose()) {
getLog().info("add test resource " + dir + " with includes " +
- Arrays.toString(includes));
+ Arrays.toString(includes));
}
}
@@ -697,7 +703,7 @@
} catch (IOException e) {
throw new RuntimeException(
"Can't create ClassLoader for reason " +
- e.getMessage(), e);
+ e.getMessage(), e);
}
loader = result;
} else {
@@ -706,7 +712,7 @@
lUrls.add(src.toURI().toURL());
}
loader = new URLClassLoader(lUrls.toArray(new URL[lUrls.size()]),
- getClass().getClassLoader());
+ getClass().getClassLoader());
}
if (isVerbose()) {
for (URL entry : loader.getURLs()) {
Modified: trunk/src/main/java/org/nuiton/plugin/DependencyUtil.java
===================================================================
--- trunk/src/main/java/org/nuiton/plugin/DependencyUtil.java 2010-04-09 16:27:54 UTC (rev 686)
+++ trunk/src/main/java/org/nuiton/plugin/DependencyUtil.java 2010-04-09 19:07:07 UTC (rev 687)
@@ -32,7 +32,7 @@
/**
* Une classe de methodes utiles sur les dependences entre artifacts.
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
* @since 0.5
*/
public class DependencyUtil {
Modified: trunk/src/main/java/org/nuiton/plugin/Plugin.java
===================================================================
--- trunk/src/main/java/org/nuiton/plugin/Plugin.java 2010-04-09 16:27:54 UTC (rev 686)
+++ trunk/src/main/java/org/nuiton/plugin/Plugin.java 2010-04-09 19:07:07 UTC (rev 687)
@@ -28,7 +28,7 @@
* <p/>
* Just expose a {@link #isVerbose()} flag and the maven project {@link #getProject()}.
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
* @since 1.0.3
*/
public interface Plugin extends Mojo {
Modified: trunk/src/main/java/org/nuiton/plugin/PluginHelper.java
===================================================================
--- trunk/src/main/java/org/nuiton/plugin/PluginHelper.java 2010-04-09 16:27:54 UTC (rev 686)
+++ trunk/src/main/java/org/nuiton/plugin/PluginHelper.java 2010-04-09 19:07:07 UTC (rev 687)
@@ -38,7 +38,7 @@
/**
* Une classe pour mutualiser toutes les méthodes utiles pour un plugin.
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
*/
public class PluginHelper {
Modified: trunk/src/main/java/org/nuiton/plugin/PluginIOContext.java
===================================================================
--- trunk/src/main/java/org/nuiton/plugin/PluginIOContext.java 2010-04-09 16:27:54 UTC (rev 686)
+++ trunk/src/main/java/org/nuiton/plugin/PluginIOContext.java 2010-04-09 19:07:07 UTC (rev 687)
@@ -30,7 +30,7 @@
* En sortie, on ne peut avoir qu'un seul répertoire ({@link #output}.
*
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
* @since 1.0.1
*/
public class PluginIOContext {
Modified: trunk/src/main/java/org/nuiton/plugin/VelocityTemplateGenerator.java
===================================================================
--- trunk/src/main/java/org/nuiton/plugin/VelocityTemplateGenerator.java 2010-04-09 16:27:54 UTC (rev 686)
+++ trunk/src/main/java/org/nuiton/plugin/VelocityTemplateGenerator.java 2010-04-09 19:07:07 UTC (rev 687)
@@ -50,7 +50,7 @@
/**
* Generator of template base on velocity.
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
* @since 1.3
*
* TODO TC-20091011 should use plexus velocity component
Modified: trunk/src/test/java/org/nuiton/io/JavaFileUpdaterTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/io/JavaFileUpdaterTest.java 2010-04-09 16:27:54 UTC (rev 686)
+++ trunk/src/test/java/org/nuiton/io/JavaFileUpdaterTest.java 2010-04-09 19:07:07 UTC (rev 687)
@@ -34,7 +34,7 @@
/**
* Test of a {@link JavaFileUpdater} on the test sourcepath and test-classpath
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
*/
public class JavaFileUpdaterTest {
Modified: trunk/src/test/java/org/nuiton/io/JaxxFileUpdaterTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/io/JaxxFileUpdaterTest.java 2010-04-09 16:27:54 UTC (rev 686)
+++ trunk/src/test/java/org/nuiton/io/JaxxFileUpdaterTest.java 2010-04-09 19:07:07 UTC (rev 687)
@@ -34,7 +34,7 @@
/**
* Test of a {@link JaxxFileUpdater} on the test sourcepath
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
*/
public class JaxxFileUpdaterTest {
Modified: trunk/src/test/java/org/nuiton/plugin/AbstractMojoTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/plugin/AbstractMojoTest.java 2010-04-09 16:27:54 UTC (rev 686)
+++ trunk/src/test/java/org/nuiton/plugin/AbstractMojoTest.java 2010-04-09 19:07:07 UTC (rev 687)
@@ -59,7 +59,7 @@
* #createMojo(File, String)}</li> <li>{@link #setUpMojo(Plugin, File)}</li>
* </ul>
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
* @param <P> type of goal to test
* @since 1.0.3
*/
Modified: trunk/src/test/java/org/nuiton/plugin/TestHelper.java
===================================================================
--- trunk/src/test/java/org/nuiton/plugin/TestHelper.java 2010-04-09 16:27:54 UTC (rev 686)
+++ trunk/src/test/java/org/nuiton/plugin/TestHelper.java 2010-04-09 19:07:07 UTC (rev 687)
@@ -30,7 +30,7 @@
import java.io.File;
/**
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
* @since 1.0.3
*/
public abstract class TestHelper extends PluginHelper {
Modified: trunk/src/test/resources/org/nuiton/io/JavaDummy.java
===================================================================
--- trunk/src/test/resources/org/nuiton/io/JavaDummy.java 2010-04-09 16:27:54 UTC (rev 686)
+++ trunk/src/test/resources/org/nuiton/io/JavaDummy.java 2010-04-09 19:07:07 UTC (rev 687)
@@ -20,7 +20,7 @@
*/
package org.nuiton.io;
-/** @author chemit */
+/** @author tchemit <chemit(a)codelutin.com> */
public class JavaDummy {
/**
* A dummy file to test {@link org.nuiton.util.FileUpdaterHelper.JavaFileUpdater} in {@link JavaFileUpdaterTest}
Modified: trunk/src/test/resources/org/nuiton/io/JaxxDummy.java
===================================================================
--- trunk/src/test/resources/org/nuiton/io/JaxxDummy.java 2010-04-09 16:27:54 UTC (rev 686)
+++ trunk/src/test/resources/org/nuiton/io/JaxxDummy.java 2010-04-09 19:07:07 UTC (rev 687)
@@ -20,7 +20,7 @@
*/
package org.nuiton.io;
-/** @author chemit */
+/** @author tchemit <chemit(a)codelutin.com> */
public class JaxxDummy {
/**
* A dummy file to test {@link org.nuiton.util.FileUpdaterHelper.JaxxFileUpdater} in {@link JaxxFileUpdaterTest}
1
0
Author: tchemit
Date: 2010-04-09 18:27:54 +0200 (Fri, 09 Apr 2010)
New Revision: 686
Log:
add checkPattern method
Modified:
trunk/src/test/java/org/nuiton/plugin/AbstractMojoTest.java
Modified: trunk/src/test/java/org/nuiton/plugin/AbstractMojoTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/plugin/AbstractMojoTest.java 2010-04-08 20:03:59 UTC (rev 685)
+++ trunk/src/test/java/org/nuiton/plugin/AbstractMojoTest.java 2010-04-09 16:27:54 UTC (rev 686)
@@ -35,7 +35,11 @@
import java.beans.Introspector;
import java.io.File;
+import java.io.IOException;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertTrue;
+
/**
* Base test class for a mojo.
* <p/>
@@ -238,6 +242,52 @@
}
/**
+ * Checks on the given {@code file} that :
+ * <ul>
+ * <li>file exists</li>
+ * <li>the given {@code pattern} exists {@code required = true}
+ * (or not {@code required = false}) in the content of the file.</li>
+ * </ul>
+ *
+ * @param file the file to test
+ * @param pattern the pattern to search
+ * @param encoding encoding of the file to read
+ * @param required flag to says if pattern should (or not) be found in
+ * file's content
+ * @throws IOException if could not read file
+ */
+ public void checkExistsPattern(File file,
+ String pattern,
+ String encoding,
+ boolean required) throws IOException {
+
+ // checks file exists
+ assertTrue("File '" + file + "' does not exist, but should...",
+ file.exists()
+ );
+
+ //obtain file content as a string
+ String content = PluginHelper.readAsString(file, encoding);
+
+ checkPattern(file, content, pattern, required);
+ }
+
+ public void checkPattern(File file,
+ String content,
+ String pattern,
+ boolean required) throws IOException {
+
+ String errorMessage = required ? "could not find the pattern : " :
+ "should not have found pattern :";
+
+ // checks pattern found (or not) in file's content
+ assertEquals(errorMessage + pattern + " in '" + file + "'",
+ required,
+ content.contains(pattern)
+ );
+ }
+
+ /**
* To offer inside each test method (annotated by a {@link Test}) the
* following properties :
* <p/>
1
0
Author: tchemit
Date: 2010-04-08 22:03:59 +0200 (Thu, 08 Apr 2010)
New Revision: 685
Log:
reformat
Modified:
trunk/src/main/java/org/nuiton/plugin/AbstractPlugin.java
Modified: trunk/src/main/java/org/nuiton/plugin/AbstractPlugin.java
===================================================================
--- trunk/src/main/java/org/nuiton/plugin/AbstractPlugin.java 2010-04-06 15:13:56 UTC (rev 684)
+++ trunk/src/main/java/org/nuiton/plugin/AbstractPlugin.java 2010-04-08 20:03:59 UTC (rev 685)
@@ -322,8 +322,8 @@
protected void getFilesToTreateForRoots(
String[] includes,
String[] excludes,
- List<String> roots, Map<File,
- String[]> files,
+ List<String> roots,
+ Map<File, String[]> files,
MirroredFileUpdater updater) {
DirectoryScanner ds = new DirectoryScanner();
1
0
Author: tchemit
Date: 2010-04-06 17:13:56 +0200 (Tue, 06 Apr 2010)
New Revision: 684
Log:
move deprecated code in 1.1.1 + reformar code
Modified:
trunk/src/main/java/org/nuiton/plugin/AbstractPlugin.java
trunk/src/main/java/org/nuiton/plugin/PluginHelper.java
Modified: trunk/src/main/java/org/nuiton/plugin/AbstractPlugin.java
===================================================================
--- trunk/src/main/java/org/nuiton/plugin/AbstractPlugin.java 2010-04-06 15:03:30 UTC (rev 683)
+++ trunk/src/main/java/org/nuiton/plugin/AbstractPlugin.java 2010-04-06 15:13:56 UTC (rev 684)
@@ -69,53 +69,57 @@
protected abstract void doAction() throws Exception;
@Override
- public final void execute() throws MojoExecutionException, MojoFailureException {
+ public final void execute() throws MojoExecutionException,
+ MojoFailureException {
try {
- // check if project packaging is compatible with the mojo
+ // check if project packaging is compatible with the mojo
- boolean canContinue = checkPackaging();
- if (!canContinue) {
- getLog().warn("The goal is skip due to packaging '" + getProject().getPackaging() + "'");
- return;
- }
+ boolean canContinue = checkPackaging();
+ if (!canContinue) {
+ getLog().warn("The goal is skip due to packaging '" +
+ getProject().getPackaging() + "'");
+ return;
+ }
- // init the mojo
+ // init the mojo
- try {
+ try {
- init();
+ init();
- } catch (Exception e) {
- throw new MojoExecutionException("could not init goal " + getClass().getSimpleName() + " for reason : " + e.getMessage(), e);
- }
+ } catch (Exception e) {
+ throw new MojoExecutionException(
+ "could not init goal " + getClass().getSimpleName() +
+ " for reason : " + e.getMessage(), e);
+ }
- // check if mojo can be skipped
+ // check if mojo can be skipped
- canContinue = checkSkip();
- if (!canContinue) {
- if (isVerbose() || getLog().isDebugEnabled()) {
- getLog().info("Goal will not be executed.");
+ canContinue = checkSkip();
+ if (!canContinue) {
+ if (isVerbose() || getLog().isDebugEnabled()) {
+ getLog().info("Goal will not be executed.");
+ }
+ return;
}
- return;
- }
- // can really execute the mojo
+ // can really execute the mojo
- try {
+ try {
- doAction();
+ doAction();
- } catch (Exception e) {
- throw new MojoExecutionException("could not execute goal " + getClass().getSimpleName() + " for reason : " + e.getMessage(), e);
- }
+ } catch (Exception e) {
+ throw new MojoExecutionException(
+ "could not execute goal " + getClass().getSimpleName() +
+ " for reason : " + e.getMessage(), e);
+ }
} finally {
afterExecute();
}
}
- /**
- * A call back to execute after the {@link #execute()} is done
- */
+ /** A call back to execute after the {@link #execute()} is done */
protected void afterExecute() {
// by default do nothing
}
@@ -130,11 +134,11 @@
* <p/>
* <b>Tip:</b> There is two method to simplify the packaging check :
* <p/>
- * {@link #acceptPackaging(org.nuiton.plugin.Plugin.Packaging...)}
+ * {@link #acceptPackaging(Packaging...)}
* <p/>
* and
* <p/>
- * {@link #rejectPackaging(org.nuiton.plugin.Plugin.Packaging...)}
+ * {@link #rejectPackaging(Packaging...)}
*
* @return {@code true} if can execute the goal for the packaging of the
* project, {@code false} otherwise.
@@ -192,9 +196,7 @@
return true;
}
- /**
- * @return {@code true} if project is the root execution project
- */
+ /** @return {@code true} if project is the root execution project */
protected boolean isExecutionRoot() {
return getProject().isExecutionRoot();
}
@@ -208,7 +210,10 @@
* @param newStartTime the current build start time
* @return {@code true} if the goal was already invoked
*/
- protected boolean checkRunOnceDone(boolean runOnce, boolean onlyForRoot, Date buildStartTime, Date newStartTime) {
+ protected boolean checkRunOnceDone(boolean runOnce,
+ boolean onlyForRoot,
+ Date buildStartTime,
+ Date newStartTime) {
if (!runOnce) {
// will run each time
@@ -286,7 +291,9 @@
* @param encoding the enconding of the file
* @throws IOException if any pb while writing the content into the file
*/
- public void writeFile(File destFile, String content, String encoding) throws IOException {
+ public void writeFile(File destFile,
+ String content,
+ String encoding) throws IOException {
PluginHelper.writeString(destFile, content, encoding);
}
@@ -384,9 +391,12 @@
* @param updater an updater (will give the mirrored files)
* @return the map of mirrored files associated to their files in srcDir
*/
- protected Map<String, String> getFilesToTreate(String[] includes, String[] excludes, File srcDir, MirroredFileUpdater updater) {
+ protected Map<String, String> getFilesToTreate(String[] includes,
+ String[] excludes,
+ File srcDir,
+ MirroredFileUpdater updater) {
- Map<String, String> result = new java.util.TreeMap<String, String>();
+ Map<String, String> result = new TreeMap<String, String>();
DirectoryScanner ds = new DirectoryScanner();
ds.setIncludes(includes);
@@ -479,86 +489,68 @@
* @param srcDir the location to include in test compile source roots
*/
protected void addTestCompileSourceRoots(File srcDir) {
- if (!getProject().getTestCompileSourceRoots().contains(srcDir.getPath())) {
+ if (!getProject().getTestCompileSourceRoots().contains(
+ srcDir.getPath())) {
if (isVerbose()) {
- getLog().info("adding test source roots : " + srcDir.getPath());
+ getLog().info("adding test source roots : " +
+ srcDir.getPath());
}
getProject().addTestCompileSourceRoot(srcDir.getPath());
}
}
/**
- * Remove a given directory in maven project's test compile source roots (if
- * present).
+ * Remove a given directory in maven project's test compile source roots
+ * (if present).
*
* @param srcDir the location to remove from test compile source roots
*/
protected void removeTestCompileSourceRoots(File srcDir) {
- if (getProject().getTestCompileSourceRoots().contains(srcDir.getPath())) {
+ if (getProject().getTestCompileSourceRoots().contains(
+ srcDir.getPath())) {
if (isVerbose()) {
- getLog().info("removing test source roots : " + srcDir.getPath());
+ getLog().info("removing test source roots : " +
+ srcDir.getPath());
}
getProject().getTestCompileSourceRoots().remove(srcDir.getPath());
}
}
/**
- * Add a new resource location to the maven project (in not already present).
+ * Add a new resource location to the maven project
+ * (in not already present).
*
* @param dir the new resource location to add
* @param includes files to include
* @since 1.1.1
*/
protected void addResourceDir(File dir, String... includes) {
- boolean added = PluginHelper.addResourceDir(dir, getProject(), includes);
+ boolean added = PluginHelper.addResourceDir(dir, getProject(),
+ includes);
if (added && isVerbose()) {
- getLog().info("add resource " + dir + " with includes " + Arrays.toString(includes));
+ getLog().info("add resource " + dir + " with includes " +
+ Arrays.toString(includes));
}
}
/**
- * Add a new test resource location to the maven project (in not already present).
+ * Add a new test resource location to the maven project
+ * (in not already present).
*
* @param dir the new resource location to add
* @param includes files to include
* @since 1.1.1
*/
protected void addTestResourceDir(File dir, String... includes) {
- boolean added = PluginHelper.addTestResourceDir(dir, getProject(), includes);
+ boolean added = PluginHelper.addTestResourceDir(
+ dir, getProject(), includes);
if (added && isVerbose()) {
- getLog().info("add test resource " + dir + " with includes " + Arrays.toString(includes));
+ getLog().info("add test resource " + dir + " with includes " +
+ Arrays.toString(includes));
}
}
/**
- * Add a new resource location to the maven project (in not already present).
- *
- * @param dir the new resource location to add
- * @deprecated since 1.1.1, prefer use the method {@link #addResourceDir(java.io.File, String...)}
- */
- @Deprecated
- protected void addResourceDir(String dir) {
- boolean added = PluginHelper.addResourceDir(dir, getProject());
- if (added) {
- getLog().info("add resource " + dir);
- }
- }
-
- /**
- * Add a new test resource location to the maven project (in not already present).
- *
- * @param dir the new resource location to add
- * @deprecated since 1.1.1, prefer use the method {@link #addTestResourceDir(java.io.File, String...)}
- */
- @Deprecated
- protected void addTestResourceDir(String dir) {
- boolean added = PluginHelper.addTestResourceDir(dir, getProject());
- if (added) {
- getLog().info("add test resource " + dir);
- }
- }
-
- /**
* Create the directory if necessary.
*
* @param dir the directory to create if not already existing
@@ -594,16 +586,16 @@
PluginHelper.deleteFile(file);
}
- /**
+ /**
* Rename the given file to the destination one.
*
- * @param file the file to rename
+ * @param file the file to rename
* @param destination the destination of the file
* @throws IOException if could not delete the file
* @since 1.2.0
*/
- protected void renameFile(File file,File destination) throws IOException {
- PluginHelper.renameFile(file,destination);
+ protected void renameFile(File file, File destination) throws IOException {
+ PluginHelper.renameFile(file, destination);
}
@@ -616,7 +608,7 @@
}
/**
- * Backups the given file using the {@link #getBackupFile(java.io.File)} as
+ * Backups the given file using the {@link #getBackupFile(File)} as
* destination file.
*
* @param f the file to backup
@@ -641,7 +633,14 @@
* @throws MalformedURLException if an url was not correct
*/
@SuppressWarnings({"unchecked"})
- protected URLClassLoader initClassLoader(MavenProject project, File src, boolean addSourcesToClassPath, boolean testPhase, boolean addResourcesToClassPath, boolean addCompileClassPath, boolean addProjectClassPath) throws MalformedURLException {
+ protected URLClassLoader initClassLoader(
+ MavenProject project,
+ File src,
+ boolean addSourcesToClassPath,
+ boolean testPhase,
+ boolean addResourcesToClassPath,
+ boolean addCompileClassPath,
+ boolean addProjectClassPath) throws MalformedURLException {
URLClassLoader loader;
if (project != null) {
@@ -657,19 +656,25 @@
addDirectoryToUrlsList(new File(source), lUrls, dones);
}
if (testPhase) {
- for (Object source : project.getTestCompileSourceRoots()) {
- addDirectoryToUrlsList(new File(source.toString()), lUrls, dones);
+ for (Object source :
+ project.getTestCompileSourceRoots()) {
+ addDirectoryToUrlsList(
+ new File(source.toString()), lUrls, dones);
}
}
}
if (addResourcesToClassPath) {
for (Object source : project.getResources()) {
Resource r = (Resource) source;
- addDirectoryToUrlsList(new File(r.getDirectory()), lUrls, dones);
+ addDirectoryToUrlsList(
+ new File(r.getDirectory()), lUrls, dones);
}
}
if (testPhase && addCompileClassPath) {
- addDirectoryToUrlsList(new File(project.getBuild().getOutputDirectory()), lUrls, dones);
+ addDirectoryToUrlsList(
+ new File(project.getBuild().getOutputDirectory()),
+ lUrls,
+ dones);
}
if (src != null) {
addDirectoryToUrlsList(src, lUrls, dones);
@@ -684,10 +689,15 @@
}
}
- result = new URLClassLoader(lUrls.toArray(new URL[lUrls.size()]), getClass().getClassLoader());
+ result = new URLClassLoader(
+ lUrls.toArray(new URL[lUrls.size()]),
+ getClass().getClassLoader()
+ );
} catch (IOException e) {
- throw new RuntimeException("Can't create ClassLoader for reason " + e.getMessage(), e);
+ throw new RuntimeException(
+ "Can't create ClassLoader for reason " +
+ e.getMessage(), e);
}
loader = result;
} else {
@@ -695,7 +705,8 @@
if (addSourcesToClassPath) {
lUrls.add(src.toURI().toURL());
}
- loader = new URLClassLoader(lUrls.toArray(new URL[lUrls.size()]), getClass().getClassLoader());
+ loader = new URLClassLoader(lUrls.toArray(new URL[lUrls.size()]),
+ getClass().getClassLoader());
}
if (isVerbose()) {
for (URL entry : loader.getURLs()) {
@@ -709,7 +720,7 @@
* Add the given {@code directory} in {@code urls} if not already included.
* <p/>
* <b>Note:</b> We use a extra list to store file string representation, since
- * we do NOT want any url resolution and the {@link URL#equals(java.lang.Object)} is
+ * we do NOT want any url resolution and the {@link URL#equals(Object)} is
* doing some...
*
* @param directory the directory to insert in {@code urls}
@@ -718,17 +729,21 @@
* @throws MalformedURLException if pb while converting file to url
* @since 1.1.0
*/
- protected void addDirectoryToUrlsList(File directory, List<URL> urls, Set<String> done) throws MalformedURLException {
- // do the comparaison on a String to avoid url to be resolved (in URL.equals method)
+ protected void addDirectoryToUrlsList(
+ File directory,
+ List<URL> urls,
+ Set<String> done) throws MalformedURLException {
+ // do the comparaison on a String to avoid url to be resolved
+ // (in URL.equals method)
addUrlToUrlsList(directory.toURI().toURL(), urls, done);
}
/**
* Add the given {@code url} in {@code urls} if not already included.
* <p/>
- * <b>Note:</b> We use a extra list to store file string representation, since
- * we do NOT want any url resolution and the {@link URL#equals(java.lang.Object)} is
- * doing some..
+ * <b>Note:</b> We use a extra list to store file string representation,
+ * since we do NOT want any url resolution and the
+ * {@link URL#equals(Object)} is doing some..
*
* @param url the url to insert in {@code urls}
* @param urls list of urls
@@ -736,7 +751,8 @@
* @since 1.1.0
*/
protected void addUrlToUrlsList(URL url, List<URL> urls, Set<String> done) {
- // do the comparaison on a String to avoid url to be resolved (in URL.equals method)
+ // do the comparaison on a String to avoid url to be resolved
+ // (in URL.equals method)
String u = url.toString();
if (!done.contains(u)) {
done.add(u);
@@ -749,7 +765,8 @@
*
* @param f the required resource file.
* @return the url of the resource
- * @throws IOException for any error while looking up for the url of the resources
+ * @throws IOException for any error while looking up for the url of
+ * the resources
*/
protected URL getTemplate(File f) throws IOException {
URL r = null;
@@ -765,7 +782,8 @@
* Check that the given resource exists in a simple fs file or in the classPath.
*
* @param f the required resource file.
- * @throws IOException for any error while looking up for the resources content.
+ * @throws IOException for any error while looking up for the resources
+ * content.
*/
protected void checkResource(File f) throws IOException {
if (!f.exists()) {
Modified: trunk/src/main/java/org/nuiton/plugin/PluginHelper.java
===================================================================
--- trunk/src/main/java/org/nuiton/plugin/PluginHelper.java 2010-04-06 15:03:30 UTC (rev 683)
+++ trunk/src/main/java/org/nuiton/plugin/PluginHelper.java 2010-04-06 15:13:56 UTC (rev 684)
@@ -82,7 +82,7 @@
if (!type.isAssignableFrom(o.getClass())) {
throw new IllegalArgumentException(
"can not cast List with object of type " +
- o.getClass() + " to " + type + " type!");
+ o.getClass() + " to " + type + " type!");
}
}
return (List<O>) list;
@@ -120,8 +120,7 @@
tmp *= sign;
String result;
- result = MessageFormat.format("{0,number,0.###}{1}", tmp,
- unites[i]);
+ result = MessageFormat.format("{0,number,0.###}{1}", tmp, unites[i]);
return result;
}
@@ -276,69 +275,6 @@
}
/**
- * @param newresourceDir the new resource directory to add
- * @param project the maven project to modifiy
- * @return {@code true} if resources was added
- * @deprecated since 1.1.1, prefer use the {@link #addResourceDir(File,
- * MavenProject, String...)}
- */
- @Deprecated
- public static boolean addResourceDir(String newresourceDir,
- MavenProject project) {
- List<?> resources = project.getResources();
- boolean added = addResourceDir(newresourceDir, project, resources);
- return added;
- }
-
- /**
- * @param newresourceDir the new resource directory to add
- * @param project the maven project to modifiy
- * @return {@code true} if resources was added
- * @deprecated since 1.1.1, prefer use the {@link #addTestResourceDir(File,
- * MavenProject, String...)}
- */
- @Deprecated
- public static boolean addTestResourceDir(String newresourceDir,
- MavenProject project) {
- List<?> resources = project.getTestResources();
- boolean added = addResourceDir(newresourceDir, project, resources);
- return added;
- }
-
- /**
- * @param newresourceDir the new resource directory to add
- * @param project the maven project to modifiy
- * @param resources the known resources for the maven project
- * @return {@code true} if resources was added
- * @deprecated since 1.1.1, prefer use the {@link #addResourceDir(File,
- * MavenProject, List, String...)}
- */
- @Deprecated
- public static boolean addResourceDir(String newresourceDir,
- MavenProject project,
- List<?> resources) {
- boolean shouldAdd = true;
- for (Object o : resources) {
- Resource r = (Resource) o;
- if (!r.getDirectory().equals(newresourceDir)) {
- continue;
- }
- r.addInclude("**/*.properties");
- r.addInclude("**/*.txt");
- shouldAdd = false;
- break;
- }
- if (shouldAdd) {
- Resource r = new Resource();
- r.setDirectory(newresourceDir);
- r.addInclude("**/*.properties");
- r.addInclude("**/*.txt");
- project.addResource(r);
- }
- return shouldAdd;
- }
-
- /**
* Cretae the directory (and his parents) if necessary.
*
* @param dir the directory to create if not exisiting
@@ -414,7 +350,7 @@
if (!b) {
throw new IOException(
"could not changed lastModified [" + lastModified +
- "] for " + file);
+ "] for " + file);
}
}
@@ -670,6 +606,15 @@
return result.toArray(new URL[result.size()]);
}
+ /**
+ * suffix a given {@code baseUrl} with the given {@code suffix}
+ *
+ * @param baseUrl base url to use
+ * @param suffix suffix to add
+ * @return the new url
+ * @throws IllegalArgumentException if malformed url.
+ * @since 1.2.3
+ */
public static URL getUrl(URL baseUrl,
String suffix) throws IllegalArgumentException {
String url = baseUrl.toString() + "/" + suffix;
1
0
Author: tchemit
Date: 2010-04-06 17:03:30 +0200 (Tue, 06 Apr 2010)
New Revision: 683
Log:
add getUrl in PluginHelper
Modified:
trunk/src/main/java/org/nuiton/plugin/PluginHelper.java
Modified: trunk/src/main/java/org/nuiton/plugin/PluginHelper.java
===================================================================
--- trunk/src/main/java/org/nuiton/plugin/PluginHelper.java 2010-04-04 10:21:09 UTC (rev 682)
+++ trunk/src/main/java/org/nuiton/plugin/PluginHelper.java 2010-04-06 15:03:30 UTC (rev 683)
@@ -27,6 +27,7 @@
import org.codehaus.plexus.util.IOUtil;
import java.io.*;
+import java.net.MalformedURLException;
import java.net.URL;
import java.text.MessageFormat;
import java.util.*;
@@ -668,4 +669,15 @@
}
return result.toArray(new URL[result.size()]);
}
+
+ public static URL getUrl(URL baseUrl,
+ String suffix) throws IllegalArgumentException {
+ String url = baseUrl.toString() + "/" + suffix;
+ try {
+ return new URL(url);
+ } catch (MalformedURLException ex) {
+ throw new IllegalArgumentException(
+ "could not obtain url " + url, ex);
+ }
+ }
}
1
0
Author: tchemit
Date: 2010-04-04 12:21:09 +0200 (Sun, 04 Apr 2010)
New Revision: 682
Log:
improve tests
Modified:
trunk/src/test/java/org/nuiton/plugin/AbstractMojoTest.java
trunk/src/test/java/org/nuiton/plugin/PluginHelperTest.java
trunk/src/test/java/org/nuiton/plugin/TestHelper.java
Modified: trunk/src/test/java/org/nuiton/plugin/AbstractMojoTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/plugin/AbstractMojoTest.java 2010-04-04 10:18:46 UTC (rev 681)
+++ trunk/src/test/java/org/nuiton/plugin/AbstractMojoTest.java 2010-04-04 10:21:09 UTC (rev 682)
@@ -20,9 +20,6 @@
*/
package org.nuiton.plugin;
-import java.beans.Introspector;
-import java.io.File;
-
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.maven.plugin.Mojo;
@@ -30,34 +27,32 @@
import org.apache.maven.project.MavenProject;
import org.apache.maven.project.MavenProjectBuilder;
import org.apache.maven.project.ProjectBuilderConfiguration;
-import org.junit.rules.TestName;
-import org.junit.Rule;
import org.junit.Assert;
+import org.junit.Rule;
+import org.junit.Test;
+import org.junit.rules.TestName;
import org.junit.runners.model.FrameworkMethod;
+import java.beans.Introspector;
+import java.io.File;
+
/**
* Base test class for a mojo.
* <p/>
- * <b>Note:</b> replace the previous class
- * {@code org.nuiton.util.BasePluginTestCase}.
+ * <b>Note:</b> replace the previous class {@code org.nuiton.util.BasePluginTestCase}.
* <p/>
* Inside each test method, we can use the following objects :
* <p/>
- * <ul>
- * <li>{@link #getTestDir()} : location of mojo resources (where the pom file for example)</li>
- * <li>{@link #getPomFile()} : location of the pom file</li>
- * <li>{@link #getMojo()} : the instanciated and ready to execute mojo</li>
- * </ul>
+ * <ul> <li>{@link #getTestDir()} : location of mojo resources (where the pom
+ * file for example)</li> <li>{@link #getPomFile()} : location of the pom
+ * file</li> <li>{@link #getMojo()} : the instanciated and ready to execute
+ * mojo</li> </ul>
* <p/>
* To change the behaviour of initialization of mojo, you can override the
- * following methods :
- * <ul>
- * <li>{@link #getBasedir()} </li>
- * <li>{@link #getTestBasedir()} </li>
- * <li>{@link #getTestDir(java.lang.String, java.lang.String)}</li>
- * <li>{@link #getPomFile(java.io.File, java.lang.String, java.lang.String)}</li>
- * <li>{@link #createMojo(java.io.File, java.lang.String)}</li>
- * <li>{@link #setUpMojo(org.nuiton.plugin.Plugin, java.io.File)}</li>
+ * following methods : <ul> <li>{@link #getBasedir()} </li> <li>{@link
+ * #getTestBasedir()} </li> <li>{@link #getTestDir(String, String)}</li>
+ * <li>{@link #getPomFile(File, String, String)}</li> <li>{@link
+ * #createMojo(File, String)}</li> <li>{@link #setUpMojo(Plugin, File)}</li>
* </ul>
*
* @author chemit
@@ -66,19 +61,15 @@
*/
public abstract class AbstractMojoTest<P extends Plugin> {
- /**
- * Test logger
- */
+ /** Test logger */
protected static final Log log = LogFactory.getLog(AbstractMojoTest.class);
- /**
- * the basedir of the project
- */
+
+ /** the basedir of the project */
protected static File basedir;
- /**
- * the basedir of all tests (by convention
- * {@code getBasedir()/target/test-classes}).
- */
+
+ /** the basedir of all tests (by convention {@code getBasedir()/target/test-classes}). */
protected static File testBasedir;
+
/**
* Your test rule which offers methodName, testDir, pomFile and mojo inside
* test methods.
@@ -98,7 +89,10 @@
public File getTestBasedir() {
if (testBasedir == null) {
- testBasedir = TestHelper.getFile(getBasedir(), "target", "test-classes");
+ testBasedir = TestHelper.getFile(getBasedir(),
+ "target",
+ "test-classes"
+ );
if (log.isDebugEnabled()) {
log.debug("testBasedir = " + testBasedir);
}
@@ -138,9 +132,10 @@
*/
protected File getTestDir(String methodName, String goalName) {
- //TC-20091101 use a decipatilize simple name to avoid conflict of package with
- // existing class name.
- String rep = getClass().getPackage().getName() + "." + Introspector.decapitalize(getClass().getSimpleName());
+ //TC-20091101 use a decipatilize simple name to avoid conflict of
+ // package with existing class name.
+ String rep = getClass().getPackage().getName() + "." +
+ Introspector.decapitalize(getClass().getSimpleName());
rep = rep.replaceAll("\\.", File.separator);
File testDir = new File(getTestBasedir(), rep);
if (isVerbose()) {
@@ -158,8 +153,9 @@
* By default, the pom file is the file with name {@code methodName+".xml"}
* in the {@code testDir}.
*
- * @param testDir the location of resources for the next test (is the result
- * of the method {@link #getTestDir(java.lang.String, java.lang.String)}.
+ * @param testDir the location of resources for the next test (is the
+ * result of the method {@link #getTestDir(String,
+ * String)}.
* @param methodName the name of the next test
* @param goalName the name of the common goal
* @return the location of the pom file for the next mojo test.
@@ -177,8 +173,8 @@
}
/**
- * Create the mojo base on the given {@code pomFile} for the
- * given {@code goalName}.
+ * Create the mojo base on the given {@code pomFile} for the given {@code
+ * goalName}.
*
* @param pomFile the location of the pom file
* @param goalName the name of the goal to lookup
@@ -205,8 +201,12 @@
if (project == null) {
log.debug("init maven project");
- MavenProjectBuilder projectBuilder = (MavenProjectBuilder) TestHelper.getDelegateMojoTest().getContainer().lookup(MavenProjectBuilder.ROLE);
- ProjectBuilderConfiguration projectBuilderConfiguration = new DefaultProjectBuilderConfiguration();
+ MavenProjectBuilder projectBuilder = (MavenProjectBuilder)
+ TestHelper.getDelegateMojoTest().getContainer().lookup(
+ MavenProjectBuilder.ROLE
+ );
+ ProjectBuilderConfiguration projectBuilderConfiguration =
+ new DefaultProjectBuilderConfiguration();
project = projectBuilder.build(pomFile, projectBuilderConfiguration);
// project = new MavenProject();
@@ -238,28 +238,23 @@
}
/**
- * To offer inside each test method (annotated by a {@link org.junit.Test}) the
+ * To offer inside each test method (annotated by a {@link Test}) the
* following properties :
* <p/>
- * <ul>
- * <li>{@link #testDir} : location where to find resources for the test</li>
- * <li>{@link #pomFile} : location of the pom file to use to build the mojo</li>
- * <li>{@link #mojo} : the instanciated and initialized mojo</li>
- * </ul>
+ * <ul> <li>{@link #testDir} : location where to find resources for the
+ * test</li> <li>{@link #pomFile} : location of the pom file to use to build
+ * the mojo</li> <li>{@link #mojo} : the instanciated and initialized
+ * mojo</li> </ul>
*/
protected class MojoTestRule extends TestName {
- /**
- * location of the pom to use
- */
+ /** location of the pom to use */
private File pomFile;
- /**
- * the mojo to used in the test method (based on the {@link #pomFile}).
- */
+
+ /** the mojo to used in the test method (based on the {@link #pomFile}). */
private P mojo;
- /**
- * the directory where the resources of the test are
- */
+
+ /** the directory where the resources of the test are */
private File testDir;
public MojoTestRule() {
@@ -275,7 +270,8 @@
if (isVerbose()) {
log.info("==============================================================================================");
}
- log.info("NEW Mojo test starting : " + getTestClass().getName() + "#" + getMethodName());
+ log.info("NEW Mojo test starting : " + getTestClass().getName() +
+ "#" + getMethodName());
String goalName = getGoalName(name.getMethodName());
@@ -284,14 +280,17 @@
pomFile = getTest().getPomFile(testDir, getMethodName(), goalName);
try {
- Assert.assertTrue("could not find pom " + pomFile.getAbsoluteFile(), pomFile.exists());
+ Assert.assertTrue("could not find pom " +
+ pomFile.getAbsoluteFile(), pomFile.exists());
mojo = createMojo(pomFile, goalName);
getTest().setUpMojo(mojo, pomFile);
} catch (Exception ex) {
- throw new IllegalStateException("could not init test " + getClass() + " - " + getMethodName() + " for reason " + ex.getMessage(), ex);
+ throw new IllegalStateException(
+ "could not init test " + getClass() + " - " +
+ getMethodName() + " for reason " + ex.getMessage(), ex);
}
}
Modified: trunk/src/test/java/org/nuiton/plugin/PluginHelperTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/plugin/PluginHelperTest.java 2010-04-04 10:18:46 UTC (rev 681)
+++ trunk/src/test/java/org/nuiton/plugin/PluginHelperTest.java 2010-04-04 10:21:09 UTC (rev 682)
@@ -23,10 +23,8 @@
Assert.assertNotNull(lines);
Assert.assertEquals(1, lines.length);
Assert.assertEquals("file:///file.txt", lines[0]);
-
}
-
@Test
public void testGetLinesAsURL() throws Exception {
URL resource = getClass().getResource("urls.txt");
@@ -36,10 +34,8 @@
Assert.assertNotNull(urls);
Assert.assertEquals(1, urls.length);
Assert.assertEquals(new URL("file:///file.txt"), urls[0]);
-
}
-
@Test
public void testGetLinesAsFiles() throws Exception {
URL resource = getClass().getResource("urls.txt");
@@ -49,6 +45,6 @@
Assert.assertNotNull(files);
Assert.assertEquals(1, files.length);
Assert.assertEquals(new File("file:///file.txt"), files[0]);
-
}
+
}
Modified: trunk/src/test/java/org/nuiton/plugin/TestHelper.java
===================================================================
--- trunk/src/test/java/org/nuiton/plugin/TestHelper.java 2010-04-04 10:18:46 UTC (rev 681)
+++ trunk/src/test/java/org/nuiton/plugin/TestHelper.java 2010-04-04 10:21:09 UTC (rev 682)
@@ -83,11 +83,11 @@
}
public static DelegateMojoTestCase getDelegateMojoTest() throws Exception {
- if (TestHelper.delegateMojoTest == null) {
- TestHelper.delegateMojoTest = new DelegateMojoTestCase();
+ if (delegateMojoTest == null) {
+ delegateMojoTest = new DelegateMojoTestCase();
TestHelper.delegateMojoTest.setUp();
}
- return TestHelper.delegateMojoTest;
+ return delegateMojoTest;
}
public static void setDelegateMojoTest(DelegateMojoTestCase delegateMojoTest) {
1
0
Author: tchemit
Date: 2010-04-04 12:18:46 +0200 (Sun, 04 Apr 2010)
New Revision: 681
Log:
improve tests
Modified:
trunk/src/test/java/org/nuiton/io/JavaFileUpdaterTest.java
trunk/src/test/java/org/nuiton/io/JaxxFileUpdaterTest.java
Modified: trunk/src/test/java/org/nuiton/io/JavaFileUpdaterTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/io/JavaFileUpdaterTest.java 2010-04-04 10:15:24 UTC (rev 680)
+++ trunk/src/test/java/org/nuiton/io/JavaFileUpdaterTest.java 2010-04-04 10:18:46 UTC (rev 681)
@@ -20,13 +20,17 @@
*/
package org.nuiton.io;
-import org.nuiton.io.FileUpdaterHelper.JavaFileUpdater;
-import java.io.File;
import org.junit.BeforeClass;
import org.junit.Test;
+import org.nuiton.io.FileUpdaterHelper.JavaFileUpdater;
+import org.nuiton.plugin.PluginHelper;
import org.nuiton.plugin.TestHelper;
-import static org.junit.Assert.*;
+import java.io.File;
+
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertTrue;
+
/**
* Test of a {@link JavaFileUpdater} on the test sourcepath and test-classpath
*
@@ -35,7 +39,9 @@
public class JavaFileUpdaterTest {
static MirroredFileUpdater fileUpdater;
+
static File sourceFile;
+
static File mirrorFile;
@BeforeClass
@@ -86,13 +92,13 @@
// now rename mirror Class, so source file is no more up to date
File mirrorClassRenamed = new File(fileUpdater.getMirrorFile(sourceFile).getAbsolutePath() + "2");
- mirrorFile.renameTo(mirrorClassRenamed);
+ PluginHelper.renameFile(mirrorFile, mirrorClassRenamed);
// java file is no more up to date
assertFalse(sourceFile + " should not be uptodate", fileUpdater.isFileUpToDate(sourceFile));
// renmae mirror Class to his original name
- mirrorClassRenamed.renameTo(mirrorFile);
+ PluginHelper.renameFile(mirrorClassRenamed, mirrorFile);
// java file is now up to date (rename method does not affect lasmodified property on a file)
assertTrue(sourceFile + " should be uptodate", fileUpdater.isFileUpToDate(sourceFile));
@@ -111,13 +117,13 @@
long mirrorTime = mirrorFile.lastModified();
// make source file newer than mirror file
- sourceFile.setLastModified(mirrorTime + 10);
+ PluginHelper.setLastModified(sourceFile, mirrorTime + 10);
// java file is no more up to date
assertFalse(sourceFile + " should not be uptodate", fileUpdater.isFileUpToDate(sourceFile));
// put back old time to source file
- sourceFile.setLastModified(sourceTime);
+ PluginHelper.setLastModified(sourceFile, sourceTime);
// java file is now up to date (rename method does not affect lasmodified property on a file)
assertTrue(sourceFile + " should be uptodate", fileUpdater.isFileUpToDate(sourceFile));
Modified: trunk/src/test/java/org/nuiton/io/JaxxFileUpdaterTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/io/JaxxFileUpdaterTest.java 2010-04-04 10:15:24 UTC (rev 680)
+++ trunk/src/test/java/org/nuiton/io/JaxxFileUpdaterTest.java 2010-04-04 10:18:46 UTC (rev 681)
@@ -20,13 +20,17 @@
*/
package org.nuiton.io;
-import java.io.File;
import org.junit.BeforeClass;
import org.junit.Test;
import org.nuiton.io.FileUpdaterHelper.JaxxFileUpdater;
+import org.nuiton.plugin.PluginHelper;
import org.nuiton.plugin.TestHelper;
-import static org.junit.Assert.*;
+import java.io.File;
+
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertTrue;
+
/**
* Test of a {@link JaxxFileUpdater} on the test sourcepath
*
@@ -35,7 +39,9 @@
public class JaxxFileUpdaterTest {
static MirroredFileUpdater fileUpdater;
+
static File sourceFile;
+
static File mirrorFile;
@BeforeClass
@@ -73,7 +79,7 @@
// we do not know if jaxx file is newer than the dummy java source ?
- sourceFile.setLastModified(mirrorFile.lastModified() - 10);
+ PluginHelper.setLastModified(sourceFile, mirrorFile.lastModified() - 10);
// java file is up to date since it was compiled to launch this test
assertTrue(sourceFile + " should be uptodate", fileUpdater.isFileUpToDate(sourceFile));
@@ -92,13 +98,13 @@
// now rename mirror Class, so source file is no more up to date
File mirrorClassRenamed = new File(fileUpdater.getMirrorFile(sourceFile).getAbsolutePath() + "2");
- mirrorFile.renameTo(mirrorClassRenamed);
+ PluginHelper.renameFile(mirrorFile, mirrorClassRenamed);
// java file is no more up to date
assertFalse(sourceFile + " should not be uptodate", fileUpdater.isFileUpToDate(sourceFile));
// renmae mirror Class to his original name
- mirrorClassRenamed.renameTo(mirrorFile);
+ PluginHelper.renameFile(mirrorClassRenamed, mirrorFile);
// java file is now up to date (rename method does not affect lasmodified property on a file)
assertTrue(sourceFile + " should be uptodate", fileUpdater.isFileUpToDate(sourceFile));
@@ -119,13 +125,13 @@
long mirrorTime = mirrorFile.lastModified();
// make source file newer than mirror file
- sourceFile.setLastModified(mirrorTime + 10);
+ PluginHelper.setLastModified(sourceFile, mirrorTime + 10);
// java file is no more up to date
assertFalse(sourceFile + " should not be uptodate", fileUpdater.isFileUpToDate(sourceFile));
// put back old time to source file
- sourceFile.setLastModified(sourceTime);
+ PluginHelper.setLastModified(sourceFile, sourceTime);
// java file is now up to date (rename method does not affect lasmodified property on a file)
assertTrue(sourceFile + " should be uptodate", fileUpdater.isFileUpToDate(sourceFile));
1
0