Re: verify signatures of downloaded poms and jars

2011-07-14 Thread Wendy Smoak
On Thu, Jul 14, 2011 at 8:08 AM, Igory Lr igory...@gmail.com wrote: I was trying to find if there are some SSL enabled central repositories but didn't find one. I noticed that there are signatures for (mostly) every jar and pom file in maven central repository. I would like to force maven

Re: uploading existing jar+pom as one artifact

2011-07-13 Thread Wendy Smoak
On Wed, Jul 13, 2011 at 8:14 AM, olaf.klisc...@sofd.de wrote: Hm, no, the differing timestamps resulting from the two seperate uploads are a problem. A build that references this library in its dependencies fails -- the POM isn't found: [WARNING] The POM for groupId:artifactId:jar:timestamp

Re: uploading existing jar+pom as one artifact

2011-07-11 Thread Wendy Smoak
On Mon, Jul 11, 2011 at 8:15 PM, Olaf Klischat olaf.klisc...@sofd.de wrote: mvn deploy:deploy-file -Dfile=mylib.jar DpomFile=mypom.pom -DgeneratePom=false -Durl=repourl , it apparently just uploads the jar under the name groupid-artifactid from mypom.pom-timestamp.pom. You mentioned a

Re: Maven searching remote repo's for locally installed jars

2011-07-08 Thread Wendy Smoak
On Fri, Jul 8, 2011 at 8:53 AM, mschipperheyn m.schipperh...@gmail.com wrote: When I build a project. Maven tries to find the jars that I installed locally, because they don't have repositories through all the repo's I have set up. It takes ages. How can I prevent this from happening? There

Re: Mirrors and repositories

2011-07-08 Thread Wendy Smoak
On Fri, Jul 8, 2011 at 3:50 PM, Maven User maven.2.u...@gmail.com wrote: I thought I had a good handle on this, but can someone help me fully understand the mirrors and repositories settings in settings.xml? When one has a repository server running, and there are several urls grouped up, why

Re: Mirrors and repositories

2011-07-08 Thread Wendy Smoak
On Fri, Jul 8, 2011 at 4:09 PM, Maven User maven.2.u...@gmail.com wrote: When I was building without the additional repository defined, maven (maven 3.0.3) was unable to find the parent pom.  Once I added this extra repository, boom - it all works. It worked because you had

Re: question about mvn dir structure

2011-06-29 Thread Wendy Smoak
On Wed, Jun 29, 2011 at 9:12 PM, Joseph wutong...@gmail.com wrote: I am a newbie for mvn and have a simple question about dir structure.I know the basic dirs were created automaticlly by mvn after initialization setup of a web apps.Then what I do is just code and create some packages under

Re: Windows/Maven and Role of Archiva

2011-06-27 Thread Wendy Smoak
On Fri, Jun 24, 2011 at 1:33 AM, wasi_shez wasi_s...@hotmail.com wrote: *First of all Thank you very much for your acknowledgement.* Suppose: Maven Downloaded Folder Structure-- A  --- B         C and My Project's Source Code Structure is:- A  --- B and Z         C and Y    

Re: Overriding distributionManagement Repositories

2011-06-23 Thread Wendy Smoak
On Thu, Jun 23, 2011 at 9:44 AM, Rick Mangi rick.ma...@mtvn.com wrote: I'm trying to migrate my users to a new nexus repository on a different domain. I'm trying to avoid having to tell all of the developers to change their distributionManagement/repository and /snapshotRepository values in

Re: Windows/Maven and Role of Archiva

2011-06-23 Thread Wendy Smoak
On Thu, Jun 23, 2011 at 10:59 AM, wasi_shez wasi_s...@hotmail.com wrote: Is it possible that we can adjust Maven according to Our Code line and let MAVEN to understand our Code line for generating Builds or performing rest of the functions accordingly? Can you explain what you want to do?

Re: Release only updated modules

2011-06-22 Thread Wendy Smoak
On Wed, Jun 22, 2011 at 5:31 AM, Mattias Borgkvist nightz...@hotmail.com wrote: We have a large multi module project. In the development branch all modules have SNAPSHOT versions. When we release the project we would only like to release the modules that is updated (in the SCM system). Do we

Re: Maven release:prepare and NOT creating SNAPSHOTs

2011-06-21 Thread Wendy Smoak
On Tue, Jun 21, 2011 at 9:19 AM, Neil Hart neilah...@gmail.com wrote: I was hoping to just cut the release and not create the snapshot for a couple of reasons. I have version 1.0-SNAPSHOT.  I'm done developing so I want to create version 1.0, Get that into our mvn repo and update our hg repo.

Re: how to clean up all generated files under target directory

