Author: nbelaevski
Date: 2007-08-17 08:50:36 -0400 (Fri, 17 Aug 2007)
New Revision: 2313
Modified:
trunk/pom.xml
Log:
eclipse-custom-templates profile added
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2007-08-17 12:40:50 UTC (rev 2312)
+++ trunk/pom.xml 2007-08-17 12:50:36 UTC (rev 2313)
@@ -128,6 +128,30 @@
<module>sandbox</module>
</modules>
</profile>
+ <profile>
+ <id>eclipse-custom-templates</id>
+<build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-eclipse-plugin</artifactId>
+ <groupId>org.apache.maven.plugins</groupId>
+ <configuration>
+ <additionalConfig>
+ <file>
+ <name>.settings/org.eclipse.jdt.ui.prefs</name>
+ <content>
+ <![CDATA[
+ eclipse.preferences.version=1
+ org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0"
encoding\="UTF-8" standalone\="no"?><templates><template
autoinsert\="false" context\="typecomment_context"
deleted\="false" description\="Comment for created types"
enabled\="true"
id\="org.eclipse.jdt.ui.text.codetemplates.typecomment"
name\="typecomment">/**\r\n * $${tags}\r\n * <br /><br
/>\r\n * \r\n * Created $${date}\r\n * @author $${user}\r\n * @since
${project.artifact.selectedVersion.majorVersion}.${project.artifact.selectedVersion.minorVersion}\r\n
*/\r\n</template><template autoinsert\="false"
context\="filecomment_context" deleted\="false"
description\="Comment for created Java files" enabled\="true"
id\="org.eclipse.jdt.ui.text.codetemplates.filecomment"
name\="filecomment">/**\r\n * License Agreement.\r\n *\r\n * JBoss RichFaces
- Ajax4jsf Component Library\r\n *\r\n * Copyright (C) 2007 Exadel, Inc.\r\n *\r\n * This
library is free software; you can redistribute it and/o!
r\r\n * modify it under the terms of the GNU Lesser General Public\r\n * License version
2.1 as published by the Free Software Foundation.\r\n *\r\n * This library is distributed
in the hope that it will be useful,\r\n * but WITHOUT ANY WARRANTY; without even the
implied warranty of\r\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU\r\n * Lesser General Public License for more details.\r\n *\r\n * You should have
received a copy of the GNU Lesser General Public\r\n * License along with this library; if
not, write to the Free Software\r\n * Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301 USA\r\n */\r\n</template></templates>
+ ]]>
+ </content>
+ </file>
+ </additionalConfig>
+ </configuration>
+ </plugin>
+ </plugins>
+</build>
+ </profile>
<profile>
<id>clover</id>
<build>
@@ -173,25 +197,4 @@
</reporting>
</profile>
</profiles>
-<build>
- <plugins>
- <plugin>
- <artifactId>maven-eclipse-plugin</artifactId>
- <groupId>org.apache.maven.plugins</groupId>
- <configuration>
- <additionalConfig>
- <file>
- <name>.settings/org.eclipse.jdt.ui.prefs</name>
- <content>
- <![CDATA[
- eclipse.preferences.version=1
- org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0"
encoding\="UTF-8" standalone\="no"?><templates><template
autoinsert\="false" context\="typecomment_context"
deleted\="false" description\="Comment for created types"
enabled\="true"
id\="org.eclipse.jdt.ui.text.codetemplates.typecomment"
name\="typecomment">/**\r\n * $${tags}\r\n * <br /><br
/>\r\n * \r\n * Created $${date}\r\n * @author $${user}\r\n * @since
${project.artifact.selectedVersion.majorVersion}.${project.artifact.selectedVersion.minorVersion}\r\n
*/\r\n</template><template autoinsert\="false"
context\="filecomment_context" deleted\="false"
description\="Comment for created Java files" enabled\="true"
id\="org.eclipse.jdt.ui.text.codetemplates.filecomment"
name\="filecomment">/**\r\n * License Agreement.\r\n *\r\n * JBoss RichFaces
- Ajax4jsf Component Library\r\n *\r\n * Copyright (C) 2007 Exadel, Inc.\r\n *\r\n * This
library is free software; you can redistribute it and/o!
r\r\n * modify it under the terms of the GNU Lesser General Public\r\n * License version
2.1 as published by the Free Software Foundation.\r\n *\r\n * This library is distributed
in the hope that it will be useful,\r\n * but WITHOUT ANY WARRANTY; without even the
implied warranty of\r\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU\r\n * Lesser General Public License for more details.\r\n *\r\n * You should have
received a copy of the GNU Lesser General Public\r\n * License along with this library; if
not, write to the Free Software\r\n * Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301 USA\r\n */\r\n</template></templates>
- ]]>
- </content>
- </file>
- </additionalConfig>
- </configuration>
- </plugin>
- </plugins>
-</build>
</project>
\ No newline at end of file
Show replies by date