Re: Creating one big jar in Maven?

2012-08-30 Thread Barrie Treloar
On Sat, Aug 25, 2012 at 2:49 PM, Barrie Treloar baerr...@gmail.com wrote: On Sat, Aug 25, 2012 at 5:44 AM, jpyork john-paul.y...@dhltd.com wrote: Hello I am a bit new to Maven and have taken over a build from a departed employee that uses Maven. The issue is that he over complicated it with vb

Re: Creating one big jar in Maven?

2012-08-24 Thread Barrie Treloar
On Sat, Aug 25, 2012 at 5:44 AM, jpyork john-paul.y...@dhltd.com wrote: Hello I am a bit new to Maven and have taken over a build from a departed employee that uses Maven. The issue is that he over complicated it with vb scripts and other items, but I have finally got the project to build with

Re: Clean local repository

2012-08-20 Thread Barrie Treloar
On Mon, Aug 20, 2012 at 11:16 PM, Francesco Mari mari.france...@gmail.com wrote: Hi, I would like to launch a build using a clean local repository. I have already tried the following solutions: Why? What are you hoping to achieve? The easiest is to delete your ~/.m2/repository directory, but

Re: Request For Enhancements

2012-08-17 Thread Barrie Treloar
On Fri, Aug 17, 2012 at 11:26 PM, Mark H. Wood mw...@iupui.edu wrote: May I suggest that the issue tracking system: http://jira.codehaus.org/browse/MNG would be the best place to submit each individual issue. And feel free to provide test cases and patches. Community support for an open

Re: Best Practices for Passwords and Usernames

2012-08-15 Thread Barrie Treloar
On Thu, Aug 16, 2012 at 6:52 AM, Wayne Fay wayne...@gmail.com wrote: Storing your password in plain text in your settings.xml file is sometimes (always?) bad practice. In that case you should look into encrypting the passwords that are contained therein. (See I personally disagree with this

Re: How can I trigger a makefile through Maven? is there any plugin for this?

2012-07-30 Thread Barrie Treloar
On Mon, Jul 30, 2012 at 10:19 PM, huseyn hdemire...@gmail.com wrote: Hi, I have eigtht libraries. There are very dependieces. I use c/c++ and makefile. How can I solve the problem of dependency? Can you help me? www.catb.org/~esr/faqs/smart-questions.html Please start your own email thread

Re: JDT compiler compliance level as a parameter for eclipse:eclipse target of maven-eclipse-plugin

2012-07-26 Thread Barrie Treloar
On Fri, Jul 27, 2012 at 7:13 AM, Wayne Fay wayne...@gmail.com wrote: Long story short, I tried to modify eclipse project generation so that in the .settings/org.eclipse.jdt.core.prefs instead of this: org.eclipse.jdt.core.compiler.compliance=1.5 I get this (look at the compliance):

Re: JDT compiler compliance level as a parameter for eclipse:eclipse target of maven-eclipse-plugin

2012-07-26 Thread Barrie Treloar
On Fri, Jul 27, 2012 at 7:57 AM, Barrie Treloar baerr...@gmail.com wrote: On Fri, Jul 27, 2012 at 7:13 AM, Wayne Fay wayne...@gmail.com wrote: Long story short, I tried to modify eclipse project generation so that in the .settings/org.eclipse.jdt.core.prefs instead

Re: Maven Enforcer plugin: can I make it be quiet?

2012-07-19 Thread Barrie Treloar
On Fri, Jul 20, 2012 at 8:53 AM, Brian Fox bri...@infinity.nu wrote: Which rule spits that out? This seems unusual. Its probably DependencyVersionMap.getVersion which was a bug since 1.0 See http://jira.codehaus.org/browse/MENFORCER-135 I've fixed it, but I haven't cut a new release. Laird,

Re: BUILD FAILURE to create project structure

2012-07-17 Thread Barrie Treloar
On Wed, Jul 18, 2012 at 11:57 AM, Wayne Fay wayne...@gmail.com wrote: can please explain me the way how to create project structure/whole project outside the bin folder of maven ?? Have you tried one of the freely available books at http://maven.apache.org/articles.html? Some of these should

[ANN] Maven Enforcer Plugin 1.1.1 Released

2012-07-15 Thread Barrie Treloar
The Maven team is pleased to announce the release of the Maven Enforcer Plugin, version 1.1.1 This plugin provides goals to control certain environmental constraints such as Maven version, JDK version and OS family along with many more standard rules and user created rules.

Re: How to activate proxies

2012-07-03 Thread Barrie Treloar
On Wed, Jul 4, 2012 at 6:05 AM, Bruno Borges bruno.bor...@gmail.com wrote: I see that there's an option active for proxies under settings.xml... But how to toggle this flag through command-line interface? I've never bothered, but I dont think you can. Why would you want to be able swap this

Re: Problem with maven for php

2012-06-26 Thread Barrie Treloar
On Wed, Jun 27, 2012 at 1:04 PM, Fernanda Araújo fernanda.g.ara...@gmail.com wrote: Hi,  I'm trying to build a new project using mvn archetype:generate -DarchetypeArtifactId=php5-zend-archetype -X  It gives me the following error  [DEBUG] Archetype

Re: How to develop Maven plugin in eclipse with m2e?

2012-06-18 Thread Barrie Treloar
On Mon, Jun 18, 2012 at 11:15 PM, hujirong jirong...@gmail.com wrote: in local (C:\Users\Administrator\.m2\repository) Are you logged in as the user Administrator. I suspect you are not and you need to configure things to point to your local users setup correctly.

Re: Release Management with Many, Independent Projects...

2012-06-18 Thread Barrie Treloar
I think what Ron is saying, is that choosing what Project A depends on is selected at the time Project A is kicked off. Until Project A is released all its dependencies should be locked down and only use release versions (if possible). You would only upgrade a dependency when a critical bug blocks

Re: Eclipse Plugin and Project Links to Independent Projects

2012-06-04 Thread Barrie Treloar
On Tue, Jun 5, 2012 at 3:19 AM, Chris Redekop chris.rede...@gmail.com wrote: (How) can I use the Eclipse plugin to create Eclipse project files that refer to an dependency A) with an Eclipse project link instead of B) as a JAR in the repo?  The dependency in this case is A) NOT a module of the