2011-06-21 Thread Wendy Smoak
On Tue, Jun 21, 2011 at 10:06 PM, samwun leiwun2...@gmail.com wrote: Every time when I build a maven project, I need to manually remove all generated files under the target directory. How can I use maven remove all these files before starting the build? maven command I used is: mvn compile

Re: Maven release:prepare and NOT creating SNAPSHOTs

2011-06-20 Thread Wendy Smoak
On Mon, Jun 20, 2011 at 3:46 PM, Neil Hart neilah...@gmail.com wrote: I would like to run release:prepare without creating a new development version.  I don't always know the next version number when versioning the current build.  Later I could run release:branch (perhaps).  This is using

Re: Why is this profile not being activated?

2011-06-10 Thread Wendy Smoak
On Fri, Jun 10, 2011 at 10:40 AM, Asmann, Roland roland.asm...@adesso.at wrote: I also don't want the plugin in there (cobertura) to run everytime, because on some of my modules (which have only no sources, that's why I wanted to activate this way) it kills the performance with the

Re: Why is this profile not being activated?

2011-06-10 Thread Wendy Smoak
On Fri, Jun 10, 2011 at 5:09 PM, Asmann, Roland roland.asm...@adesso.at wrote:  From what I've seen, the 'skip' parameter only exists on the instrument-plugin, not on the report. I don't want it to trigger the 'cobertura'-lifecycle, because this will trigger some other plugins that are *very*

Re: Question on poms

2011-06-08 Thread Wendy Smoak
On Wed, Jun 8, 2011 at 1:45 PM, Refr Bruhl refr_br...@yahoo.com wrote: I get the following warnings in my builds. I've had to add jars manually to my local repository. How did you do that? What steps do I need to to do to create these poms sine they didn't arrive with the original vendor?

Re: Question on poms

2011-06-08 Thread Wendy Smoak
On Wed, Jun 8, 2011 at 2:25 PM, Refr Bruhl refr_br...@yahoo.com wrote: I used the instructions at http://maven.apache.org/guides/MavenQuickReferenceCard.pdf for adding 3rd party libraries to my repository. Interesting... haven't seen that before! So you used mvn install:install-file? Odd..

Re: Signed JAR in WAR

2011-06-06 Thread Wendy Smoak
On Mon, Jun 6, 2011 at 8:33 AM, Jesterson jesterov...@gmail.com wrote: Hi, what is the best way to put signed jar (applet) to war? I have two projects - child (jar with applet) and parent (war), i'm signing jar in parent project, but how to put signed jar to applet dir in war? Apache Archiva

Re: Problem in delpoying an external jar to the local repo

2011-05-20 Thread Wendy Smoak
On Fri, May 20, 2011 at 1:00 AM, uday shankar adonis.u...@gmail.com wrote: Hi Rafael, This is the command i used : mvn install:install-file -Dfile=D:\Ota_Sonata.jar -DgroupId=org.mule.modules -DartifactId=Ota_Sonata -Dversion=1.0 -Dpackaging=jar -DgeneratePom=true after deploying with this

Re: Looking for a pom property that stores the deploy URL

2011-05-20 Thread Wendy Smoak
On Fri, May 20, 2011 at 5:02 PM, Freeman, Brian brian.free...@libertymutual.com wrote: Here is my issue: I am currently using Maven with Nexus to save our build artifacts.  After we create the artifact and it has been deployed out to Nexus I would like to run an Ant script that we use to

Re: Multi-module Web project - test-jar not copied

2011-05-19 Thread Wendy Smoak
On Tue, May 17, 2011 at 11:51 AM, Kiren Pillay kirenpill...@gmail.com wrote: Hi I have a multi-module maven web project which builds a war file. Withing the WAR module I have some unit tests as well. I noticed now that when I build the application from the root directory, the test-jar is

Re: Bootstraping a repository manager

2011-05-19 Thread Wendy Smoak
On Thu, May 19, 2011 at 12:40 PM, Heck, Gus (Patrick) gus.h...@aspentech.com wrote: Hmm, how would I go about convincing maven-plugins such as clean to only use the latest versions (in some cases it just seems to be a dep on the pom file, not any actual jars). Don't know where I would find the

Re: Bootstraping a repository manager

2011-05-19 Thread Wendy Smoak
On Thu, May 19, 2011 at 12:48 PM, Heck, Gus (Patrick) gus.h...@aspentech.com wrote: Interesting however that nobody has yet mentioned the apache home grown archiva... Most open source projects don't do a lot of advertising. You know where to find us if you want to give it a try. ;) -- Wendy

Re: Bootstraping a repository manager

2011-05-18 Thread Wendy Smoak
On Wed, May 18, 2011 at 5:21 PM, Heck, Gus (Patrick) gus.h...@aspentech.com wrote: I can't seem to find a place to download something that I can upload directly to artifactory, so I tried to start with the first plugin that was failing, and build that and see if mvn deploy would deploy it to

