seam builds with maven ant tasks

2007-10-02 Thread John J. Franey
Can someone with experience using maven's ant task help out the seam team? Check out http://in.relation.to/Bloggers/Pete Pete Muir's blog . I'm trying to help but botching it up. Thanks, John -- View this message in context:

Re: Proxying central repo

2007-08-16 Thread John J. Franey
John J. Franey wrote: Wendy Smoak-3 wrote: 1.0-alpha-2 comes pre-configured to proxy the central repo. -- Wendy I'm using Beta-1. How do I add a caching proxy? The admin menu does not include 'proxy repositories'. This item is available in a version I have

Re: How to build multiple webapps that share resources

2007-03-30 Thread John J. Franey
You can: 1) First parameterize the properties using webapp.property=${my.build.webapp.property} 2) define the properties in the parent pom: properties property my.build.webapp.propertyvalue-for-webapp-propertye/my.buiild.webapp.property /property /properties 3) turn on resource

Re: What is the Best practice for generating variations of an artifacts?

2007-03-16 Thread John J. Franey
I came up with a third path. Mutliple projects, but with a slight difference. In the base project, an assembly would create an archive of unfiltered configuration files. So the base project has the war (or jar) and a zip of unfiltered configuration files. This project does not put any app

freezing maven-assembly-plugin for my build

2007-03-15 Thread John J. Franey
I want to use features of 2.2-SNAPSHOT assembly plugin, but now its time to release my project. The release plugin refuses to prepare my project until I use the released version of the assembly plugin. I have two choices: 1) revert back to 2.1 release of assembly plugin, 2) build and

Re: freezing maven-assembly-plugin for my build

2007-03-15 Thread John J. Franey
Further information: It seems to work if I configure the assembly plugin like this, but can someone explain: plugin artifactIdmaven-assembly-plugin/artifactId !-- 495495 is subversion id of snapshot we use (AFAIK) -- version2.2.495495/version dependencies

Re: properties in settings.xml do not interpolate

2007-03-14 Thread John J. Franey
Mark Proctor-4 wrote: settings profiles profile iddefault/id activation activeByDefault/ /activation ... /profile /profiles /settings I've used settings.xml interpolation with success. I'm curious about what maven thinks is the value

archiva and classifiers

2007-03-12 Thread John J. Franey
Hi, Can I expect archiva to proxy artifacts of different classifiers? I deployed an artifact with classifier 'zip' into a managed repository. The artifact was built using assembly:attached.. Also, a regular jar artifact with the same artifactId and groupId was also deployed in the managed

Re: [m2] Best Practice for Deploying an Application w/Dependencies

2007-03-08 Thread John J. Franey
mark_in_gr wrote: What would be the most efficient way to format my executable jar application, though? Depends on your apps requirements. I think unpacked leads to less of a burden on host filesystem. jar-with-dependencies is easiest to configure, for sure. Using the maven

Re: [m2] disappearing dependency

2007-03-05 Thread John J. Franey
In your pom, taglibs/standard is not specified as a dependency. Its in dependencyManagement but dependencyManagement has no effect on the dependency graph of the project.Put tagslib/standard within the dependencies element and see what flies. Regards, John -- View this message in

Re: [m2] Transitive Dependency resolution is degrading the versions of my dependencies (i.e. commons-collections 3.2 down to 2.1)

2007-03-02 Thread John J. Franey
Wayne Fay wrote: Did you use the [...] notation in your versions? The question I asked myself was Why is the '[...]' notation important?. So I went to Better Builds with Maven (pdf) and found this in section 3.6: When a version is declared as 1.1, as shown above for plexus-utils, this

Re: [m2] Transitive Dependency resolution is degrading the versions of my dependencies (i.e. commons-collections 3.2 down to 2.1)

2007-03-02 Thread John J. Franey
Jason van Zyl-2 wrote: On 2 Mar 07, at 10:36 AM 2 Mar 07, John J. Franey wrote: From Better Builds with Maven: When a version is declared as 1.1, as shown above for plexus- utils, this indicates that the preferred version of the dependency is 1.1, but that other versions may

Re: [m2] Problem downloading latest SNAPSHOT from central repository

2007-02-28 Thread John J. Franey
dbaker wrote: My understanding was that if the timestamp of the version in the central repository is more recent than that of the local version, then the local version would be updated. Is this correct, or does Maven only download to the local repository if the required artifact is

Re: [m2] POM Inheritance

2007-02-28 Thread John J. Franey
Will this work? I do not know. Introduce a third pom (the data access pom) as a new module of the original parent. The original parent pom remains unchanged except for the addition of the new data access pom module. The new data access pom declares data access dependencies. The data access