Re: Maven - issue

2012-05-29 Thread Barrie Treloar
On Tue, May 29, 2012 at 11:18 PM, Ramesh Ramamoorthy ramesh.ramamoorthy.u...@statefarm.com wrote: Hi, [del] [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-eclipse-plugin: pom:2.8' from repository lt00as30 (http://lt00as30.opr.statefarm.org/artifactory /repo):

Re: Fact-checking a statement about Maven from a book

2012-05-29 Thread Barrie Treloar
On Wed, May 30, 2012 at 11:48 AM, KARR, DAVID dk0...@att.com wrote: I'm reading Continuous Delivery, which is a good book, but I read one statement about Maven that seems out of date to me.  I'd appreciate a bit of fact-checking here. It said: ... in its default configuration, it is

Re: command to build the project using maven 1.1

2012-05-24 Thread Barrie Treloar
On Fri, May 25, 2012 at 2:23 PM, Gunachandra guna.hijam1...@gmail.com wrote: Thanks Ron Wheeler for replying. I am new to maven, they developed this project around 10 years back. Now the requirement comes for this project. can you please tell me how to upgrade this to latest version of maven.

Re: How can I eliminate these embedded username and password entries?

2012-05-23 Thread Barrie Treloar
On Wed, May 23, 2012 at 10:23 PM, Will Hoover java.whoo...@gmail.com wrote: This is an interesting topic of interest. We would like to do a similar thing with our DB passwords that are in our POMs. Are there any other options other than the ones described? Search the archives. External

Re: Values from pom.xml being injected into deployed jsp attributes

2012-05-23 Thread Barrie Treloar
On Thu, May 24, 2012 at 4:35 AM, Matt Veitas mvei...@gmail.com wrote: Recently the project I am working on ran into a very strange situation when deploying a war file built with Maven where we were seeing values from the pom.xml that was within the deployed war file replacing values in our jsp

Re: Values from pom.xml being injected into deployed jsp attributes

2012-05-23 Thread Barrie Treloar
On Thu, May 24, 2012 at 9:01 AM, Matt Veitas mvei...@gmail.com wrote: I confirmed that resource filtering is only happening to the files are targeting. I also made just to run the maven install with -X to make sure that the filtering was only happening the specified resources. If I explode

Re: How can I eliminate these embedded username and password entries?

2012-05-22 Thread Barrie Treloar
On Wed, May 23, 2012 at 7:45 AM, shaun.t.erick...@accenture.com wrote: Caveat: I'm the SysAdmin in charge of our Artifactory server (to which I'm new), and not a developer, so my Maven knowledge is somewhat limited. I'm a fast learner though. :) [del] Is there some other way of retrieving

Re: How can I eliminate these embedded username and password entries?

2012-05-22 Thread Barrie Treloar
On Wed, May 23, 2012 at 8:26 AM, shaun.t.erick...@accenture.com wrote: Thanks for your quick reply. There are other processes that deploy those resources to our artifactory server. I'm okay with them being there, but want to eliminate the need to embed that login info. That info has to

Re: How can I eliminate these embedded username and password entries?

2012-05-22 Thread Barrie Treloar
On Wed, May 23, 2012 at 12:16 PM, shaun.t.erick...@accenture.com wrote: [del] I hope that as I learn, I'll ask smart questions and eventually be able to give back as you folks did tonight. Thanks! :) Its good to get positive feedback. I'll add the obligatory check out the freely available

