Author: thimel Date: 2008-09-25 09:16:43 +0000 (Thu, 25 Sep 2008) New Revision: 319 Modified: maven-generator-plugin/trunk/changelog maven-generator-plugin/trunk/pom.xml maven-generator-plugin/trunk/src/main/java/org/codelutin/generator/plugin/CopyVersionFiles.java maven-generator-plugin/trunk/src/main/java/org/codelutin/generator/plugin/GeneratorPlugin.java maven-generator-plugin/trunk/src/main/java/org/codelutin/generator/plugin/Xmi2Model.java maven-generator-plugin/trunk/src/main/java/org/codelutin/generator/plugin/Xmi2ObjectModel.java maven-generator-plugin/trunk/src/main/java/org/codelutin/generator/plugin/Xmi2StateModel.java maven-generator-plugin/trunk/src/main/java/org/codelutin/generator/plugin/Zargo2Xmi.java Log: Switched LICENSE to LGPL Prepare deployment of version 0.51 Modified: maven-generator-plugin/trunk/changelog =================================================================== --- maven-generator-plugin/trunk/changelog 2008-09-25 09:01:56 UTC (rev 318) +++ maven-generator-plugin/trunk/changelog 2008-09-25 09:16:43 UTC (rev 319) @@ -1,4 +1,6 @@ -0.51 ??? ??? +0.51 thimel 20080925 + * 20080925 [thimel] Refactor pom using the correct architecture + * 20080925 [thimel] Switched License to LGPL * 20080723 [chemit] - add generated sources in maven project's compilation directories via addCompilationDirectory plugin property Modified: maven-generator-plugin/trunk/pom.xml =================================================================== --- maven-generator-plugin/trunk/pom.xml 2008-09-25 09:01:56 UTC (rev 318) +++ maven-generator-plugin/trunk/pom.xml 2008-09-25 09:16:43 UTC (rev 319) @@ -21,14 +21,14 @@ <packaging>maven-plugin</packaging> <!--Version--> - <version>0.51-SNAPSHOT</version> + <version>0.51</version> <!--Description--> <inceptionYear>2006</inceptionYear> - <!-- Properties --> + <!-- Properties --> <properties> - <!-- id du projet du labs --> + <!-- id du projet du labs --> <labs.id>39</labs.id> <!-- nom du projet sur le labs --> @@ -42,8 +42,7 @@ <scm> <connection>${maven.scm.connection}</connection> <developerConnection>${maven.scm.developerConnection}</developerConnection> - <!-- This does'nt work for viewcvs.php with stat-scm with svn conf :( - <url>${maven.scm.url}</url> --> + <url>${maven.scm.url}</url> </scm> <!--who the developers are for the project--> @@ -59,43 +58,34 @@ </contributor> </contributors> + <build> + <plugins> + <!-- plugin license-switcher --> + <plugin> + <groupId>org.codelutin</groupId> + <artifactId>maven-license-switcher-plugin</artifactId> + <version>0.2</version> + <executions> + <execution> + <goals> + <goal>license</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + <!--Librairies--> <dependencies> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-plugin-api</artifactId> - <version>2.0.9</version> - <scope>compile</scope> - </dependency> <dependency> <groupId>org.codelutin</groupId> <artifactId>lutingenerator</artifactId> - <version>0.51-SNAPSHOT</version> + <version>0.51</version> <scope>compile</scope> </dependency> - <dependency> - <groupId>org.apache.ant</groupId> - <artifactId>ant</artifactId> - <version>1.7.1</version> - <scope>compile</scope> - </dependency> - - <dependency> - <groupId>org.apache.ant</groupId> - <artifactId>ant-trax</artifactId> - <version>1.7.1</version> - <scope>compile</scope> - </dependency> - - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-project</artifactId> - <version>2.0.9</version> - <scope>compile</scope> - </dependency> - </dependencies> </project> Modified: maven-generator-plugin/trunk/src/main/java/org/codelutin/generator/plugin/CopyVersionFiles.java =================================================================== --- maven-generator-plugin/trunk/src/main/java/org/codelutin/generator/plugin/CopyVersionFiles.java 2008-09-25 09:01:56 UTC (rev 318) +++ maven-generator-plugin/trunk/src/main/java/org/codelutin/generator/plugin/CopyVersionFiles.java 2008-09-25 09:16:43 UTC (rev 319) @@ -1,20 +1,19 @@ -/* *##% - * Copyright (C) 2006 Code Lutin +/* *##% Plugin maven Generator + * Copyright (C) 2006 - 2008 CodeLutin * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. + * 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 Public License for more details. + * GNU General Lesser Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - *##%*/ + * 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.codelutin.generator.plugin; Modified: maven-generator-plugin/trunk/src/main/java/org/codelutin/generator/plugin/GeneratorPlugin.java =================================================================== --- maven-generator-plugin/trunk/src/main/java/org/codelutin/generator/plugin/GeneratorPlugin.java 2008-09-25 09:01:56 UTC (rev 318) +++ maven-generator-plugin/trunk/src/main/java/org/codelutin/generator/plugin/GeneratorPlugin.java 2008-09-25 09:16:43 UTC (rev 319) @@ -1,21 +1,19 @@ -/* *##% - * Copyright (C) 2006 - * Code Lutin, C?dric Pineau, Benjamin Poussin +/* *##% Plugin maven Generator + * Copyright (C) 2006 - 2008 CodeLutin * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. + * 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 Public License for more details. + * GNU General Lesser Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - *##%*/ + * 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>. ##%*/ /* * * GeneratorPlugin.java Modified: maven-generator-plugin/trunk/src/main/java/org/codelutin/generator/plugin/Xmi2Model.java =================================================================== --- maven-generator-plugin/trunk/src/main/java/org/codelutin/generator/plugin/Xmi2Model.java 2008-09-25 09:01:56 UTC (rev 318) +++ maven-generator-plugin/trunk/src/main/java/org/codelutin/generator/plugin/Xmi2Model.java 2008-09-25 09:16:43 UTC (rev 319) @@ -1,21 +1,19 @@ -/* *##% - * Copyright (C) 2006 - * Code Lutin, C?dric Pineau, Benjamin Poussin +/* *##% Plugin maven Generator + * Copyright (C) 2006 - 2008 CodeLutin * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. + * 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 Public License for more details. + * GNU General Lesser Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - *##%*/ + * 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>. ##%*/ /* * * Xmi2Model.java @@ -171,4 +169,4 @@ * @return the stylesheet */ protected abstract String getStyleSheet(); -} \ No newline at end of file +} Modified: maven-generator-plugin/trunk/src/main/java/org/codelutin/generator/plugin/Xmi2ObjectModel.java =================================================================== --- maven-generator-plugin/trunk/src/main/java/org/codelutin/generator/plugin/Xmi2ObjectModel.java 2008-09-25 09:01:56 UTC (rev 318) +++ maven-generator-plugin/trunk/src/main/java/org/codelutin/generator/plugin/Xmi2ObjectModel.java 2008-09-25 09:16:43 UTC (rev 319) @@ -1,3 +1,21 @@ +/* + * *##% Plugin maven Generator + * Copyright (C) 2006 - 2008 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.codelutin.generator.plugin; import org.apache.maven.plugin.MojoExecutionException; Modified: maven-generator-plugin/trunk/src/main/java/org/codelutin/generator/plugin/Xmi2StateModel.java =================================================================== --- maven-generator-plugin/trunk/src/main/java/org/codelutin/generator/plugin/Xmi2StateModel.java 2008-09-25 09:01:56 UTC (rev 318) +++ maven-generator-plugin/trunk/src/main/java/org/codelutin/generator/plugin/Xmi2StateModel.java 2008-09-25 09:16:43 UTC (rev 319) @@ -1,20 +1,19 @@ -/* *##% - * Copyright (C) 2006 Code Lutin +/* *##% Plugin maven Generator + * Copyright (C) 2006 - 2008 CodeLutin * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. + * 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 Public License for more details. + * GNU General Lesser Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - *##%*/ + * 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.codelutin.generator.plugin; Modified: maven-generator-plugin/trunk/src/main/java/org/codelutin/generator/plugin/Zargo2Xmi.java =================================================================== --- maven-generator-plugin/trunk/src/main/java/org/codelutin/generator/plugin/Zargo2Xmi.java 2008-09-25 09:01:56 UTC (rev 318) +++ maven-generator-plugin/trunk/src/main/java/org/codelutin/generator/plugin/Zargo2Xmi.java 2008-09-25 09:16:43 UTC (rev 319) @@ -1,21 +1,19 @@ -/* *##% - * Copyright (C) 2006 - * Code Lutin, C?dric Pineau, Benjamin Poussin +/* *##% Plugin maven Generator + * Copyright (C) 2006 - 2008 CodeLutin * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. + * 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 Public License for more details. + * GNU General Lesser Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - *##%*/ + * 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>. ##%*/ /* * * Zargo2Xmi.java