RE: Archiva Proxy connectors user credentials

2008-04-23 Thread Daniel King
It always nice to *POST* answers to your question even if you answer them yourself. You never know when someone else might be trying the same thing. In this case your post is a dead rabbit hole for them. Thanks, Daniel King Vurv The information contained in this message may be privileged and

RE: Archiva Proxy connectors user credentials

2008-04-23 Thread Andrei Vojakine
I felt a little embarrassed since the answer was almost right in front of me. Here it is. When you create remote repository you can provide user name and password to connect to it, NOT in proxy connectors section ( where I was looking originally ) Cheers Andrei From: Daniel King [EMAIL

Re: Is there easy way to check in plugin version

2008-04-23 Thread Heinrich Nirschl
On Tue, Apr 22, 2008 at 11:46 PM, I am Who i am [EMAIL PROTECTED] wrote: Hi All, in that case if i want to check what version jar plugin is being downloaded is there a mvn command i can run to find out the version or i need to drill down all the way to my localRepository like

Re: PGP Signature of Artifacts Validation

2008-04-23 Thread Wendy Smoak
On Wed, Apr 23, 2008 at 12:29 PM, Chad La Joie [EMAIL PROTECTED] wrote: I know about, and use, the plugin for creating PGP signatures of artifacts. Is there a mechanism to validate the signatures of incoming dependencies? Not at present. The first thing I'd like to see is a goal added to the

RE: Is there easy way to check in plugin version

2008-04-23 Thread Jörg Schaible
Heinrich Nirschl wrote: On Tue, Apr 22, 2008 at 11:46 PM, I am Who i am [EMAIL PROTECTED] wrote: Hi All, in that case if i want to check what version jar plugin is being downloaded is there a mvn command i can run to find out the version or i need to drill down all the way to my

RE: multimodule soruce

2008-04-23 Thread andre_manica
Can you explain me how to have 3 zips{ with src and poms and read me} in the root zip ? thanks i think that i ahve one assembly descriptor for each module but I 'm not able to perform a single process to build the full root.zip. (only if you have time to explain me- Thanks). Thomas Darbois

Re: PGP Signature of Artifacts Validation

2008-04-23 Thread Chad La Joie
Wendy Smoak wrote: On Wed, Apr 23, 2008 at 12:29 PM, Chad La Joie [EMAIL PROTECTED] wrote: I know about, and use, the plugin for creating PGP signatures of artifacts. Is there a mechanism to validate the signatures of incoming dependencies? Not at present. The first thing I'd like to see is

java.net.URISyntaxException on windows.

2008-04-23 Thread Edward J. Yoon
My project throws URISyntaxException. Embedded error: java.net.URISyntaxException: Illegal character in opaque part at index 22: jar:file:/C:/Documents and Settings/Administrator/.m2/repository/com/nhn/common-community/1.0.25/c mbedded error: java.net.URISyntaxException: Illegal character in

Re: java.net.URISyntaxException on windows.

2008-04-23 Thread Jan Fredrik Wedén
On Wed, Apr 23, 2008 at 9:47 AM, Edward J. Yoon [EMAIL PROTECTED] wrote: My project throws URISyntaxException. Embedded error: java.net.URISyntaxException: Illegal character in opaque part at index 22: jar:file:/C:/Documents and

RE: Maven Jar plugin 2.0 : ClassPath in manifest

2008-04-23 Thread Thomas Darbois
Thanks for replying :) I've tried to put finalName to the pom for test, it didn't change anything. I ve check the exported-pom and indeed the tag was already set to finalName${artifactId}finalName even without adding your suggestion (it inherits that part of the build from his parent pom). It

Re: Maven 1 - snapshot dependencies update problem

2008-04-23 Thread Lukas Theussl
I'm not sure but I would guess that the SNAPSHOT resolution mechanism doesn't apply if you use the jar tag to override the calculated artifact name. What if you just remove it (with your artifactId and version, the name of the dependency artifact should be the same)? HTH, -Lukas Jan

problem with maven and eclipse rcp

2008-04-23 Thread glen.sequeira
hi Am having trouble trying to download eclipse plugin using maven . these are the steps i followed 1) viisited the link http://docs.codehaus.org/display/MAVENUSER/Eclipse+Plugin 2) opened a cmd (in windows) and ran the 2nd command in the link page : mvn eclipse:make-artifacts \

