Re: Conflicting Spring versions

2011-12-14 Thread Barrie Treloar
On Thu, Dec 15, 2011 at 11:21 AM, scabbage guans...@gmail.com wrote: Great! Thanks for the suggestions. The organization of my project is: parent   - module1   - module2 Following your advice, I did: parent: project    groupIdtest/groupId    artifactIdparent/artifactId    

Re: Conflicting Spring versions

2011-12-14 Thread Barrie Treloar
On Thu, Dec 15, 2011 at 2:17 PM, scabbage guans...@gmail.com wrote: I'm including a dependencies section in my parent pom to capture all common dependencies of my modules. But I agree that I should use the dependencyManagement to management all versions. Its not something I do, and I think its

Re: Multi Module Project Failing - Help Me

2011-12-13 Thread Barrie Treloar
On Wed, Dec 14, 2011 at 12:38 PM, Daivish Shah daivish.s...@gmail.com wrote: Hi, I am trying to use Multi Module Project as follow : *            MainProject*                    module1                    module2 *MainModule *- POM.XML project xmlns=http://maven.apache.org/POM/4.0.0;

Re: Multi Module Project Failing - Help Me

2011-12-13 Thread Barrie Treloar
On Wed, Dec 14, 2011 at 3:27 PM, Daivish Shah daivish.s...@gmail.com wrote: Hi Barrie, MainProject*                    module1                    module2 First of all i executed mvn install on module1 project and it executed successfully... Then module2 has dependency on module1 artifact

Re: maintaining same version

2011-12-12 Thread Barrie Treloar
On Tue, Dec 13, 2011 at 9:24 AM, Guillaume Polet guillaume.po...@gmail.com wrote: I think that what he was trying to achieve is to not repeat the same version in all the pom's but this is totally impossible because of the way Maven works. Yes, but at least you only need to define it once for

Re: Building 2 dependent modules

2011-12-12 Thread Barrie Treloar
On Tue, Dec 13, 2011 at 11:55 AM, Amit Bhargava amit.bhar...@gmail.com wrote: Thanks Ron. It worked. Another question, if I may : In my pom, I had already specified the local repository using the repositories tag as follows         repositories                repository                  

Re: maintaining same version

2011-12-12 Thread Barrie Treloar
On Tue, Dec 13, 2011 at 4:12 PM, Prashant Neginahal prashu.n...@gmail.com wrote: Thanks for your reply. Are you suggestting something below. Parent POM.  groupIdcom.tdsecurities/groupId  artifactIdtest-parent/artifactId  version1.0-SNAPSHOT/version In all child projects parent  

Re: Download Page Broken?

2011-12-04 Thread Barrie Treloar
On Mon, Dec 5, 2011 at 11:59 AM, Ronald Petty ronald.pe...@gmail.com wrote: Olivier, Sorry for the extended delay, I lost my connection for almost 24 hours.  Here are the links and they still appear to be broken. On this page: http://maven.apache.org/download.html   -  

Re: Eclipse project under maven with JBoss-packaging plug-in

2011-12-01 Thread Barrie Treloar
On Fri, Dec 2, 2011 at 7:50 AM, Barney Sperlin bsperli...@yahoo.com wrote: Hello,      I'm trying to get a JBoss ESB project working under Maven in Eclipse.  I downloaded the jboss-packaging-maven-plugin-2.2.jar and put it into c:\program files\Apache Software

Re: download only sources

2011-11-28 Thread Barrie Treloar
On Mon, Nov 28, 2011 at 8:33 PM, Prashant Neginahal prashu.n...@gmail.com wrote: Hi, We need to hand over source code to client after development. Unfortunately client do not have access to our nexus repository. Lets say we have projects projectA1.0, projectB1.0 and I need to give

Re: Sort dependencies topologically

2011-11-26 Thread Barrie Treloar
On Fri, Nov 25, 2011 at 11:41 PM, Jérémy mer...@gmail.com wrote: Hi guys, I've finally succeeded! The trick was to play with the DependencyGraphTransformers in order to get a non-reducted dependency tree. Then I used Aether's PostorderNodeListGenerator to sort the nodes, and finally I

Re: How to include the *-sources.jar in a binary distribution?

2011-11-22 Thread Barrie Treloar
On Wed, Nov 23, 2011 at 3:49 AM, Paolo Castagna castagna.li...@googlemail.com wrote: There are 5 dimensions to this field groupId, artifactId, type, version, classifier You have includeorg.apache.jena:jena-*:*:*:sources/include 1) org.apache.jena:jena-*: 2) *: 3) *: 4) sources Here sources

Re: How to include the *-sources.jar in a binary distribution?

2011-11-22 Thread Barrie Treloar
On Wed, Nov 23, 2011 at 7:16 AM, Paolo Castagna castagna.li...@googlemail.com wrote: Barrie Treloar wrote: On Wed, Nov 23, 2011 at 3:49 AM, Paolo Castagna castagna.li...@googlemail.com wrote: There are 5 dimensions to this field groupId, artifactId, type, version, classifier You have

