r3345 - in trunk: . pollen-services pollen-services/src/main/java/org/chorem/pollen/services/impl
Author: tchemit Date: 2012-05-02 11:27:56 +0200 (Wed, 02 May 2012) New Revision: 3345 Url: http://chorem.org/repositories/revision/pollen/3345 Log: clean poms + remove old ugly SendEmail class Removed: trunk/pollen-services/src/main/java/org/chorem/pollen/services/impl/SendMail.java Modified: trunk/pollen-services/pom.xml trunk/pom.xml Modified: trunk/pollen-services/pom.xml =================================================================== --- trunk/pollen-services/pom.xml 2012-05-02 09:27:10 UTC (rev 3344) +++ trunk/pollen-services/pom.xml 2012-05-02 09:27:56 UTC (rev 3345) @@ -75,12 +75,7 @@ <groupId>org.nuiton.i18n</groupId> <artifactId>nuiton-i18n</artifactId> </dependency> - <!-- used by SendEmail thread only --> <dependency> - <groupId>net.sf.opencsv</groupId> - <artifactId>opencsv</artifactId> - </dependency> - <dependency> <groupId>org.nuiton.topia</groupId> <artifactId>topia-persistence</artifactId> </dependency> Deleted: trunk/pollen-services/src/main/java/org/chorem/pollen/services/impl/SendMail.java =================================================================== --- trunk/pollen-services/src/main/java/org/chorem/pollen/services/impl/SendMail.java 2012-05-02 09:27:10 UTC (rev 3344) +++ trunk/pollen-services/src/main/java/org/chorem/pollen/services/impl/SendMail.java 2012-05-02 09:27:56 UTC (rev 3345) @@ -1,316 +0,0 @@ -/* - * #%L - * Pollen :: Services - * - * $Id$ - * $HeadURL$ - * %% - * Copyright (C) 2009 - 2012 CodeLutin - * %% - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero 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. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * #L% - */ -/* *##% Pollen - * Copyright (C) 2009 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 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. ##%*/ - -package org.chorem.pollen.services.impl; - -import au.com.bytecode.opencsv.CSVReader; -import au.com.bytecode.opencsv.CSVWriter; -import org.apache.commons.io.FileUtils; -import org.apache.commons.io.IOUtils; -import org.chorem.pollen.PollenConfiguration; -import org.nuiton.util.FileUtil; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -import java.io.BufferedOutputStream; -import java.io.BufferedReader; -import java.io.File; -import java.io.FileOutputStream; -import java.io.FileReader; -import java.io.IOException; -import java.io.OutputStreamWriter; -import java.io.Reader; -import java.io.Writer; -import java.util.List; - -/** - * Note tchemit : Not used at the moment, perharps later if needed. - * <p/> - * Mass mail management class. - * <p/> - * This class store email to send in a csv file, and send it (one per second) in - * a second time. - * This class can restart to send mail at application restart. - * <p/> - * For a mass mail sending to start, following files must be present: - * <ul> - * <li>xxx.emails : CSV file ("email", "subject", "body")</li> - * <li>xxx.index : next index to manage ( inited at 0)</li> - * </ul> - * - * @author chatellier - * @version $Revision$ - * <p/> - * Last update : $Date$ - * By : $Author$ - */ -public class SendMail extends Thread { - - /** logger. */ - private static final Logger log = LoggerFactory.getLogger(SendMail.class); - - public static final String EXTENSION_MAIL = ".mail"; - - public static final String EXTENSION_INDEX = ".index"; - - protected EmailService emailService; - - /** Pollen configuration. */ - protected PollenConfiguration configuration; - - /** Mail storage directory. */ - protected File mailStorageDirectory; - - public SendMail(EmailService emailService, - PollenConfiguration configuration) { - this.emailService = emailService; - this.configuration = configuration; - - // get email directory in configuration - // create it if not exists -// File filename = configuration.getEmailDirectory(); - mailStorageDirectory = configuration.getEmailDirectory(); -// -// if (!mailStorageDirectory.exists()) { -// if (mailStorageDirectory.mkdirs()) { -// if (log.isDebugEnabled()) { -// log.debug("Email storage directory created in : " + mailStorageDirectory.getAbsolutePath()); -// } -// } -// } - } - - /* - * @see java.lang.Runnable#run() - */ - @Override - public void run() { - - // try to find existing files - while (true) { - try { - sendAllMails(); - - // bloque thread until next notify - sleep(); - } catch (Exception ex) { - if (log.isErrorEnabled()) { - log.error("Error during SendMail main loop", ex); - } - } - } - } - - protected synchronized void sleep() throws InterruptedException { - wait(); - } - - public synchronized void wakeUp() { - notifyAll(); - } - - /** - * Look for all xx.index file, and restart mail sending on - * non ending mass mail sending. - * <p/> - * After execution, delete mail and index file. - * - * @throws IOException if could not send emails - */ - protected void sendAllMails() throws IOException { - - // don't do for, allways take the first found - // a new one can be created when managing one other - List<File> indexFiles = null; - do { - - // filter is java valid : .*\\.index - indexFiles = FileUtil.find(mailStorageDirectory, ".*\\" + EXTENSION_INDEX, false); - - if (!indexFiles.isEmpty()) { - File indexFile = indexFiles.get(0); - // convert index content to int - String indexContent = FileUtils.readFileToString(indexFile, "UTF-8"); - int index = Integer.parseInt(indexContent); - - // get mail content file - File mailFile = new File(indexFile.getAbsolutePath().replaceAll(EXTENSION_INDEX + "$", EXTENSION_MAIL)); - - if (log.isDebugEnabled()) { - log.debug("Managing mail file : " + mailFile + " (from index " + indexContent + ")"); - } - - Reader indexFileReader = new BufferedReader(new FileReader(mailFile)); - CSVReader cvsReader = new CSVReader(indexFileReader); - - int currentIndex = 0; - String[] currentLine = cvsReader.readNext(); - while (currentLine != null) { - String receiver = currentLine[0]; - String subject = currentLine[1]; - String body = currentLine[2]; - - log.debug("Props = " + configuration.getProperties()); - - // index contains next index to treat so == is ok - if (currentIndex >= index) { - - EmailService.PollenEmail pollenEmail = - EmailService.createPollenEmail( - receiver, - subject, - body - ); - emailService.sendEmail(pollenEmail); - -// MailUtil.sendMail(configuration.getProperty("email_host"), -// Integer.parseInt(configuration.getProperty("email_port")), -// configuration.getProperty("email_from"), -// receiver, subject, body); - - // index contains next index to treat - FileUtils.writeStringToFile( - indexFile, - String.valueOf(currentIndex + 1)); - - // wait 2 secondes between each mail to not - // load smtp server - try { - Thread.sleep(1000); - } catch (InterruptedException ex) { - if (log.isErrorEnabled()) { - log.error("Can't wait between mail", ex); - } - } - } else { - if (log.isDebugEnabled()) { - log.debug("Mail to " + receiver + " already sent in a previous execution, skip."); - } - } - - currentIndex++; - currentLine = cvsReader.readNext(); - } - - // delete both index and mail file - mailFile.delete(); - indexFile.delete(); - } else { - if (log.isInfoEnabled()) { - log.info("No more index mail index file found, go to sleep a while :)"); - } - } - } while (!indexFiles.isEmpty()); - } - - /** - * Prepare mail list. - * <p/> - * TODO : improve configuration reading - * - * @param id - * @param mailData - * @throws IOException - */ - public void prepareMails(String id, - List<EmailService.PollenEmail> mailData) throws IOException { - - Writer fileWriter = null; - CSVWriter cvsWriter = null; - try { - - // write CSV datas - File emailFile = new File(mailStorageDirectory, id + EXTENSION_MAIL); - fileWriter = new OutputStreamWriter(new BufferedOutputStream(new FileOutputStream(emailFile))); - cvsWriter = new CSVWriter(fileWriter); - - for (EmailService.PollenEmail singleMailData : mailData) { - String[] nextLine = new String[]{ - singleMailData.getTo(), - singleMailData.getSubject(), - singleMailData.getTo() - }; - cvsWriter.writeNext(nextLine); - } - - // write index (default to 0) - File indexFile = new File(mailStorageDirectory, id + EXTENSION_INDEX); - FileUtil.writeString(indexFile, "0"); - } finally { - if (cvsWriter != null) { - cvsWriter.close(); - } - IOUtils.closeQuietly(fileWriter); - } - - } - -// public void prepareMails(String id, List<Map<String, String>> mailData) throws IOException { -// -// Writer fileWriter = null; -// CSVWriter cvsWriter = null; -// try { -// -// // write CSV datas -// File emailFile = new File(mailStorageDirectory, id + EXTENSION_MAIL); -// fileWriter = new OutputStreamWriter(new BufferedOutputStream(new FileOutputStream(emailFile))); -// cvsWriter = new CSVWriter(fileWriter); -// -// for (Map<String, String> singleMailData : mailData) { -// String[] nextLine = new String[] { -// singleMailData.get("receiver"), -// singleMailData.get("subject"), -// singleMailData.get("body") -// }; -// cvsWriter.writeNext(nextLine); -// } -// -// // write index (default to 0) -// File indexFile = new File(mailStorageDirectory, id + EXTENSION_INDEX); -// FileUtil.writeString(indexFile, "0"); -// } -// finally { -// if (cvsWriter != null) { -// cvsWriter.close(); -// } -// IOUtils.closeSilently(fileWriter); -// } -// -// } -} Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2012-05-02 09:27:10 UTC (rev 3344) +++ trunk/pom.xml 2012-05-02 09:27:56 UTC (rev 3345) @@ -22,42 +22,209 @@ <module>pollen-persistence</module> <module>pollen-services</module> <module>pollen-ui-struts2</module> - <!--<module>pollen-business</module>--> - <!--<module>pollen-ui</module>--> </modules> + <name>Pollen</name> + <description>Application de vote Pollen</description> + <inceptionYear>2009</inceptionYear> + <url>http://maven-site.chorem.org/pollen</url> + + <licenses> + <license> + <name>GNU Affero General Public License version 3</name> + <url>http://www.gnu.org/licenses/agpl.txt</url> + <distribution>repo</distribution> + </license> + </licenses> + + <developers> + <developer> + <id>tchemit</id> + <name>Tony Chemit</name> + <email>chemit at codelutin.com</email> + <organization>Code Lutin</organization> + <organizationUrl>http://www.codelutin.com/</organizationUrl> + <timezone>+1</timezone> + <roles> + <role>lead project</role> + <role>developer</role> + </roles> + </developer> + <developer> + <id>jcouteau</id> + <name>Jean Couteau</name> + <email>couteau at codelutin.com</email> + <organization>Code Lutin</organization> + <organizationUrl>http://www.codelutin.com/</organizationUrl> + <timezone>+1</timezone> + <roles> + <role>developer</role> + <role>technical writer</role> + </roles> + </developer> + <developer> + <id>fdesbois</id> + <name>Florian DESBOIS</name> + <email>desbois at codelutin.com</email> + <organization>Code Lutin</organization> + <organizationUrl>http://www.codelutin.com/</organizationUrl> + <timezone>+1</timezone> + <roles> + <role>developer</role> + </roles> + </developer> + <developer> + <id>kmorin</id> + <name>Kevin MORIN</name> + <email>morin at codelutin.com</email> + <organization>Code Lutin</organization> + <organizationUrl>http://www.codelutin.com/</organizationUrl> + <timezone>+1</timezone> + <roles> + <role>developer</role> + </roles> + </developer> + </developers> + + <contributors> + <contributor> + <name>Erwan NEMA</name> + <email>nemawan@hotmail.com</email> + <organization>ALMA - Code Lutin</organization> + <organizationUrl>http:/alma.univ-nantes.fr</organizationUrl> + <timezone>+1</timezone> + <roles> + <role>Chef de Projet</role> + <role>Analyste</role> + <role>Développeur</role> + </roles> + </contributor> + <contributor> + <name>Thierry POULIT-POUBLAT</name> + <email>tpoulit@gmail.com</email> + <organization>ALMA - Code Lutin</organization> + <organizationUrl>http:/alma.univ-nantes.fr</organizationUrl> + <timezone>+1</timezone> + <roles> + <role>Analyste</role> + <role>Développeur</role> + </roles> + </contributor> + <contributor> + <name>Abdelmajid BOUKHARY</name> + <email>benouna66@gmail.com</email> + <organization>ALMA - Code Lutin</organization> + <organizationUrl>http:/alma.univ-nantes.fr</organizationUrl> + <timezone>+1</timezone> + <roles> + <role>Analyste</role> + <role>Développeur</role> + </roles> + </contributor> + <contributor> + <name>Thomas CICOGNANI</name> + <email>zhykos@gmail.com</email> + <organization>ALMA - Code Lutin</organization> + <organizationUrl>http:/alma.univ-nantes.fr</organizationUrl> + <timezone>+1</timezone> + <roles> + <role>Architecte</role> + <role>Développeur</role> + </roles> + </contributor> + <contributor> + <name>Amine EDDAHBI</name> + <email>eddahbi@gmail.com</email> + <organization>ALMA - Code Lutin</organization> + <organizationUrl>http:/alma.univ-nantes.fr</organizationUrl> + <timezone>+1</timezone> + <roles> + <role>Architecte</role> + <role>Développeur</role> + </roles> + </contributor> + <contributor> + <name>Nolwenn RANNOU</name> + <email>rannou at codelutin.com</email> + <organization>Code Lutin</organization> + <organizationUrl>http://www.codelutin.com/</organizationUrl> + <timezone>+1</timezone> + <roles> + <role>Concepteur</role> + <role>Développeur</role> + </roles> + </contributor> + </contributors> + + <packaging>pom</packaging> + + <properties> + + <!-- redmine configuration --> + <platform>chorem.org</platform> + <projectId>pollen</projectId> + + <!-- customized versions --> + <topiaVersion>2.6.9</topiaVersion> + <eugenePluginVersion>2.4.2</eugenePluginVersion> + <nuitonI18nVersion>2.4.1</nuitonI18nVersion> + + <nuitonWebVersion>1.11</nuitonWebVersion> + <nuitonUtilsVersion>2.4.8-SNAPSHOT</nuitonUtilsVersion> + <h2Version>1.3.166</h2Version> + <postgresqlVersion>9.1-901-1.jdbc4</postgresqlVersion> + <struts2Version>2.3.1.2</struts2Version> + <jqueryPluginVersion>3.3.0</jqueryPluginVersion> + <shiroVersion>1.2.0</shiroVersion> + <slf4jVersion>1.6.4</slf4jVersion> + <jettyVersion>${jettyPluginVersion}</jettyVersion> + + <!-- license to use --> + <license.licenseName>agpl_v3</license.licenseName> + + <!--Site configuration --> + <locales>en,fr</locales> + <scmwebeditorEnabled>true</scmwebeditorEnabled> + + </properties> + <dependencyManagement> <dependencies> + <!-- ToPIA (and db) --> + <dependency> + <groupId>org.nuiton.topia</groupId> + <artifactId>topia-persistence</artifactId> + <version>${topiaVersion}</version> + </dependency> + + <dependency> + <groupId>org.nuiton.topia</groupId> + <artifactId>topia-service-migration</artifactId> + <version>${topiaVersion}</version> + </dependency> + + <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-core</artifactId> <version>3.6.10.Final</version> </dependency> - <!--dependency> - <groupId>com.google.guava</groupId> - <artifactId>guava</artifactId> - <version>11.0.1</version> - </dependency--> - <dependency> - <groupId>org.apache.commons</groupId> - <artifactId>commons-email</artifactId> - <version>1.2</version> + <groupId>postgresql</groupId> + <artifactId>postgresql</artifactId> + <version>${postgresqlVersion}</version> </dependency> - <dependency> - <groupId>commons-fileupload</groupId> - <artifactId>commons-fileupload</artifactId> - <version>1.2.2</version> - </dependency> <dependency> - <groupId>javax.mail</groupId> - <artifactId>mail</artifactId> - <version>1.4.5</version> + <groupId>com.h2database</groupId> + <artifactId>h2</artifactId> + <version>${h2Version}</version> </dependency> + <!-- Nuiton-utils --> + <dependency> <groupId>org.nuiton</groupId> <artifactId>nuiton-utils</artifactId> @@ -91,66 +258,14 @@ </dependency> <dependency> - <groupId>org.nuiton.web</groupId> - <artifactId>nuiton-tapestry</artifactId> - <version>${nuitonWebVersion}</version> - </dependency> - - <dependency> <groupId>org.nuiton.i18n</groupId> <artifactId>nuiton-i18n</artifactId> <version>${nuitonI18nVersion}</version> </dependency> - <dependency> - <groupId>org.nuiton.topia</groupId> - <artifactId>topia-persistence</artifactId> - <version>${topiaVersion}</version> - </dependency> + <!-- Shiro --> <dependency> - <groupId>org.nuiton.topia</groupId> - <artifactId>topia-service-migration</artifactId> - <version>${topiaVersion}</version> - </dependency> - - <dependency> - <groupId>org.apache.tapestry</groupId> - <artifactId>tapestry-core</artifactId> - <version>${tapestryVersion}</version> - <scope>compile</scope> - <exclusions> - <exclusion> - <groupId>jboss</groupId> - <artifactId>javassist</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.apache.tapestry</groupId> - <artifactId>tapestry5-annotations</artifactId> - <version>${tapestryVersion}</version> - </dependency> - <dependency> - <groupId>org.apache.tapestry</groupId> - <artifactId>tapestry-ioc</artifactId> - <version>${tapestryVersion}</version> - </dependency> - - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-api</artifactId> - <version>${slf4jVersion}</version> - <scope>compile</scope> - </dependency> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-log4j12</artifactId> - <version>${slf4jVersion}</version> - <scope>runtime</scope> - </dependency> - - <dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-core</artifactId> <version>${shiroVersion}</version> @@ -161,25 +276,34 @@ <version>${shiroVersion}</version> </dependency> + <!-- JFreeChart --> - <!-- Tapestry --> <dependency> - <groupId>org.apache.tapestry</groupId> - <artifactId>tapestry-upload</artifactId> - <version>${tapestryVersion}</version> + <groupId>org.jfree</groupId> + <artifactId>jfreechart</artifactId> + <version>1.0.14</version> </dependency> + <dependency> - <groupId>org.chenillekit</groupId> - <artifactId>chenillekit-tapestry</artifactId> - <version>1.0.0</version> - <exclusions> - <exclusion> - <groupId>jboss</groupId> - <artifactId>javassist</artifactId> - </exclusion> - </exclusions> + <groupId>org.jfree</groupId> + <artifactId>jcommon</artifactId> + <version>1.0.17</version> </dependency> + <dependency> + <groupId>javassist</groupId> + <artifactId>javassist</artifactId> + <version>3.12.1.GA</version> + </dependency> + + <!-- Rome (rss) --> + + <dependency> + <groupId>rome</groupId> + <artifactId>rome</artifactId> + <version>1.0</version> + </dependency> + <!-- Struts 2 --> <dependency> @@ -230,49 +354,27 @@ </exclusions> </dependency> + <!-- Logging --> + <dependency> - <groupId>org.jdom</groupId> - <artifactId>jdom</artifactId> - <version>1.1.3</version> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-api</artifactId> + <version>${slf4jVersion}</version> + <scope>compile</scope> </dependency> <dependency> - <groupId>org.jfree</groupId> - <artifactId>jfreechart</artifactId> - <version>1.0.14</version> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-log4j12</artifactId> + <version>${slf4jVersion}</version> + <scope>runtime</scope> </dependency> - <dependency> - <groupId>org.jfree</groupId> - <artifactId>jcommon</artifactId> - <version>1.0.17</version> - </dependency> - <dependency> - <groupId>javassist</groupId> - <artifactId>javassist</artifactId> - <version>3.12.1.GA</version> - </dependency> - <dependency> - <groupId>net.sf.opencsv</groupId> - <artifactId>opencsv</artifactId> - <version>2.3</version> - </dependency> - <dependency> - <groupId>rome</groupId> - <artifactId>rome</artifactId> - <version>1.0</version> - </dependency> - <!-- base postgres --> - <dependency> - <groupId>postgresql</groupId> - <artifactId>postgresql</artifactId> - <version>${postgresqlVersion}</version> - </dependency> + <!-- Others --> - <!-- base h2 --> <dependency> - <groupId>com.h2database</groupId> - <artifactId>h2</artifactId> - <version>${h2Version}</version> + <groupId>javax.mail</groupId> + <artifactId>mail</artifactId> + <version>1.4.5</version> </dependency> <dependency> @@ -281,200 +383,29 @@ <version>2.5</version> <scope>provided</scope> </dependency> + <dependency> <groupId>org.mortbay.jetty</groupId> <artifactId>jetty-runner</artifactId> <version>${jettyVersion}</version> <scope>provided</scope> </dependency> + <dependency> <groupId>javax.activation</groupId> <artifactId>activation</artifactId> <version>1.1.1</version> </dependency> - <dependency> - <groupId>org.jvnet.hudson.winstone</groupId> - <artifactId>winstone</artifactId> - <version>0.9.10-hudson-24</version> - </dependency> - <dependency> - <groupId>jfree</groupId> - <artifactId>jfreechart</artifactId> - <version>1.0.12</version> + <groupId>org.jdom</groupId> + <artifactId>jdom</artifactId> + <version>1.1.3</version> </dependency> </dependencies> </dependencyManagement> - <!-- ************************************************************* --> - <!-- *** Project Information ************************************* --> - <!-- ************************************************************* --> - - <name>Pollen</name> - <description>Application de vote Pollen</description> - <inceptionYear>2009</inceptionYear> - <url>http://maven-site.chorem.org/pollen</url> - - <licenses> - <license> - <name>GNU Affero General Public License version 3</name> - <url>http://www.gnu.org/licenses/agpl.txt</url> - <distribution>repo</distribution> - </license> - </licenses> - - <!-- Developpers, contributors... --> - <developers> - <developer> - <id>fdesbois</id> - <name>Florian DESBOIS</name> - <email>florian.desbois@gmail.com</email> - <organization>ALMA - Code Lutin</organization> - <organizationUrl>http:/alma.univ-nantes.fr</organizationUrl> - <timezone>+1</timezone> - <roles> - <role>Chef de Projet</role> - <role>Analyste</role> - <role>Développeur</role> - </roles> - </developer> - <developer> - <id>enema</id> - <name>Erwan NEMA</name> - <email>nemawan@hotmail.com</email> - <organization>ALMA - Code Lutin</organization> - <organizationUrl>http:/alma.univ-nantes.fr</organizationUrl> - <timezone>+1</timezone> - <roles> - <role>Chef de Projet</role> - <role>Analyste</role> - <role>Développeur</role> - </roles> - </developer> - <developer> - <id>kmorin</id> - <name>Kevin MORIN</name> - <email>km@kevinmorin.net</email> - <organization>ALMA - Code Lutin</organization> - <organizationUrl>http:/alma.univ-nantes.fr</organizationUrl> - <timezone>+1</timezone> - <roles> - <role>Architecte</role> - <role>Développeur</role> - </roles> - </developer> - <developer> - <id>tpoulit</id> - <name>Thierry POULIT-POUBLAT</name> - <email>tpoulit@gmail.com</email> - <organization>ALMA - Code Lutin</organization> - <organizationUrl>http:/alma.univ-nantes.fr</organizationUrl> - <timezone>+1</timezone> - <roles> - <role>Analyste</role> - <role>Développeur</role> - </roles> - </developer> - <developer> - <id>aboukhary</id> - <name>Abdelmajid BOUKHARY</name> - <email>benouna66@gmail.com</email> - <organization>ALMA - Code Lutin</organization> - <organizationUrl>http:/alma.univ-nantes.fr</organizationUrl> - <timezone>+1</timezone> - <roles> - <role>Analyste</role> - <role>Développeur</role> - </roles> - </developer> - <developer> - <id>tcicognagni</id> - <name>Thomas CICOGNANI</name> - <email>zhykos@gmail.com</email> - <organization>ALMA - Code Lutin</organization> - <organizationUrl>http:/alma.univ-nantes.fr</organizationUrl> - <timezone>+1</timezone> - <roles> - <role>Architecte</role> - <role>Développeur</role> - </roles> - </developer> - <developer> - <id>aeddahbi</id> - <name>Amine EDDAHBI</name> - <email>eddahbi@gmail.com</email> - <organization>ALMA - Code Lutin</organization> - <organizationUrl>http:/alma.univ-nantes.fr</organizationUrl> - <timezone>+1</timezone> - <roles> - <role>Architecte</role> - <role>Développeur</role> - </roles> - </developer> - <developer> - <id>nrannou</id> - <name>Nolwenn RANNOU</name> - <email>rannou@codelutin.com</email> - <organization>Code Lutin</organization> - <organizationUrl>http://www.codelutin.com/</organizationUrl> - <timezone>+1</timezone> - <roles> - <role>Concepteur</role> - <role>Développeur</role> - </roles> - </developer> - <developer> - <id>tchemit</id> - <name>Tony Chemit</name> - <email>chemit@codelutin.com</email> - <organization>CodeLutin</organization> - <timezone>+2</timezone> - <roles> - <role>Développeur</role> - </roles> - </developer> - </developers> - - <!-- ************************************************************* --> - <!-- *** Build Settings ****************************************** --> - <!-- ************************************************************* --> - - <packaging>pom</packaging> - - - <properties> - - <!-- redmine configuration --> - <platform>chorem.org</platform> - <projectId>pollen</projectId> - - <!-- customized versions --> - <topiaVersion>2.6.9</topiaVersion> - <eugenePluginVersion>2.4.2</eugenePluginVersion> - <nuitonI18nVersion>2.4.1</nuitonI18nVersion> - <tapestryVersion>5.1.0.5</tapestryVersion> - <nuitonWebVersion>1.11</nuitonWebVersion> - <nuitonUtilsVersion>2.4.8-SNAPSHOT</nuitonUtilsVersion> - <h2Version>1.3.166</h2Version> - <postgresqlVersion>9.1-901-1.jdbc4</postgresqlVersion> - <struts2Version>2.3.1.2</struts2Version> - <jqueryPluginVersion>3.3.0</jqueryPluginVersion> - <shiroVersion>1.2.0</shiroVersion> - <slf4jVersion>1.6.4</slf4jVersion> - <jettyVersion>${jettyPluginVersion}</jettyVersion> - - <!-- license to use --> - <license.licenseName>agpl_v3</license.licenseName> - - <!--Site configuration --> - - <locales>en,fr</locales> - <scmwebeditorEnabled>true</scmwebeditorEnabled> - - </properties> - <build> <pluginManagement> @@ -508,6 +439,7 @@ </dependency> </dependencies> </plugin> + <plugin> <groupId>org.nuiton.i18n</groupId> <artifactId>maven-i18n-plugin</artifactId> @@ -623,14 +555,44 @@ <profiles> <profile> - <id>extra-modulesA</id> + <id>reporting</id> + <activation> + <property> + <name>performRelease</name> + <value>true</value> + </property> + </activation> - <modules> - <module>pollen-domain</module> - <module>pollen-business</module> - <module>pollen-ui</module> - </modules> + <reporting> + <plugins> + + <!-- + The Project Info Reports Plugin has twelve goals: + see http://maven.apache.org/plugins/maven-project-info-reports-plugin + --> + <plugin> + <artifactId>maven-project-info-reports-plugin</artifactId> + <version>${projectInfoReportsPluginVersion}</version> + <reportSets> + <reportSet> + <reports> + <report>project-team</report> + <report>mailing-list</report> + <report>cim</report> + <report>issue-tracking</report> + <report>license</report> + <report>scm</report> + <report>dependency-convergence</report> + <report>dependency-management</report> + </reports> + </reportSet> + </reportSets> + </plugin> + </plugins> + </reporting> + </profile> + </profiles> </project>
participants (1)
-
tchemit@users.chorem.org