RE: Maven Jar plugin 2.0 : ClassPath in manifest

2008-04-23 Thread Thomas Darbois
Well i ve found the Jira that is linked to that problem : Tomas Darbois Edifixio Grenoble - Projet ScorWare 04 76 29 89 27 [EMAIL PROTECTED] -Message d'origine- De : Thomas Darbois [mailto:[EMAIL PROTECTED] Envoyé : mercredi 23 avril 2008 10:10 À : Maven Users List Objet : RE: Maven

problems building a multimodule project with EJB3 modules

2008-04-23 Thread Martin Höller
Hi all! I'm having problems with a multimodule project with EJB3 dependencies. It seems maven is not able to include EJB3 modules in the classpath of other child-modules when not in the local repository. The simplest project struture to reproduce is the following: parent (packagin pom) |

RE: Maven Jar plugin 2.0 : ClassPath in manifest

2008-04-23 Thread Thomas Darbois
Clicked on send before pasting the link: http://jira.codehaus.org/browse/MJAR-61 Tomas Darbois -Message d'origine- De : Thomas Darbois Envoyé : mercredi 23 avril 2008 11:00 À : 'Maven Users List' Objet : RE: Maven Jar plugin 2.0 : ClassPath in manifest Well i ve found the Jira that is

Branching and merging poms

2008-04-23 Thread John Coleman
Hi, We develop different code bases for out clients, and this means having various branches of our generic codebase running in parallel. We envisage that some branches will have the poms changed, maybe to introduce new dependencies, or dependencies on a variety of versions. What concerns us is

Re: problems building a multimodule project with EJB3 modules

2008-04-23 Thread Daniele De Francesco
Hi, try to swap the order of the modules first...then send the poms... Regards -- Daniele De Francesco On Wed, Apr 23, 2008 at 11:08 AM, Martin Höller [EMAIL PROTECTED] wrote: Hi all! I'm having problems with a multimodule project with EJB3 dependencies. It seems maven is not able to

RE: problems building a multimodule project with EJB3 modules

