Re: Need help with a dependency problem...

2010-11-26 Thread Antonio Petrelli
2010/11/25 Julien Martin bal...@gmail.com:            plugin                groupIdorg.apache.maven.plugins/groupId                artifactIdmaven-compiler-plugin/artifactId                configuration                    source1.6/source                    target1.6/target                  

Re: Need help with a dependency problem...

2010-11-26 Thread Andreas M
Now, I'm no export on annotation processors, but don't you have to have it compiled before you can add it to the compiler arguments? In this, you say to the compiler that it should use the class it's compiling as a processor as well. That can't go well, can it? /Andreas -- View this message in

Re: multi-platform multi-module project/modules structure

2010-11-26 Thread Javier Arias
Hello everybody, please, can anyone answer this questions, or give me some online references provinding advice on how to solve a similar problem? I searched online but found nothing relevant. Thank you very much. Best regards. Javier arias. From: Javier Arias

Re: multi-platform multi-module project/modules structure

2010-11-26 Thread Antonio Petrelli
2010/11/24 Javier Arias xavi_ari...@yahoo.com: So, here are my questions, I am new to maven, so some options may be just wong: + which would be the best project structure?       - nine independent projects and two sepparate projects for the building?       - three projects dividing by

Re: multi-platform multi-module project/modules structure

2010-11-26 Thread Javier Arias
Thank you, Antonio, I didn't think on that option, why is it better than having nine modules? on the other side, is it possible to specify that packaging for one module is just to compile (leave the .class files on the target) since packaging for each platform will be just one jar. How is it

Re: multi-platform multi-module project/modules structure

2010-11-26 Thread Antonio Petrelli
2010/11/26 Javier Arias xavi_ari...@yahoo.com: I didn't think on that option, why is it better than having nine modules? I just guessed that the j2me/j2se are very specific to the assemblies you want to create for j2me and j2se. IOW, I guessed that those modules will not be used elsewhere (am I

AW: Maven 3.0 doesn't update snapshot artifacts

2010-11-26 Thread Moser, Christian
Posted my problem also in artifactory mailing list. @see http://forums.jfrog.org/artifactory-amp-maven-3-0-metadata-problem-td5776632.html - Chris -Ursprüngliche Nachricht- Von: Patrick Sansoucy [mailto:patrick.sanso...@gmail.com] Gesendet: Freitag, 26. November 2010 04:05 An: Maven

Re: Maven 3.0 doesn't update snapshot artifacts

2010-11-26 Thread Stevo Slavić
Define update policy in your snapshots repository declaration: repository snapshots enabledtrue/enabled updatePolicyalways/updatePolicy /snapshots /repository Regards, Stevo. On Fri, Nov 26, 2010 at 11:20 AM, Moser, Christian c...@metrohm.com wrote: Posted my

Maven Transitive dependency for woven jar

2010-11-26 Thread Akhilesh Singh
Hi, I am currently facing an issue in our project setup. The scenario is something like this: 1) Project A - Project B - Project C 2) Project A-web - Project A Project D This works all fine as generated was for Project A-web conains all the

log4j:log4j:bundle:1.2.16 : Bundle or JAR ?

2010-11-26 Thread raphael.jolivet
Hello, In my project, I have a dependency over log4j 1.2.16. In maven central, it comes as a bundle package type : I'm not sure what it really is: Is it just a big jar with all dependencies included ? Anyway, I have added it to my POM, but maven fails at finding it on the repository. It

Re: log4j:log4j:bundle:1.2.16 : Bundle or JAR ?

2010-11-26 Thread Antonio Petrelli
Definitely ask the Log4j team, we have no idea what they intended to do. Antonio 2010/11/26 raphael.jolivet raphael.joli...@gmail.com: Hello, In my project, I have a dependency over log4j 1.2.16. In maven central, it comes as a bundle package type : I'm not sure what it really is: Is it

AW: Maven 3.0 doesn't update snapshot artifacts

2010-11-26 Thread Moser, Christian
I guess calling mvn explicit with -U should have the same effect like setting updatePolicyalways/updatePolicy, shouldn't it? - Chris -Ursprüngliche Nachricht- Von: Stevo Slavić [mailto:ssla...@gmail.com] Gesendet: Freitag, 26. November 2010 11:37 An: Maven Users List Betreff: Re:

Re: log4j:log4j:bundle:1.2.16 : Bundle or JAR ?

2010-11-26 Thread Michael Prieß
Hi, try to download with packaging type jar. If the jar contain a osgi manifest it's a bundle. But for development you can also use a jar with scope provided and provide log4j over pax logging or another bundle that run in your osgi container. Regards, Michael

