Maven and shell command

2009-01-08 Thread Nicola Benaglia
Hi, I was looking to a maven plugin to execute command from shell (I need to run 'sed' from shell). I found Maven shell, but it seems deprecated. Could you please suggest something to use? Thank you, Nico - To unsubscribe, e-ma

export dependency libs

2008-11-05 Thread Nicola Benaglia
Hi, I need to export all dependency libs into a folder, to be distributed with my application. Is there a way to do that? Is there a smarter way to distribute my application complete with dependencies? I tryed jar-with-dependencies option but I'd prefer a folder with jars. Thank you, Nicola ---

graphical eclipse plugin to display dependencies?

2008-10-06 Thread Nicola Benaglia
Hi, isn't there an eclipse plugin to see a graph with dependencies in a maven project? I have to exclude some jar deployed but I found difficult to find the calling dependency with the command mvn dependency:resolve -X Maybe some of you knows the existence of such a plugin :) Thank you Nicola ---

dependencies.dependency.version is missing

2008-09-05 Thread Nicola Benaglia
Hi, I am using seam with maven and now I want to use a new version (2.1.0.BETA1) On my project's root pom I wrote the new version in: org.jboss.seam root 2.1.0.BETA1 In my ejb sub-project I get the error when trying to compile. 'dependencies.dependency.version' is mis

jboss + source lookup path + maven repository

2008-09-04 Thread Nicola Benaglia
Hi, I am trying to debug a jboss application (in particular with Seam) whose source are contained in my maven repository ( I downloaded them with 'mvn dependency:sources' command, and I can see them). I set up the source path under Eclipse->Server->Open Launch Configuration->Source , choosing unde

explode EAR

2008-07-08 Thread Nicola Benaglia
Hi, I like to obtain an exploded EAR directory instead of a packaged EAR. How can I do that, please? Regards, nic - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: local repository: priority?

2008-07-07 Thread Nicola Benaglia
Wendy Smoak ha scritto: Try re-installing them with -DgeneratePom=true. (I thought that was the default, but apparently not [1].) Then you will have poms for these artifacts in your local repository, and Maven will not try to download the poms from your remote repos. [1] http://maven.apache.or

Re: local repository: priority?

2008-07-07 Thread Nicola Benaglia
Wendy Smoak ha scritto: On Mon, Jul 7, 2008 at 6:18 AM, Nicola Benaglia <[EMAIL PROTECTED]> wrote: I expected that it first looked inside my local repository. Maybe I missed some configuration? How can I set my local repos as default (with highest priority) and then the others?

local repository: priority?

2008-07-07 Thread Nicola Benaglia
Hi, I installed in my repository (under my.domain) some jars not found in public repos. When I package my project, maven starts looking for my jars on external repositories, and it takes very long time before it completes, because for each jars it search in each repository I defined in my pom

autoadded property

2008-07-02 Thread Nicola Benaglia
Hi, I my project I need to use richfaces 3.2.1.GA so I added a property to set the version. My final ear contains a different version of richfaces so I am trying to figure out th reason. Using: mvn help:effective-pom I see: 3.2.6.GA 1.0 *-->3.1.4.GA 3.3.0.ga 1.3.0-SNAPSHOT

ant + maven: double configuration...how?

2008-06-30 Thread Nicola Benaglia
Hi, i have a three module maven project: 1) ejb 2) war 3) ear In ear's pom.xml I put the following org.apache.maven.plugins maven-antrun-plugin deploy_jboss package

Re: deploying on a public maven server

2008-05-11 Thread Nicola Benaglia
Hi, reading on maven FAQ I haven't found an answer to this question: If i need to deploy to my project library to a public maven repos, who I have to ask permission to? Is it possible or do I need to configure and expose my own maven repos? Late, but I found this useful link: http://maven.apa

deploying on a public maven server

2008-05-11 Thread Nicola Benaglia
Hi, reading on maven FAQ I haven't found an answer to this question: If i need to deploy to my project library to a public maven repos, who I have to ask permission to? Is it possible or do I need to configure and expose my own maven repos? Thank you, Nicola ---

distribute maven project with lib not in a repo

2008-05-08 Thread Nicola Benaglia
Hi, I should distribute a maven project which requires some libs at runtime not contained in a maven repos. What best practices should I follow? I think it's a common problem; not all projects are "mavenized" (yet). 1. distribute these libs and suggest to use mvn install:install-file ? 2. put l

include all java packages ofa module in his child

2008-05-05 Thread Nicola Benaglia
Hi, I started up a project consisting of 3 modules (to learn maven): commons client server client and server depends on commons and I want to open the client.jar and see all packages of commons + all packages of client. So far I open client.jar and see only its packages and not its father's