Re: [m2] Filtering resources

2007-02-28 Thread John J. Franey
Thierry Lach-2 wrote: Actually settings properties not being available in filtering might cause us some problems in converting to M2. Properties in settings file are available in resource filtering using a profile. Each user should create a profile in their own settings.xml. Their

Re: [m2] Packging the same resource file in multple projects

2007-02-28 Thread John J. Franey
I think the answer is to: 1) create a new module for the resources. move the src/main/resources/resource.xml into the new module. 2) declare a dependency in each of A and B on the new resources module. 3) use assembly plugin in A and B to create a jar with dependencies. see

Re: [m2] POM Inheritance

2007-02-28 Thread John J. Franey
Will this work? I do not know. Introduce a third pom (the data access pom) as a new module of the original parent. The original parent pom remains unchanged except for the addition of the new data access pom module. The new data access pom declares data access dependencies. The data access

Re: [m2] packaging jar files ...

2007-02-26 Thread John J. Franey
Assuming this is related to maven 2, see: http://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodule/index.html I cannot provide an answer for maven 1; I have not used it. Regards, John Armin Ehrenfels wrote: Hi, say, I have projects A, B, C, all subprojects of project

Re: [m2] Eclipse, Hibernate Tools

2007-02-26 Thread John J. Franey
Lally Singh wrote: how do I get maven to do whatever needs to be done to process my hibernate annotations? If you are using java 5 annotations and maven 2: Nothing, aside from compiling with java 5 or better, homing hibernate and java persistence configuration files into

Re: [m2] How to deploy all of the 3th party jars under the Jboss directory ?please.

2007-02-26 Thread John J. Franey
A piece of the puzzle may be the assembly plugin, http://maven.apache.org/plugins/maven-assembly-plugin, to assemble the dependencies of your project into a zip file that you can unzip into your $JBOSS_HOME/server location. Another piece of this puzzle may be the cargo plugin,

Re: [m2] Eclipse, Hibernate Tools

2007-02-26 Thread John J. Franey
Lally Singh wrote: nothing's getting generated into src/main/resources (that's just got the original cocoon spring stuff in it). Is there another maven target I should run? Correct. maven will not write into src/main/resources. Hibernate library reads certain configuration files.

Re: [m2] Recommended way to add config files?

2007-02-14 Thread John J. Franey
Since yours is a recent post and sounds related to something I'm just finishing off, I'll post here what I have done. Maybe its useful to you or somebody. What I wanted to do was create an archive containing my custom pieces overlaid into publicly available distribution. Specifically, I want

Re: authorization denied

2007-01-31 Thread John J. Franey
Robert, Thanks for the contribution. Are you sure your answer matches my question? The getting started page you refer me to has a description of adding username and password in the use case of deploying to an archiva repository. My question involves the use case of downloading artifacts from

Unable to lookup ....pssForceAdminUserInterceptor ... plexus misconfiguration

2006-11-07 Thread John J. Franey
Hi, I followed the getting started page, but perhaps I missed something. Please give me a pointer at what I can look at. I really haven't any background in plexus and don't know where to look first. bin/plexus.sh starts a process and dumps log to standard out. When I visit localhost:8080, I

[m2.0.3] adding xmlbeans code generation to lifecycle

2006-04-13 Thread John J. Franey
As per http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html, I added the following to my pom: ... packagingjar/packaging ... build .. plugins groupIdorg.codehaus.mojo/groupId artifactIdxmlbeans-maven-plugin/artifactId executions execution

Re: RE : [m2.0.3] adding xmlbeans code generation to lifecycle

2006-04-13 Thread John J. Franey
configuration to bind the execution to generate-sources or other one. - Olivier -Message d'origine- De : John J. Franey [mailto:[EMAIL PROTECTED] Envoyé : jeudi 13 avril 2006 15:27 À : Maven Users List Objet : [m2.0.3] adding xmlbeans code generation to lifecycle As per http

M2: no downloading attempts of non-existing artifact, please

2006-03-30 Thread John J. Franey
I'm converting a project to maven 2. Some dependencies do not exist in ibiblio, so I've 'installed' these into my local repository. I'm unhappy because every time I perform a run, there is a significant delay (sometimes) when maven tries to download these non-existent artifacts. I get these

Re: M2: no downloading attempts of non-existing artifact, please

2006-03-30 Thread John J. Franey
to it directly, which would then prevent the ibiblio lookup. I don't use maven-proxy, but it seems like this would work. Wayne On 3/30/06, John J. Franey [EMAIL PROTECTED] wrote: I'm converting a project to maven 2. Some dependencies do not exist in ibiblio, so I've 'installed