Re: How to include the *-sources.jar in a binary distribution?

2011-11-21 Thread Barrie Treloar
On Tue, Nov 22, 2011 at 6:35 AM, Paolo Castagna castagna.li...@googlemail.com wrote: Hi, I'd like to include  the *-sources.jar in a lib-src/ directory in my binary distribution (done via assembly) [1]. The reason why I'd like to include the *-sources.jar in the binary distribution is because

Re: maven eclipse plug-in

2011-11-17 Thread Barrie Treloar
On Fri, Nov 18, 2011 at 5:53 AM, Albert de Jongh adejo...@gmail.com wrote: I am wondering when 2.9 of this plug-in will be released?  I can't figure it out from the different JIRA and project web sites.  2.9 fixes some big issues with classpath ordering which is really making life difficult for

Re: Does maven eclipse plugin downloads unnecesary artifacts?

2011-11-17 Thread Barrie Treloar
On Fri, Nov 18, 2011 at 6:19 AM, Gabriel Belingueres belingue...@gmail.com wrote: Hi! I usually use the maven eclipse plugin (v2.8) using the downloadSources and downloadJavadocs properties, however I added some runtime scoped dependency but the eclipse plugin downloads the sources.jar and

Re: eclipse : [WARNING] build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing

2011-11-17 Thread Barrie Treloar
On Mon, Dec 27, 2010 at 7:06 AM, fvo1961 fvo1...@hotmail.com wrote: I've installed m2 Sonatype plugin in eclipse. When I execute package, the following warning messages appear: p.s. You need to find the m2e mailing lists - this is the Maven mailing list.

Re: Building multi-module project with cross-references

2011-11-16 Thread Barrie Treloar
On Thu, Nov 17, 2011 at 2:23 PM, zebahmad coolz...@gmail.com wrote: Hi, I am currently migrating my projects from my company's in-house build system based on ant, to maven. We have a concept of deliverable, where a deliverable may be a combination of projects. Two or more projects are

Re: Usage of Enforcer Plugin 1.1-SNAPSHOT

2011-11-10 Thread Barrie Treloar
On Thu, Nov 10, 2011 at 8:42 PM, Guo Du mrdu...@duguo.org wrote: I wonder why maven uses a SNAPSHOT version of the plugin? Which maven version you use? A build log will helps to understand your problem. And best practice is to lock down the version numbers, which ironically enforcer will tell

Re: Can I control how to inherit the dependecy defined in parent POM

2011-11-10 Thread Barrie Treloar
On Fri, Nov 11, 2011 at 3:54 PM, xuhb x...@tongtech.com wrote: when we define dependency in parent POM, the defined dependency sometimes can be inherited automatically, sometimes it cannot; for example: if I define a module A in parent POM    dependency        groupIdgroupA/groupId        

Re: Common build jobs for sub modules should not be executed in parent

2011-11-03 Thread Barrie Treloar
On Thu, Nov 3, 2011 at 8:29 PM, motes motes mort.mo...@gmail.com wrote: Thanks! Can I recommend you read the freely available books at http://maven.apache.org/articles.html You will save yourself a lot of time. - To

Re: Execution default-cli of goal org.apache.maven.plugins:maven-eclipse-plugin:2.8:eclipse failed. NullPointerException

2011-11-03 Thread Barrie Treloar
On Fri, Nov 4, 2011 at 7:13 AM, Pankaj Pai 84.pan...@gmail.com wrote: Hi Everyone, I am receiving the below error when I try to use the maven plugin for eclipse. Could you please take a look and let me know what is that I am doing wrong. [del] Are you able to boil this down into a small,

Re: SureFire Report Plugin

2011-11-03 Thread Barrie Treloar
On Fri, Nov 4, 2011 at 2:57 PM, muaazster muaazs...@gmail.com wrote: Guys , i am using maven 2.2.1 version recently i configured the surefire report plugin , the problem is that after generating the reports , reports doesnt contain any images , seems some of the dependencies are not there ,  

Re: SureFire Report Plugin

2011-11-03 Thread Barrie Treloar
On Fri, Nov 4, 2011 at 3:24 PM, muaazster muaazs...@gmail.com wrote: Exactly that is the issue , Barrie , Relevant CSS are missing , when i run MVN SITE relevant failsafe-report HTML is generating without any content , even showsuccess true or false . other wise when i run with normal

Re: Maven2 installation fails on Linux x86_64

2011-11-01 Thread Barrie Treloar
On Tue, Nov 1, 2011 at 3:34 PM, kfmohamm kfmoh...@uci.edu wrote: Hi, I am trying to install maven2 on my Linux machine, using yum install, however I get the following errors when I do so. I executed, sudo yum install maven2 towards the end this is the Error I see. The official binaries are

Re: scope management without losing granularity