Re: java.lang.ClassNotFoundException: ”-Xmx512m” [SOLVED]

2008-05-05 Thread Nicola Benaglia
Nicola Benaglia ha scritto: Hi, I receive an exception after setting MAVEN_OPTS: MAVEN_OPTS=”-Xmx512m” MAVEN_HOME=/opt/apache_foundation/apache-maven-2.0.9 Hi, I found, it's trivial. it's the character ” instead of &quo

java.lang.ClassNotFoundException: ”-Xmx512m”

2008-05-05 Thread Nicola Benaglia
Hi, I receive an exception after setting MAVEN_OPTS: MAVEN_OPTS=”-Xmx512m” MAVEN_HOME=/opt/apache_foundation/apache-maven-2.0.9 Here the exception: >mvn -e package Exception in thread "main" java.lang.NoClassDefFoundError: ”-Xmx512m” Caused by: java.lang.ClassNotFoundException: ”-Xmx512m” a

Re: exclude .svn

2008-05-05 Thread Nicola Benaglia
Olivier Lamy ha scritto: They are excluded by default. 2008/5/5 Nicola Benaglia <[EMAIL PROTECTED]>: Hi, I need to exclude my .svn from the created jar. I tried unsuccesfully this: org.apache.maven.plugins maven-jar-

exclude .svn

2008-05-05 Thread Nicola Benaglia
Hi, I need to exclude my .svn from the created jar. I tried unsuccesfully this: org.apache.maven.plugins maven-jar-plugin **/.svn/* Where do I get wrong? Thank y

Include manually a library

2008-05-05 Thread Nicola Benaglia
Hi! I cannot find into the mvn repository the following library: OfficeLnFs_2.7.jar (org.fife.plaf) Could I refer into the pom.xml to this library located for example in /myLibs ? Thank you, Nicola - To unsubscribe, e-mai

create 2 jar from common packages

2008-05-03 Thread Nicola Benaglia
Hi, I am moving my firsts step with Maven. In my project I have the following Java code structure: com.myproj.packageA com.myproj.packageB com.myproj.packageC com.myproj.packageD When I launch the package artifact (correct??) 2 jar should be created: server.jar (containing the compiled code fr

maven and jboss seam annotation

2007-12-17 Thread Nicola Benaglia
Hi! I am moving my firtst steps with maven :) I need to add org.jboss.seam.annotations to my repository. Following some instruction from the web, I added to my settings.xml a new jboss repository: jboss.org jboss.org http://repository.jbo

Re: javax.persistence:ejb:jar:3.0-public_review

2007-11-16 Thread Nicola Benaglia
Thank you very much Wayne. In that way, it worked. Thank you again, N 2007/11/16, Wayne Fay <[EMAIL PROTECTED]>: > The -Dfile=(file name here) parameter requires that the filename match > the file you downloaded, and it must be a complete path to the file if > it is not located in your current dir

Re: javax.persistence:ejb:jar:3.0-public_review

2007-11-16 Thread Nicola Benaglia
2007/11/16, Wayne Fay <[EMAIL PROTECTED]>: > Show us the full mvn install line that you executed. > > I think you simply are getting the groupId, artifactId, and version > messed up somewhere. > > Wayne Hi, I attach the pom.xml: 4.0.0 com.myGroupId pers pers 0.1-SNAPSHOT http://mave

Re: javax.persistence:ejb:jar:3.0-public_review

2007-11-16 Thread Nicola Benaglia
When I execute mannually the command I type: mvn install:install-file -DgroupId=javax.persistence -DartifactId=ejb -Dversion=3.0-public_review -Dpackaging=jar -Dfile=ejb3-persistence.jar Thank you, nico 2007/11/16, Wayne Fay <[EMAIL PROTECTED]>: > I need to see the "mvn install:install-file" com

javax.persistence:ejb:jar:3.0-public_review

2007-11-16 Thread Nicola Benaglia
Hi !! I need to add javax.persistence:ejb:jar:3.0-public_review as dependency. I found it with m2 plugin which added to the pom: javax.persistence ejb-3.0-public-draft 20050623 But building it I get: @@ [ERROR] BUILD FAILURE [INFO]

add dependency (newbie question) ?

2007-11-14 Thread Nicola Benaglia
Hi ! This is my first partecipation at this mailing listand obviously with a very simple question. I need to add a postgres jdbc dependency to maven. Googling I found these lines to add to pom.xml: postgresql postgresql 8.1-407.jdbc3 http://www.postgresql.org/ It wo