Re: maven assembly plugin does not create actual zip

2008-08-13 Thread Wendy Smoak
On Wed, Aug 13, 2008 at 10:12 PM, maarten roosendaal [EMAIL PROTECTED] wrote: I'm trying to create a relative simple .zip file with the assembly plugin but all i get is a directory structure with the correct files., not an actual zip file. I've set format to zip but it does not seem to work.

Re: Maven Embedder 2.1-SNAPSHOT

2008-08-11 Thread Wendy Smoak
On Mon, Aug 11, 2008 at 9:34 AM, Kem Elbrader [EMAIL PROTECTED] wrote: What happened to the maven embedder 2.1 snapshot? http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/maven-embedder/2.1-SNAPSHOT/ Is it going to be deployed again? Is there another repository that has it

Re: Renaming a file during creation of a project from an archetype

2008-08-11 Thread Wendy Smoak
On Mon, Aug 11, 2008 at 1:24 PM, stug23 [EMAIL PROTECTED] wrote: Is there an automated way to rename a file contained in an archetype during project creation? For example if the archetype were for a web service it might have a file in WEB-INF/wsdl/ named 'FooService.wsdl'. The objective

Re: Default repository question

2008-08-10 Thread Wendy Smoak
On Sun, Aug 10, 2008 at 3:37 PM, Matt Milliss [EMAIL PROTECTED] wrote: As far as I understand these are the only repositories my installation should be using but what I find is there are others that I haven't defined that are being used ... Where do these repositories come from if I haven't

Re: Different packaging in multi-module project

2008-08-09 Thread Wendy Smoak
On Sat, Aug 9, 2008 at 3:18 AM, Marc Speck [EMAIL PROTECTED] wrote: I want to compile a project that resides in a multi-module project with different packaging like jar and war (and different configuration). So I created a pom.xml for one packaging and pomswf.xml for the other packaging. This

Re: mvn command line failed with archetype..

2008-08-08 Thread Wendy Smoak
On Fri, Aug 8, 2008 at 10:45 AM, Sam Wun [EMAIL PROTECTED] wrote: | I am wondering how to fix the following attached error (mvn command run)? | I tried to follow the instruction shown in the following website, but got error. |

Re: $basedir in pom.xml

2008-08-07 Thread Wendy Smoak
On Thu, Aug 7, 2008 at 8:06 PM, Lakshmi Kurella [EMAIL PROTECTED] wrote: Can someone tell me what path $basedir points to and how can I alter this. $basedir is the root of the project that's being built. I'm not sure you can change it. What problem are you trying to solve? There's probably

Re: how to disable jar-with-dependencies when assembly?

