Re: [M2] Native plugin and multi-platform C++ projects How-To

2007-04-13 Thread Christian Goetze
- Using again the native plugin, create a multi-module project. The parent would contain the C++ source code, while each child module would be devoted to create a single OS/platform specific artifact. I use this option. However you still need to use profile to do debug/release type

Re: [M2] Native plugin and multi-platform C++ projects How-To

2007-04-13 Thread Christian Goetze
On 4/13/07, Mark Donszelmann [EMAIL PROTECTED] wrote: Hi Christian, you may have a look at http://java.freehep.org/freehep-nar-plugin it does quite a bit of what you suggest, though it is not perfect. That is pretty neat - but the devil is in the details :) For example, you'd want various

Re: Profile activation via environment?

2007-03-13 Thread Christian Goetze
expected that the activation section would trigger the profile by setting the environment variable, but I guess the code that handles ${env.var} is not the same code that handles activations... -- cg Christian Goetze schrieb: Why does this not work? profile idproxy/id

Profile activation via environment?

2007-03-12 Thread Christian Goetze
Why does this not work? profile idproxy/id activation property nameenv.MAVEN_PROXY_URL/name /property /activation repositories repository idproxy/id nameMaven proxy defined by environment/name url${env.MAVEN_PROXY_URL}/url

Re: maven question

2007-03-09 Thread Christian Goetze
Trouble is that this will not compile the prerequisite projects. You would have to either accept the hit of a full reactor build or use your inside knowledge and cd into all prerequisite subdirs, mvn install those, then build your project. -- cg Thierry Lach wrote: Change your directory to

MultiModule checkstyle config

2007-03-06 Thread Christian Goetze
I've been trying to reproduce the example setup described in http://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html The example doesn't show me the pom.xml file to be used for the build-tools module. I tried making the obvious pom for it with a parent

What is the simplest way to populate a remote depot?

2007-03-03 Thread Christian Goetze
I have some third party jars and want to place them in our common remote repo. I've been placing them there, writing their pom file and doing the sha1sum by hand. Is there some kind of deploy target for this which would make it easier? -- cg

Re: What is the simplest way to populate a remote depot?

2007-03-03 Thread Christian Goetze
Tom Huybrechts wrote: Read That Fine Manual : http://maven.apache.org/plugins/maven-deploy-plugin/file-deployment.html Thanks, sorry Now if someone could tell me how to get the site generation to work... (see other mail) -- cg

maven-site-plugin not generating proper modules nav menu

2007-03-02 Thread Christian Goetze
I have a project with subprojects, and I wish to generate a site with some simple reports. It just doesn't work. I always end up with no module links on the top level index.html page, and if I go to project-reports.html, all the module links simply point to index.html, not the actual

Re: How can I deactivate an activeProfile?

2007-02-08 Thread Christian Goetze
franz see wrote: Good day to you, CG, AFAIK, there's none. If you want, you can remove your profile from the activeProfiles section, and add to your profile something like this ... activation property name!exclude-this-profile/name /property /activation ... I tried profile

Re: How can I deactivate an activeProfile?

2007-02-08 Thread Christian Goetze
franz see wrote: Good day to you, CG, May I ask for a snippet of your settings where you used the activation, the maven command you used ( i.e. mvn install ), and what made you say that it did not work? :) Those info would help in determining why it did not work :) Ok. Here's what I tried

Re: How can I deactivate an activeProfile?

2007-02-08 Thread Christian Goetze
franz see wrote: Good day to you, CG, May I ask for a snippet of your settings where you used the activation, the maven command you used ( i.e. mvn install ), and what made you say that it did not work? :) Those info would help in determining why it did not work :) The negative activation

How can I deactivate an activeProfile?

2007-02-07 Thread Christian Goetze
Is there a magic incantation on the command line to deactivate a profile mentioned in the activeProfiles / section? -- cg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: dependencies are bloated in M2

2007-02-06 Thread Christian Goetze
Tandon, Pankaj wrote: So the questions are: 1. How can we control what get's into WEB-INF/lib. We tried all the scopes mentioned, but that did not help. I believe that the scope that should work is provided. The problem is that I don't know if maven is smart enough to remove a provided

