strange with repository element in pom

2012-12-11 Thread tong123123
at first, my pom has not the following repository repositories     repository   idjboss-public-repository-group/id   nameJBoss Public Maven Repository Group/name   urlhttps://repository.jboss.org/nexus/content/groups/public-jboss//url   layoutdefault/layout

Re: Timeout for Archiva Repository

2012-12-11 Thread Andreas Ermrich
Hi Olivier, thanks for sharing this link. But that was not what I wanted to know. The settings described in your link are about configuring the timeout for the maven client. That's nice but I wanted to know whether there is a way to configure the timeout that uses Archiva for the calls to it's

Running hello world JPA app with maven: No Persistence provider for EntityManager named XXX

2012-12-11 Thread Anton Reshetnikov
Hello, I'm learning JEE6 and I'm also new to Maven. I'm trying to resolve this issue for two days already with no success, so maybe someone could help me here? The thing is, I can't run a hello world app, that uses JPA. Here's what I do and what I get: mvn exec:java

Re: strange with repository element in pom

2012-12-11 Thread Anders Hammar
I'm guessing there was something in your local repo initially that made this not work. Then you remove that and it now works. Very hard to tell without detailed info. The hamcrest artifacts are in central so you do not need the jboss repo for that. /Anders On Tue, Dec 11, 2012 at 11:13 AM,

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

2012-12-11 Thread boumbh
I’m always confuse when I see this answer and since it is the third time, I will try and answer myself for the next time I get this problem. For a new project, just take the latest stable version of the plugins. When you import an existing project, try and guess which plugin could have been used

Re: Timeout for Archiva Repository

2012-12-11 Thread Olivier Lamy
The best is to ask such archiva specific questions on archiva mailing list (see http://archiva.apache.org/mail-lists.html) 2012/12/11 Andreas Ermrich andreas.ermr...@googlemail.com: Hi Olivier, thanks for sharing this link. But that was not what I wanted to know. The settings described in

Compile fails after I change package version

2012-12-11 Thread Daniela
Hi, I changed in pom the version of one third party package called wurfl. The pom is: ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0

Re: Maven site build errors

2012-12-11 Thread David Hoffer
Yes this has fixed this issue, thank you! -Dave On Thu, Dec 6, 2012 at 5:13 PM, Hervé BOUTEMY herve.bout...@free.fr wrote: ok, we got it: see http://jira.codehaus.org/browse/MDEP-187 if you upgrade m-dependency-p to 2.6, you'll get a better error message then you should probably try to mvn

Surefire 2.13 close to release, last chance to give feedback !

2012-12-11 Thread Kristian Rosenvold
The current 2.13-SNAPSHOT is functionally pretty close to what will be the staged version for release. Most users (especially JUnit 4.x users) should appreciate the heavily revised summary of which tests failed during a test run and improved stacktrace trimming. So if you want to give this

Fwd: custom lifecycle without inheritance

2012-12-11 Thread Ben Tatham
Hello, I am trying to invoke a single goal before another (ant-based) Mojo executes. Due to http://jira.codehaus.org/browse/MNG-5405 I cannot just do exeecutiongoalfoo:bar/goal/execution in the mojo.xml for the plugin. So instead, I've defined a lifecycle.xml, with only one goal in it. This

Re: Running hello world JPA app with maven: No Persistence provider for EntityManager named XXX

2012-12-11 Thread Wayne Fay
I'm learning JEE6 and I'm also new to Maven. I'm trying to resolve this issue for two days already with no success, so maybe someone could help me here? The thing is, I can't run a hello world app, that uses JPA. Here's what I do and what I get: This question is more suited to one of the JEE

Creating (feature/development) branches and deploying to nexus?

2012-12-11 Thread motes motes
How do you guys maintain multiple branches parallel with trunk when it comes to using maven and nexus as a binary storage? If I create a feature branch I don't want the resulting binaries to get mixed up with the binaries produced when code from trunk is deployed to nexus. So I guess I need to

Re: Creating (feature/development) branches and deploying to nexus?

2012-12-11 Thread Manfred Moser
A common way is to use classifier in the version string that signifies the branch and update the version for all projects with the maven versions plugin. Then you can do deployments to Nexus from the branch and there will be no confusion in terms of the artifacts.. manfred On Tue, December 11,

Re: Creating (feature/development) branches and deploying to nexus?

2012-12-11 Thread motes motes
I was thinking something like this: trunk: version1.2.3-SNAPSHOT/version branch: version1.2.3-BRANCH-SNAPSHOT/version I would like to avoid using the classifier.../classifier tag since I already use that for some of my projects. I guess it will be a bit messy when doing a merge from the

Re: Creating (feature/development) branches and deploying to nexus?

2012-12-11 Thread Manfred Moser
That is what I was referring to... I mixed it up again.. it is called a qualifier.. and what you want to do.. sorry for the confusion.. manfred On Tue, December 11, 2012 12:40 pm, motes motes wrote: I was thinking something like this: trunk: version1.2.3-SNAPSHOT/version branch:

File lock problem in custom Maven Reporting Plugin

2012-12-11 Thread Baptiste Gaillard
Hi, I'm currently creating a new Maven Reporting Plugin which integrate an external tool used to generate a Javascript documentation in my Maven Web Site. My report Mojo is very simple and is declared using : /** * @goal jsduck * @phase site */ public class JSDuckReportMojo extends