2008-04-23 Thread Thomas Darbois
Can you show us your (simplified?) pom(s)? I've tried to reproduce your problem and I had no problem at all to package the 2 nd module. And I ve tried several configuration. May be I missed something in your configuration. -Message d'origine- De : Martin Höller [mailto:[EMAIL

Re: problems building a multimodule project with EJB3 modules

2008-04-23 Thread Daniele De Francesco
Hi again, check every dependency scope in the poms...however try to set common dependencies up in the super-pom and use the parent tag to address it from the module poms... as to send my poms, here is a (simple yet working) of my config. super-pom: [...] groupIdejb3maven/groupId

Re: maven pde rcp to build

2008-04-23 Thread Steinar Bang
[EMAIL PROTECTED]: eclipseInstallC:\Program Files\JavaWorkEnv\eclipse/eclipseInstall Is the line break here actual, or an artifact of your email program? If it is actual, it could be the problem. - To unsubscribe,

Looking for pde:test example

2008-04-23 Thread Steinar Bang
Platform: Ubuntu 7.10, Intel pentium M, Sun Java 1.5.0_11 eclipse 3.2.2 SDK, eclipse-Automated-Tests-3.2.2.zip, maven 2.0.7, pde-maven-plugin 1.0-alpha-1 I have been successful in building a feature based RCP product, using the pde-maven-plugin.

Re: passing parameters to plugin Archetype

2008-04-23 Thread iiggzz
I found it out! So if anybody has the same problem go ahead and ask me. Now I have another problem. I need to specify the path to my files like this: ${projectName}-mymodule/myfile.txt so after creation it should look like this: helloworld-mymodule. -- View this message in context:

Re: problems building a multimodule project with EJB3 modules

2008-04-23 Thread Wendy Smoak
On Wed, Apr 23, 2008 at 5:08 PM, Martin Höller [EMAIL PROTECTED] wrote: I'm having problems with a multimodule project with EJB3 dependencies. It seems maven is not able to include EJB3 modules in the classpath of other child-modules when not in the local repository. The simplest project

MD5/SHA1 Hashes on artifacts

2008-04-23 Thread Chad La Joie
Maven produces MD5 and SHA1 hashes for artifacts published through the deploy plugin (at least I think that's where it's occurring). Is there a means to limit for which files a has is generated? Specifically I don't want hashes generated for my PGP signatures. -- SWITCH Serving Swiss

Re: problems building a multimodule project with EJB3 modules

2008-04-23 Thread Martin Höller
On Wednesday 23 April 2008 Daniele De Francesco wrote: try to swap the order of the modules first...then send the poms... Didn't help. POMs are comming in a separate mail. thx, - martin signature.asc Description: This is a digitally signed message part.

Re: problems building a multimodule project with EJB3 modules

2008-04-23 Thread Martin Höller
On Wednesday 23 April 2008 Wendy Smoak wrote: On Wed, Apr 23, 2008 at 5:08 PM, Martin Höller [EMAIL PROTECTED] wrote: I'm having problems with a multimodule project with EJB3 dependencies. It seems maven is not able to include EJB3 modules in the classpath of other child-modules when not

Re: problems building a multimodule project with EJB3 modules

2008-04-23 Thread Martin Höller
On Wednesday 23 April 2008 Thomas Darbois wrote: Can you show us your (simplified?) pom(s)? Sure. Here we go: --8 [parent's pom.xml] project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

Re: MD5/SHA1 Hashes on artifacts

2008-04-23 Thread Wendy Smoak
On Wed, Apr 23, 2008 at 6:29 PM, Chad La Joie [EMAIL PROTECTED] wrote: Maven produces MD5 and SHA1 hashes for artifacts published through the deploy plugin (at least I think that's where it's occurring). Is there a means to limit for which files a has is generated? Specifically I don't want

Re: MD5/SHA1 Hashes on artifacts

2008-04-23 Thread Chad La Joie
Wendy Smoak wrote: On Wed, Apr 23, 2008 at 6:29 PM, Chad La Joie [EMAIL PROTECTED] wrote: Maven produces MD5 and SHA1 hashes for artifacts published through the deploy plugin (at least I think that's where it's occurring). Is there a means to limit for which files a has is generated?

How to set up dependencies right for ejb projects

2008-04-23 Thread Arand, Thomas (NSN - DE/Muenich)
Hi all, we have the following problem with our ejb project (say E). This project has many dependencies to other projects (e.g. P1, P2, ...), but these are only used for the server-part of the ejb. That means especially, if a client project (say C) use our ejb, they only need the client part. They

RE: M2Eclipse -workspace resolution

2008-04-23 Thread Brian E. Fox
I think you need to be more explicit about your problems. You can also disable workspace resolution per project in the Maven properties. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 22, 2008 2:54 AM To: users@maven.apache.org Subject:

Re: problems building a multimodule project with EJB3 modules

2008-04-23 Thread Daniele De Francesco
Hi, just a question? didn't you use maven-jar-plugin for child1's artifact? Not sure but try setting in child1 manifest the cross dependency, should do the trick... beside this, have you checked by changing the scope of the dependencies: i.e.: --8 [child1's pom.xml] project

Re: problems building a multimodule project with EJB3 modules

2008-04-23 Thread Martin Höller
Hi! On Wednesday 23 April 2008 Daniele De Francesco wrote: didn't you use maven-jar-plugin for child1's artifact? As you can see from the poms I didn't configure it explicitly but I'm pretty sure it would be called by maven when the package phase would be executed. But it never gets so far

Re: [newby] how to include/package private libs/*.jar

2008-04-23 Thread Joshua ChaitinPollak
On Apr 23, 2008, at 1:05 AM, Lachlan Deck wrote: - append to the text file a list of the jars bundled (prefixing each with a custom path). That's a tricky one. I'd have to say start with the dependency or assembly plugin and see if they can do what you need. I know one of the plugins can

RE: M2Eclipse -workspace resolution

2008-04-23 Thread hermod.opstvedt
Hi This is a confirmed bug (MNGECLIPSE-562) Hermod -Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 23, 2008 2:42 PM To: Maven Users List Subject: RE: M2Eclipse -workspace resolution I think you need to be more explicit about your problems. You

Nexus Bug?

2008-04-23 Thread Peter Horlock
Hello, after Jason van Zyl recommended Nexus to me, I did some testing with it. It seems to work, but there are 3 things I didn't find out yet a) How can I deploy a third party artifact using the web interface? b) how can I tell maven when to use the Nexus Third Party Repo, when to use the Nexus

RES: How can I send a single file by scp without generate maven2 repository directory structure in remote machine?

2008-04-23 Thread Claudio Ranieri
Someone? Please help me -Mensagem original- De: Claudio Ranieri [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 18 de abril de 2008 14:25 Para: users@maven.apache.org Assunto: How can I send a single file by scp without generate maven2 repository directory structure in remote machine?

RE: Nexus Bug?

2008-04-23 Thread Brian E. Fox
Hi Peter, we have a nexus-users list that you might be interested in. a) How can I deploy a third party artifact using the web interface? This is coming, but not in yet. b) how can I tell maven when to use the Nexus Third Party Repo, when to use the Nexus Release Repo and when to use the Nexus

AW: M2Eclipse -workspace resolution

2008-04-23 Thread Salgar, Mehmet (external)
That is the point we don't want the disable the workspace resolution. In our project, we have more then 30 modules in Maven Pom. Lets say my web project is dependent on 8 of them and they are declared as dependencies in web project pom. I didn't import all 8 of this projects to eclipse only

RE: M2Eclipse -workspace resolution

2008-04-23 Thread Brian E. Fox
It should pull those dependencies from the local repository, which means if you haven't installed them, then you will get older versions. This is what the workspace resolution is meant to help but can only work if you have all of them in the workspace ;-) Anyway, this should be taken to the

Re: assembly help

2008-04-23 Thread Henrique Prange
Hi Lachlan, On Tue, Apr 22, 2008 at 9:31 PM, Lachlan Deck [EMAIL PROTECTED] wrote: The documentation, for WOProject-Maven2 is not very verbose however. Yeah. The documentation is poor. :( My dependent frameworks are not of packaging woframework, but jar I think you really should try to use

Explicitly deactivated profiles activated by default - bug ?

2008-04-23 Thread Bernhard David
Hello, I am using maven 2.0.9. suppose I run mvn -P-it install to explicitly deactivate profile it. It is included in my pom with activeByDefault=true. In DefaultMavenPluginManager.java: 227ff as long as no other profiles are explicitly activated, all such default-activated profiles are

RE: How can I send a single file by scp without generate maven2 repository directory structure in remote machine?

2008-04-23 Thread nicklist
Looking at the dependencies of the maven deploy plugin [1] I think you have to write your own plugin to do this. You could take a look at the maven-deploy-plugin code to see how they accomplish it. Another option would be the maven-antrun-plugin [2] or the Maven Exec Plugin [3]. Hth, Nick S.

Re: How to set up dependencies right for ejb projects

2008-04-23 Thread Wayne Fay
Two options off the top of my head... 1. Set the P1, P2 dependencies to be optional in E. 2. Specify explicit excludes in C for P1, P2. Wayne On 4/23/08, Arand, Thomas (NSN - DE/Muenich) [EMAIL PROTECTED] wrote: Hi all, we have the following problem with our ejb project (say E). This project

Re: assembly help

2008-04-23 Thread Henrique Prange
Hi Lachlan, On Wed, Apr 23, 2008 at 2:24 AM, Lachlan Deck [EMAIL PROTECTED] wrote: Okay - making progress... If I create a maven-archetype-j2ee-simple, cd into the dir, comment out the site module from the parent pom and do 'mvn package' it all works without having to install the

RE: Explicitly deactivated profiles activated by default - bug ?

2008-04-23 Thread Brian E. Fox
There is a bug added recently that implies that the cli deactivation code isn't working at all. -Original Message- From: Bernhard David [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 23, 2008 11:08 AM To: users@maven.apache.org Subject: Explicitly deactivated profiles activated by

Re: Is there easy way to check in plugin version

2008-04-23 Thread Heinrich Nirschl
On Wed, Apr 23, 2008 at 9:15 AM, Jörg Schaible [EMAIL PROTECTED] wrote: Heinrich Nirschl wrote: On Tue, Apr 22, 2008 at 11:46 PM, I am Who i am [EMAIL PROTECTED] wrote: Hi All, in that case if i want to check what version jar plugin is being downloaded is there a mvn command i

RE: Is there easy way to check in plugin version

2008-04-23 Thread Brian E. Fox
I wrote about finding the version here: http://blogs.sonatype.com/brian/2008/04/10/1207873624557.html -Original Message- From: I am Who i am [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 22, 2008 5:47 PM To: Maven Users List Subject: Is there easy way to check in plugin version Hi All,

Re: Dependency injection and Plexus Compilers

2008-04-23 Thread Hilco Wijbenga
On Tue, Apr 22, 2008 at 4:37 PM, sgargan [EMAIL PROTECTED] wrote: I've been playing around with developing a simple compiler. Its coming along nicely, but for one thing. The configuration that gets passed to the compiler instance is great, but not as complete as I would like. Ideally I

Re: maven pde rcp to build

2008-04-23 Thread thenew05
That break is from the email format. Have you been through this tutorial? Thanks! On Wed, Apr 23, 2008 at 5:17 AM, Steinar Bang [EMAIL PROTECTED] wrote: [EMAIL PROTECTED]: eclipseInstallC:\Program Files\JavaWorkEnv\eclipse/eclipseInstall Is the line break here actual, or an

Re: Dependency injection and Plexus Compilers

2008-04-23 Thread Jason van Zyl
On 22-Apr-08, at 4:37 PM, sgargan wrote: Hi there, I've been playing around with developing a simple compiler. Its coming along nicely, but for one thing. The configuration that gets passed to the compiler instance is great, but not as complete as I would like. Ideally I would like to

RES: How can I send a single file by scp without generate maven2 repository directory structure in remote machine?

2008-04-23 Thread Claudio Ranieri
Thanks for answering, but I would like to use maven2 deploy plugin with config in pom.xml. Create a own plugin is impracticable for me. I don´t want use antrun or maven exec I would like use maven plugin. The plugin makes scp and create the directory structure in remote machine. I need only

Re: [m2] How to set location of activemq-data?

2008-04-23 Thread Mick Knutson
I tried this: amq:broker useJmx=false persistent=false* dataDirectory=target/activemq-data/* amq:transportConnectors amq:transportConnector uri=tcp://localhost:0/ /amq:transportConnectors /amq:broker But it gives me a SAX parser

RE: How can I send a single file by scp without generate maven2 repository directory structure in remote machine?

2008-04-23 Thread nicklist
It is not a part of the deploy plugin. The deploy plugin is used only to put artifacts into a remote repository. Nothing else. To accomplish this, it uses the different wagon artifacts. If you want to accomplish your task, you will have to use one of the three options I gave you. 1) Create

Re: java.net.URISyntaxException on windows.

2008-04-23 Thread Edward J. Yoon
Thank you for your reply. Exception throwed by white space. So, i just recommend to set the local repository path of DOS-style. However, I'm trying to find other solution; too many (developers's local setting/project codes) should be changed. Is there any solution for avoid this issue using

Re: How can I send a single file by scp without generate maven2 repository directory structure in remote machine?

2008-04-23 Thread Wayne Fay
As Nick stated, deploy has a very specific context within Maven. It does not mean deploy a WAR/EAR to a J2EE server nor does it mean copy a file to a path of my choosing. Deploy in the context of Maven means deploy this artifact to a remote Maven repository, and as you've discovered, Maven repos

Re: java.net.URISyntaxException on windows.

2008-04-23 Thread Wayne Fay
When are you seeing this error? Can you provide more of the stack trace, or possibly the entire execution trace (mvn -X) by pasting it to www.pastebin.org and sending us the URL so someone can review it? Wayne On 4/23/08, Edward J. Yoon [EMAIL PROTECTED] wrote: Thank you for your reply.

RE: Checkstyle Versions

2008-04-23 Thread Brian E. Fox
Chris, this is a commonly requested feature and you can see more info here: http://blogs.sonatype.com/brian/2008/04/23/120896598.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 22, 2008 9:00 PM To: Maven Users List Subject: Checkstyle

RE: MD5/SHA1 Hashes on artifacts

2008-04-23 Thread Brian E. Fox
Hashes are generated for everything shoved into the repository. Why wouldn't you want a hash on your sig? -Original Message- From: Chad La Joie [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 23, 2008 6:30 AM To: Maven Users List Subject: MD5/SHA1 Hashes on artifacts Maven produces

Re: MD5/SHA1 Hashes on artifacts

2008-04-23 Thread Chad La Joie
Because it doesn't provide any value. If Maven supported the verification of a signature of the artifact I wouldn't want hashes at all. Brian E. Fox wrote: Hashes are generated for everything shoved into the repository. Why wouldn't you want a hash on your sig? -Original Message-

RES: How can I send a single file by scp without generate maven2 repository directory structure in remote machine?

2008-04-23 Thread Claudio Ranieri
Ok, I understood, but I never created a maven plugin. I think a complex task. There are another maven plugin to do scp (single file)? (native way) Someone can modify the deploy plugin code or show a sample? Thanks. -Mensagem original- De: Wayne Fay [mailto:[EMAIL PROTECTED] Enviada em:

Re: [m2] How to set location of activemq-data?

2008-04-23 Thread Rainer Pruy
Not being an amq wiz either, I stumbled across the * occurring stray in the attribute list of the amp:broker element. This definitely will confuse the XML parser (but should actually give some different error message). Is this some valid (pseudo) XML to be used with amq or just some typos while

as a user, i would like mvnrepository.com to provide classifier information for testng dependency

2008-04-23 Thread thierry.henrio
though, http://maven.apache.org/plugins/maven-surefire-plugin/examples/testng.html does provide it i followed http://www.mvnrepository.com/artifact/org.testng/testng/5.8 instructions and my build failed so, i installed file manually ... but i was concerned about a distant team to have a good

Internal repository question - stopping repo1

2008-04-23 Thread Daniel King
I'm using Archiva 1.0.2 and Maven 2.0.9 using JDK 1.6 on Windows XP. I've installed Maven on my local machine and Maven and Archiva on a development machine (Not sure if Maven is needed on the dev machine with Archiva but I think it is). For some reason I clear out my local repository and

removing maven files from jar

2008-04-23 Thread I am Who i am
Hi All, How to remove maven related files like maven folder / pom.xml / pom.properties files from the jar file being created, i have the following in my pom, but still seeing the maven directory with pom / .xml/.properties under META-INF directory, my jar plugin version is 2.2 build plugins

Re: Internal repository question - stopping repo1

2008-04-23 Thread Wayne Fay
You need a to set up a mirror pointing to your local repo as a mirrorOf*/mirrorOf in your settings.xml file, and Maven will only go to that server for all of its files. Wayne On 4/23/08, Daniel King [EMAIL PROTECTED] wrote: I'm using Archiva 1.0.2 and Maven 2.0.9 using JDK 1.6 on Windows XP.

Re: as a user, i would like mvnrepository.com to provide classifier information for testng dependency

2008-04-23 Thread Wayne Fay
I don't know who runs mvnrepository.com and no one on this list has ever claimed ownership (that I know of). So, I don't think randomly sending this email to this list will ever actually make anything happen on that site. Of course, you're free to find the owner of the site and email your

Profile Dependency exclusions not working

2008-04-23 Thread Trenton D. Adams
Hi Everyone, I'm attempting to exclude transitive dependencies from being put into my WEB-INF/lib folder, inside of a profile, but it's not working. Basically, I have an RMI module and a WEB module. The WEB module depends on the RMI module. In development I want the RMI to run in process,

Re: removing maven files from jar

2008-04-23 Thread Wayne Fay
Just curious, why do you want to do this? Also, you say my jar plugin version is 2.2 but its not stated in the plugin declaration, so are you certain of this? You really should lock down the version of plugins. Wayne On 4/23/08, I am Who i am [EMAIL PROTECTED] wrote: Hi All, How to remove

how to prevent default goal in a phase to run?

2008-04-23 Thread Zemian Deng
Hi, I have successfully setup and bind assembly plugin in pom to generate my custom jar file at package phase. But then the default jar:jar still get run during package phase. How can i prevent it from running, or skip this goal? -- Thanks, Zemian Deng

Re: Profile Dependency exclusions not working

2008-04-23 Thread Trenton D. Adams
Also note that when I remove the client classifier, it excludes the dependencies as expected. On Wed, Apr 23, 2008 at 1:48 PM, Trenton D. Adams [EMAIL PROTECTED] wrote: Hi Everyone, I'm attempting to exclude transitive dependencies from being put into my WEB-INF/lib folder, inside of a

Re: how to remove maven specific files

2008-04-23 Thread Stephen Connolly
On Tue, Apr 22, 2008 at 11:29 PM, I am Who i am [EMAIL PROTECTED] wrote: Hi All, How to remove maven related files like maven folder / pom.xml / pom.properties files from the jar file being created, i have the following in my pom, but still seeing the maven directory with pom /

keep out META-INF/context.xml

2008-04-23 Thread Alessandro Ferrucci
hey guys I'm trying to exclude a context.xml from a webapp. I have the following snippet in my build element: resources resource directorysrc/main/resources/directory excludes exclude**/application.jmx.properties/exclude

RE: Internal repository question - stopping repo1

2008-04-23 Thread Daniel King
Wayne, Thanks for the help. Are any of those other settings I have not needed? As far as best practices should any of those settings be in the settings.xml file instead of the POM if possible? I also noticed this in my build output: [INFO] artifact

Re: RES: How can I send a single file by scp without generate maven2 repository directory structure in remote machine?

2008-04-23 Thread Nick Stolwijk
Writing a plugin isn't that hard and it is very good documented [1]. Just take a good look at the deploy plugin code [2] and use the wagon artifacts. Hth, Nick S. [1] http://maven.apache.org/plugin-developers/index.html [2]

Re: removing maven files from jar

2008-04-23 Thread Stephen Connolly
One reason is that the pom.xml you develop with is no the one you want being published. For example, the pom.xml's we develop with contains a lot of internal information that should not go outside the company (developer email addresses, etc) On Wed, Apr 23, 2008 at 8:44 PM, Wayne Fay [EMAIL

Re: How can I send a single file by scp without generate maven2 repository directory structure in remote machine?

2008-04-23 Thread Wendy Smoak
On Thu, Apr 24, 2008 at 1:30 AM, [EMAIL PROTECTED] wrote: It is not a part of the deploy plugin. The deploy plugin is used only to put artifacts into a remote repository. Nothing else. To accomplish this, it uses the different wagon artifacts. If you want to accomplish your task, you will

Re: How can I send a single file by scp without generate maven2 repository directory structure in remote machine?

2008-04-23 Thread Luke Daley
Also, http://docs.atlassian.com/maven-upload-plugin/1.1/ LD. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Internal repository question - stopping repo1

2008-04-23 Thread Wayne Fay
In short, Maven lies to you when you're using mirrors -- this is a known bug. So even when it hits a mirror, it reports Central. If you only have 1 repo in your organization and all projects will use it (on \\buildmachine in your case), then you certainly could move these repository etc entries

Re: assembly help

2008-04-23 Thread Lachlan Deck
Hi Henrique, On 24/04/2008, at 1:06 AM, Henrique Prange wrote: Hi Lachlan, On Tue, Apr 22, 2008 at 9:31 PM, Lachlan Deck [EMAIL PROTECTED] wrote: My dependent frameworks are not of packaging woframework, but jar I think you really should try to use the woframework packaging. You will

Re: assembly help

2008-04-23 Thread Lachlan Deck
Hi Henrique, On 24/04/2008, at 1:23 AM, Henrique Prange wrote: On Wed, Apr 23, 2008 at 2:24 AM, Lachlan Deck [EMAIL PROTECTED] wrote: Okay - making progress... If I create a maven-archetype-j2ee-simple, cd into the dir, comment out the site module from the parent pom and do 'mvn package'

Re: [newby] how to include/package private libs/*.jar

2008-04-23 Thread Lachlan Deck
Hi Joshua, On 23/04/2008, at 11:23 PM, Joshua ChaitinPollak wrote: On Apr 23, 2008, at 1:05 AM, Lachlan Deck wrote: - append to the text file a list of the jars bundled (prefixing each with a custom path). That's a tricky one. I'd have to say start with the dependency or assembly plugin

dependencyManagement help

2008-04-23 Thread Lachlan Deck
Hi there, I'm trying to utilise dependency management but am obviously missing something. I've got /pom.xml /frameworks/pom.xml /frameworks/fwk1 ... /frameworks/fwkN /app1/pom.xml -- root parent pom -- dependencyManagement dependencies dependency groupId.../groupId

Re: how to remove maven specific files

2008-04-23 Thread I am Who i am
No use its still same here it is what i have plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jar-plugin/artifactId version2.2/version configuration

AW: M2Eclipse -workspace resolution

2008-04-23 Thread Salgar, Mehmet (external)
All my dependencies are in my local repository The problem is not that I see the older version or not That dependencies are not resolved at all (there is 1000 class not found errors in eclipse), if I manually add the project that are open in the eclipse workspace into java build path,