2011-10-29 Thread Barrie Treloar
On Sun, Oct 30, 2011 at 4:50 AM, Ron Wheeler rwhee...@artifact-software.com wrote: If you want to continue the conversation, you should maybe tell everyone a bit about what you are trying to build and why your application structure has to be so different from everyone else building the same

Re: maven-resources-plugin not retaining unix permissions?

2011-10-25 Thread Barrie Treloar
On Wed, Oct 26, 2011 at 8:57 AM, Andrew Hunt andrew.h...@nab.com.au wrote: Hi I have a project in which our run scripts are in src/main/resources/.  The code is in a GIT repo and I found out how to set the file permission include execute permission in GIT. $ ls -l src/main/resources/

Re: must not access source of jar on maven repository

2011-10-19 Thread Barrie Treloar
On Thu, Oct 20, 2011 at 12:05 PM, Cody Zhang codyzhang.w...@gmail.com wrote: Hi,All    Deploy source.jar to maven repository in Our company. Maven repository is management by nexus of Sonatype. We want that somebody access the source.jar when download binary jar?    Best Regards,        

Re: must not access source of jar on maven repository

2011-10-19 Thread Barrie Treloar
On Thu, Oct 20, 2011 at 3:33 PM, Cody Zhang codyzhang.w...@gmail.com wrote: Thank's replay! So sorry!It's wrong! I mean,only somebody download source.jar ,but can't download by default!    Best Regards,        --Cody.Zhang Cody, I appreciate that english is not a native language, but I can't

Re: Programmatically get maven properties

2011-10-18 Thread Barrie Treloar
On Tue, Oct 18, 2011 at 10:02 PM, deusaquilus deusaqui...@gmail.com wrote: Here's what I'm doing: File pom = new File(pom.xml); DefaultProjectBuildingRequest request = new DefaultProjectBuildingRequest(); DefaultProjectBuilder builder = new DefaultProjectBuilder(); String mavenHome =

Re: how to pack biz class into war ?

2011-10-18 Thread Barrie Treloar
2011/10/19 吴桐 ab006343wut...@ab-insurance.com: Hi all, I have a question about using maven-war-plugin.I have a web project which can be packed as a war file with all biz class in artifactId/WEB-INF/classes/. Question is, is it possible to pack all biz classes into one or many jar

Re: mvn eclipse:eclipse fail on a newly created Maven J2EE simple project

2011-10-17 Thread Barrie Treloar
There is something wrong with how EAR modules are handled. Looking into it. What the archetype creates is essentially identical to the already working test case for projects/j2ee-simple. Diffing the structure isn't giving me any ideas. I found in the IT test that it is adding this goal:

Re: Programmatically get maven properties

2011-10-17 Thread Barrie Treloar
On Tue, Oct 18, 2011 at 2:22 PM, Brian Topping topp...@codehaus.org wrote: The code you put in your original email didn't make it to the list, maybe it was formatted somehow. What I think you are looking for is: /** @parameter default-value=${project} */ private

Re: maven failing to resolve artifact that exists in repository

2011-10-17 Thread Barrie Treloar
On Tue, Oct 18, 2011 at 3:54 PM, Mike Power mpo...@dodtsair.com wrote: I was using: Apache Maven 2.2.1 (rdebian-4) Java version: 1.6.0_22 Java home: /usr/lib/jvm/java-6-openjdk/jre Default locale: en_US, platform encoding: UTF-8 OS name: linux version: 2.6.38-11-generic arch: amd64 Family:

Re: mvn eclipse:eclipse fail on a newly created Maven J2EE simple project

2011-10-16 Thread Barrie Treloar
On Sun, Oct 16, 2011 at 8:15 PM, Jonny Andersson pr...@jonand.se wrote: For single module projects I already have come to really love Maven as a build tool but I have not yet got there when it come to Java EE projects. With some help do I however I can get there for Java EE projects soon. This

Re: mvn eclipse:eclipse fail on a newly created Maven J2EE simple project

2011-10-16 Thread Barrie Treloar
On Sun, Oct 16, 2011 at 9:58 PM, Jonny Andersson pr...@jonand.se wrote: On 2011-10-16 12:04, Barrie Treloar wrote: On Sun, Oct 16, 2011 at 8:15 PM, Jonny Anderssonpr...@jonand.se  wrote: For single module projects I already have come to really love Maven as a build tool but I have not yet

Re: How to install MAVEN on Windows 7

2011-10-13 Thread Barrie Treloar
On Fri, Oct 14, 2011 at 8:11 AM, Adams, Vernona vernona.ad...@lmco.com wrote: What environment variables do I modify for Windows 7?  The  system does not recognize the mvn -version command. Vernona Adams Did you read http://maven.apache.org/download.html Installation Instructions I'm fairly

Re: New to Maven

2011-10-10 Thread Barrie Treloar
On Tue, Oct 11, 2011 at 2:51 PM, niyasmansoor niyas.mans...@gmail.com wrote:  Hi ,  I am new to Maven .  I have an existing eclipse project which is dependent on a lot of libraries .  I would like to use maven to download this for me [ using local repository ].  i would like to know