Assembly Plugin 2.2 File Filtering

2010-11-26 Thread Gérald Quintana
Hello, I have an assembly with files which should be copied and filtered: fileSet directorysrc/main/config/directory outputDirectoryconfig/outputDirectory filteredtrue/filtered excludes excludequartz.properties/exclude

Re: Assembly Plugin 2.2 File Filtering

2010-11-26 Thread Arnaud Héritier
Couldn't it be the same problem as in resources plugin (there are using same libraries to do that) which stops if you have a @ character alone : http://jira.codehaus.org/browse/MRESOURCES-104 On Nov 26, 2010, at 1:48 PM, Gérald Quintana wrote: Hello, I have an assembly with files which

Re: multi-module agregated test report

2010-11-26 Thread emerson
This is the default base case which is handled just fine without any other tools outside of Maven. Please refer to http://maven.apache.org/plugins/maven-surefire-report-plugin/report-mojo.html Hi Jesse, unfortunetaly, the generated report just separates by package and not by module. I

Re: log4j:log4j:bundle:1.2.16 : Bundle or JAR ?

2010-11-26 Thread raphael.jolivet
Hi, Thanks for your anwsers. I will definitely ask the log4j team. For now, I have found a workaround by deploying log4j in my local repository as a jar package: mvn deploy:deploy-file -Dfile=d:/Download/log4j-1.2.16.jar -DgroupId=log4j -DartifactId=log4j -Dversion=2.2.16 -Dpackaging=jar

Re: log4j:log4j:bundle:1.2.16 : Bundle or JAR ?

2010-11-26 Thread Stuart McCulloch
On 26 November 2010 11:26, raphael.jolivet raphael.joli...@gmail.comwrote: Hello, In my project, I have a dependency over log4j 1.2.16. In maven central, it comes as a bundle package type : I'm not sure what it really is: Is it just a big jar with all dependencies included ? Anyway, I

Re: Need help with a dependency problem...

2010-11-26 Thread Julien Martin
thanks a lot for your input Andreas and Antonio. 2010/11/26 Andreas M andreas.ch.magnus...@gmail.com Now, I'm no export on annotation processors, but don't you have to have it compiled before you can add it to the compiler arguments? In this, you say to the compiler that it should use the

Re: log4j:log4j:bundle:1.2.16 : Bundle or JAR ?

2010-11-26 Thread Stuart McCulloch
On 26 November 2010 13:41, raphael.jolivet raphael.joli...@gmail.comwrote: Hi, Thanks for your anwsers. I will definitely ask the log4j team. For now, I have found a workaround by deploying log4j in my local repository as a jar package: mvn deploy:deploy-file

Re: log4j:log4j:bundle:1.2.16 : Bundle or JAR ?

2010-11-26 Thread raphael.jolivet
Ok, Thanks for these clarifications. I have tried to change type as jar as you proposed and it works, even without my workaround. I am working with m2eclipse and I think that he is as confused as I was. He is still searching for alog4j.bundle ... It works great with CLI maven though. So I

Re: Assembly Plugin 2.2 File Filtering

2010-11-26 Thread Gérald Quintana
The assembly plugin doesn't take the filter configuration from the project, I has to re-inject the filters! Gérald Le 26 novembre 2010 14:03, Arnaud Héritier aherit...@gmail.com a écrit : Couldn't it be the same problem as in resources plugin (there are using same libraries to do that) which

Re: log4j:log4j:bundle:1.2.16 : Bundle or JAR ?

2010-11-26 Thread Ron Wheeler
Free advice - worth at least what you are paying. 1) Get a repository such as Nexus if you are going to go serious work with Maven. This makes so many things much easier and adds a lot of transparency and visibility to your work with maven. There are at least 2 free ones available. I use

deploying a loose jar to a repository using svn wagon

2010-11-26 Thread Christopher Taylor
Hi list, I'm having trouble deploying a loose jar file with a pom file I created myself to a repository that needs to be accessed via svn. the command line I'm using is: mvn -f jarfile.pom.xml deploy:deploy-file -Durl=scm:svn:https://repoURL/mvnrepo -DrepositoryId=myProduct-repo

Re: log4j:log4j:bundle:1.2.16 : Bundle or JAR ?

2010-11-26 Thread Stuart McCulloch
On 26 November 2010 14:16, raphael.jolivet raphael.joli...@gmail.comwrote: Ok, Thanks for these clarifications. I have tried to change type as jar as you proposed and it works, even without my workaround. I am working with m2eclipse and I think that he is as confused as I was. He is