Re: circular dependency with common test classes

2012-05-09 Thread Barrie Treloar
On Wed, May 9, 2012 at 6:38 PM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: [del] You need to keep in mind the way the lifecycle works, i.e. that the lifecycle is completed on each module before moving onto the next, so even though the requirements of the test phase could be

Re: how to override artifact name while installing the artifact to repo ?

2012-05-03 Thread Barrie Treloar
On Thu, May 3, 2012 at 3:20 PM, brajesh rajesh.bavanant...@cgu.com.au wrote: I am trying to override  a jar file name as follows with an underscore between artifact name and version. projectName_v1_0.jar this is how we declare in pom.xml artifactIdprojectName/artifactId

Re: exclude folders during mvn assembly

2012-04-19 Thread Barrie Treloar
On Thu, Apr 19, 2012 at 8:26 PM, S Ahmed sahmed1...@gmail.com wrote: So what do you suggest?  Should I create a new maven module called Config and drop my properties, log4net properties files there? I then add that module as a dependancy. Also, during my production build, I will just make

Re: exclude folders during mvn assembly

2012-04-19 Thread Barrie Treloar
On Thu, Apr 19, 2012 at 11:48 PM, S Ahmed sahmed1...@gmail.com wrote: Barrie, I see, ok I'm looking into the JNDI method. I'm hosting this app in both tomcat and jetty. Could I put this dndi file in my class path so I don't have to hard code the location, or does it have to be in the

Re: EAR project produces application.xml, but EJB module is missing

2012-04-19 Thread Barrie Treloar
On Fri, Apr 20, 2012 at 2:06 PM, Stephane Nicoll stephane.nic...@gmail.com wrote: On Tue, Mar 6, 2012 at 6:24 PM, Markus KARG mar...@headcrashing.eu wrote: What do you mean with maps to? An EJB is a .jar file. If you don't specify any type, jar is the default and since they share the same

Re: Re-Releasing Configured Artifacts, how?

2012-04-18 Thread Barrie Treloar
On Wed, Apr 18, 2012 at 4:33 PM, Andrew Hughes ahhug...@gmail.com wrote: Hi All, We have decided that we would like to release configured artifacts from our scm. I am looking at the most suitable way to do this with maven3. Use Case: We have released v2.5.1.0 or our webapp. We would like

Re: exclude folders during mvn assembly

2012-04-18 Thread Barrie Treloar
On Thu, Apr 19, 2012 at 1:09 AM, S Ahmed sahmed1...@gmail.com wrote: Yeah they are config files, I just wanted a simple way to reference them in my code, i.e: ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); InputStream is =

Re: The Maven Way

2012-04-18 Thread Barrie Treloar
Part of the reason, I believe, is because those conventions are not carved in stone.  There often isn't a hard and fast convention that says when to make a profile or when to make a module or when to use a classifier to store a second artifact alongside the primary And over time these

Re: The Maven Way

2012-04-18 Thread Barrie Treloar
On Thu, Apr 19, 2012 at 9:02 AM, Barrie Treloar baerr...@gmail.com wrote: Part of the reason, I believe, is because those conventions are not carved in stone.  There often isn't a hard and fast convention that says when to make a profile or when to make a module or when to use a classifier

Re: exclude folders during mvn assembly

2012-04-18 Thread Barrie Treloar
On Thu, Apr 19, 2012 at 6:44 AM, S Ahmed sahmed1...@gmail.com wrote: The problem I was having was, when on the production server, I had a properties file in my /resources folder, and I modified in on the server but noticed it was still returning the old values. I then realized that the class

Re: exclude folders during mvn assembly

2012-04-17 Thread Barrie Treloar
On Wed, Apr 18, 2012 at 2:20 PM, Wayne Fay wayne...@gmail.com wrote: I want to exclude the /resources folder from the release so it doesn't get compiled into my .jar If you can't sort out how to do this, you can always make another project, depend on the output of this one, then unpack the

Re: JRE as mavne artifact

2012-04-16 Thread Barrie Treloar
On Tue, Apr 17, 2012 at 6:43 AM, chad.da...@emc.com wrote: Our build has a dependency on the JRE.  In order to build our final distribution artifact, we need a JRE.  To me, this means that the JRE should be managed as a maven artifact in nexus.  Otherwise, I can't use the assembly plugin

Re: maven compile error message format

2012-04-12 Thread Barrie Treloar
On Thu, Apr 12, 2012 at 2:55 PM, mike digioia mpd...@gmail.com wrote: Thanks Wayne, That is the reason for my two jars, one is source and the other binary. However, this statement does not make sense in all cases, since one can create self-running JAR files with mainclass.mf manifest file to

Re: Missing key cacheFile, checkstyle plugin, custom check class