Re: Markup (html) not loading with java file

2011-10-05 Thread Barrie Treloar
On Thu, Oct 6, 2011 at 2:05 AM, Dawid Dudzinski dawi...@gmail.com wrote: Hello, I've run into a situation where my html is not loaded/recognized when attempting to run. Java and html have the same names (different extensions of course - .java and .html) Syntax in html appears to be valid.

Re: Problems with MAVEN's-ANT on OpenVMS

2011-10-04 Thread Barrie Treloar
On Wed, Oct 5, 2011 at 3:43 AM, Wayne Fay wayne...@gmail.com wrote: May I ask you a favor and lead me to a document describing how we can make maven using our own ant 1.7.1, as we had changes in ANT 1.7.1 specifically for OpenVMS, those catching logical, and generating a temporary file

Re: Help!

2011-09-29 Thread Barrie Treloar
On Fri, Sep 30, 2011 at 12:42 AM, GustavoR rodriguezgustavoand...@gmail.com wrote: Hi to everyone. That's is my first post.. I have a big multi-module project Suppose that project structure: MainModule   |_ Module1   |     |_ SubModule1   |_ Module 2         |_SubModule2 And

Re: Maven fails to run junit test sources.

2011-09-27 Thread Barrie Treloar
On Tue, Sep 27, 2011 at 4:20 PM, arka.sharma arka.sharma1...@gmail.com wrote: Hi, I have some classes and some junit test classes for them.I'm running the junit test which is working fine in eclipse.I have also created a maven quickstart archetype.Inside main java i have put my source for

Re: maven-eclipse-plugin: pde support and OSGiManifest writer

2011-09-27 Thread Barrie Treloar
On Wed, Sep 28, 2011 at 11:40 AM, Stephen Coy st...@resolvesw.com wrote: FWIW, we're using pde mode at present. We have a largish (~ 40 modules) framework that builds both RCP applications and web applications. I haven't had a chance to figure out how to integrate Tycho into this

maven-eclipse-plugin: pde support and OSGiManifest writer

2011-09-23 Thread Barrie Treloar
Does anyone actually use pde mode in maven-eclipse-plugin? The support looks pretty basic and there are other better options like tycho and felix for doing this stuff. EclipseOSGiManifestWriter has been deprecated in favour of felix and I wonder whether its worth keeping the other stuff around.

Re: eclipse plugin does not generate org.eclipse.jdt.core.prefs file

2011-09-23 Thread Barrie Treloar
On Sat, Sep 24, 2011 at 12:43 AM, Gabriel Belingueres belingue...@gmail.com wrote: Thanks Barrie! That modification made the trick. I also don't actually know if configuring the plugin using the command line properties is a best practice. But seeing the source code of the eclipse plugin, I

Re: eclipse plugin does not generate org.eclipse.jdt.core.prefs file

2011-09-22 Thread Barrie Treloar
On Fri, Sep 23, 2011 at 3:51 AM, Gabriel Belingueres belingue...@gmail.com wrote: Hi, I'm using Maven 3.0.3. My current project pom.xml file uses a parent pom where is defined the maven-compiler-plugin configuration:  properties        maven.compiler.source1.6/maven.compiler.source      

Re: Is there a plugin to check the standard directory layout?

2011-09-19 Thread Barrie Treloar
On Mon, Sep 19, 2011 at 9:18 PM, sebb seb...@gmail.com wrote: I don't think the meta-information about locations is available to Maven from the plugins, each plugin defines its own configuration and Maven doesn't interpret that in anyway. You would have to bake each plugin's default layouts

Re: Is there a plugin to check the standard directory layout?

2011-09-18 Thread Barrie Treloar
On Sun, Sep 18, 2011 at 9:39 PM, sebb seb...@gmail.com wrote: Is there a plugin which can be used to check that a project is using the standard Maven directory layout? For example, src/main/java rather than src/java; src/changes/changes.xml etc. AFAICT. the verifier plugin could be used for

Re: Is there a plugin to check the standard directory layout?

2011-09-18 Thread Barrie Treloar
On Mon, Sep 19, 2011 at 10:56 AM, sebb seb...@gmail.com wrote: The standard directories layout http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html lists what you are looking for. It lists only some of the standard files and paths. For example it

Re: mojophobia

2011-08-31 Thread Barrie Treloar
On Wed, Aug 31, 2011 at 1:20 PM, Eric Kolotyluk eric.koloty...@gmail.com wrote: OK, now that I am over my mojophobia and making good progress on writing my first mojo I feel better about diving in and just doing it. I am soo glad I did not have to use antrun :-) While the getting started

Re: No output from JXR ...

2011-08-23 Thread Barrie Treloar
On Wed, Aug 24, 2011 at 7:48 AM, Hervé BOUTEMY herve.bout...@free.fr wrote: as you reported, reportSets vs executions strategy has never been really defined. m-javadoc-p did extensive documentation, with both forms: it's the first plugin I know that did show the dual forms But now that