Re: compile tries to bundle up the ear - should it?

2007-02-05 Thread Christian Goetze
EJ Ciramella wrote: Still haven't seen any response - this has us wedged, can anyone shed any light on this for me? If you run mvn anything in some project/module subdirectory, you are assuming that all dependencies are built and installed, and therefore available either from your local

Re: Maven newbie questions

2007-02-02 Thread Christian Goetze
Ok, lemme see if I can do this one - being a newbie myself :) srinivas ramgopal wrote: Hi all, I am new to Maven. 1) What is the purpose of remote repository (other than ibilbilo) To store stuff not in ibiblio - for example your own stuff 2) Whenever a file is modified in a maven

Re: [M2] scope to include an internal dependency into a war artifact

2007-01-31 Thread Christian Goetze
Roberto UserList wrote: Hi all! How can I configure scope tag, in order to, package one of the my project's dependency artifact into the war artifact of my project? Check it out! I'd like to include artifact comp.jar into the war artifact. I've tried compile and provided, but both of them did

Re: Multi step build process for multi module project

2007-01-30 Thread Christian Goetze
Paul Edwards wrote: Hi, When running a M2 build over a set of modules within a profile within a parent project, is it possible to cause certain plugin goals to run only once while others run on each sub-project defined in the profile? What I am attempting to accomplish goes like this:

Re: Is concurrent execution of two Mavens safe?