2012-04-12 Thread Barrie Treloar
On Fri, Apr 13, 2012 at 3:29 AM, Grant Lewis ukchuckt...@gmail.com wrote: Yes, I tried all the suggested solutions including that one. On a hunch I went ahead and explicitly set the checkstyle version to 5.5 in the POM and problem solved. I believe checkstyle 5.5 changed the method signatures

Re: Missing key cacheFile, checkstyle plugin, custom check class

2012-04-12 Thread Barrie Treloar
On Fri, Apr 13, 2012 at 9:12 AM, Grant Lewis ukchuckt...@gmail.com wrote: Thanks for the tip on -X, I always forget the debug option. I have a related question. The checkstyle report is running twice and I end up with two links in the project-reports html file with the same data. Any thoughts

Re: Missing key cacheFile, checkstyle plugin, custom check class

2012-04-12 Thread Barrie Treloar
On Fri, Apr 13, 2012 at 9:58 AM, Grant Lewis ukchuckt...@gmail.com wrote: yeah, I thought the same thing and just checked it before reading your e-mail. It's in there. Our project is big so I can't fiddle too much with the parent POM and I don't want to roll my check into the main surefire

Re: Missing key cacheFile, checkstyle plugin, custom check class

2012-04-12 Thread Barrie Treloar
On Fri, Apr 13, 2012 at 1:02 PM, Wayne Fay wayne...@gmail.com wrote:  security-related annotations. I'd rather override the parent with my config, not the union I'm getting now. If all else fails I'll create a new module that doesn't inherit from our standard parent. You may want to specify

Re: maven compile error message format

2012-04-11 Thread Barrie Treloar
On Wed, Apr 11, 2012 at 4:45 PM, mike digioia mpd...@gmail.com wrote: Can anyone in the world tell me what line number and what error this compiler thinks my error is in source file ServiceDiscovery.java?

Re: maven compile error message format

2012-04-11 Thread Barrie Treloar
On Thu, Apr 12, 2012 at 8:22 AM, mike digioia mpd...@gmail.com wrote: Hi Barrie, Sorry to take anymore of your time up. But I have not had any success with all the changes I have made to correct this problem. Based on your recommendation I suspect it is a mismatch in what I have in my code

Re: maven compile error message format

2012-04-11 Thread Barrie Treloar
On Thu, Apr 12, 2012 at 9:12 AM, mike digioia mpd...@gmail.com wrote: Thanks I see you don't know what the issue is either. This is not a java programming issue. It is a maven issue. I have been living with the maven manual for a week. But that has not been much time considering what they

Re: Missing key cacheFile, checkstyle plugin, custom check class

2012-04-11 Thread Barrie Treloar
On Thu, Apr 12, 2012 at 12:29 PM, Wayne Fay wayne...@gmail.com wrote: Disclaimer: I don't use Checkstyle as a primary component in my builds.        property name=cacheFile value=${checkstyle.cache.file}/        property name=cacheFile value=${cacheFile}/ Did you try leaving cacheFile out

Re: How to get access to ALL the data in maven central?

2012-04-10 Thread Barrie Treloar
On Tue, Apr 10, 2012 at 3:42 PM, Matt Taylor m...@matthewjosephtaylor.com wrote: Answered my own question to a degree.  For the benefit of the group here is how to do it: rsync -a -v --include */ --include *.pom --include *.xml --exclude * --bwlimit=1000 mirrors.ibiblio.org::maven2/ maven2

Re: Persisted container:org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER

2012-04-09 Thread Barrie Treloar
On Tue, Apr 10, 2012 at 3:49 AM, hujirong jirong...@gmail.com wrote: Hi I am try to integrate Rational Team Concert 3 (eclipse 3.6) and Maven. After I load the project, I see the following entries in the eclipse project build path. What shall I do with them? Thanks Jirong Persisted

Re: Can't download m2e

2012-04-09 Thread Barrie Treloar
On Tue, Apr 10, 2012 at 4:13 AM, hujirong jirong...@gmail.com wrote: Hi It seems I can't download the m2e, Maven plugin for eclipse. I am using RTC 3, an eclipse 3.6. Any idea how to fix this? As answered in the next email, contact the m2e mailing list http://www.eclipse.org/m2e/

Re: How to get access to ALL the data in maven central?

2012-04-09 Thread Barrie Treloar
On Tue, Apr 10, 2012 at 12:31 PM, Ron Wheeler rwhee...@artifact-software.com wrote: You are going to be missing the key ingredient which is the application POMs that tell you what artifacts are actually used. You might get some interesting information about things like log4j which is probably

Re: Archetype for flat structure

2012-04-04 Thread Barrie Treloar
On Wed, Apr 4, 2012 at 4:38 PM, Marc Schlegel my.mailing.li...@gmx.de wrote: We definately need this / (call archetype) /test-parent /test-module1 /test-module2 I'm afraid if you haven't found a way to do this then there probably isn't one. Your options are: 1) Run the archetype and then