Re: site plugin: automatic breadcrumbs for modules or not?

2011-08-17 Thread Barrie Treloar
On Thu, Aug 18, 2011 at 10:31 AM, Benson Margulies bimargul...@gmail.com wrote: Aha! I got you a test case. JIRA coming up. Can you fling the jira link too please. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org

Re: site plugin: automatic breadcrumbs for modules or not?

2011-08-17 Thread Barrie Treloar
On Thu, Aug 18, 2011 at 12:01 PM, Hervé BOUTEMY herve.bout...@free.fr wrote: http://jira.codehaus.org/browse/MSITE-608 the discussion happens here now Thanks, I'm just lurking but I wanted to know whether to watch the jira or not.

Re: Comparison of Code Coverage report of two builds

2011-08-15 Thread Barrie Treloar
On Tue, Aug 16, 2011 at 5:05 AM, Devendra Arora dev...@yahoo.com wrote: I want to compare Code Coverage report(generated using Cobertura or Emma) of two builds. Is there a plug-in available? Did you try google? http://www.sonarsource.org/features/

Re: Help:Calling plugin from a remote repository

2011-08-10 Thread Barrie Treloar
On Thu, Aug 11, 2011 at 12:06 AM, goutham goutham.vasire...@gmail.com wrote: I want it to restrict to the remote repo only. It should not look into local repo , at least first it have to look in remote and then go for local On Wed, Aug 10, 2011 at 6:02 PM, Anders Hammar [via Maven]

Re: MAVEN version 2.2.1 and maven-antrun-plugin 1.6 want to compile classes with Java 1.4.2 version

2011-08-10 Thread Barrie Treloar
On Thu, Aug 11, 2011 at 9:01 AM, Daivish Shah daivish.s...@gmail.com wrote: I'm using an ant build.xml that generates classes and compiles them with the tools.jar from the JDK. I am using MAVEN 2.2.1 version. JDK 1.5 to execute MAVEN. As maven 2.2.1 version supports higher then JDK 1.5 only

Re: MAVEN version 2.2.1 and maven-antrun-plugin 1.6 want to compile classes with Java 1.4.2 version

2011-08-10 Thread Barrie Treloar
On Thu, Aug 11, 2011 at 9:47 AM, Daivish Shah daivish.s...@gmail.com wrote: Hi, I tried giving JRE and TOOLS JAR from build.xml file. But it's working fine if i run as ANT script. But when i execute as MAVEN it's taking JAVA_HOME variable which is setup as system variable so my system

Re: A module using different compiler cannot find its compiler when compiling thru. the package project

2011-08-09 Thread Barrie Treloar
On Wed, Aug 10, 2011 at 12:24 AM, Wayne Fay wayne...@gmail.com wrote: All the modules except p2 use the default complier. p2 uses eclipse compiler. I find if I just compile p2, it works well.  When I try to compile [INFO] No such compiler 'eclipse'. What version of Maven are you using? Most

Re: When is the best phase to generate javadocs?

2011-08-08 Thread Barrie Treloar
On Tue, Aug 9, 2011 at 10:02 AM, Eric Kolotyluk eric.koloty...@gmail.com wrote: I was generating javadocs with the maven-javadoc-plugin in the package phase, but ran into problems because other modules had not been through the install phase yet. To get around the problem I changed it to the

Re: When is the best phase to generate javadocs?

2011-08-08 Thread Barrie Treloar
On Tue, Aug 9, 2011 at 2:00 PM, Jeff Jensen jeffjen...@upstairstechnology.com wrote: I prefer to gen JavaDoc in the nightly site gen run, from the parent. Avoids the problem you mentioned.  You could run a site gen multiple times per day, if it's not a long duration. And we do this too, since

Re: [m2e-users] Maven, Eclipse, Nexus, Perforce, Team City, Oh My!

2011-08-07 Thread Barrie Treloar
On Mon, Aug 8, 2011 at 8:25 AM, Eric Kolotyluk eric.koloty...@gmail.com wrote: You're telling me Maven requires an advanced Maven Admin on the team/organization? No-one told me that before. Don't be fooled. Any build system requires this person. You can't expect clueless people to be able to

Re: How to Convert Ant Project to MAVEN

2011-08-05 Thread Barrie Treloar
On Fri, Aug 5, 2011 at 9:17 AM, Daivish Shah daivish.s...@gmail.com wrote: Hi, I have some questions for your guys. As i am starting converting projects from ANT to MAVEN. Your questions are answered by reading the maven books, freely available at http://maven.apache.org/articles.html. Or you

Re: Getting strange error in compilation

2011-07-31 Thread Barrie Treloar
On Mon, Aug 1, 2011 at 8:23 AM, Kathryn Huxtable kath...@kathrynhuxtable.org wrote: Okay, I see. Apple changed the location of classes.jar, which is what they call rt.jar in a recent release of Java, possibly update 26. How did you fix this then? Do we need to configure maven to understand