Re: Bootstraping a repository manager

2011-05-18 Thread Wendy Smoak
On Wed, May 18, 2011 at 7:56 PM, Heck, Gus (Patrick) gus.h...@aspentech.com wrote: As I explained in another response, I want the software to tell me when I've got enough stuff to build (much like test driven development), rather than trusting I covered everything post-hoc. As for doing it

Re: How to apply Maven -f command line option to sub-projects

2011-05-14 Thread Wendy Smoak
On Sat, May 14, 2011 at 7:21 AM, labulle22 labull...@gmail.com wrote: How to configure Maven in order to be able to not use the default pom file name (pom.xml) for the sub-projects of a main project? AFAIU the -f option only applies on main project. Why are your poms named differently? (This

Re: Maven Issue with javadoc

2011-05-11 Thread Wendy Smoak
On Wed, May 11, 2011 at 3:02 AM, Jagadeesh Naidu G jagadeesh...@hcl.com wrote:    Embedded error: Error rendering Maven report: Exit code: 1 -

Re: Nested artifacts

2011-05-11 Thread Wendy Smoak
On Tue, May 10, 2011 at 3:19 PM, EJ Ciramella ecirame...@casenetinc.com wrote: Is there a simple way to unpack a dependency then unpack an artifact that lives inside that dependency? We have several third party utilities stored in Nexus and referenced as dependencies, but I'd like to unpack

Re: Getting compilation errors despite including the correct repo

2011-05-10 Thread Wendy Smoak
On Tue, May 10, 2011 at 9:23 AM, laredotornado-3 laredotorn...@gmail.com wrote: The test is in my src/main/test directory.  Where else should it be?  I have nothing in my src/main/java directory.  Below is the output of running the above command. - Dave I can see that it compiles the test

Re: Run a multimodule build up to a certain module in maven 3

2011-05-09 Thread Wendy Smoak
On Thu, May 5, 2011 at 2:44 PM, Wim Deblauwe wim.debla...@gmail.com wrote: I want to run the build up to the 'server' module, but not run the installer and installer-gui modules. What would be the easiest way to do this in Maven 3? In Maven 2, i used the reactor plugin for it. Is this still the

Re: Preventing an inherited plugin from running?

2011-05-03 Thread Wendy Smoak
On Tue, May 3, 2011 at 1:01 PM, Laird Nelson ljnel...@gmail.com wrote: I have a parent pom that has a plugin specified in its build section.  The plugin is bound to the package phase. In my child POM, I would like to somehow configure the child project so that this plugin does NOT run. It

Re: Maven release plugin question

2011-05-03 Thread Wendy Smoak
On Tue, May 3, 2011 at 2:45 PM, Yaakov Chaikin yaakov.chai...@gmail.com wrote: Did I configure scm wrong? How does that compare to the output of 'svn info' at the top of your project? Usually a svn url has 'trunk' or 'branches' somewhere in it... The scm url should match the location of your

Re: How to use wagon-ssh-external instead of wagon-ssh?

2011-05-02 Thread Wendy Smoak
On Mon, May 2, 2011 at 6:11 AM, Andreas Sewe s...@st.informatik.tu-darmstadt.de wrote: thanks for your suggestion. I am afraid, it didn't help: When declaring a plugin dependency, the maven-site-plugin now has both org.apache.maven.wagon:wagon-ssh-external:jar:1.0-beta-7 and

Re: Logistic Regression

2011-04-29 Thread Wendy Smoak
On Fri, Apr 29, 2011 at 4:44 PM, Wayne Fay wayne...@gmail.com wrote: I did send a message along afterwards apologizing. Did that not get through? I got it and assume everyone else did too. Too many apache projects start with 'm'. Simply to satisfy my curiousity, which project that starts

Re: Maven and Subversion.

2011-04-20 Thread Wendy Smoak
On Wed, Apr 20, 2011 at 6:59 AM, Marc Rohlfs pomar...@googlemail.com wrote: I was just thinking a bit about this. You're facing different problems You won't be able all at once: 1. You could create the releases of the sub modules independently (first You'd have to create a release of the

Re: Maven and Subversion.

2011-04-19 Thread Wendy Smoak
On Tue, Apr 19, 2011 at 2:38 PM, tpa...@loftware.com wrote: I have a  multi module maven configuration ( a pom that runs multiple poms underneath it.).  I made it a multi module project because the sub projects are very similar and it is convenient to run them all from one pom.  However,  

Re: archetype:generate as an authorized user?

2011-04-11 Thread Wendy Smoak
On Sun, Apr 10, 2011 at 11:08 PM, Brinker, Don-NONEMP dbrin...@collegeboard.org wrote: We've got a server in place at my company serving up local artifacts.  To secure the server (and not expose our stuff anymore than we have to) we have users defined and anonymous access disabled.  So far so

Re: The maven-assembly-plugin and a large complex project.

2011-04-07 Thread Wendy Smoak
On Thu, Apr 7, 2011 at 5:30 AM, Adam Gibbons adam.s.gibb...@gmail.com wrote: Alex, that's perfect! Exactly the kind of thing I'm trying to do myself. Would you mind posting your reactor, war, jar and parent poms please? I'd really like to see a working example of this in action. There are lots

Re: The maven-assembly-plugin and a large complex project.

2011-04-06 Thread Wendy Smoak
On Wed, Apr 6, 2011 at 10:37 AM, Adam Gibbons adam.s.gibb...@gmail.com wrote: At the moment I don't think the jar modules get compiled/deployed when i build the war. What makes you say that? What exactly are you doing and what happens vs. what you expected to happen? Guessing, I'd say you

Re: The maven-assembly-plugin and a large complex project.

2011-04-06 Thread Wendy Smoak
On Wed, Apr 6, 2011 at 10:44 AM, Adam Gibbons adam.s.gibb...@gmail.com wrote: Also I refer you to: http://maven.apache.org/plugins/maven-assembly-plugin/which states that it can create distributions in the war format. It *can* but you generally only need it if the war plugin is not doing what

Re: The maven-assembly-plugin and a large complex project.

2011-04-06 Thread Wendy Smoak
On Wed, Apr 6, 2011 at 10:56 AM, Adam Gibbons adam.s.gibb...@gmail.com wrote: for example let's say i build my pdf-creation.war file. this depends on a tree-like structure of sub modules and some in-house jar files. It seems that when I build the war the sub module tree is pulled in and the

Re: The maven-assembly-plugin and a large complex project.

2011-04-06 Thread Wendy Smoak
On Wed, Apr 6, 2011 at 11:06 AM, Adam Gibbons adam.s.gibb...@gmail.com wrote: Yes,  +-- pom.xml  +-- m1 (j1, j2)  +-- m2 (j3)  +-- m3 (j1, j3)  +-- m4  +-- m5  +-- j1  +-- j2  +-- j3  +-- war1 (m1,m2,m3)  +-- war2 (m4)  +-- war3 (m5) This setup is effectively what I have so far.

Re: The maven-assembly-plugin and a large complex project.

2011-04-06 Thread Wendy Smoak
On Wed, Apr 6, 2011 at 11:07 AM, Wendy Smoak wsm...@gmail.com wrote: That's out of scope for Maven command line if you are *just* building the war from its subdirectory.  As I mentioned, it's something your IDE might handle for you. Hmm, well... maybe not. The output of mvn --help includes

Re: Mail for one subscriber bounces

2011-03-30 Thread Wendy Smoak
On Wed, Mar 30, 2011 at 3:47 AM, Anders Hammar and...@hammar.net wrote: When posting to this list the mail to one of the subscribers bounces and I get a notification about this. Very annoying! Not sure who I should contact about this, but someone more Apache involved on this list maybe know?

Re: Custom tags in the pom

2011-03-30 Thread Wendy Smoak
On Wed, Mar 30, 2011 at 9:06 AM, Phillip Hellewell ssh...@gmail.com wrote: Is there any way short of recompiling Maven to allow custom tags in the pom.xml? Specifically, I would like to have a special tag inside dependency. It's ok if Maven ignores it; I will just look at it from my plugin

Re: Versions in dependencyManagement vs dependency?

2011-03-29 Thread Wendy Smoak
On Tue, Mar 29, 2011 at 1:59 PM, Laird Nelson ljnel...@gmail.com wrote: Just out of curiosity, where is it written down that one can depend on an artifact of type pom?  I've always been curious about this. Are you asking about import scope?

Re: Compiling modules with different jdk versions

2011-03-29 Thread Wendy Smoak
On Tue, Mar 29, 2011 at 12:12 PM, Jenison, Mark A mark.a.jeni...@jpmchase.com wrote: I have a multi-project configuration with a parent pom specifying a compiler plugin with a default of jdk1.5 specified in the parent pom's dependency management section.  However, I have two submodules with

Re: Procedure for updating Internal Repo with 3rd party

2011-03-29 Thread Wendy Smoak
On Tue, Mar 29, 2011 at 1:06 PM, Godschall, John jgodsch...@firstmarblehead.com wrote: I have used the depoy:deploy-file  plugin but this does not seem to include the  pom,  the md5 and sha1 files. In addition, some projects have a parent pom structure as well. Can you paste the command you

Re: enforcer plugin rules to prevent circular dependencies

2011-03-25 Thread Wendy Smoak
On Fri, Mar 25, 2011 at 5:55 AM, Caoilte O'Connor caoi...@gmail.com wrote: Hi, I've just discovered the enforcer plugin and would like to use it to reduce our dependency conflicts but a bigger problem for us when it does turn up are circular dependencies. The Dependency Tree plugin spots

Re: Is there a way to ignore profiles in settings.xml?

2011-03-25 Thread Wendy Smoak
On Fri, Mar 25, 2011 at 12:18 PM, Rafael Vanderlei rafaelvander...@gmail.com wrote: If I configure my .m2/settings.xml to activate some profiles, is there a way to deactivate all of them  on the command line in one go, so I can use only explicitly typed profiles? Why are there so many

Re: Is there a way to ignore profiles in settings.xml?

2011-03-25 Thread Wendy Smoak
On Fri, Mar 25, 2011 at 6:08 PM, Rafael Vanderlei rafaelvander...@gmail.com wrote: The profiles I need to be active by default are configure with activeByDefaulttrue/activeByDefault . If one developer needs to do something unusual, he simply runs ' mvn -Pprofile1,profile2 package ' . By doing

Re: Is there a way to ignore profiles in settings.xml?

2011-03-25 Thread Wendy Smoak
On Fri, Mar 25, 2011 at 6:14 PM, Rafael Vanderlei rafaelvander...@gmail.com wrote: I'm using Maven 2.2.0, although I'm planning to migrate to Maven 3.. I hope this behavior hasn't changed in Maven 3, since I'm quite depending on it right now. Maybe it was just discussed but not changed. At

Re: Adding files to target before creating war

2011-03-21 Thread Wendy Smoak
On Mon, Mar 21, 2011 at 10:55 AM, Sam Adams sbad...@gmail.com wrote: I'm now in a situation where I want to overwrite some standard files (properties, etc) for certain profiles. What problem are you trying to solve? It sounds like you're using profiles to produce *different* war files

Re: Adding files to target before creating war

2011-03-21 Thread Wendy Smoak
On Mon, Mar 21, 2011 at 11:28 AM, Sam Adams sbad...@gmail.com wrote: This is exactly what I'm trying to do. Why is this not a good idea and what are the alternatives? Depends on *why* you're trying to do that, which is why I asked what problem you're trying to solve. In general... either

Re: ZIP and UNZIP the code source in another project

2011-03-21 Thread Wendy Smoak
On Mon, Mar 21, 2011 at 4:26 AM, Nguyen Tien Luong tienluon...@yahoo.com wrote: But does Overlay work in dev mode? It means when I modify some JSP in PROJECT-A, the PROJECT-B will be updated automatically at its deployment ( right click on PROJECT-B/ Run on server ) ? Maven doesn't have any

Re: ZIP and UNZIP the code source in another project

2011-03-18 Thread Wendy Smoak
On Thu, Mar 17, 2011 at 10:08 AM, Nguyen Tien Luong tienluon...@yahoo.com wrote:    Hi maven's users, Maybe the title is not understandable enough, here is my example: I have PROJECT-A which contains only JSP files. For each PROJECT-B which depends on PROJECT-A, I want that maven go and get

Re: variable for poms. SOS

2011-03-12 Thread Wendy Smoak
On Fri, Mar 11, 2011 at 10:56 PM, koxkorrita koxkorr...@laudio.info wrote: yes, i use snapshots but how can i use one variable for change it only into one place? If you're going to use a property to control a version number, it should go in a pom towards the top of the project hierarchy, not in

Re: Ignore Parent Plugin Declaration

2011-03-10 Thread Wendy Smoak
On Thu, Mar 10, 2011 at 4:51 PM, Tim che...@gmail.com wrote: I tried to use the combine.// syntax but that doesn't work:                plugin                    groupIdorg.codehaus.mojo/groupId                    artifactIdsql-maven-plugin/artifactId                    executions

Re: How to include site into war file?

2011-03-09 Thread Wendy Smoak
On Wed, Mar 9, 2011 at 9:22 AM, Jochen Wiedmann jochen.wiedm...@gmail.com wrote: No chance? I would probably package the site up as a zip and put it in the repository, then dependency:unpack it where you want it in the webapp. That assumes the documentation is in a separate module. Otherwise,

Re: Reindexing the local repository

2011-03-08 Thread Wendy Smoak
On Tue, Mar 8, 2011 at 3:03 PM, Refr Bruhl refr_br...@yahoo.com wrote: The restart eclipse and let it update the indexes. I would think there would be an mvn command to force a regen of the indexes. Possibly, but you'd need to ask on the mailing list for your Eclipse plugin. AFAIK, Maven

Re: Retrieving all available versions of an artifact

2011-02-25 Thread Wendy Smoak
On Fri, Feb 25, 2011 at 10:30 AM, Asmann, Roland roland.asm...@adesso.at wrote: I'm writing a plug-in and currently need a list of all available versions for a specific artifact. I've found this method: The Codehaus mojo dev list might be a better place to find plugin developers to ask... And

Re: Creating a repository

2011-02-24 Thread Wendy Smoak
On Thu, Feb 24, 2011 at 11:09 AM, Mark static.void@gmail.com wrote: I'm looking at Archiva and I was wondering where do I configure access to download/publish maven artifacts. I would prefer the user of SSH keys over username/passwords. Would this configuration be at the Archiva level, or

Re: how can we replace properties values in the parent element .

2011-02-23 Thread Wendy Smoak
On Tue, Feb 22, 2011 at 3:11 AM, chandra.c49 chandramohan@gmail.com wrote:     And, if we build the parent and then the component without relativePath , it builds fine.But,not everytime we build from the component , and as the parent project name changes and is maintianed in the

Re: Creating a Local Repository for Intranet Access without Internet Connection

2011-02-21 Thread Wendy Smoak
2011/2/21 S. Gökce Çelik dgce...@yahoo.com: I am working in a company which has separate networks for internet and intranet, and a connection between those are strictly prohibited. I have to create a development environment at the intranet side. As far as I looked around there is no way to

Re: how can we replace properties values in the parent element .

2011-02-18 Thread Wendy Smoak
On Fri, Feb 18, 2011 at 1:39 PM, chandra.c49 chandramohan@gmail.com wrote:  My question was  -- The build fails to run if we run a maven Component build with below parent element in place. The below parent element uses the relativePath element to refer ,  as it is located at different

Re: how to NOT delete target dir?

2011-02-17 Thread Wendy Smoak
On Thu, Feb 17, 2011 at 11:26 AM, Martin Trummer martin.trum...@dewesoft.org wrote: It would be good if it were possible to tell the maven-clean-plugin NOT delete the target dir, but only all of it's contents. Reconfigure the clean plugin to only delete what you want it to using

Re: Imported JAR causes problems in suboptimal situation

2011-02-04 Thread Wendy Smoak
On Fri, Feb 4, 2011 at 8:18 AM, Steve Cohen sco...@javactivity.org wrote: Let's say one of my modules (Module A) depends on Hibernate v, X.Y.Z. If I change some code in one of my own modules (Module B) that depends on Module A, the system does not go out to the Internet or other non-local

Re: Imported JAR causes problems in suboptimal situation

2011-02-04 Thread Wendy Smoak
On Fri, Feb 4, 2011 at 9:32 AM, Steve Cohen sco...@javactivity.org wrote: No, there is a POM.  I believe I ran mvn:install:install-file and I would guess that you're right that -DgeneratePom=true is the default because I know I didn't create a POM myself.  This POM is quite simple.  Is it too

Re: Generic location for servlet-api.jar

2011-02-04 Thread Wendy Smoak
On Fri, Feb 4, 2011 at 4:44 PM, Kenneth Litwak klit...@apu.edu wrote: The POM reference only says this of provided: provided - this is much like compile, but indicates you expect the JDK or a container to provide it at runtime. It is only available on the compilation and test classpath, and

Re: Generic location for servlet-api.jar

2011-02-04 Thread Wendy Smoak
On Fri, Feb 4, 2011 at 6:57 PM, Kenneth Litwak klit...@apu.edu wrote: My team leader has said we use Maven, so I have to become good at it.  That said, I put this in my POM, dependency        groupIdjavax.servlet/groupId        artifactIdservlet-api/artifactId        

Re: Brand new to Maven, first build, didn't go well.

2011-02-03 Thread Wendy Smoak
On Thu, Feb 3, 2011 at 10:28 AM, Amy o627m...@yahoo.com wrote: I will add that I'm at work and behind a firewall. I believe there is also a proxy through which all of my HTTP requests go. Here is some information about configuring Maven to go through your http proxy:

Re: Releasing/Deploying multiple artefacts with maven-assembly-plugin : what is your opinion ?

2011-02-03 Thread Wendy Smoak
On Thu, Feb 3, 2011 at 6:48 PM, Frederic Camblor fcamb...@gmail.com wrote: Nobody has any piece of advice against these options ? :( When you tell us you can't change anything, there's not much to say. Either move the configuration out of the war, or put it *all* in there and use something

Re: Oracle and IBM maven repos

2011-01-20 Thread Wendy Smoak
On Thu, Jan 20, 2011 at 5:52 AM, Jonathan Vila Lopez jonathan.v...@gmail.com wrote: Hello Does anybody know the URL for the maven2 repos for Oracle and IBM ? There is some info on an Oracle Maven repo here: http://www.oracle.com/technetwork/database/berkeleydb/downloads/maven-087630.html

Re: Create artifacts library for downloaded IBM jar files.

2011-01-20 Thread Wendy Smoak
On Thu, Jan 20, 2011 at 6:51 AM, Jonathan Vila Lopez jonathan.v...@gmail.com wrote: As the IBM MQSeries jars are not in the apache maven repositories, I have downloaded the jars but now I would like to add to my Artifactory repository. but I have to do that one jar by one. That would

Re: General exclusion of a dependency

2011-01-17 Thread Wendy Smoak
On Mon, Jan 17, 2011 at 7:59 AM, Jesse Farinacci jie...@gmail.com wrote: The scope=provided instructs Maven to not actually bring that dependency into the classpath, thus, it behaves as a global exclude. My understanding of 'provided' is that it *does* go on the classpath for compilation, but

Re: Distinguishing artifacts created on branches

2011-01-17 Thread Wendy Smoak
2011/1/17 Lóránt Pintér lorant.pin...@gmail.com: Now, I'd like to create a branch of this one where I add a new feature. And this early adopter developer here wants to already build on my new feature, even before I merge it back to trunk, so I deploy my artifacts to Nexus. Now, I obviously

Re: Problem with properties in Maven.

2011-01-14 Thread Wendy Smoak
On Fri, Jan 14, 2011 at 9:08 AM, Alexander Vaysberg w...@vaisberg.de wrote: I think, that I a one problem with properties in maven found. The problem in pom with properties. If any know any other properties, which worked same. Please say. Thank you.  The Problem can you reproduce with maven

Re: Deploy .war to shared hosting 'remote server'

2011-01-13 Thread Wendy Smoak
On Thu, Jan 13, 2011 at 11:19 AM, Nigel Weinronk nweinr...@btinternet.com wrote: Thanks for your time much appreciated. I am looking a Cargo but in the simple case I have the 'shared hosting' remote server does not give me access to 'tomcat/manager' so I think this will not work either but I

Re: maven deploy module conditionally

2011-01-06 Thread Wendy Smoak
On Thu, Jan 6, 2011 at 8:36 AM, Steve Cohen sco...@javactivity.org wrote: But I would rather not, if possible, redesign my entire build process. I'd like to be able to modify it to call mvn deploy instead of mvn install.  Of course this won't work with the nexus repository.  So my question is,

Re: maven deploy module conditionally

2011-01-06 Thread Wendy Smoak
On Thu, Jan 6, 2011 at 9:18 AM, Steve Cohen sco...@javactivity.org wrote: Set all your versions to end in -SNAPSHOT, that way you can leave them in the aggregated build without the repository manager complaining on deploy. Yes, I suppose I could do that (which is pretty much what I did

Re: Copying dependencies' binaries (dlls) for runtime

2011-01-06 Thread Wendy Smoak
On Thu, Jan 6, 2011 at 11:56 AM, Phillip Hellewell ssh...@gmail.com wrote: You might also be interested in NPanday (http://incubator.apache.org/npanday/) which provides several .NET specific plugins if that's the flavour of DLL you are dealing with. Thanks,but at a quick glance it looks

Re: Is there any way to stop the same version of pom file/build being built more than once?

2011-01-05 Thread Wendy Smoak
On Wed, Jan 5, 2011 at 12:54 PM, baz themail bazthem...@gmail.com wrote: 1. Someone need to fix a bug in production. 2. Create a new branch for bug fix based on a label. 3. The newly created branch will contain older pom files with older version that already released in Nexus (or any Maven

Re: Is there any way to stop the same version of pom file/build being built more than once?

2011-01-04 Thread Wendy Smoak
On Tue, Jan 4, 2011 at 12:28 PM, baz themail bazthem...@gmail.com wrote: Hi, Is there any way to stop the same version of pom file/build being built more than once? Being _built_? Probably not... anyone can check out a tag and re-build that version locally, nothing to prevent that from

Re: What is this BoxEE support?

2010-12-27 Thread Wendy Smoak
On Mon, Dec 27, 2010 at 5:37 PM, Steve Cohen sco...@javactivity.org wrote: Who are they and who gave them the right to create tickets from posts to this list?  I had no idea I was working with such an organization.  If they are abusing this list, their rights to post here should be revoked.  I

Re: Merge local pom.xml with remote master pom.xml

2010-12-19 Thread Wendy Smoak
On Sun, Dec 19, 2010 at 5:38 AM, Ben Stover bxsto...@yahoo.co.uk wrote: Assume I use a local pom.xml which includes/access a remote master pom.xml Do you mean that your project has a parent pom that is available in a remote repository? Now I want to take the full project and continue to  

Re: What scope should source and javadoc dependencies be declared with?

2010-12-16 Thread Wendy Smoak
On Thu, Dec 16, 2010 at 8:46 AM, Steve Cohen sco...@javactivity.org wrote: I wish to update a project to use the later version of a dependency. There are some incompatibilities and I'd like to try to come up to speed quickly.  In the past I've simply gone to the project's web site and browsed

Re: no dependency information available

2010-12-16 Thread Wendy Smoak
On Thu, Dec 16, 2010 at 8:58 AM, Moser, Christian c...@metrohm.com wrote: Hello I'm using maven 3.0.1 I got following ouput everytime I've built a child project. The missing dependencies are declared in the parent project. The curious thing is that the build never fails and the [WARNING]

Re: File profile activation

2010-12-12 Thread Wendy Smoak
On Sun, Dec 12, 2010 at 1:57 PM, Benson Margulies bimargul...@gmail.com wrote: In a parent profile, I have a profile that is supposed to activate based on the presence of a file in the tree of the child that uses the parent. It does not, and -X is not helping me ... since it seems to

Re: Limiting dependency resolution depth

2010-12-10 Thread Wendy Smoak
On Fri, Dec 10, 2010 at 7:22 AM, Mate Varga mate.va...@gmail.com wrote: However, I have all of the first level (direct) dependencies resolved. As far as my knowledge goes, it's enough to have the first level dependencies to compile a Java project, Not necessarily... it depends on whether the

Re: Reverse dependency tree

2010-12-10 Thread Wendy Smoak
On Fri, Dec 10, 2010 at 4:02 PM, Phillip Hellewell ssh...@gmail.com wrote: What is the best tool out for generating a reverse dependency tree? Also, can anyone give some hints on where to look to set up Hudson or something else to trigger automatic builds of reverse dependencies Apache

Re: Problems uploading bundle to Sonatype

2010-12-07 Thread Wendy Smoak
On Tue, Dec 7, 2010 at 7:46 AM, Greg Brown gk_br...@verizon.net wrote: The Pivot team is getting ready to release Apache Pivot 2.0, and we are (again) having trouble uploading our generated Maven bundles to the repository manager at https://repository.apache.org. The bundles are located

Re: Get a list of POMs

2010-12-07 Thread Wendy Smoak
On Mon, Dec 6, 2010 at 9:45 PM, solo1970 sonia.lodoviche...@ericsson.com wrote: My question is if there is a way to get a list of POM files from the TOP POM in a multimodule project? You'll get more help if you describe the problem you're trying to solve rather than asking about a piece of the

Re: Catch 22 with clean phase

2010-12-02 Thread Wendy Smoak
On Thu, Dec 2, 2010 at 3:08 PM, Phillip Hellewell ssh...@gmail.com wrote: There's a batch file I want to run during the clean phase.  Problem is, the batch file lives below target/dependency, and the clean phase wipes target first, so then my batch file can't be found. What does the batch file

Re: use version of some dependency for another dependency

2010-11-25 Thread Wendy Smoak
On Thu, Nov 25, 2010 at 6:59 AM, Ilya Basin basini...@gmail.com wrote: Now I need to add the foo-impl.jar to my dependencies, and it must be the same version as foo-api.jar. How? Set a property elsewhere in the pom (or further up the hierarchy) and use that for both versions: ${foo.version}

Re: Re[2]: use version of some dependency for another dependency

2010-11-25 Thread Wendy Smoak
On Thu, Nov 25, 2010 at 7:49 AM, Ilya Basin basini...@gmail.com wrote: WS Set a property elsewhere in the pom (or further up the hierarchy) and WS use that for both versions:  ${foo.version} I don't know the version of foo-api and foo-impl. If your project code depends on it, you need to

Re: Deploying properties files.

2010-11-17 Thread Wendy Smoak
On Wed, Nov 17, 2010 at 8:25 PM, asdas adasads zestriddle123...@gmail.com wrote:    In my project I have a lot of *.properties files as well as some third party *.exe files. I know that using resources plugin I'm able to copy all this stuff to my target directory. What about deploying this

Re: What is the right way to create a patch jar file?

2010-11-12 Thread Wendy Smoak
On Fri, Nov 12, 2010 at 12:18 PM, Chris Helck chris.he...@us.icap.com wrote: I need to support patching: creating a jar file that has just those classes modified since a base line. Is Maven the right tool to do this? If so how? There is a patch plugin for Maven1, but nothing for Maven2. There

Re: Setting dependency with plugin generated jar

2010-11-12 Thread Wendy Smoak
On Fri, Nov 12, 2010 at 12:24 AM, banka.ravi banka.r...@gmail.com wrote: I am finding a way to generate jar also in the war project and setting fer other projects depend on that. (Aside from all the advice you're getting to move the classes to a separate module...) Use the war plugin

Re: release:perform deploy goal fails with duplicate deployment

2010-11-09 Thread Wendy Smoak
On Tue, Nov 9, 2010 at 11:53 AM, Trevor Paterson trevor.pater...@roslin.ed.ac.uk wrote: the main .jar deploys ok, then the -sources.jar deploys ok, but then an attempt is made to deploy the -sources.jar a second time: causing a build failure That's not normal. What version of Maven are you

  1   2   3   4   5   6   7   8   9   10   >