Re: Maven Repository

2012-04-04 Thread Barrie Treloar
On Thu, Apr 5, 2012 at 9:51 AM, NunoM nunowas...@hotmail.com wrote: Hello everyone, I'm a new user to Apache Maven and Apache Shiro. I'm doing a tutorial, but before starting it, I need to add https://repository.apache.org/content/groups/snapshots-group/ to my settings.xml. (I need shiro

Re: Maven Repository

2012-04-04 Thread Barrie Treloar
On Thu, Apr 5, 2012 at 10:11 AM, NunoM nunowas...@hotmail.com wrote: Hello, Yes. I already spent some time reading the documentation. And I thought I had understood it well. I've already added the server tag and necessary permissions that are located in the readme.txt on the website.

Re: Archetype for flat structure

2012-04-03 Thread Barrie Treloar
On Wed, Apr 4, 2012 at 1:34 AM, marc.schle...@accenture.com wrote: Hello everyone For a project I need to create some archetypes and so far it works quite well. The only big problem is that I need the archetype to create a flat project structure, but the archetype-generation will always

Re: Eclipse pde with maven

2012-03-29 Thread Barrie Treloar
On Thu, Mar 29, 2012 at 5:28 PM, Jeff MAURY jeffma...@jeffmaury.com wrote: Nexus OSS does support p2 since version 2.0 Sweet, I'll be filing the paperwork for an upgrade tomorrow then. - To unsubscribe, e-mail:

Re: Eclipse pde with maven

2012-03-29 Thread Barrie Treloar
On Thu, Mar 29, 2012 at 9:18 PM, Barrie Treloar baerr...@gmail.com wrote: On Thu, Mar 29, 2012 at 5:28 PM, Jeff MAURY jeffma...@jeffmaury.com wrote: Nexus OSS does support p2 since version 2.0 Sweet, I'll be filing the paperwork for an upgrade tomorrow then. Got 2.0.3 installed and it doesn't

Re: How can I use a Maven plugin to change Eclipse WebSphere Deployment Classloader mode to PARENT_LAST

2012-03-28 Thread Barrie Treloar
On Thu, Mar 29, 2012 at 5:31 AM, Chris Harris chris_har...@baxter.com wrote: Nabble didn't ever email me that I had replies to my post, so apologies to you two for never responding until now.  paulv, Could you please remove my Email info from your reply? Chris, your email details are clearly

Re: Eclipse pde with maven

2012-03-28 Thread Barrie Treloar
On Thu, Mar 29, 2012 at 8:36 AM, Not Zippy notzi...@gmail.com wrote: Hi I am porting over an existing ant project build from ant to maven. I have the core assets compiling with maven without issues. I also was able to get plugin built for netbeans with very little difficulty at all. But with

Re: Quick question on Super POM plugin management usage

2012-03-28 Thread Barrie Treloar
On Thu, Mar 29, 2012 at 11:17 AM, Daivish Shah daivish.s...@gmail.com wrote: Hi, I am trying to use the super POM in my all of the project and seems like PluginManagement doesn't work like this way. Super-Pom Project pom.xml build pluginManagement plugins plugin  

Re: Eclipse pde with maven

2012-03-28 Thread Barrie Treloar
On Thu, Mar 29, 2012 at 1:27 PM, Not Zippy notzi...@gmail.com wrote: I just wanted to verify that there wasnt a better plugin to do the job for an eclipse pde, thats why I asked here first. Not that I am aware of. We still use pde-maven-plugin which has long been abandoned. Its just a shell to

Re: Which is the BEST Approach to define Global POM.XML