Re: Getting strange error in compilation

2011-07-31 Thread Barrie Treloar
On Mon, Aug 1, 2011 at 9:14 AM, Kathryn Huxtable kath...@kathrynhuxtable.org wrote: Actually, can I require that a profile be activated when both a jdk version *and* an os family are selected, or is it always an or comparison? -K You know, I dont know. You might be better starting a separate

Re: release plugin tagging with -SNAPSHOT

2011-07-28 Thread Barrie Treloar
On Thu, Jul 28, 2011 at 1:46 PM, Benson Margulies bimargul...@gmail.com wrote: Never mind this here, I isolated this to 2.2 and made a JIRA. Can you post the Jira so I can look at the summary of the problem please? - To

Re: generics are not supported in -source 1.3 ??

2011-07-24 Thread Barrie Treloar
On Sun, Jul 24, 2011 at 12:45 PM, mlotfi majidna...@yahoo.com wrote: hi, I am new to Maven, I have java 1.6 installed in my windows XP, when I run this : Did you look at the compiler configuration options? http://maven.apache.org/plugins/maven-compiler-plugin/ The default value for source is

Re: HELP! : javax.mail could not find the main class

2011-07-20 Thread Barrie Treloar
On Wed, Jul 20, 2011 at 2:45 PM, Abdul Hakim akeybreak...@gmail.com wrote: My project directory is ANNEX. I place the main class (ANNEX.java) in \ANNEX\src\main\java\com\mycompany\app Does this mean that i have to put something like this in the POM? mainClasscom.mycompany.app.ANNEX/mainClass.

Re: Misunderstanding modules: Two or more projects in the reactor have the same identifier

2011-07-20 Thread Barrie Treloar
On Thu, Jul 21, 2011 at 3:28 AM, kanesee kane...@gmail.com wrote: Hi Wayne, Yes, I understand I don't have to have to depend on C from product X, but do I need to include it as a module? Re-read my message, well actually I should have written this Modules != Dependencies All Modules really

Re: Beginner needs help: Maven won't run my tests...

2011-07-19 Thread Barrie Treloar
On Sun, Jul 17, 2011 at 7:21 PM, Julien Martin bal...@gmail.com wrote: Julien, you need to setup a repository manager at your work. [del] [INFO] snapshot com.cheetah:cheetah-domain:1.0-SNAPSHOT: checking for updates from jboss [DEBUG] Using Wagon implementation lightweight from default

Re: How to exclude a child-module from being released during release:perform

2011-07-19 Thread Barrie Treloar
On Tue, Jul 19, 2011 at 4:48 PM, Hansjoerg hj.winge...@bluewin.ch wrote: Hi I'm trying to figure out, how I can exclude a child module from beeing released to our company repository during the execution of release:perform. The situation is this: parent pom ...  modules    

Re: Beginner needs help: Maven won't run my tests...

2011-07-19 Thread Barrie Treloar
On Tue, Jul 19, 2011 at 5:23 PM, Julien Martin bal...@gmail.com wrote: Hello Barrie, Thanks for your reply! I removed the white spaces from the directory name. Yes there is a classes in the test-classes directory. I'm running out of thoughts. The file name ends in Test should it should be

Re: Beginner needs help: Maven won't run my tests...

2011-07-19 Thread Barrie Treloar
On Tue, Jul 19, 2011 at 11:20 PM, Julien Martin bal...@gmail.com wrote: Hello, I appreciate your help Brian! I changed my POM as follows: *plugin                groupIdorg.apache.maven.plugins/groupId                artifactIdmaven-surefire-plugin/artifactId                dependencies  

Re: Misunderstanding modules: Two or more projects in the reactor have the same identifier

2011-07-19 Thread Barrie Treloar
On Wed, Jul 20, 2011 at 8:14 AM, kanesee kane...@gmail.com wrote: So it seems Maven handles dependency inheritance pretty well. Let's say I have a parent project A that depends on projects B and C. And both B and C depend on D. This works fine as dependencies. But suppose I wanted to make B

Re: Misunderstanding modules: Two or more projects in the reactor have the same identifier

2011-07-19 Thread Barrie Treloar
On Wed, Jul 20, 2011 at 9:44 AM, kanesee kane...@gmail.com wrote: Well, I would like to be able to call a maven phase like compile in the top-level parent project and have it combine all of its dependencies/submodules. That's really the only reason I'm using modules instead of sticking with

Re: Misunderstanding modules: Two or more projects in the reactor have the same identifier

2011-07-19 Thread Barrie Treloar
On Wed, Jul 20, 2011 at 10:22 AM, kanesee kane...@gmail.com wrote: I guess I don't really understand the Maven modules then. Well, this is what I have. My company has a bunch of components and our own home-brewed build system. We want to translate it to the Maven environment. The library

Re: HELP! : javax.mail could not find the main class