2007-01-26 Thread Christian Goetze
Štěpán Roh wrote: Hello. What I would like to know is whether if I run two Mavens at once and they both change something in local repository at the same time (either downloading required plugin or doing an install) if it is possible that the repository can be damaged (downloaded plugin is

Multiple parallel instances of maven using the same local repo...

2007-01-23 Thread Christian Goetze
... doesn't work, as I expected. Is there any hope that a JIRA request for enabling a locking mechanism for the local repo to allow multiple instances of maven to run has a chance of getting implemented? Are there any plans to make maven itself multithreaded or capable of parallel builds?

Re: Maven2 (and plugins) need to be released frequently to make maven interesting

2007-01-19 Thread Christian Goetze
Eric Brown wrote: There is no shortage of numbers in the world. What is the problem with releasing often? So what if a bug occasionally gets its way into a release -- you can always specify an older version of a plugin that didn't have some new bug. True, a lot of plugins are under 3rd

How far away is maven-assembly-plugin-2.2 from being released?

2007-01-15 Thread Christian Goetze
Just wanted to know whether it is worthwhile for me to replace my maven-proxy with something that understands all aspects of snapshot management... I'd rather use released code if possible... -- cg - To unsubscribe, e-mail:

jar plugin and assembly plugin disagree on SNAPSHOT versions

2007-01-12 Thread Christian Goetze
So I have my jar plugin include the classpath in the manifest. That classpath specifies the version text as x.y-SNAPSHOT. The assembly plugin, on the other hand, packs the resolved snapshot name (x.y-date.sig-buildnr) of the jars into the assembly, causing the application to fail. Is there a

jsmooth anyone?

2007-01-12 Thread Christian Goetze
We're struggling with getting that to work... and I was wondering if anyone had some working code to contribute :) Ciurrently, we're trying to hook in an ant task to do this. -- cg - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: jar plugin and assembly plugin disagree on SNAPSHOT versions

2007-01-12 Thread Christian Goetze
John Casey wrote: If you use the 2.2-SNAPSHOT version of the assembly plugin, you can specify the outputFileNameMapping in the dependencySet to be something like the following descriptor has: Stupid question: what is the groupId of the 2.2-SNAPSHOT version of the assembly plugin? It doesn't

Re: jar plugin and assembly plugin disagree on SNAPSHOT versions

2007-01-12 Thread Christian Goetze
Christian Goetze wrote: John Casey wrote: If you use the 2.2-SNAPSHOT version of the assembly plugin, you can specify the outputFileNameMapping in the dependencySet to be something like the following descriptor has: Stupid question: what is the groupId of the 2.2-SNAPSHOT version

Re: jar plugin and assembly plugin disagree on SNAPSHOT versions

2007-01-12 Thread Christian Goetze
John Casey wrote: you'll need the following: pluginRepositories pluginRepository idapache.snapshots/id urlhttp://people.apache.org/repo/m2-snapshot-repository/url /pluginRepository /pluginRepositories Note that this repository has NOT disabled releases...this is important because of a

Just checking my understanding of SNAPSHOT vs real versions

2007-01-11 Thread Christian Goetze
A real version is only downloaded into your local repo if it isn't already there. A SNAPSHOT version is always checked against central (or other outside repos) to see if there is a newer version available. Is that correct? -- cg

Re: Just checking my understanding of SNAPSHOT vs real versions

2007-01-11 Thread Christian Goetze
Patrick Schneider wrote: Snapshots are checked once a day by default. You can override this by passing the -U flag, forcing maven to update its snapshots. Here's a good review of snaps, by Brett: http://blogs.maven.org/brett/2005/04/15/1113510156000.html Thanks - so it would seem that

Re: jar signing - the good and the bad

2007-01-10 Thread Christian Goetze
diroussel wrote: The question is, why is surefire not using the un-signed jar. I have two jars: target\MyJar.jar target\signed\MyJar.jar so why is surefire choosing the second one, not the normal one in the normal place. Any ideas? No ideas here, sorry Just wanted to add my opinion

How can I make assembly include test jars?

2007-01-04 Thread Christian Goetze
As subject says ... it would seem that the assembly descriptors assume you're packaging main. Am I supposed to use full paths in the assembly descriptor? Anyone have an example? Thanks in advance! -- cg - To unsubscribe,

First impressions of using maven (long)

2007-01-04 Thread Christian Goetze
In this post, I'd like to summarize my first impressions of using maven. The product built in my company is a mixed bag of C/C++ code, java code and perl code. It is a classic three tier app, with the back end written in C/C++, the middle tier written in perl and java and the GUI written in

Re: How can I make assembly include test jars?

2007-01-04 Thread Christian Goetze
Thanks for the tips. I ended up making it its own module and just use the standard assembly. My thinking is that if it's being distributed, it isn't really a test anymore. I hope this conforms with the idea of the test vs main source subtrees... -- cg

Re: External repositories listed in centrally deployed poms?

2007-01-02 Thread Christian Goetze
Wayne Fay wrote: Or would you expect the mirror java.net to Central process to alter all the pom files and remove the java.net repo references? I think that they should not contain explicit location references at all, relying instead on the locations defined in the poms traversed previously

Re: External repositories listed in centrally deployed poms?

2007-01-02 Thread Christian Goetze
Just would like to add my agreement with Mykel's position. The problem is that you can have the best developers in your world, and still get screwed by one guy outside accidentally including a dependency with encumbering licensing. That's the big drawback of the automatic inclusion of

Re: idea plugin question

2006-12-29 Thread Christian Goetze
Roald Bankras wrote: First time I just run the idea:idea goal. After setting op my workspace in intellij, I only run idea:module to update the dependencies. Thanks, yes, that seems to be the way to go - now I need to find out if the maven plugin for IDEA has a way to set this up to

Re: idea plugin question

2006-12-28 Thread Christian Goetze
Sorry for the repost, but I can't believe that nobody is having this problem. What do you guys do? Christian Goetze wrote: How can I merge custom idea settings (e.g. the arguments to the idea run targets, perforce settings etc) into the idea project files generated via maven? On the one

Re: How to sign all jars included in an assembly?

2006-12-28 Thread Christian Goetze
franz see wrote: Good day to you, Christian, You can sign your jars using jar:sign ( see [1] ). However, it needs you to input the location and filename. Yes, I can do that, but that was not what I was asking. The problem I have is that I want to sign all the third party jars imported

Re: accessing sources of third party jars

2006-12-27 Thread Christian Goetze
Edwin Punzalan wrote: If the artifacts have sources and javadocs deployed with them, then using -DdownloadSources=true and -DdownloadJavadocs=true is what you need. The plugin will download them and attach them to the project to help you in your development. Hope that helps ^_^ Ok,

idea plugin question

2006-12-27 Thread Christian Goetze
How can I merge custom idea settings (e.g. the arguments to the idea run targets, perforce settings etc) into the idea project files generated via maven? On the one hand, I would like to get the benefit of the source and javadoc download and the dependency knowledge maven provides, but on the

Re: accessing sources of third party jars

2006-12-27 Thread Christian Goetze
Christian Goetze wrote: Edwin Punzalan wrote: If the artifacts have sources and javadocs deployed with them, then using -DdownloadSources=true and -DdownloadJavadocs=true is what you need. The plugin will download them and attach them to the project to help you in your development

accessing sources of third party jars

2006-12-26 Thread Christian Goetze
This is not clear for me from the maven book. We have some third party jars that come with source code and javadocs, and I'd like those to be retrieved via a maven build. How can I do that? Do I actually need to make these into full-blown modules or is there a way to just handle the zip files

How to sign all jars included in an assembly?

2006-12-26 Thread Christian Goetze
I'd like to configure the assembly plugin to sign all jars pulled in by the transitive dependency resolution. How can I accomplish that? Otherwise I would need to hand-sign all the thirdparty jars in my repository... -- cg -

multiple non-recursive mvn invocations running in parallel?

2006-12-13 Thread Christian Goetze
Will multiple non-recursive mvn -N install invocations running in parallel, each building and installing a different artifact, interact with each other in some way? My naive assumption is that they shouldn't, since they will populate different parts of the local repository, and since I'm not

How to invoke mvn to not do the reactor build?

2006-12-12 Thread Christian Goetze
Is there an option to disable the reactor build when invoking maven from the project parent? All I want is the installed pom, nothing else. Background: I need to embed maven into a larger build system, and I would like to be more specific about which parts of a project need rebuilding. My

Re: maven proxy question

2006-12-08 Thread Christian Goetze
Barrie Treloar wrote: Can you paste in the types of build failures you are getting? I get the usual cannot find artifact, can you upload it with the following commands error. I changed the the proxy setting to not check for pom file updates, and I'll see if it happens again. Proxy log

maven proxy question

2006-12-07 Thread Christian Goetze
I am using the maven proxy as described in http://docs.codehaus.org/display/MAVENUSER/Using+Maven+in+a+corporate+environment, but I am observing spurious build failures due to some of the actual remote sites not always responding in a timely manner. Is there a way to configure maven proxy to

Re: module builds but doesn't install

2006-12-06 Thread Christian Goetze
Jörg Schaible wrote: Christian Goetze wrote on Tuesday, December 05, 2006 10:49 PM: I have a situation where a module with packaging jar builds, i.e. it produces a .jar file, but it doesn't install if maven is run from the parent project directory. No indication by mvn why. It will install

Re: I need help with multi-module project site generation.

2006-12-06 Thread Christian Goetze
Wendy Smoak wrote: On 12/5/06, Christian Goetze [EMAIL PROTECTED] wrote: If I generate the default site according to the mergere book, I get essentially a useless cover page with a navigation menu that lists the modules, but without links I've seen that happen too. Most of my projects

Re: I need help with multi-module project site generation.

2006-12-06 Thread Christian Goetze
Wendy Smoak wrote: which seems to stem from the java code being javadoc'ed itself. mvn site fails with an internal error, stumbling over a dependency Are you using dependencyManagement ? This sounds familiar, but I thought it was fixed. First try 'mvn site -U' to make sure you've got the

Re: I need help with multi-module project site generation.

2006-12-06 Thread Christian Goetze
Wayne Fay wrote: Probably a silly question, but you added a dependency on javax.mail, right? And unless I'm mistaken, this is a Jar you have to download from Sun and add to your local repo manually. I did all that, yes... Thanks :) After all, my project builds fine, it's just the aggregating

Projects with empty modules

2006-12-05 Thread Christian Goetze
Maybe a JIRA issue... I've been setting up a project framework with no code in the modules yet, but with dependencies, and I notice that running mvn from the top causes the empty module to be skipped and subsequent dependency failures, but running mvn from within the empty project will cause

Merging vs Overriding Settings?

2006-12-05 Thread Christian Goetze
I'm not clear on the algorithm used for inheritance of pom settings. It would seem that some settings are merged (obvious example: dependencies), whereas others seem to override. Is there any consistent rule about this or is it just whatever was deemed appropriate by whomever writing that

Re: Projects with empty modules

2006-12-05 Thread Christian Goetze
Christian Goetze wrote: Maybe a JIRA issue... I've been setting up a project framework with no code in the modules yet, but with dependencies, and I notice that running mvn from the top causes the empty module to be skipped and subsequent dependency failures, but running mvn from within

module builds but doesn't install

2006-12-05 Thread Christian Goetze
I have a situation where a module with packaging jar builds, i.e. it produces a .jar file, but it doesn't install if maven is run from the parent project directory. No indication by mvn why. It will install if I run maven from the module directory. Any ideas how I can debug this? -- cg

Workaround: module builds but doesn't install

2006-12-05 Thread Christian Goetze
Christian Goetze wrote: I have a situation where a module with packaging jar builds, i.e. it produces a .jar file, but it doesn't install if maven is run from the parent project directory. No indication by mvn why. It will install if I run maven from the module directory. By removing all

I need help with multi-module project site generation.

2006-12-05 Thread Christian Goetze
So I have a multi-module project and I would like to generate a site which includes javadoc and jxr. What am I supposed to do? I would be extremelty grateful to anyone who can provide an example which has a shot at working... If I generate the default site according to the mergere book, I

How to run checkstyle earlier in the build lifecycle?

2006-12-04 Thread Christian Goetze
I know it runs as part of mvn site, but some people wish to see it run earlier, say as part of install, or even test. How do I do that? -- cg P.S. I'm still struggling with multi-module project site generation. I just can't get the navigation links to work. -- cg

How to ignore certain files in the source tree

2006-12-04 Thread Christian Goetze
Sorry if this is another FAQ, but I can't find an easy answer... I would like to systematically ignore certain source files in the build. I don;t want them to appear in my jars or any other artifacts. Is there a global way to exclude them? -- cg

Re: How to ignore certain files in the source tree

2006-12-04 Thread Christian Goetze
Wendy Smoak wrote: On 12/4/06, Christian Goetze [EMAIL PROTECTED] wrote: I would like to systematically ignore certain source files in the build. I don;t want them to appear in my jars or any other artifacts. Is there a global way to exclude them? Where are the files located, and what type

Re: How to ignore certain files in the source tree

2006-12-04 Thread Christian Goetze
Wendy Smoak wrote: On 12/4/06, Christian Goetze [EMAIL PROTECTED] wrote: Where are the files located, and what type of files are they? They are . files generated by the build system into which I'm embedding maven. They contain additional metadata about the files and I do not have the option

Re: Using ant and alternative local repositories with Maven

2006-11-29 Thread Christian Goetze
If we were not using the Maven ant tasks, there are several ways to address this matter. There is the -s parameter to Maven, there is the $M2_HOME/conf/settings.xml, where we could vary the value of $M2_HOME according to which build we are doing. These mechanisms do not work for the Maven

Re: Maven cyclic dependecy issue

2006-11-22 Thread Christian Goetze
It could be told by setting -Dmy_version=version and using ${my_version} in the parent reference. But not even that works. You're missing the point. A child pom MUST be able to know what version its parent is BEFORE it can inherit anything. Wayne is right... it's strickly a

Re: Maven cyclic dependecy issue

2006-11-22 Thread Christian Goetze
Wendy Smoak wrote: On 11/22/06, Christian Goetze [EMAIL PROTECTED] wrote: The main point here is that one would like to have -exactly- -one- place where version numbers are defined and changed. Forcing people to manually edit dozens of pom.xml files every time the version number changes

Design Issue with the release plugin (was Re: Maven cyclic dependecy issue)

2006-11-22 Thread Christian Goetze
Maven does several things... one of which is building, but the other is to gently (OK, maybe not THAT gently) push users to adhere to standards. It is not by accident that non-standard behaviors are untenable. The standard in this situation you describe is to use the maven-release-plugin. I

Re: Design Issue with the release plugin (was Re: Maven cyclic dependecy issue)

2006-11-22 Thread Christian Goetze
Wendy Smoak wrote: On 11/22/06, Christian Goetze [EMAIL PROTECTED] wrote: In order to use the release plugin, I have to decide to go for it, and call a particular source tree releasable. This may sound trivial, but it isn't. How do I decide that? We've been struggling with the same issue

Re: Maven cyclic dependecy issue

2006-11-21 Thread Christian Goetze
Wayne Fay wrote: Its a chicken and egg problem. If you don't hard-code parent version in child = which parent version should I use? Keep in mind the /parent/module layout in the filesystem (with relativePath) is not an absolute requirement ie parent poms could/should be checked into a Maven

Re: generating site from parent

2006-11-21 Thread Christian Goetze
Wayne Fay wrote: This is discussed a couple times every week. Please search this list for parent site or just check out this recent thread: from Morgovsky, Alexander (US - Glen Mills) to users@maven.apache.org date Nov 9, 2006 4:03 PM subject Aggregate site generation I did that, and

Trouble with aggregate javadoc

2006-11-21 Thread Christian Goetze
running the javadoc plugin with aggregate set to true fails with unresolved dependency errors. I note that the unresolved dependencies stem from a portion of the source tree to be compiled and run with the 1.4 JRE. Could that affect javadoc and how can I fix it? Here are the types of messages

Re: Maven cyclic dependecy issue

2006-11-21 Thread Christian Goetze
Eric Redmond wrote: I see what you are trying to do... but why? If you do not define a child project's version, it automatically inherits from its parent. Just take version${main.version}/version out. The trouble is that you need a -reference- to the parent's version in the children, and

generating site from parent

2006-11-21 Thread Christian Goetze
How come generating the site from the parent project does not result in a collection of all the sites of all the sub-projects? Is there no aggregate site, or what is the magic XML for that? TIA -- cg - To unsubscribe, e-mail:

Re: How can I resolve ${...} in assembly descriptors?

2006-11-17 Thread Christian Goetze
Jochen Wiedmann wrote: On 11/17/06, Christian Goetze [EMAIL PROTECTED] wrote: I'd like to pass in something either via the environment or via -D on the mvn command line, and have that be visible within the assembly description. How do I do that? Use a filtered resource to create the actual

Embedded Error while rendering javadocs

2006-11-17 Thread Christian Goetze
I added the javadocs plugin to generate an aggregate report, and I see this: [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error during page generation

How can I resolve ${...} in assembly descriptors?

2006-11-16 Thread Christian Goetze
I'd like to pass in something either via the environment or via -D on the mvn command line, and have that be visible within the assembly description. How do I do that? For example, I'd like to say: fileSet directorysrc/main/bat/${DO}/bat/directory

Version management question

2006-11-14 Thread Christian Goetze
I recently asked the question below, but no answer. I was wondering whether I really need to edit all pom.xml files in all my project whenever I bump version numbers. I'm still new at this, so if this is a trivial question, please bear with me... -- cg Christian Goetze wrote: Why can't I

Re: Version management question

2006-11-14 Thread Christian Goetze
Lee Meador wrote: This does not work. If you think about it you can see why. You would define 'sensage-version' in the parent pom and use it in all the children. The problem is that as it is parsing the child pom, maven has to find the parent. To do that, it looks in the parent section and

Why does ${...} replacement not work within parent.../parent?

2006-11-13 Thread Christian Goetze
Why can't I do this: project modelVersion4.0.0/modelVersion !-- This project belongs to ... -- parent groupIdcom.sensage/groupId artifactIdsensage/artifactId version${sensage-version}/version /parent I do run mvn -Dsensage-version=3.6... It works fine when I run from the top of the

How do I avoid install error when using dir assembly?

2006-11-13 Thread Christian Goetze
I'd like to avoid getting the following error, but still have an - bin.dir file available: [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error

How can I set project.version externally?

2006-11-08 Thread Christian Goetze
So I have a project with modules, and every module has its pom.xml file with a reference to the parent, which must include the parent version. All of these version numbers should be the same. I tried writing: parent groupIdcom.sensage/groupId artifactIdsensage/artifactId

Looking for a simple maven assembly example

2006-11-07 Thread Christian Goetze
I've read the better builds with maven book, I've looked at http://maven.apache.org/plugins/maven-assembly-plugin, but I'm still not sure I understand how this is supposed to work. I just want end up with a zip file containing all of the jars needed to run the particular project I'm building.

How do people include version info into the build?

2006-11-07 Thread Christian Goetze
With this, I mean how do people ensure that the version number used in the build is available at runtime? Do people generate a property file with the version number and include it in the jar? Anyone have a nice little example for this? Thanks in advance... -- cg - an obvious maven2 newbie...

Re: Looking for a simple maven assembly example

2006-11-07 Thread Christian Goetze
Dirk Starke wrote: Hello Christian, I am just starting to use Maven 2, also had some problems to figure this out, and perhaps I can help you. In my little project I created two files in the src/main/assembly directory of my project. Thanks, but it only ends up with the one jar in the

Re Looking for a simple maven assembly example

2006-11-07 Thread Christian Goetze
Thanks, but it only ends up with the one jar in the project. How do I get it to include all jars needed to run, as expressed in the dependencies? -- cg Oops, sorry, the other nice person who answered has the clue... Thanks again! -- cg

Packing applications and jar signing

2006-10-20 Thread Christian Goetze
What do people do to assemble all the jars required to run a specific application (i.e. a specific jar), pack them and get them signed? I currently use rpm for packing, and my idea was to explicitly list the jars and sign them from the spec file, but perhaps there is a better way? -- cg

Re: Why do some jars in ibiblio do not have .pom files?

2006-10-19 Thread Christian Goetze
Dan Tran wrote: axis group has been moved to org/apache/axis, that could be the reason why nobody bothers to fix the missing pom. - In ibiblio, I see org.apache.axis, and underneath I only see jars, not poms. -- cg - To

Re: Why do some jars in ibiblio do not have .pom files?

2006-10-19 Thread Christian Goetze
Dan Tran wrote: are you sure? http://repo1.maven.org/maven2/org/apache/axis/axis/1.4/ OK, that's not the same as http://www.ibiblio.org/maven/. I'll add this one to my proxy -- cg - To unsubscribe, e-mail: [EMAIL

Re: Why do some jars in ibiblio do not have .pom files?

2006-10-19 Thread Christian Goetze
Dan Tran wrote: are you sure? http://repo1.maven.org/maven2/org/apache/axis/axis/1.4/ Oh, I see it now - the groupid changed too that's going to be so much fun down the road when repositories will have a gazillion things in it and somebody decides to clean up -- cg

Why do some jars in ibiblio do not have .pom files?

2006-10-18 Thread Christian Goetze
Just wondering - examples include: axis/axis-saaj/1.4/axis-saaj-1.4.pom axis/axis-jaxrpc/1.4/axis-jaxrpc-1.4.pom Of course I can create my own in my own proxy, but would like to know whether there is a deeper reason. -- cg -

Has anyone made a jwsdp-1.6 repository?

2006-10-12 Thread Christian Goetze
Before I start on ther path of rolling my own, I was wondering if anyone already did this -- cg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

How do people search for jars and poms?

2006-10-12 Thread Christian Goetze
If this is a stupid question, I apologise in advance... Given a dependency to a specific set of classes, how do people locate the jar that provides it, together with the artifact and group ids? I haven't yet found a better way than to search through ibiblio, hoping to find something there -

Is there a guide to all the ${...} macros?

2006-10-11 Thread Christian Goetze
As the subject says... I'm wondering if everything I pass in via a -D flag is available as a ${...} macro in the pom.xml file. Also, are environment variables available? Is it possible to define or compute values within the pom.xml file? One of several reasons I'm asking is because I need