2012-03-14 Thread Barrie Treloar
On Thu, Mar 15, 2012 at 8:04 AM, Amir Gheibi aghe...@fmep.ag.gov.bc.ca wrote: Hi Eric, I was wondering why your project POM's packaging type is POM. If I understand correctly, with POM packaging type you'd only get 3 default goals bound to their phases (I read it here:

Re: Maven vs Git

2012-03-12 Thread Barrie Treloar
On Tue, Mar 13, 2012 at 12:55 PM, Ben Caradoc-Davies ben.caradoc-dav...@csiro.au wrote: You need to create a Maven project and then restructure your source code folder layout to conform to the Maven conventions: http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html Once

Re: Can Maven tell Eclipse/m2eclipse to include generated code in classpath?

2012-03-12 Thread Barrie Treloar
On Tue, Mar 13, 2012 at 6:49 AM, Ward, Nathan nw...@merlin-intl.com wrote: I'm using the cxf-codegen-plugin to generate code from wsdl. The generated code goes into /target/generated/cxf. Is there a way to specify in the pom file that this code should be included in the Eclipse classpath? I

Re: Master pom file to checkout all modules of a project

2012-03-05 Thread Barrie Treloar
On Tue, Mar 6, 2012 at 2:32 PM, Karl Heinz Marbaise khmarba...@gmx.de wrote: [del] That sounds like a misuse/misunderstanding of Maven... [del] Kind regards Karl Heinz Marbaise Good advice Karl, I normally also include the links to the freely available books at

Re: using build profiles for WAR plugin [maven-eclipse-plugin]

2012-03-04 Thread Barrie Treloar
On Sat, Mar 3, 2012 at 6:28 AM, Markku Saarela markku.saar...@iki.fi wrote: Our releases do not have any configuration files in artifact's, instead manifest classpaths has directory name to point directory that has those files. We use separate build to assembly different configurations into

Re: Maven as an installation tool

2012-03-01 Thread Barrie Treloar
On Fri, Mar 2, 2012 at 2:02 PM, Eric Kolotyluk eric.koloty...@gmail.com wrote: Maybe this is too weird, but Has anyone ever used Maven as an installation tool? I've been thinking using Maven as a way to install and update software, and before I actually go and experiment with the idea I was

Re: offline not truly offline?

2012-02-28 Thread Barrie Treloar
On Wed, Feb 29, 2012 at 7:12 AM, Wayne Fay wayne...@gmail.com wrote: From the looks of the documentation, this was by design. Doesn't mean it wasn't a bad design. ;-) ... remote represents the http://repo1.maven.org/maven2/archetype-catalog.xml catalog file. Well sure, but when you tell

Re: difference between eclipse plugin for maven and maven plugin for eclipse

2012-02-25 Thread Barrie Treloar
On Sun, Feb 26, 2012 at 2:55 AM, sarmahdi sarma...@hotmail.com wrote: Hello All! I am confused and i cant seem to undertand this thing : It's very simple. There is a eclipse plugin for maven that can be downloaded from eclipse ( I am trying to download one for RSA 7.0 but cannot find it)

Re: known problem to get JUnit 4 and TestNG working together

2012-02-20 Thread Barrie Treloar
On Tue, Feb 21, 2012 at 2:51 PM, Wayne Fay wayne...@gmail.com wrote: I have testng, junit 3.81 and junit 4.8.1. TestNG is stable. junit 3.81 ran I have to ask, is this something you have an honest need for in a business scenario or are you simply trying to climb Mt. Everest because it is

Re: Too many unapproved licenses

2012-02-19 Thread Barrie Treloar
On Mon, Feb 20, 2012 at 1:17 PM, Edward J. Yoon edwardy...@apache.org wrote: Hi all, I received Too many unapproved licenses but, I don't see any unapproved licenses log. Error log: [ERROR] Failed to execute goal org.codehaus.mojo:rat-maven-plugin:1.0-alpha-3:check (default-cli) on

Re: Copy two versions of same jar

2012-02-16 Thread Barrie Treloar
On Fri, Feb 17, 2012 at 2:51 PM, Wayne Fay wayne...@gmail.com wrote: dependencies       dependency           groupIdtest/groupId           artifactIdcastor/artifactId           version0.9.5/version       /dependency       dependency           groupIdtest/groupId          

[ANN] Maven Eclipse Plugin 2.9 Released

2012-02-13 Thread Barrie Treloar
The Maven team is pleased to announce the release of the Maven Eclipse Plugin, version 2.9 The Maven Eclipse Plugin is used to generate Eclipse IDE files (*.classpath, *.wtpmodules and the .settings folder) for use with a project. http://maven.apache.org/plugins/maven-eclipse-plugin/ [Please

Re: maven-pmd-plugin empty pmd.xml

2012-02-06 Thread Barrie Treloar
On Tue, Feb 7, 2012 at 7:19 AM, Wayne Fay wayne...@gmail.com wrote: Jenkins CI. I don't need full site lifecycle. The reason why pmd is needed -- is to enforce coding style and standarts and fail build in case of some violations. There is no need of html/csv reports in my scenario at all. I

Re: Maven errors on compilation of files with missing imports (files that are not called by the application) compile phase

2012-02-05 Thread Barrie Treloar
On Mon, Feb 6, 2012 at 7:36 AM, dlots imagene...@gmail.com wrote: I have a project and a shared folder that is common to all my projects that includes classes that are not necessarily used (and therefore) complete for all projects. When executing the compile phase, it is erroring because some

Re: Installation glitch!

2012-02-05 Thread Barrie Treloar
On Mon, Feb 6, 2012 at 9:26 AM, MH martinleeharri...@hotmail.co.uk wrote: I have a second installation running in Maven. I have tomcat as a standalone and have the war file deployed in Tomcat for Axis 2. This is still giving one of two errors either page not found or just one service hyperlink.

Re: Maven errors on compilation of files with missing imports (files that are not called by the application) compile phase

2012-02-05 Thread Barrie Treloar
On Mon, Feb 6, 2012 at 12:52 PM, dlots imagene...@gmail.com wrote: Can you clarify why the compile phase attempts to validate all classes in the src directories, including ones not used in the application? The eclipse builder for example does not attempt to validate all classes, while the