2011-07-19 Thread Barrie Treloar
On Wed, Jul 20, 2011 at 1:27 PM, Sebastian Otaegui fen...@gmail.com wrote: The issue is not related to javax.mail it is with the specification of your main class. In mainClass you have to put the fully qualified path to the class like in mainClasspa.cka.ge.ANNEX/mainClass (if that is your

Re: Maven project can't access class file.

2011-07-18 Thread Barrie Treloar
I can't see anything wrong with what you are doing so far. Is this code on an accessible repository? A stupid thing to ask, but there is an import statement for JCasAnnotator_ImplBase in FileAnnotator? - To unsubscribe, e-mail:

Re: Explaining to m-eclipse-p that my project is a java-project

2011-07-16 Thread Barrie Treloar
On Fri, Jul 15, 2011 at 8:17 PM, Asmann, Roland roland.asm...@adesso.at wrote: Hi, I am having some issues explaining to the m-eclipse-p that my project is actually a java-project and needs to be generated with a .classpath and java-nature. The problem I am facing is that the project is

Re: Maven environment configurations

2011-07-14 Thread Barrie Treloar
On Fri, Jul 15, 2011 at 12:38 AM, Anders Hammar and...@hammar.net wrote: I'm not sure I fully understand, but some general rules: 1) Keep all configuration outside the jars. If you don't want to use a database or jndi, you could always (which I very often recommend) just use a properties file

Re: Locking down default plugin versions

2011-07-13 Thread Barrie Treloar
On Wed, Jul 13, 2011 at 8:59 PM, Moser, Christian c...@metrohm.com wrote: I'm skipping javadoc, do you know  why javadoc-plugin is needed? Skipping a plugin isn't a built-in maven feature. Each plugin decides if it will allow skip, and so the plugin still needs to get loaded to decide whether to

Re: AW: Locking down default plugin versions

2011-07-13 Thread Barrie Treloar
On Thu, Jul 14, 2011 at 1:27 AM, Jörg Schaible joerg.schai...@gmx.de wrote: Moser, Christian wrote: Each plugin decides if it will allow skip, and so the plugin still needs to get loaded to decide whether to skip. This makes sense. Will add javadoc-plugin. What do you mean by maven super

Re: Maven Eclipse Plugin doesn't include all source paths in generated .classpath file in a Java / Groovy project

2011-07-13 Thread Barrie Treloar
On Thu, Jul 14, 2011 at 3:09 AM, Jeff MAURY jeffma...@jeffmaury.com wrote: You probably need to configure your Eclipse project as a Groovy project (through a nature I think). Please not that you can configure the Maven Eclipse plugin to add specific natures when eclipse:eclipse is run. Groovy

Re: Maven Eclipse Plugin doesn't include all source paths in generated .classpath file in a Java / Groovy project

2011-07-13 Thread Barrie Treloar
On Thu, Jul 14, 2011 at 9:07 AM, Barrie Treloar baerr...@gmail.com wrote: On Thu, Jul 14, 2011 at 3:09 AM, Jeff MAURY jeffma...@jeffmaury.com wrote: You probably need to configure your Eclipse project as a Groovy project (through a nature I think). Please not that you can configure the Maven

Re: Setting up internal repository

2011-07-06 Thread Barrie Treloar
On Thu, Jul 7, 2011 at 12:59 PM, Niranjan Rao nhr...@gmail.com wrote: Hi folks, I have been researching options for setting up internal maven repository - free software. Based on my research it seems like nexus is most recommended choice. Wondering if people here have any

Re: Using maven in eclipse

2011-07-05 Thread Barrie Treloar
On Tue, Jul 5, 2011 at 3:31 PM, Niranjan Rao nhr...@gmail.com wrote: I see lot of discussion using maven eclipse plugin to import the project in eclipse. I am wondering why we need to do this as m2eclipse seems to be working perfectly fine and works directly with pom file. So far, m2eclipse

Re: Looking for a plugin that dumps information about mutliple version inclusions

2011-07-05 Thread Barrie Treloar
On Tue, Jul 5, 2011 at 3:26 PM, Niranjan Rao nhr...@gmail.com wrote: Hi there, Subject line is rather long, but I think this is easily possible in maven. Because of transitive nature of dependencies, many times we end including multiple versions of same artifact/group combo. Is there any

Re: Maven Eclipse Plugin doesn't include all source paths in generated .classpath file in a Java / Groovy project

2011-07-04 Thread Barrie Treloar
On Thu, Jun 30, 2011 at 12:45 AM, Sebastian Goldt sd...@cam.ac.uk wrote: Sebastian, its been five days and no feedback. Have you worked out your problem? Has any of this thread been useful? It would be nice from an archive perspective if you could comment on your resolution so others can avoid

Re: Maven Eclipse Plugin doesn't include all source paths in generated .classpath file in a Java / Groovy project

2011-06-30 Thread Barrie Treloar
On Thu, Jun 30, 2011 at 4:43 PM, Guillaume Polet guillaume.po...@gmail.com wrote: It's an M2Eclipse problem. I think you should rather user their ML. [del]    mvn eclipse:eclipse He's not using m2e. I'm looking into it... -

Re: Maven Eclipse Plugin doesn't include all source paths in generated .classpath file in a Java / Groovy project

2011-06-30 Thread Barrie Treloar
On Thu, Jun 30, 2011 at 12:45 AM, Sebastian Goldt sd...@cam.ac.uk wrote: [del] My project in question contains both tests and main source code in java as well as in groovy, so I have the four folders src/main/java, src/main/groovy, src/test/java and src/test/groovy which are added to the

Re: how to clean up all generated files under target directory

2011-06-22 Thread Barrie Treloar
On Wed, Jun 22, 2011 at 5:00 PM, Sascha Vogt sascha.v...@gmail.com wrote: I'm new to maven. Is there any Maven3 documentation out yet? Specifically I need to create a few new packaging types and I didn't find good resources on how to do that with Maven3 (I read somewhere that one can now use

Re: Can't resolve libraries.

2011-06-22 Thread Barrie Treloar
On Wed, Jun 22, 2011 at 7:35 PM, samwun leiwun2...@gmail.com wrote: Hi, Thank you very much for your suggestion. Now I somehow manage to reduce the the errors to 5 jar files. The error is: sam@sam-PC /cygdrive/c/ixsystems-registration $ mvn compile war:war [WARNING] [WARNING] Some

Re: Can't resolve libraries.

2011-06-22 Thread Barrie Treloar
On Wed, Jun 22, 2011 at 8:20 PM, samwun leiwun2...@gmail.com wrote: Thank you very much for othe suggestion I have removed the error in $MAVEN_HOME/conf/settings.xml. Here is the error: $ mvn compile war:war [WARNING] [WARNING] Some problems were encountered while building the effective

Re: Can't resolve libraries.

2011-06-22 Thread Barrie Treloar
On Wed, Jun 22, 2011 at 9:17 PM, samwun leiwun2...@gmail.com wrote: [ERROR] Failed to execute goal on project ixsystems-registration: Could not resolve dependencies for project

Re: Can't resolve libraries.

2011-06-22 Thread Barrie Treloar
On Thu, Jun 23, 2011 at 12:09 AM, Larry Shatzer, Jr. lar...@gmail.com wrote: [del] could not be resolved: com.liferay:util-java:jar:6.0.6, com.liferay:util-bridges:jar:6.0.6, com.liferay:portal-kernel:jar:6.0.6, com.liferay:portal-impl:jar:6.0.6: Failure to find com.liferay:util-java:jar:6.0.6

Re: Can't resolve libraries.

2011-06-22 Thread Barrie Treloar
On Thu, Jun 23, 2011 at 8:34 AM, samwun leiwun2...@gmail.com wrote: However, I have my local liferay libraries files for 5.2.8, how can I deploy to Nexus local repositories? eg. here is the path of 5.2.8 portal-kernel I have created in my local nexus server:

Re: maven 3.0.3 out of memory error, version ranges, lots of maven meta downloads

2011-06-21 Thread Barrie Treloar
On Wed, Jun 22, 2011 at 1:02 AM, Benson Margulies bimargul...@gmail.com wrote: The current version of m2e runs mvn embeded inside the eclipse jvm. Because eclipse has one classloader isolation system, and maven has another, the sum total is a wildly effective recipe for running out of VM. And

Re: how to clean up all generated files under target directory

2011-06-21 Thread Barrie Treloar
On Wed, Jun 22, 2011 at 11:40 AM, Wendy Smoak wsm...@gmail.com wrote: On Tue, Jun 21, 2011 at 10:06 PM, samwun leiwun2...@gmail.com wrote: Every time when I build a maven project, I need to manually remove all generated files under the target directory. How can I use maven remove all these

Re: With the maven-release-plugin, how to branch a module and its children ?

2011-06-20 Thread Barrie Treloar
2011/6/21 Frédéric Conrotte frederic.conro...@victorbuckservices.com: Hello Say you have a module named parent which has 2 childs childA and ChildB If I run mvn release:branch -DbranchName=my-branch in the parent folder, it will branch the parent module code to SVN /branches/my-branch

Re: Maven release:prepare and NOT creating SNAPSHOTs

2011-06-20 Thread Barrie Treloar
On Tue, Jun 21, 2011 at 5:16 AM, Neil Hart neilah...@gmail.com wrote: I would like to run release:prepare without creating a new development version.  I don't always know the next version number when versioning the current build.  Later I could run release:branch (perhaps).  This is using

Re: Maven release:prepare and NOT creating SNAPSHOTs

2011-06-20 Thread Barrie Treloar
On Tue, Jun 21, 2011 at 9:14 AM, Wendy Smoak wsm...@gmail.com wrote: On Mon, Jun 20, 2011 at 3:46 PM, Neil Hart neilah...@gmail.com wrote: I would like to run release:prepare without creating a new development version.  I don't always know the next version number when versioning the current

<    1   2   3   4   5   6   7   8   9   10   >