2008-08-06 Thread Wendy Smoak
On Wed, Aug 6, 2008 at 2:24 AM, youhaodeyi [EMAIL PROTECTED] wrote: I use customized assembly descriptor. Why every time running mvn assembly:assembly, maven will produce jar-with-dependencies.jar? It shouldn't. What's making you think that it does? (Build output, a file in the target dir,

[ANN] Maven Deploy Plugin version 2.4 Released

2008-08-06 Thread Wendy Smoak
http://maven.apache.org/repository-management.html Enjoy, -- Wendy Smoak on behalf of the Maven team - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: what happened to the plugin snapshots....

2008-08-04 Thread Wendy Smoak
On Mon, Aug 4, 2008 at 4:10 PM, Patrick Moore [EMAIL PROTECTED] wrote: What happened to all the maven plugin snapshots such as maven-surefire-2.4-collab ? It seems that al snapshots are gone... Not all of them, but the ones over 30 days old were deleted recently. Was 2.4-collab a branch or

Re: Copy the artifact via scp to our server

2008-08-01 Thread Wendy Smoak
On Fri, Aug 1, 2008 at 7:34 AM, Fritz Richter [EMAIL PROTECTED] wrote: Now, I just want to deploy our war-file to the server via scp. If I configure the pom like the following: distributionManagement That is for deploying to a remote Maven repository, not to an app server. The name of the

Re: Copy the artifact via scp to our server

2008-08-01 Thread Wendy Smoak
On Fri, Aug 1, 2008 at 8:33 AM, Fritz Richter [EMAIL PROTECTED] wrote: Hi Wendy, because I can't change the name of the resource on the des-side, What do you mean? I want to try out Don's stuff. To search in the list archives, can you give me a hint / keyword? This is what I was thinking

Re: Maven 'deploy' relationship to large-scale software deployment

2008-07-31 Thread Wendy Smoak
On Thu, Jul 31, 2008 at 2:32 PM, stug23 [EMAIL PROTECTED] wrote: I do find it interesting that there aren't more tools (well as far as I am aware at this point...) that are designed specifically to perform large-scale deployment from a Maven repository to multiple (in some cases many ~100s)

Re: Maven WAR with self-classes as package

2008-07-30 Thread Wendy Smoak
On Wed, Jul 30, 2008 at 10:27 AM, zm [EMAIL PROTECTED] wrote: I have a WAR project that builds correctly in Maven2. What I want to know, is if there is a way of making maven to do an internal JAR package of the WAR classes. http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html

Re: Site Plugin: Only static content - is it possible?

2008-07-30 Thread Wendy Smoak
On Wed, Jul 30, 2008 at 10:26 PM, Paul Benedict [EMAIL PROTECTED] wrote: I have an Apache website of all static content. I don't need Maven to autogenerate anything, but I want to use the Site Plugin to bundle and deploy it. Is it possible to use the Site plugin without a site.xml? What

Re: Site Plugin: Only static content - is it possible?

2008-07-30 Thread Wendy Smoak
On Wed, Jul 30, 2008 at 10:39 PM, Wendy Smoak [EMAIL PROTECTED] wrote: On Wed, Jul 30, 2008 at 10:26 PM, Paul Benedict [EMAIL PROTECTED] wrote: I have an Apache website of all static content. I don't need Maven to autogenerate anything, but I want to use the Site Plugin to bundle and deploy

Re: [m2] What triggers attempt to download from: http://cvs.apache.org/maven-snapshot-repository ?

2008-07-29 Thread Wendy Smoak
On Tue, Jul 29, 2008 at 2:36 PM, Dan Rollo [EMAIL PROTECTED] wrote: 1. Why are only SOME downloads hitting: http://cvs.apache.org/maven-snapshot-repository/ when those same items exist in the normal central repo (and when I never define the cvs.apache.org repo anywhere)? 2. Any idea how I

Re: Continuum + Tomcat: Not using settings.xml?

2008-07-22 Thread Wendy Smoak
On Tue, Jul 22, 2008 at 9:23 AM, Magne Nordtveit [EMAIL PROTECTED] wrote: I get a Missing artifact trying to build the POM. Check that its parent POM is available or add it first in Continuum. error message, and no usefull output from the logs either... Please ask on the Continuum mailing

Re: source code for Betterbuildwithmaven

2008-07-20 Thread Wendy Smoak
On Sun, Jul 20, 2008 at 1:34 PM, Jinyuan Zhou [EMAIL PROTECTED] wrote: I am new to Maven. I find a free book titled BetterBuildsWithMaven. But the source code url is not valid. Can you give any info about its possible new URL ? The source code for BBwM is available here:

Re: scope Optional

2008-07-18 Thread Wendy Smoak
On Fri, Jul 18, 2008 at 8:21 AM, Thomas Darbois [EMAIL PROTECTED] wrote: I'm having some trouble with the scope Optional and the plugin maven dependency plugin. I'm having a dependency to an artefact which scope is scopeoptional/scope. Optional isn't a scope, it's a separate element:

Re: grouping dependencies with scope provided

2008-07-16 Thread Wendy Smoak
On Wed, Jul 16, 2008 at 8:00 AM, Aino Andriessen [EMAIL PROTECTED] wrote: Is there a way around or another way to group libraries / dependencies? (except for excluding the specific jars in the war configuration). Maven 2.0.9 introduced the 'import' scope, which may be what you're looking for.

Re: deployment of dependencies to company repository

2008-07-16 Thread Wendy Smoak
On Wed, Jul 16, 2008 at 9:19 AM, Fisher, Jonathan [EMAIL PROTECTED] wrote: Is there an efficient way to deploy all the dependencies in a project's pom to the company repository? I don't have the desire to do this anymore: We've had success using the Assembly plugin to build a repository

Re: Archetype, define file name

2008-07-15 Thread Wendy Smoak
On Mon, Jul 14, 2008 at 7:45 AM, Raphaël Piéroni [EMAIL PROTECTED] wrote: ths feature doen't currently exist. please consider opening a jira enhancement at http://jira.codehaus.org/browse/ARCHETYPE Done (because I need it too. :) ) http://jira.codehaus.org/browse/ARCHETYPE-191 Ability to

Using pluginManagement and overriding plugin version numbers

2008-07-14 Thread Wendy Smoak
On Sun, Jul 13, 2008 at 2:33 PM, in the [ANN] Maven Site Plugin 2.0-beta-7 Released thread, Dennis Lundberg [EMAIL PROTECTED] wrote: Giovanni Azua wrote: Many thanks! Yes the mvn help:effective-pom shows it is picking up the 2.0-beta-6 under pluginManagement section ... Then you need to

Re: profiles and how to differentiate the build

2008-07-14 Thread Wendy Smoak
On Mon, Jul 14, 2008 at 1:10 PM, fuppes [EMAIL PROTECTED] wrote: when I create several profiles for my environments (e.g. integration_test, system_test, user_test, ...) and i perfrom the build, how do I seperate the builds in my repository? (because the packages {ear, war} are differend

Re: global exclusions?

2008-07-11 Thread Wendy Smoak
On Fri, Jul 11, 2008 at 12:47 AM, Kristian Rink [EMAIL PROTECTED] wrote: Asides from declaring dependencies which effectively state what is needed, is there a way to also declare global exclusions to, regardless of artifacts included, state what artifacts _not at all_ to include? I believe

Does the maven version prerequisite only apply to plugins, or not?

2008-07-10 Thread Wendy Smoak
In the model [1], the prerequisitesmaven element is described as: prerequisites - Describes the prerequisites a project can have. Element Description maven The minimum version of Maven required to build the project, or to use this plugin. I thought this *only* applied to

Re: Archetype sample for multi-projects

2008-07-10 Thread Wendy Smoak
On Thu, Jul 10, 2008 at 10:18 AM, s[e]th h[o]lth [EMAIL PROTECTED] wrote: Since monday i'm trying to build a multi-projects archetype without success... The first version of the Archetype plugin didn't support creating multi-module projects with a single command. I'm interested to know

Re: getting started ......

2008-07-10 Thread Wendy Smoak
On Thu, Jul 10, 2008 at 10:10 PM, nikhil123 [EMAIL PROTECTED] wrote: whats the diff between mvn --version and maven --v? in my comp mvn --version works but not maven -v 'mvn -v' and 'mvn --version' should do the same thing, with Maven 2. 'maven' was used for the prior version, Maven

Re: error !!!

2008-07-10 Thread Wendy Smoak
On Thu, Jul 10, 2008 at 10:43 PM, nikhil123 [EMAIL PROTECTED] wrote: Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean- plugin/2.2/maven-clean-plugin-2.2.pom ... [INFO] Failed to resolve artifact. Not a lot to go on here, but the usual problem is that you're

Re: ci notifiers

2008-07-08 Thread Wendy Smoak
On Tue, Jul 8, 2008 at 1:58 AM, John Coleman [EMAIL PROTECTED] wrote: Is it possible only to get notifications of release builds and filter out notifications of snapshot builds? I guess this might even be a continuum questions. Subscription info for the Continuum mailing lists can be found

Re: local repository: priority?

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

Re: local repository: priority?

2008-07-07 Thread Wendy Smoak
On Mon, Jul 7, 2008 at 6:41 AM, Nicola Benaglia [EMAIL PROTECTED] wrote: Hi Wendy, I install jars with: mvn install:install-file -DgroupId=my.domain -DartifactId=... -Dversion=... -Dpackaging=jar -Dfile=/path/to/JAR_file Try

Re: Running MVN Plugin from POM.xml VS Command-Line

2008-07-04 Thread Wendy Smoak
On Fri, Jul 4, 2008 at 6:35 PM, Morgovsky, Alexander (US - Glen Mills) [EMAIL PROTECTED] wrote: However, when I bound this plugin to a phase in the pom.xml (e.g. deploy) and ran the following: mvn deploy Then the plugin executed correctly. Why doesnt the plugin work from the command line

Re: problems with the maven-deploy-plugin

2008-07-03 Thread Wendy Smoak
On Thu, Jul 3, 2008 at 3:40 PM, Chris Berry [EMAIL PROTECTED] wrote: I am generating several artifacts from my build; a WAR, a TAR.GZ, and a JAR -- as required by downstream usage scenarios (embedded, standalone, or webapp) The project has WAR packaging. But I need to supply a JAR and TAR.GZ

Re: problems with the maven-deploy-plugin

2008-07-03 Thread Wendy Smoak
On Thu, Jul 3, 2008 at 4:07 PM, Chris Berry [EMAIL PROTECTED] wrote: Still what I find confusing is that the deploy plugin is aware of SNAPSHOTs versus Releases -- and it chooses the URL dynamically from distributionManagement -- so it seems that deploy-file could too?? I've never seen

Re: problems with the maven-deploy-plugin

2008-07-03 Thread Wendy Smoak
On Thu, Jul 3, 2008 at 4:34 PM, Chris Berry [EMAIL PROTECTED] wrote: I was going to try out the attachClassestrue/attachClasses for the maven-war-plugin, but I don't know where to get it from?? Do I need to build it myself from the SVN trunk?? Building it yourself is an option, but if you're

Re: fatal dependency management flaw in maven?

2008-06-30 Thread Wendy Smoak
On Mon, Jun 30, 2008 at 9:10 AM, Ishaaq Chandy [EMAIL PROTECTED] wrote: On the contrary, I actually do want to codify this with my pom - i.e. I want to be able to instruct maven via my pom on how to decide which of the configured repos to use when downloading certain types of dependencies.

Re: How to disable a plugin in a derived project?

2008-06-27 Thread Wendy Smoak
On Fri, Jun 27, 2008 at 4:32 PM, Sahoo [EMAIL PROTECTED] wrote: I have the following scenario: project B's pom.xml inherits from project A's pom.xml. A's pom.xml has configured certain plugin to be executed as part of a project's life cycle. I don't want the plugin to be active while building

Re: Release plugin does not change version of plugin's dependency even though it is in reactor

2008-06-18 Thread Wendy Smoak
On Wed, Jun 18, 2008 at 5:46 PM, Hayes, Peter [EMAIL PROTECTED] wrote: I am using the checkstyle plugin for a multi-module build. As directed in the checkstyle documentation, I configured the checkstyle plugin to include a dependency on one of my sub projects like this : Generally when I have

Re: -U

2008-06-17 Thread Wendy Smoak
On Tue, Jun 17, 2008 at 6:28 AM, SlinnHawkins, Jon (ELS-CAM) [EMAIL PROTECTED] wrote: From the maven command line help : -U,--update-snapshots Forces a check for updated releases and snapshots on remote repositories Does this actually work with released artifacts ? I don't seem to be

Re: Transitive dependency problem

2008-06-17 Thread Wendy Smoak
On Tue, Jun 17, 2008 at 8:15 PM, Matias Otero [EMAIL PROTECTED] wrote: I'm having a problem where a project using the assembly plugin is copying two versions of the jaxb-api jar (1.0.5 2.0) to the WEB-INF/lib directory of a webapp the assembly is creating. My guess is that you're picking up

Re: Surefire Plugin 2.4.3 - Plugin not found

2008-06-15 Thread Wendy Smoak
On Sun, Jun 15, 2008 at 9:46 AM, Mac-Systems [EMAIL PROTECTED] wrote: I have proper Proxy Settings, but i always get ... [ERROR] BUILD ERROR ... Reason: POM 'org.apache.maven.plugins:maven-surefire-plugin' not found in repository: Unable to download the artifact from any repository ...

Re: Surefire Plugin 2.4.3 - Plugin not found

2008-06-15 Thread Wendy Smoak
On Sun, Jun 15, 2008 at 10:08 AM, Mac-Systems [EMAIL PROTECTED] wrote: I Tested with and without Proxy settings, no success. Also i use -U to force update. I also removed any repo (codehaus) in my POM. Cleared whole repository. No Success :( Last Option maven 2.09, but well i dont thing

Re: Want to add a classifier/suffix to a war artifact from the POM using a profile

2008-06-13 Thread Wendy Smoak
On Fri, Jun 13, 2008 at 7:08 AM, Blake Martin [EMAIL PROTECTED] wrote: I'd like to either specify something in a build profile in my POM (preferred) or something in on the command line (also acceptable) that will cause my artifacts to be named ${artifact}-${version}-${suffix1}.war

Re: Global test setup

2008-06-12 Thread Wendy Smoak
On Thu, Jun 12, 2008 at 2:13 PM, Kathryn Huxtable [EMAIL PROTECTED] wrote: The test suite uses a user-supplied LDAP directory and two HSQL databases. It would be nice if before running the tests Maven could start up the databases from initial settings and make sure LDAP was running on

Re: Archiva and -DdownloadSource

2008-06-10 Thread Wendy Smoak
On Tue, Jun 10, 2008 at 5:14 AM, Alexander Vaysberg [EMAIL PROTECTED] wrote: I have a problem with Archiva. It don't downloaded the sources for dependencies. I have execute : mvn eclipse:eclipse -Declipse.downloadSource=true. But this don't work and work only without Archiva. Please ask on

Re: using maven-javadoc-plugin

2008-06-09 Thread Wendy Smoak
On Mon, Jun 9, 2008 at 5:53 AM, Niranjan Deshpande [EMAIL PROTECTED] wrote: Maven has a plugin for the same, and i know how to configure itin the pom. The question is, how do i tell maven which source file, and doclet file to be used for the generation?I have my own custom doclet. The plugin

Re: Artifacts not downloading

2008-06-08 Thread Wendy Smoak
On Sun, Jun 8, 2008 at 6:07 AM, Andrew Madu [EMAIL PROTECTED] wrote: I am having an issue downloading some artifacts. I have been to http://repo1.maven.org/maven2/ to see whether I could manually download them but cannot see them there. How can I resolve this issue? The Oracle and BEA jars

Re: Maven specifies wrong path value in site index.html ?

2008-05-30 Thread Wendy Smoak
On Fri, May 30, 2008 at 5:38 PM, Tawfik, Sameh E [EMAIL PROTECTED] wrote: When I click on C:\projects\target\site\index.html, the list of the modules is displayed, but when I click on any one of them, the following message is displayed: Internet Explorer cannot display the webpage You're not

Re: Classifier for deployed JARs

2008-05-28 Thread Wendy Smoak
On Wed, May 28, 2008 at 9:32 AM, SKrepkovich [EMAIL PROTECTED] wrote: I can set the classifier tag in the POM, but then the deploy phase creates 2 files, one with and one without the classifier, and I have to edit the POM to change this - I'd rather do it from the command line since I have

Re: integration-test practices

2008-05-27 Thread Wendy Smoak
On Tue, May 27, 2008 at 1:57 PM, Jerome Lacoste [EMAIL PROTECTED] wrote: On Mon, May 26, 2008 at 1:41 AM, Kaizer H. Sogiawala [EMAIL PROTECTED] wrote: A while back I came across a note about integration test - From a single project POM you can only choose to execute either unit or the

Re: How to inherit dependencies for compile+tests but not package them in the build ?

2008-05-24 Thread Wendy Smoak
On Sat, May 24, 2008 at 7:18 AM, Fabien Coppens [EMAIL PROTECTED] wrote: Ok a basic solution would be to copy-paste all those provided-scoped library dependencies into the Poms of all projects that have a dependency on Persistence, but that is cumbersome and error prone. Would the new

Re: [SURVEY] How does your team retrieve artifacts?

2008-05-22 Thread Wendy Smoak
On Tue, May 20, 2008 at 11:15 PM, Jason van Zyl [EMAIL PROTECTED] wrote: [X] Our team uses the filesystem I also use the filesystem with file:// urls, it's very useful for testing a set of repository contents locally before making them available in a remote repo, and for quick examples. I

Re: integration-test practices

2008-05-22 Thread Wendy Smoak
On Thu, May 22, 2008 at 8:39 AM, Paul Davis [EMAIL PROTECTED] wrote: I have found that if I place the resource (xml file) in both places, it works src/it/java src/test/resources However, if I only have one copy (in either location) it does not work. I wouldn't expect src/it/* to work,

Re: artifact.jar - artifact.zip?

2008-05-22 Thread Wendy Smoak
On Thu, May 22, 2008 at 5:59 PM, Russ Tremain [EMAIL PROTECTED] wrote: is it possible to coax the maven-jar-plugin to name my artifact with a .zip suffix instead of .jar? also, can I tell it not to include any manifest? I don't see anything helpful in the docs. It sounds like the assembly

Re: [SURVEY] How does your team retrieve artifacts?

2008-05-21 Thread Wendy Smoak
On Tue, May 20, 2008 at 11:15 PM, Jason van Zyl [EMAIL PROTECTED] wrote: [X] Our team uses HTTP to retrieve our artifacts ... and should be using HTTPS because some repos require authentication. While we're on the subject, the plain text passwords in settings.xml are a problem (violation of

Re: integration-test practices

2008-05-21 Thread Wendy Smoak
On Wed, May 21, 2008 at 3:35 PM, Paul Davis [EMAIL PROTECTED] wrote: It seems the documentation for the integration-test phase is pretty thin (as in, where is it?). There are some notes on the wiki: http://docs.codehaus.org/display/MAVENUSER/Maven+and+Integration+Testing I can't seem to get

Re: Can i use variables within the parentartifactId section?

2008-05-20 Thread Wendy Smoak
On Tue, May 20, 2008 at 7:02 PM, Baz [EMAIL PROTECTED] wrote: I am trying to define a variable that i can use on command line to rename all artifacts (build type) during the build. Something like mvn clean install -DbuildType=-Debug. I made the change and it works if I build from the parent

Re: Maven not recognising the local repository

2008-05-18 Thread Wendy Smoak
On Sun, May 18, 2008 at 8:41 AM, NinaBinde [EMAIL PROTECTED] wrote: Thanks for the reply. The pom.xml is having all the dependencies since Maven downloaded all the jars into the repository using the same pom.xml. Is there anything else which I might be missing? Just above the compilation

Re: com/oracle/ojdbc14 where are Oracle driver jars?

2008-05-16 Thread Wendy Smoak
On Thu, May 15, 2008 at 8:06 PM, mfs [EMAIL PROTECTED] wrote: Any follow up on this ? AFAIK, no one is working on it. The Oracle client/driver jars are unlikely to be available in a public repository any time soon, unless Oracle changes the license to make it possible to distribute them

Re: unable to deploy site with webdav

2008-05-16 Thread Wendy Smoak
On Fri, May 16, 2008 at 7:53 AM, rossputin [EMAIL PROTECTED] wrote: Has anyone successfully deployed with any recent version of maven over webdav? One of the books I have on it suggests using it. I have not seen much on the mailing list though. Yes, it works for me with wagon-webdav as a

Re: Modify Classpath

2008-05-13 Thread Wendy Smoak
On Tue, May 13, 2008 at 11:23 AM, vicki [EMAIL PROTECTED] wrote: I have a maven's subproject that runs tests against the artifacts of its piers subprojects. Obviously, In other words, to run my tests I need to create dependencies on the artifacts produced by the other subprojects. I run

Re: deploying on a public maven server

2008-05-11 Thread Wendy Smoak
On Sun, May 11, 2008 at 9:27 AM, Nicola Benaglia [EMAIL PROTECTED] wrote: reading on maven FAQ I haven't found an answer to this question: If i need to deploy to my project library to a public maven repos, who I have to ask permission to? Is it possible or do I need to configure and expose my

Re: artifactory and snapshots vs releases

2008-05-09 Thread Wendy Smoak
On Fri, May 9, 2008 at 7:30 AM, Rick [EMAIL PROTECTED] wrote: Another hopefully quick one... The better builds guide mentions about filenames being used with timestamps appended etc, but yet whenever I do mvn deploy, I never see that timestamp either in my local m2 repo or in my corporate rep

Re: site is very confusing for beginners - how to get list of archetypes - link on faq is broken

2008-05-08 Thread Wendy Smoak
On Thu, May 8, 2008 at 7:06 AM, Rick [EMAIL PROTECTED] wrote: Eventually I give up and figure I'll browse the FAQ. There happens to be a link How do I get a list of archetypes but when I click on it I get a 404 http://svn.apache.org/viewvc/maven/archetype/trunk/maven-archetypes The closest

Re: Deploying only some modules

2008-05-08 Thread Wendy Smoak
On Thu, May 8, 2008 at 10:23 AM, Michael [EMAIL PROTECTED] wrote: I do have a multimodule project: pom -- (root) | jar (module A) | war (module B) The war file is just a demo and in my opion not an artifact which should be on central. If the jar has a parent element, then

Re: Deploying only some modules

2008-05-08 Thread Wendy Smoak
On Thu, May 8, 2008 at 10:37 AM, Michael [EMAIL PROTECTED] wrote: the jar has a parent element. Is it mandatory to deploy the root pom? If you declare a dependency on the jar, Maven will complain if it can't find the parent pom. For some reason site.xml is deployed too. That's expected, it's

Re: maven does not run code specified in the post-site phase?

2008-05-08 Thread Wendy Smoak
On Thu, May 8, 2008 at 6:29 PM, Tawfik, Sameh E [EMAIL PROTECTED] wrote: I placed the following code in the parent pom.xml file. When I run mvn -Dmaven.test.skip=true site, maven executes the code in the pre-site phase, but it never executes the code in the post-site phase? See:

Re: artifactory and snapshots vs releases

2008-05-08 Thread Wendy Smoak
On Thu, May 8, 2008 at 8:45 PM, Rick [EMAIL PROTECTED] wrote: I have in my project pom: distributionManagement repository idsnapshots/id urldav:http://internalURL:8081/artifactory/libs-snapshots/url /repository /distributionManagement If you

Re: problem using the buildnumber plugin with maven

2008-05-07 Thread Wendy Smoak
On Tue, May 6, 2008 at 1:08 AM, Niranjan Deshpande [EMAIL PROTECTED] wrote: The war file generated has name application_Name-Build-r2008-05-05.war This name is a result of the finalName tag, in the POM: * finalName${project.artifactId}-${project.version}-r${buildNumber}/finalName *

Re: [Assembly] Creating Source Archive

2008-05-05 Thread Wendy Smoak
On Mon, May 5, 2008 at 7:12 AM, Gregg Bolinger [EMAIL PROTECTED] wrote: Bump...I am still having this issue. I've created an ant build file to work around it for now but I'd sure like to know what I am doing wrong. You explained what it's doing, but not what you expected to happen. What page

Re: [POLL] Why are you not able to use the most recent maven release?

2008-05-04 Thread Wendy Smoak
On Fri, Mar 7, 2008 at 5:22 PM, Wendy Smoak [EMAIL PROTECTED] wrote: Some time after 2.0.5, Maven seems to have lost the ability to deal with multiple repositories containing different versions of the same plugin. For example: * a 'third-party' repository with maven-whatever-plugin

Re: Reply protocol for this list?

2008-05-02 Thread Wendy Smoak
On Fri, May 2, 2008 at 7:39 AM, Russell Bateman [EMAIL PROTECTED] wrote: I wondered, because based on the traffic I've watched the last couple of days since I joined I've not detected a specific pattern, if there's a best practice for replies to postings in this list. I've given up on the

Re: QuickStart example just doesn't work

2008-04-30 Thread Wendy Smoak
On Thu, May 1, 2008 at 10:44 AM, Russell Bateman [EMAIL PROTECTED] wrote: Am I just broken? Nothing could be easier to download and set up, but walking the QuickStart (http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html), I find the example simply doesn't work. ...

Re: QuickStart example just doesn't work

2008-04-30 Thread Wendy Smoak
On Thu, May 1, 2008 at 11:00 AM, Wendy Smoak [EMAIL PROTECTED] wrote: Creating an archetype with Maven doesn't mean it's watching to see Should be: Creating a project from an archetype ... -- Wendy - To unsubscribe, e-mail

Re: How to escape the substitution of properties in POM file

2008-04-28 Thread Wendy Smoak
On Mon, Apr 28, 2008 at 4:16 PM, Deneux, Christophe [EMAIL PROTECTED] wrote: To configure a plugin (maven-petals-plugin), I need to set a value to ${artifactId} without substitution. How can I escape the property substitution mecanism ? Thinking that Velocity is somehow involved, I tried

Re: Mvn2/Selenium/CArgo/JUnit problem

2008-04-26 Thread Wendy Smoak
On Sun, Apr 27, 2008 at 1:22 AM, Marco Mistroni [EMAIL PROTECTED] wrote: Problem i have now is that cargo starts/stops at every setUP and tearDown. Even though tests are ran automatically, i am trying to use a mechanism so tha cargo is started only once and it is stopped only once during

Re: archetype for creating packaging 'pom'?

2008-04-26 Thread Wendy Smoak
On Sun, Apr 27, 2008 at 5:48 AM, Lachlan Deck [EMAIL PROTECTED] wrote: I'm sure this must be a FAQ - but I can't see an answer anywhere. Is there not an archetype for creating a pom.xml with packaging pom? Not afaik, it's generally less typing to just copy one and modify it. It might be nice

Re: problems building a multimodule project with EJB3 modules

2008-04-25 Thread Wendy Smoak
On Fri, Apr 25, 2008 at 2:25 PM, Martin Höller [EMAIL PROTECTED] wrote: Could you please provide some more information, Wendy. From memory, we had a project at work that had an ejb dependency, and without the 'type' element, the release process which runs through the integration-test phase

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: 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

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: 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: local repository purge

2008-04-22 Thread Wendy Smoak
On Tue, Apr 22, 2008 at 9:33 PM, Julien CARSIQUE [EMAIL PROTECTED] wrote: Is there a way to purge old snapshots from local repository (like the archiva behavior purge old snapshots which allows to keep a chosen number of old artifacts) ? I would like this to remove from local repository all

Re: Hi may I know how to do hot deploy with maven ?

2008-04-21 Thread Wendy Smoak
On Mon, Apr 21, 2008 at 12:04 PM, adisonz [EMAIL PROTECTED] wrote: Hi may I know how to do hot deploy with maven , because It's causing alot of time to developing a JSF application which error message is not clear. For development I'd start with 'mvn jetty:run'. (I'm not sure if the problem

Re: collection of dependencies

2008-04-20 Thread Wendy Smoak
On Sun, Apr 20, 2008 at 11:40 AM, Jan Torben Heuer [EMAIL PROTECTED] wrote: how can I put all (transitive) dependencies into one directory/zip-file? I tried the assembly plugin, but the transitive dependencies descriptor puts everything into one jar - that doesn't work in my case. It sounds

Re: doubt about getting new artifacts

2008-04-16 Thread Wendy Smoak
On Tue, Apr 15, 2008 at 6:18 AM, Renato Souza [EMAIL PROTECTED] wrote: Hi, I don't know if I understood well how it works. If I wanna purchase a new artifact as a normal user and I don't have access to the links for remote repositories. So how can I get ant for example if I don't know the

Re: Order of executing plugins changed in 2.0.9 ?

2008-04-16 Thread Wendy Smoak
On Wed, Apr 16, 2008 at 7:22 AM, Bernhard David [EMAIL PROTECTED] wrote: Hello, after some long hours with the debugger, I discovered the following. If I define a plugin twice like this: What happens if you put both executions in the same plugin? I see you've already solved it by

Re: What is the syntax to retrieve a system property value form a pom?

2008-04-16 Thread Wendy Smoak
On Wed, Apr 16, 2008 at 2:49 PM, Tawfik, Sameh E [EMAIL PROTECTED] wrote: I need to update the following parameter with the Build-date value. I tried ${env.date} but it did not work? You can use the Build Number plugin to put the current date into a property that you can use in the build:

Re: Oracle drivers dependencies

2008-04-16 Thread Wendy Smoak
On Wed, Apr 16, 2008 at 9:23 PM, Ricky [EMAIL PROTECTED] wrote: I copied the jars manually to the m2 repository cache in path * .m2\repository\com\oracle\ojdbc14\10.2.0.2.0\ojdbc14_g* But when i run *mvn clean install*, it still says artifact is missing. Am i missing your point ? (My

Re: disabling default deploy behavior

2008-04-15 Thread Wendy Smoak
On Tue, Apr 15, 2008 at 12:01 PM, Dmitry Beransky [EMAIL PROTECTED] wrote: We've configured maven to run cargo:deploy during the deploy phase. However, maven is still trying to copy the war artifact into our internal repository as well. How do tell it not to? The next version of the

Re: Highly Available Archiva

2008-04-11 Thread Wendy Smoak
On Fri, Apr 11, 2008 at 9:39 PM, Nick Stolwijk [EMAIL PROTECTED] wrote: I know Archiva is run on a JCR (JackRabbit) repository. I've setup a Jackrabbit cluster on a clustered oracle database. (So twice clustering, one for the repo, one for the db). I think it shouldn't be too hard to implement

Re: Renaming an artifact...

2008-04-09 Thread Wendy Smoak
On Wed, Apr 9, 2008 at 3:46 PM, Christian Edward Gruber [EMAIL PROTECTED] wrote: I was looking for examples of the following, or instructions. I have a plugin (maven-flex2-plugin) that really should be called (maven-flex-plugin), since it can run flex2 or flex3. I'd like to rename the

Re: manifest.mf maven2

2008-04-09 Thread Wendy Smoak
On Wed, Apr 9, 2008 at 9:25 PM, Urooj Khan [EMAIL PROTECTED] wrote: now i cant figure out how maven2 is generating this manifest.mf file so that i can fiddle with it and try to get the right output Start here:

Re: is there way to reset admin password?

2008-04-04 Thread Wendy Smoak
On Fri, Apr 4, 2008 at 6:32 AM, Zemian Deng [EMAIL PROTECTED] wrote: I forgot my admin pass, anyway to reset it? I don't think I set the email right email, so the reset link on user page is not working. Can someone help me? How many other users and roles are there? The easiest thing is to

Re: 1 artifact in 2 repositories

2008-04-02 Thread Wendy Smoak
On Wed, Apr 2, 2008 at 2:26 PM, Benoit Decherf [EMAIL PROTECTED] wrote: I have an artifact in 2 repositories with 2 diferents versions. maven download the pom correctly (It try to download it from the 2 repositories) but fails to download the jar (It only try to download it on 1 repository).

Re: null in artifact name

2008-03-31 Thread Wendy Smoak
On Mon, Mar 31, 2008 at 12:34 PM, Jon Strayer [EMAIL PROTECTED] wrote: I have a project with several modules. All of the modules are packaged in a file named null-1.0.0-SNAPSHOT. I generated the effective pom for one of the modules and got: artifactIdfreehost3270-proxy/artifactId

Re: Exclude module from deploy phase

2008-03-31 Thread Wendy Smoak
On Mon, Mar 31, 2008 at 12:18 PM, Andrew Uhm [EMAIL PROTECTED] wrote: Is it possible to configure a module to be excluded from the mvn deploy phase? The next version of Maven Deploy Plugin will allow you to configure individual modules to skip deployment.

Re: [m2] Tomcat Cargo logs location?

2008-03-30 Thread Wendy Smoak
On Sun, Mar 30, 2008 at 11:54 AM, Mick Knutson [EMAIL PROTECTED] wrote: I am running Tomcat via Cargo for integration tests in Maven. The Cargo project has its own mailing lists, you can find subscription info here: http://cargo.codehaus.org/Mailing+Lists -- Wendy

<    1   2   3   4   5   6   7   8   9   10   >