Re: surefire report missing css, images

2012-01-31 Thread Barrie Treloar
On Tue, Jan 31, 2012 at 6:59 PM, Kristian Rosenvold kristian.rosenv...@zenior.no wrote: I've been wondering about SUREFIRE-616; what is the correct way to actually fix this issue ? I've been wondering what caused the breakage, but haven't had time to find what changed. I think the report

Re: Noob question

2012-01-31 Thread Barrie Treloar
On Wed, Feb 1, 2012 at 10:15 AM, wimcolgate wimcolg...@gmail.com wrote: I re-arranged things, the way I probably should have started. The best advice I have seen is Don't fight against Maven, you'll loose. So, follow and use its conventions, adopt its philosophy, use it the way it works. If

Re: Maven Setup for Existing Plugin Development Project(Eclipse Plugin)

2012-01-30 Thread Barrie Treloar
On Mon, Jan 30, 2012 at 4:38 PM, Singh, Harsimranjit (NSN - IN/Bangalore) harsimranjit.si...@nsn.com wrote: Hi I have to use maven and that maven 2 only so option left Why Maven 2 only? Maven 3 should be backwards compatible for your needs. 1) Upgrade to latest version of Eclipse PDE: Can

Re: surefire report missing css, images

2012-01-30 Thread Barrie Treloar
On Tue, Jan 31, 2012 at 5:31 AM, Michael Norman michael.nor...@oracle.comwrote: Running maven 3.0.4 via m2e (Maven Integration for Eclipse version 1.0.100.20110804-1717). Google will tell you ( https://www.google.com/search?q=surefire+report+missing+css) that its a known issue

Re: Maven Setup for Existing Plugin Development Project(Eclipse Plugin)

2012-01-29 Thread Barrie Treloar
On Mon, Jan 30, 2012 at 3:46 PM, Singh, Harsimranjit (NSN - IN/Bangalore) harsimranjit.si...@nsn.com wrote: Hi Thanks for reply . I am using Maven 2.2.1 Is sonatype support maven 2? Also I found: http://mojo.codehaus.org/pde-maven-plugin/ So which one I should use? pde-maven-plugin is

Re: Failure to find org.apache.maven.plugins

2012-01-15 Thread Barrie Treloar
On Mon, Jan 16, 2012 at 1:32 PM, Wayne Fay wayne...@gmail.com wrote: [del] removing the version tags, those error messages are gone in the window. The 2.0.2 version are downloaded when I run mvn verify. After removing the version tags from your pom, Maven will use plugin versions declared in

Re: No plugin found for prefix 'war' in the current project ...

2012-01-14 Thread Barrie Treloar
On Sat, Jan 14, 2012 at 5:43 PM, hp admin0...@homepage.kgbinternet.com wrote: As I already said, the error message shows up on my Eclipse when I open the pom.xml file without running any commands. The whole error stack is the following: Multiple annotations found at this line:        -

Re: maven and wtp dependencies not in WEB-INF/lib

2012-01-12 Thread Barrie Treloar
On Fri, Jan 13, 2012 at 9:22 AM, Paul Rivera paul_mriv...@yahoo.com wrote: Hi Guys, In a nutshell, I'm using maven on a web project which has a dependency on a java project.  Both projects are in my eclipse workspace.  By running mvn eclipse:eclipse -Dwtpversion=2.0, maven resolves that the

Re: Help with installing a non-maven jar in local repo .

2012-01-12 Thread Barrie Treloar
On Fri, Jan 13, 2012 at 3:21 PM, vvkbtnkr vvkbt...@yahoo.com wrote: I am trying to install a jar into my local repo by using pom.xml, and just so no one in my team may need to manually install the jar into local repo, I am using the approach outlined here:

Re: mvn validate -Pdb,mysql , failed

2011-12-22 Thread Barrie Treloar
'org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.3.2-kuali-2' This is not a valid plugin 'org.apache.maven.plugins:maven-jar-plugin' is, but missing the version details. I suspect you have errors in you pom.xml file that you need to fix.

Re: Maven eclipse not fully functional

2011-12-21 Thread Barrie Treloar
On Thu, Dec 22, 2011 at 11:16 AM, Apache Omega jason007tho...@yahoo.com wrote: I'm using the Maven Apache plug in for eclipse because I'm to new to figure out the command line method but now that I've switched I'm having problems again. my maven plug in is installed but the list for the

Re: Anyone help me about classpathContainers in maven-eclipse-plugin?

2011-12-20 Thread Barrie Treloar
On Tue, Dec 20, 2011 at 4:45 PM, zuxiong lin linzuxiong1...@gmail.com wrote: I have a webapp project under eclipse by my colleage. So it has WEB-INF/lib directory and dependcy packages are put in by my colleage. Now I have create a pom file for the project. But import the maven project , I

Re: Solve my exception for mvn installtion

2011-12-20 Thread Barrie Treloar
On Sat, Dec 17, 2011 at 6:18 AM, Barrie Treloar baerr...@gmail.com wrote: On Fri, Dec 16, 2011 at 11:54 PM, ashishmemod ashishme...@gmail.com wrote: I found the problem and now it is solved. thank all who helped me. This reply makes me angry. Please state what you problem actually

Re: Use mvnsh with already installed Maven - how?

2011-12-19 Thread Barrie Treloar
On Mon, Dec 19, 2011 at 6:34 PM, Lewis, Eric eric.le...@ipi.ch wrote: Anyone?  :-) Try the people that build mvnsh http://shell.sonatype.org/index.html - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional

Re: having problems with java -cp taget command

2011-12-18 Thread Barrie Treloar
On Mon, Dec 19, 2011 at 9:40 AM, Wayne Fay wayne...@gmail.com wrote: when I run java -cp target\TestAppTest-1.0-SNAPSHOT.jar (and then)org.jason.ShadowInnovations.App (that didnt work [Error: Could not find or load main class jar] so I put in)org.jason.ShadowInnovations.AppTest (and i got

Re: Solve my exception for mvn installtion

2011-12-16 Thread Barrie Treloar
On Fri, Dec 16, 2011 at 11:54 PM, ashishmemod ashishme...@gmail.com wrote: I found the problem and now it is solved. thank all who helped me. This reply makes me angry. Please state what you problem actually was and what you did to solve it. The next person who has the same problem as you

Re: Multi Module Project Failing - Help Me

2011-12-16 Thread Barrie Treloar
On Sat, Dec 17, 2011 at 4:10 AM, Daivish Shah daivish.s...@gmail.com wrote: Hi Barrie, That's correct It's not MAVEN issue but i was thinking that whatever we define in POM.XML file as dependency eclipse must find it automatically for it's compilation yes this is working well for projects

Re: Multi Module Project Failing - Help Me

2011-12-15 Thread Barrie Treloar
On Fri, Dec 16, 2011 at 5:24 AM, Daivish Shah daivish.s...@gmail.com wrote: Hi Barrie Treloar, You suggestions looks good to me, I tried your suggestion. And yes this is not working only XSD generated import statements in Module 2. I have one DAO module too which is also generating some JAR

Re: Solve my exception for mvn installtion

2011-12-15 Thread Barrie Treloar
On Fri, Dec 16, 2011 at 3:12 PM, ashishmemod ashishme...@gmail.com wrote: thank you for above reply... But I installed java 6 with update 24 in my system!!! So now what is meaning of this exception? You are mixing versions of Java. You have your IDE using Java 5 or Java 6 and You have your

Re: Solve my exception for mvn installtion

2011-12-15 Thread Barrie Treloar
On Fri, Dec 16, 2011 at 4:39 PM, Barrie Treloar baerr...@gmail.com wrote: On Fri, Dec 16, 2011 at 3:12 PM, ashishmemod ashishme...@gmail.com wrote: thank you for above reply... But I installed java 6 with update 24 in my system!!! So now what is meaning of this exception? You are mixing

Re: Multi Module Project Failing - Help Me

2011-12-14 Thread Barrie Treloar
On Thu, Dec 15, 2011 at 1:38 AM, Daivish Shah daivish.s...@gmail.com wrote: There is typo, true but I used some real time project. And names if that project I changed. As I can't give names of that project. But I will tried with ur comments and MainProject pom.xml is working fine. But it's

Re: Multi Module Project Failing - Help Me

2011-12-14 Thread Barrie Treloar
On Thu, Dec 15, 2011 at 8:06 AM, Daivish Shah daivish.s...@gmail.com wrote: Hi Barrie, I got the real problem but still looking for solution. module1 is XSD type project means it generates classes file and JAR file based on XSD information. And i am defining module1 project as dependency

Re: Conflicting Spring versions

2011-12-14 Thread Barrie Treloar
On Thu, Dec 15, 2011 at 8:21 AM, Ron Wheeler rwhee...@artifact-software.com wrote: On 14/12/2011 3:17 PM, scabbage wrote: I have a multi-module project with a parent pom and several sub-modules. In one of the module, I have a dependency that has a transitive dependency of spring (2.0.6). How

Re: Conflicting Spring versions

2011-12-14 Thread Barrie Treloar
On Thu, Dec 15, 2011 at 10:10 AM, Ansgar Konermann ansgar.konerm...@googlemail.com wrote: Am 14.12.2011 23:49, schrieb Barrie Treloar: Use http://maven.apache.org/plugins/maven-dependency-plugin/ Either mvn dependency:tree or mvn dependency:list Plus: use maven-enforcer-plugin with rule

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