Re: opinion on obfuscator plugin default execution phase?

2013-07-11 Thread Andreas Sewe
Hi Richard, I can see it both ways... If it runs at the packaging phase, it'll start (by default) by processing the packaged artifact created by the default packaging and either overwriting the artifact or creating a new one with a classifier (e.g. artifact-small). If it runs at the

AW: Maven and JPA/EclipseLink Configuration...

2013-07-11 Thread christofer.d...@c-ware.de
You could have a look at my Wiki article about multiple persistence.xml files: https://dev.c-ware.de/confluence/display/PUBLIC/Multiple+persistence.xml+in+a+multi-module+application Here you could separate your JPA entities from the platform dependent Options. In your case you could create your

Re: Maven and JPA/EclipseLink Configuration...

2013-07-11 Thread Stephen Connolly
That looks like a Spring only solution I wonder is there a pure JavaEE counterpart On 11 July 2013 09:56, christofer.d...@c-ware.de christofer.d...@c-ware.dewrote: You could have a look at my Wiki article about multiple persistence.xml files:

AW: Maven and JPA/EclipseLink Configuration...

2013-07-11 Thread christofer.d...@c-ware.de
Well it should be possible as the PersistenceUnitManager is more a JPA Thing and not restricted to Spring. In my example it is just configured using Spring. Think it should be possible to do this an a JavaEE application (Perhaps I should find this out somehow and extend my tutorial). If someone

Re: Maven and JPA/EclipseLink Configuration...

2013-07-11 Thread Stephen Connolly
It's not an EJB 3.1 thing... checking the 3.2 spec now On 11 July 2013 10:22, christofer.d...@c-ware.de christofer.d...@c-ware.dewrote: Well it should be possible as the PersistenceUnitManager is more a JPA Thing and not restricted to Spring. In my example it is just configured using Spring.

Re: Maven and JPA/EclipseLink Configuration...

2013-07-11 Thread Stephen Connolly
Couldn't find it there either... Also the spec does not allow the use of an EL in the persistence.xml, so you can't even delegate to JNDI or system properties... only hope is container specific overriding via deployment descriptors OpenEJB (the good guy) supports this:

Re:Error of after running 'mvn package' command

2013-07-11 Thread 邹志勇
I don't config repository and where can i see the repository configured? Thanks. At 2013-07-11 09:46:57,邹志勇 zouzhiyong0...@163.com wrote: Hi, After i run the command 'mvn package', then i get the following error message : Failed to execute goal org.kohsuke:access-modifier-checker:1.4:enforce

Re: Error of after running 'mvn package' command

2013-07-11 Thread Russell Gold
It could be configured either in your POM or your settings.xml. On Jul 11, 2013, at 6:04 AM, 邹志勇 zouzhiyong0...@163.com wrote: I don't config repository and where can i see the repository configured? Thanks. At 2013-07-11 09:46:57,邹志勇 zouzhiyong0...@163.com wrote: Hi, After i run

Re: simple questions - where to put unpackaged config files?

2013-07-11 Thread Russell Gold
Hi Richard, You can use the property${basedir} to refer to root of the project, so the directory in question would be ${basedir}/src/main/config - Russ On Jul 11, 2013, at 1:24 AM, Richard Sand rs...@idfconnect.com wrote: I've several projects that were created before we began using

Re: simple questions - where to put unpackaged config files?

2013-07-11 Thread Baptiste MATHUS
Hi, src/main/config actually is the default/recommended place. See http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html Not sure though it's a directory used by any plugin in general. But that might not be an issue for you. Cheers 2013/7/11 Russell

Assemply plug-in: useProjectArtifact flag

2013-07-11 Thread Igor Zapletnev
I want to include just one artifact from the dependencies in the the result jar, so my assembly descriptor: dependencySet outputDirectory//outputDirectory includes includeorg.example:test:zip:1.0.0/include /includes /dependencySet In the result jar I am able to see only

Re:Error of after running 'mvn package' command

2013-07-11 Thread 邹志勇
From my observation, in POM file and settings.xml don't do any config about repository, the following are two files content : In the end, i pastes the more detail debug infor of running 'mvn '. 1.Project POM file content : project xmlns=http://maven.apache.org/POM/4.0.0;