Re: multi-module agregated test report

2010-11-26 Thread emerson
I believe it is correct to say that MAVEN 2 HAS NO WAY to aggregate surefire reports from different sub-modules and at the same time show a summary for each module? Could some one confirm this,then I will look for another solution. Thanks On 26 November 2010 13:17, emerson

Re: RE: Continuous Delivery and Maven

2010-11-26 Thread Stephen Connolly
OK that one is done now r1039453... I'll see what the story is about pushing a release of m-r-p soonish... Last step is the v-m-p... -Stephen On 25 November 2010 16:14, Stephen Connolly stephen.alan.conno...@gmail.com wrote: http://jira.codehaus.org/browse/MRELEASE-621 will be needed to get

Re: multi-module agregated test report

2010-11-26 Thread Jesse Farinacci
Greetings Emerson, On Fri, Nov 26, 2010 at 10:30 AM, emerson echofloripa.y...@gmail.com wrote: I believe it is correct to say that MAVEN 2 HAS NO WAY to aggregate surefire reports from different sub-modules and at the same time show a summary for each module? Could some one confirm this,then I

Re: Assembly Plugin 2.2 File Filtering

2010-11-26 Thread Simone Tripodi
I got *exactly* the same issue, I suppose we should fill a new Issue on Jira!!! Simo http://people.apache.org/~simonetripodi/ http://www.99soft.org/ On Fri, Nov 26, 2010 at 3:18 PM, Gérald Quintana gerald.quint...@gmail.com wrote: The assembly plugin doesn't take the filter configuration from

Issue if colon in project path

2010-11-26 Thread Siegmar Alber
Hi all, is it only my setup or is there a problem if there is a colon in the project path? I attached a small sample project. (I hope it's allowed to attach files...) I'm using Maven 3 and tried it on Mac OS X (10.6.5) and on Ubuntu Linux. To reproduce the problem: 1. Untar the attached

Re: Issue if colon in project path

2010-11-26 Thread Brian Topping
For one thing, using a colon in a filename on OSX is bound to lead to problems in a lot of different applications. That is the directory separator for MFS and HFS volumes, and while HFS+ and has deprecated use of colon, I believe it is still supported in strange ways. On Nov 26, 2010, at

Re: multi-module agregated test report

2010-11-26 Thread Stephen Connolly
There are good reasons for not having overlapping packages in separate jars. Namely when alves security manager is running, our if the jar is signed then they are treated as separate packages - Stephen --- Sent from my Android phone, so random spelling mistakes are a direct result of using swype

Re: Problems using maven-dependencies-plugin

2010-11-26 Thread Marvin Froeder
Well, this is problematic right now... there is no place on pom to declare this information, so since on 2.x maven didn't validate the scope that was the place for it =D Hopefully on maven 3.1/project model 5 will make some room so flexmojos would stop using scopes and this problems would be

[ANN] Apache Maven 3.0.1 Released

2010-11-26 Thread Benjamin Bentmann
The Maven team is pleased to announce the release of Apache Maven 3.0.1 Maven is a project comprehension and build tool, designed to simplify the process of maintaining a healthy development lifecycle for your project. You can read more here: http://maven.apache.org/ Downloads of source

Custom Lifecycle

2010-11-26 Thread Greg Akins
I want to run selenium tests outside of the normal build cycle. They're working right now in the integration-test phase, but I can't allow them to run from the build server (they'll fail). It seems like I'll need to define a custom lifecycle, but I don't completely understand everything I'll need

Re: Custom Lifecycle

2010-11-26 Thread Kalle Korhonen
Why not just use a profile for this? Kalle On Fri, Nov 26, 2010 at 4:50 PM, Greg Akins angryg...@gmail.com wrote: I want to run selenium tests outside of the normal build cycle. They're working right now in the integration-test phase, but I can't allow them to run from the build server

Re: Custom Lifecycle

2010-11-26 Thread Greg Akins
Doh! Great idea.. didn't even think of that. Thanks! On Fri, Nov 26, 2010 at 8:15 PM, Kalle Korhonen kalle.o.korho...@gmail.com wrote: Why not just use a profile for this? Kalle On Fri, Nov 26, 2010 at 4:50 PM, Greg Akins angryg...@gmail.com wrote: I want to run selenium tests outside of

Re: Issue if colon in project path

2010-11-26 Thread Wayne Fay
is it only my setup or is there a problem if there is a colon in the project path? Rename your directory and remove the colon. Including colons in directory names is generally a bad idea for a lot of reasons on most operating systems. Should I report this as a bug? Definitely not. Does