Re: deleting things out of a repository

2008-03-30 Thread Wendy Smoak
On Sun, Mar 30, 2008 at 1:41 PM, EJ Ciramella [EMAIL PROTECTED] wrote: What's the best way to remove, say, 10 or so old builds out of the repository (a locally run/managed one)? is there a mvn undeploy command? Can you explain more about what you're looking for? Are these snapshots or

Re: Best practices for java version?

2008-03-28 Thread Wendy Smoak
On Fri, Mar 28, 2008 at 3:50 PM, Graham Leggett [EMAIL PROTECTED] wrote: Richard Chamberlain wrote: If you using java 5 as your JAVA_HOME I would also recommend setting the executable compiler to use. executablepath.to.jdk\1.4.2\bin\javac.exe/executable The side effect of

Re: Dependency scope for compile -- what should be included?

2008-03-26 Thread Wendy Smoak
On Wed, Mar 26, 2008 at 6:09 AM, Jim Christenson [EMAIL PROTECTED] wrote: Is there a way to force this, or is there some other tool/report that would look at the code and show the gaps? mvn dependency:analyze Analyzes the dependencies of this project and determines which are: used and

Re: how to force archiva download an artifact

2008-03-24 Thread Wendy Smoak
On Mon, Mar 24, 2008 at 12:13 PM, Zemian Deng [EMAIL PROTECTED] wrote: So the questions is how do I force archiva to download it from the repository url(proxied repo) that I have setup? Please come join us on the Archiva mailing lists and re-post your question there. You can find

Re: Deploy pom with dependencies to internal repository

2008-03-24 Thread Wendy Smoak
On Mon, Mar 24, 2008 at 1:16 PM, buzzterrier [EMAIL PROTECTED] wrote: Thx for the reply. I did define a custom pom, that declared the dependencies, e.g. ... but when I deploy this pom to the internal repository the dependencies are stripped out and I am left with: What command did you

Re: Deploy pom with dependencies to internal repository

2008-03-24 Thread Wendy Smoak
On Mon, Mar 24, 2008 at 1:40 PM, buzzterrier [EMAIL PROTECTED] wrote: mvn deploy:deploy-file -DgroupId=com.foo -DartifactId=common-dependencies -Dversion=1.0 -Dpackaging=pom -Dfile=c:/poms/common-dependencies.xml -Durl=http://ourinternalrepos:8080/archiva/repository/internal

Re: It is not possible to include folder: .svn to JAR file (maven 2.0.8)

2008-03-24 Thread Wendy Smoak
On Mon, Mar 24, 2008 at 1:13 PM, Yuriy Krymlov [EMAIL PROTECTED] wrote: Could you please help me to include folder .svn with all its content to resulting file like jar? Actually I need this only within resources (folder: src/main/resources), so, if you try to specify include pattern

Re: package does not exit error with 3rd party jar dependency

2008-03-23 Thread Wendy Smoak
On Sun, Mar 23, 2008 at 10:28 AM, Avi L [EMAIL PROTECTED] wrote: hi, im trying to build my project which depended on a 3rd party jar. i made mvn install:install-file [1] and then added the dependency to my project's pom.xml [2]. but still when i do mvn compile i get the message package

Re: package does not exit error with 3rd party jar dependency

2008-03-23 Thread Wendy Smoak
On Sun, Mar 23, 2008 at 11:51 AM, Avi Laviad [EMAIL PROTECTED] wrote: the project is compiled and build successfully when i try it on Eclipse. the error is package com.gigaspaces.* does not exist. I think its compile error because it doesn't find the .jar file it should reference to - and

Re: Multiple Jars

2008-03-22 Thread Wendy Smoak
On Sat, Mar 22, 2008 at 12:40 PM, Trenton Adams [EMAIL PROTECTED] wrote: I have a webapp, and I want there to be a webapp WAR, and a developer JAR, which only includes the class files. The JAR is needed for compilations of other apps depending on the webapp. Split your project into

Re: Multiple Jars

2008-03-22 Thread Wendy Smoak
On Sat, Mar 22, 2008 at 5:02 PM, Trenton Adams [EMAIL PROTECTED] wrote: Dependencies pull from a remote repository. I don't want to pull from a remote repository, I want to pull from modules themselves (locally), into a combined WAR. Maven is repository based, true, but it first looks in

Re: Real World User Issues with Maven

2008-03-21 Thread Wendy Smoak
On Fri, Mar 21, 2008 at 7:29 PM, Patrick Moore [EMAIL PROTECTED] wrote: 1. mvn deploy on the top level - I only want to deploy the war (which is in the 'web' module). Mvn deploys everything. Not at all obvious how to change that behavior. Rather than spend any more time on this issue, I

Re: a war can't use classes from another war

2008-03-20 Thread Wendy Smoak
On Thu, Mar 20, 2008 at 10:49 AM, Julien Graglia [EMAIL PROTECTED] wrote: I have a war named WarA with a class a.b.c.Parent. And another war named WarB with a class Child Child depends on Parent ... Quite simple, no? the typewar/type in WarB doesn't seems to work.. Do you

Re: a war can't use classes from another war

2008-03-20 Thread Wendy Smoak
On Thu, Mar 20, 2008 at 11:00 AM, Julien Graglia [EMAIL PROTECTED] wrote: Yes Convention (and best practices...) over configuration... I really can't image it can't work.. it works for css and web stuff! If you were compiling the code at the command prompt with javac, what would it mean

Re: inherit execution only for packaging war

2008-03-19 Thread Wendy Smoak
On Wed, Mar 19, 2008 at 6:51 AM, Kees van Dieren [EMAIL PROTECTED] wrote: In our root pom.xml we have the maven war plugin defined: ... On mvn package, it will run mvn war:inplace, but not only for war artifacts, but also for jar artifacts. How can we make this execution only applicable

Re: limit size of local repository, limit number of snapshots

2008-03-19 Thread Wendy Smoak
On Wed, Mar 19, 2008 at 4:52 PM, Wayne Fay [EMAIL PROTECTED] wrote: Please do file a JIRA and reply back with the number. I'll see about implementing a plugin to help with this issue, but no guarantees. ;-) That would be great! We're also getting requests for cleaning up the local repository

Re: Running two builds of the same branch simultaneously

2008-03-19 Thread Wendy Smoak
On Wed, Mar 19, 2008 at 8:01 PM, Dan Fabulich [EMAIL PROTECTED] wrote: The problem with this is the local repository: my X changes may incorrectly commingle with my Y changes. Can anyone suggest a way to make this work? If possible, I'd prefer not to have to login to my box as two

Re: Running two builds of the same branch simultaneously

2008-03-19 Thread Wendy Smoak
On Wed, Mar 19, 2008 at 8:22 PM, Dan Fabulich [EMAIL PROTECTED] wrote: Wendy Smoak wrote: You can use -Dmaven.repo.local=... to specify a different local repository on the command line. Is there some way to wire up a POM to make that be the default for my project? Not really. It's

[ANN] Continuum has moved!

2008-03-17 Thread Wendy Smoak
Last month, the ASF Board approved a resolution to make Apache Continuum a top-level project. Continuum is a continuous integration server with Maven 2 support including scheduled builds, release management, and role-based security. After almost three years as a part of the Maven project,

Re: How to run a script from a pom.xml file?

2008-03-12 Thread Wendy Smoak
On Wed, Mar 12, 2008 at 4:25 PM, Tawfik, Sameh E [EMAIL PROTECTED] wrote: I tried the exe plugin and it did what I was looking for, but I noticed it repeated the execution few times and not just one time as needed! ... Is there is a way where I can restrict the execution of this exe to just

Re: maven-archetype-plugin 2.0-alpha-2 failed

2008-03-11 Thread Wendy Smoak
On Tue, Mar 11, 2008 at 7:48 AM, thebugslayer [EMAIL PROTECTED] wrote: Does anyone know why the earlier version of plugin works, but the latest failed? Not without seeing some of the build output. Is it able to find the archetype (is -DremoteRepositories working?) Is it some other problem?

src/it with maven-assembly-plugin 1.0?

2008-03-11 Thread Wendy Smoak
How soon they forget.. Is it possible to create an archetype that contains a src/it directory with the old (1.0-alpha-7) archetype plugin? Looking at this page, I don't see how. http://maven.apache.org/plugins/maven-archetype-plugin-1.0-alpha-7/examples/archetype.html I'm trying to create an

Re: property substitution in site files?

2008-03-07 Thread Wendy Smoak
On Wed, Oct 18, 2006 at 3:48 PM, pjungwir [EMAIL PROTECTED] wrote: I am trying to generate some site files using the .apt format. (I'm not wedded to that format, but I'm starting there since it's the easiest.) I was hoping to do something like this: ${project.name} See 'Filtering' at

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

2008-03-07 Thread Wendy Smoak
On Fri, Mar 7, 2008 at 2:44 PM, Brian E. Fox [EMAIL PROTECTED] wrote: If this is the case for you, please reply and state the version you're using and why (preferably referring to a Jira). We will use this information to prioritize issues for 2.0.10 and beyond. Some time after 2.0.5, Maven

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

2008-03-07 Thread Wendy Smoak
On Fri, Mar 7, 2008 at 6:09 PM, Brian E. Fox [EMAIL PROTECTED] wrote: Wendy: What happens in this case? Does it grab the wrong one or just die? Is there a Jira? Not sure if it's in JIRA, sorry. It does not just pick the wrong one, it dies with an error (and probably with corrupted local

Re: How can I download all the packages from a remote repository?

2008-03-07 Thread Wendy Smoak
On Fri, Mar 7, 2008 at 9:59 PM, youhaodeyi [EMAIL PROTECTED] wrote: I use this command to download: rsync -avz http://repo1.maven.org/maven2/ ./ As others have mentioned, you'd be much better off running a repository manager app (Archiva, Artifactory, Proximity) and filling it up with the

Re: Wiping out a dependency from an internal repository

2008-03-06 Thread Wendy Smoak
On Thu, Mar 6, 2008 at 9:08 AM, Wayne Fay [EMAIL PROTECTED] wrote: I know I've seen someone mention a plugin here that can either wipe out your entire repo or selected parts of it. But I can't recall what its called right now, and a quick Google search didn't reveal anything (but I didn't

Re: Can I integrate PMD and FindBugs to Continuum?

2008-03-05 Thread Wendy Smoak
On Wed, Mar 5, 2008 at 9:32 PM, Cheng Wei Lee [EMAIL PROTECTED] wrote: If yes, how? Any documents or wiki on the net? Thanks! The answer depends on how you're building your code. If you're using Maven 2, there are plugins for both of those tools. You can configure it to fail the build if

Re: escaping dollar sign in archetype templates

2008-03-05 Thread Wendy Smoak
On Tue, Mar 4, 2008 at 12:01 PM, Zemian Deng [EMAIL PROTECTED] wrote: This is the archetype's template pom.xml, not the owning project pom.xml, and hence that line will get processed and removed by the template engine. I stated in my original email that this is the file in question:

Re: escaping dollar sign in archetype templates

2008-03-04 Thread Wendy Smoak
On Tue, Mar 4, 2008 at 9:17 AM, Zemian Deng [EMAIL PROTECTED] wrote: Never mind, Answered my own question. Setting velocity parameter in pom.xml will be visible as global to all other resources filter. What did you need to put in pom.xml for this to work? Sounds like a good FAQ if it's not

Re: escaping dollar sign in archetype templates

2008-03-04 Thread Wendy Smoak
On Tue, Mar 4, 2008 at 10:37 AM, Zemian Deng [EMAIL PROTECTED] wrote: Added this on top of pom.xml #set($dollar = '$') Doesn't that make it invalid xml? I'm not sure this is a good idea if anything other than Maven needs to consume the files. Specifically I wonder whether that line ends up

Re: Problem with deploy in maven 2.0.7

2008-03-04 Thread Wendy Smoak
On Tue, Mar 4, 2008 at 9:13 PM, Arun Kathirvel Sarojam [EMAIL PROTECTED] wrote: when i try to call mvn deloy i am getting error The plugin 'org.apache.maven.plugins:maven-deploy-plugin' does not exist or no valid version could be found but in my local repository all the versions

Re: Problem with deploy in maven 2.0.7

2008-03-04 Thread Wendy Smoak
On Tue, Mar 4, 2008 at 10:03 PM, Arun Kathirvel Sarojam [EMAIL PROTECTED] wrote: thanks for your fast reply.. Actually my requirement is to track every successful build. so after every successfull build i have to version that package (in the sense jar or war) then keep it in some local

Re: Locking down to only use Archiva ... except for encumbered JARs

2008-03-03 Thread Wendy Smoak
On Mon, Mar 3, 2008 at 2:19 PM, Julian Dunn [EMAIL PROTECTED] wrote: I have set up Archiva to have two repositories: ... However, if I put mirrorOf*/mirrorOf for the default repository, the restricted repo will never be consulted for jars like activation, jta, etc. -- M2 will simply

Re: How to deploy ears to application instead of repository?

2008-03-03 Thread Wendy Smoak
On Mon, Mar 3, 2008 at 6:57 PM, gotama [EMAIL PROTECTED] wrote: What I'd like to do is use Maven to scp some ear artifacts to my server's JBoss deploy directory - not to a repository. How can I do this? When I use distributionManagement the ear is in fact scp'd, but with everything else

Re: Release process

2008-03-03 Thread Wendy Smoak
On Mon, Mar 3, 2008 at 7:29 PM, Arash Bizhan zadeh [EMAIL PROTECTED] wrote: There is 6 Tomcat 5.5 sandboxes, all of them running on RHE 6. There is a load balancer in front of them and we need to release every app on all of them. I am looking for the best practices to manage the releases.

Re: [ANN] Maven Repository Builder 1.0-alpha-2 Released

2008-03-02 Thread Wendy Smoak
On Sun, Mar 2, 2008 at 6:22 AM, Wim Deblauwe [EMAIL PROTECTED] wrote: Is there a website of this plugin? Can it be used to create a backup repository with all dependencies (including plugins, etc...) to build? This isn't a plugin, but a shared library. I believe it's used by the assembly

Re: when will maven 2.0.9 be officially released?

2008-03-02 Thread Wendy Smoak
On Sun, Mar 2, 2008 at 12:54 PM, Andrew Robinson [EMAIL PROTECTED] wrote: Can the fix for http://jira.codehaus.org/browse/MNG-2258 be put in 2.0.9? This is a blocking issue for my environment and forces me to use 2.1-SNAPSHOT. What version were you using before you switched to 2.1? The

Re: when will maven 2.0.9 be officially released?

2008-03-02 Thread Wendy Smoak
On Sun, Mar 2, 2008 at 1:28 PM, Andrew Robinson [EMAIL PROTECTED] wrote: No, 2.0.7 and 2.0.8 both do not work with JDK 1.6 because of this bug. 2.1 fixed the problem. The earlier releases ran plugins and plugin executions in random order due to improper use of HashMap. It is really easy to

Re: maven-jar-plugin question

2008-03-01 Thread Wendy Smoak
On Sat, Mar 1, 2008 at 7:50 PM, [EMAIL PROTECTED] wrote: The following POM works as expected when run by itself (it uses org.apache.maven.plugins:maven-jar-plugin:2.1:jar) but when run as part of a multi-module build it uses org.apache.maven.plugins:maven-jar-plugin:2.2:jar. Does anyone

Re: Password expiration

2008-02-29 Thread Wendy Smoak
On Fri, Feb 29, 2008 at 11:18 AM, Johnathan Gifford [EMAIL PROTECTED] wrote: Hmm... I've now ran into this issue. I changed the password(s) for the accounts I have, but Continuum keeps indicating 'Account Locked'. Where is this security.properties file suppose to be placed for Continuum

Re: Password expiration

2008-02-29 Thread Wendy Smoak
On Fri, Feb 29, 2008 at 11:28 AM, Johnathan Gifford [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: If you're running Continuum standalone, then you can put it in /path/to/continuum/conf/security.properties . So the fact that this file doesn't currently exist means I need to create it

Re: A question about resource

2008-02-29 Thread Wendy Smoak
On Fri, Feb 29, 2008 at 6:56 PM, youhaodeyi [EMAIL PROTECTED] wrote: I put my resource files in src/main/resources/ directory. After running mvn compile, why aren't the resource files copied to the target directory. In general, src/main/resources gets copied to target/classes. If that's not

Re: Counldn't find junit package

2008-02-29 Thread Wendy Smoak
On Fri, Feb 29, 2008 at 7:21 PM, youhaodeyi [EMAIL PROTECTED] wrote: When I run mvn test to run my junit test, I always get the error package org.junit does not exist. That's odd. Once again I'd say go back to the quickstart archetype (which has a JUnit dependency and a simple unit test)

Re: Misleading error message in Maven2? If not where are .jar files?

2008-02-29 Thread Wendy Smoak
On Fri, Feb 29, 2008 at 9:09 PM, lanchez [EMAIL PROTECTED] wrote: I went to the following URL : http://java.sun.com/products/jms/docs.html to download a jar to put in the repo but at this URL there are only PDF files (no reference impl's). There's one link for the specification, and

Re: Getting and using the latest archetype plugin

2008-02-28 Thread Wendy Smoak
On Thu, Feb 28, 2008 at 9:02 AM, Andrew Birchall [EMAIL PROTECTED] wrote: I wish to use the latest archetype plugin, 2.0-alpha-2 (I think that's the latest, although one's never quite sure in the mysterious world of Maven!) Are you following the announcements mailing list? The plugins

Re: Getting and using the latest archetype plugin

2008-02-28 Thread Wendy Smoak
On Thu, Feb 28, 2008 at 10:02 AM, Andrew Birchall [EMAIL PROTECTED] wrote: The plugins page has the version listed as 2.0-alpha-1. So there you go - you could do better there. Its these little things that cause confusion and a sense of doubt. Fixed, and thanks for letting us know. --

Re: why not deploying?

2008-02-28 Thread Wendy Smoak
On Thu, Feb 28, 2008 at 10:51 AM, author [EMAIL PROTECTED] wrote: When I run simple mvn archetype:create –DgroupId=com.litvinyuk –DartifactId=my–app then C:\Documents and Settings\Ang\my-app mvn compile success C:\Documents and Settings\Ang\my-app mvn deploy

Re: Maven jar-plugin

2008-02-27 Thread Wendy Smoak
On Wed, Feb 27, 2008 at 5:08 AM, Shakun Gupta [EMAIL PROTECTED] wrote: I am using Maven 2, and i added the configuration of jar-plugin and war-plugin. I am able to assemble the war at a different place using outputDirectory property. But, this does not work with jar-plugin. I have read in

Re: Using different localRepositories in a continuous build environment?

2008-02-25 Thread Wendy Smoak
On Mon, Feb 25, 2008 at 7:55 AM, [EMAIL PROTECTED] wrote: For the reason I have only one settings.xml with one localRepository I now have a problem: the Snapshot builds and the continuous integration builds share the same localRepository. You could use -Dmaven.repo.local=/path/to/repo

Re: Maven ignores my archetype selection

2008-02-25 Thread Wendy Smoak
On Mon, Feb 25, 2008 at 1:21 PM, Krishnamurthi, Venkat [EMAIL PROTECTED] wrote: But the archetype I'm trying to use is in an inhouse remote repository. I have specified that in my settings.xml. However, Maven is still unable to pick that up from settings.xml. I also tried

Re: Maven ignores my archetype selection

2008-02-25 Thread Wendy Smoak
On Mon, Feb 25, 2008 at 1:51 PM, Krishnamurthi, Venkat [EMAIL PROTECTED] wrote: That works. Thanks! However, maven does not pick up the URL's specified under repositories or pluginrepositories in settings.xml. How do we address that issue? It's a known issue:

Re: Strange maven compile error

2008-02-25 Thread Wendy Smoak
On Mon, Feb 25, 2008 at 6:27 PM, Michael Mehrle [EMAIL PROTECTED] wrote: I am suddenly experiencing a strange error when compiling my project (see stack trace below) - the maven compile plugin crashes and then refers to some compiler error which cannot be parced. It even asks me to submit a

Re: svnmerge and multi module parent pom version updates

2008-02-23 Thread Wendy Smoak
On Sat, Feb 23, 2008 at 9:56 AM, deckrider [EMAIL PROTECTED] wrote: We have a number of multi module projects with multiple branches. Unfortunately, this means that every time we use release:prepare release:perform, it updates all the poms, which then appear in another branch (and must be

Re: Unknown error trying to build POM

2008-02-22 Thread Wendy Smoak
On Fri, Feb 22, 2008 at 7:39 PM, Amish Shah [EMAIL PROTECTED] wrote: I am new to using Continuum and Maven. I've installed Continuum and am trying add a Maven 2.0 project, but am getting an Unknown error trying to build POM. Not sure why. Just glancing at it, I don't see a scm element,

Re: war libraries scope

2008-02-22 Thread Wendy Smoak
On Fri, Feb 22, 2008 at 9:50 AM, Ben Tatham [EMAIL PROTECTED] wrote: Does anyone know what scope is used to bring jars in the WEB-INF/lib directory of a war? It appears to bring in all scope=compile dependencies. Shouldn't this be just runtime dependencies? For example, I am precompiling

Re: Environment management - I am not sure what to call it really!

2008-02-22 Thread Wendy Smoak
On Fri, Feb 22, 2008 at 11:51 AM, Arash Bizhan zadeh [EMAIL PROTECTED] wrote: If I put dependencies there, wouldn't all projects download them even though they may not really need them? Can Archiva help us in this situation? Wayne said dependencyManagement, not dependencies. The former is

[ANN] Maven Stage Plugin 1.0-alpha-1 Released

2008-02-22 Thread Wendy Smoak
supports copying from http|https to scp urls. You can run 'mvn -up stage:copy ... ' to get the latest version of the plugin. (Nothing was closed in JIRA for this initial release, so there are no release notes.) Enjoy, -- Wendy Smoak on behalf of the Maven team

Re: Maven 2.0 POM Project

2008-02-20 Thread Wendy Smoak
On Wed, Feb 20, 2008 at 11:11 AM, Brad Smith [EMAIL PROTECTED] wrote: I know this is extreme newbie, but I am very confused about how to get a maven 2.0 project into the build server. Continuum wants the URL of a POM.xml file - is this the actual project POM, or is it a POM I construct

Re: Getting compile time error

2008-02-20 Thread Wendy Smoak
On Wed, Feb 20, 2008 at 10:48 PM, sunrays9 [EMAIL PROTECTED] wrote: because of InvalidArgumentException class is available in abi.jar To avoid this error i should provide this jar file at the compile time for the maven. so now my question is, How should i provide this jar to maven for

Re: Not able to login to archiva using newly created user

2008-02-18 Thread Wendy Smoak
On Feb 17, 2008 11:59 PM, Pahwa, Sunita [EMAIL PROTECTED] wrote: Which file I need to change in the data folder of archiva to flip the validated bit? You would need to use a client like Squirrel SQL to connect to the database and edit it using SQL statements. The quickest way to fix this is

Re: Reverse artifact lookup?

2008-02-18 Thread Wendy Smoak
On Feb 18, 2008 7:33 AM, Brown, Carlton [EMAIL PROTECTED] wrote: This question may in fact be generalized to Maven, but I'm wondering if there is any reverse lookup mechanism for jar artifacts. For example, I have this mystery dependency called foo.jar. Is there a way to query a

Re: Unable to send validation emails [was Re: Unable to send emails]

2008-02-18 Thread Wendy Smoak
On Feb 15, 2008 11:24 AM, Jakub Kozisek [EMAIL PROTECTED] wrote: I played some more with Continuum and found something interesting - this exception is thrown only when sending validation emails. If I build a project and with mail notification configured, everything is working like a charm.

Re: deploying to archiva repository

2008-02-18 Thread Wendy Smoak
On Feb 18, 2008 4:35 AM, Martin Hoeller [EMAIL PROTECTED] wrote: On 18 Feb 2008, Sunita Pahwa wrote: I have followed all the steps specified at http://maven.apache.org/archiva/docs/1.0/userguide/deploy.html but it is not working. Unfortunately this documentation is somewhat inconsistent

Re: Local repository not downloading Eclipse plugins from the internal repository

2008-02-18 Thread Wendy Smoak
On Feb 18, 2008 10:31 AM, Papapara Tudu [EMAIL PROTECTED] wrote: I'm using Archiva 1.0.1 and Maven 2.0.8. My Maven settings.xml are the default ones, no changes (on both machines). My pom.xml has the following entry: ... repositories ... No pluginRespositories ? You'll need to

Re: Maven2 Unit testing

2008-02-17 Thread Wendy Smoak
On Feb 17, 2008 9:00 AM, Filipe David Manana [EMAIL PROTECTED] wrote: I am using Maven 2 as the build tool for my project. My application uses a DataSource provided by Tomcat. Is it possible to write unit tests that use this datasource? By the way, Tomcat runs on a remote machine, available

Re: SNAPSHOT

2008-02-17 Thread Wendy Smoak
On Feb 17, 2008 10:14 PM, Ryan H. [EMAIL PROTECTED] wrote: If my maven2 repository persists each artifact with time stamp as part of their filename, is SNAPSHOT version still going to work? Yes. It uses the metadata file in the repository to decide which timestamped file to retrieve. (Are

Re: Not able to login to archiva using newly created user

2008-02-15 Thread Wendy Smoak
On Fri, Feb 15, 2008 at 4:00 AM, Sunita Pahwa [EMAIL PROTECTED] wrote: I am using archiva 1.0.1 standalone version. When I created new user from 'User Management', On clicking 'create user' it gives following exception: The inability for admin-created users to log in is a known issue in the

Re: Exposing artifacts other than jar and pom

2008-02-15 Thread Wendy Smoak
On Fri, Feb 15, 2008 at 8:57 AM, Brown, Carlton [EMAIL PROTECTED] wrote: What component would that be under? Just leave it as 'unknown' if nothing looks relevant. We can update it later. Thanks! -- Wendy

Re: Artifacts not being indexed

2008-02-15 Thread Wendy Smoak
On Fri, Feb 15, 2008 at 11:31 AM, Brown, Carlton [EMAIL PROTECTED] wrote: Is there some other, more decisive manual way to force it to re-scan the entire filesystem and recreate the metadata files? Sure. Stop Archiva, and delete both the Lucene index files and the Archiva database. Look

Re: deploy site to a url based on expression

2008-02-15 Thread Wendy Smoak
On Fri, Feb 15, 2008 at 12:50 PM, Yongshin Yu [EMAIL PROTECTED] wrote: Is there a way that I could set the site url to be dynamic? I would like to publish to a folder based on a ${buildNumber} generated by the maven-buildnumber-plugin. Please let me know. Well, what happened when you tried

Re: Restrict Maven to the Rep Manager

2008-02-15 Thread Wendy Smoak
On Fri, Feb 15, 2008 at 1:26 PM, Marcelo Alcantara [EMAIL PROTECTED] wrote: Someone knows if there is a way to block maven from downloading from sites other than the artifactory rep? You can mirrors and mirrorOf * to prevent access to other repositories.

Re: Artifacts not being indexed

2008-02-15 Thread Wendy Smoak
On Fri, Feb 15, 2008 at 11:06 AM, Brown, Carlton [EMAIL PROTECTED] wrote: I've got a problem where an artifact downloaded to the filesystem cannot be browsed. There's some problem with either the database scanning or repository indexing. The maven metadata files are not being generated.

Re: create:archetype won't work on my installed archetype... can't test my development.

2008-02-15 Thread Wendy Smoak
On Fri, Feb 15, 2008 at 3:56 PM, Mark Diggory [EMAIL PROTECTED] wrote: I'm trying to author an archetype for our project and have it located here in source: https://dspace-sandbox.googlecode.com/svn/team/maven/plugins/dspace-addon-archetype/trunk My problem is that if I check this out

Re: I'm not able to delete a group?

2008-02-15 Thread Wendy Smoak
On Fri, Feb 15, 2008 at 4:37 PM, Tawfik, Sameh E [EMAIL PROTECTED] wrote: I'm stuck right now, I'm trying to delete a group and recreate it, but when I click on Show Project Groups followed by clicking on a specific group from the group list, and click on Delete Group the following is

Re: multi module eclipse:eclipse mewbie

2008-02-15 Thread Wendy Smoak
On Feb 15, 2008 9:09 PM, deckrider [EMAIL PROTECTED] wrote: 1. Check out the project, but don't use Eclipse to check it out. 2. Run 'mvn elicpse:eclipse' from the parent. 3. Now start Eclipse and import the existing project. This results in all the children coming into Eclipse as separate

Re: best practices for site deployment over multiple versions of the application

2008-02-14 Thread Wendy Smoak
On Thu, Feb 14, 2008 at 5:51 AM, Ionut Scutaru [EMAIL PROTECTED] wrote: Recently we needed to create a new branch for our code and we realized the documentation generated by maven with mvn site:site will drift apart in time. So we need to deploy both versions of the site (multiple versions

Re: [ANN] Maven Archetype Plugin 2.0-alpha-1 for Maven 2 Released

2008-02-14 Thread Wendy Smoak
On Thu, Feb 14, 2008 at 5:52 PM, Bohtvaroh [EMAIL PROTECTED] wrote: Is this http://jira.codehaus.org/browse/ARCHETYPE-23 ARCHETYPE-23 implemented in this version? If so, is there some docs about using it? Thanx. That looks interesting. I'd suggest starting a new thread with a descriptive

Re: generate e-mailaddresses from SVN?

2008-02-13 Thread Wendy Smoak
On Feb 13, 2008 8:22 AM, Doug Knesek [EMAIL PROTECTED] wrote: How are the e-mail addresses of the latest committers determined? I'm going to guess it's from the list of developers in the pom. The id there will need to match the svn id on the commit. -- Wendy

Re: Working around MNG-2261 (How can I manually download and install artifact)

2008-02-13 Thread Wendy Smoak
On Feb 13, 2008 9:00 AM, kroe [EMAIL PROTECTED] wrote: MNG-2261 is making creating projects using an archetype difficult. I have an archetype I created. I want the archetype:create command to download my archetype from an internal repository. The internal repository is specified in my

Re: cannot deploy to [EMAIL PROTECTED]

2008-02-12 Thread Wendy Smoak
On Feb 12, 2008 12:26 PM, Jens Riboe [EMAIL PROTECTED] wrote: I cannot deploy to archiva running at tomcat. I'm getting this error 2008-feb-12 20:00:21 org.apache.commons.httpclient.HttpMethodBase processRedirectResponse INFO: Redirect requested but followRedirects is disabled There

Re: Enforcer Plugin 1.0 release and requirePluginVersions rule

2008-02-12 Thread Wendy Smoak
On Feb 12, 2008 3:22 AM, Simon Kitching [EMAIL PROTECTED] wrote: Yep, that does seem to break the convention that Wendy described. enforcer 1.0-alpha-3 is the latest release, 10-JUL-2007. But the site is 1.0-SNAPSHOT 17-JAN-2008. Yes, ideally it would be 1.0-alpha-3 at

Re: Enforcer Plugin 1.0 release and requirePluginVersions rule

2008-02-11 Thread Wendy Smoak
On Feb 11, 2008 8:00 AM, nicolas de loof [EMAIL PROTECTED] wrote: Even better if we had a site per public version, ie : http://maven.apache.org/plugins/maven-eclipse-plugin/2.3 http://maven.apache.org/plugins/maven-eclipse-plugin/2.4

Re: Enforcer Plugin 1.0 release and requirePluginVersions rule

2008-02-11 Thread Wendy Smoak
On Feb 11, 2008 7:45 AM, Ian Springer [EMAIL PROTECTED] wrote: +1 for not posting SNAPSHOT plugin docs on the website. The docs should correspond to the latest released version. That's the model we now follow, though there may still be some leftover snapshot sites if the plugin hasn't been

Re: Library Project Confusion

2008-02-09 Thread Wendy Smoak
On Feb 9, 2008 7:41 AM, oliverw [EMAIL PROTECTED] wrote: Let's say we have project A producing a class library consumed by projects B and C. Is there a way around making A the parent of B and C? In B and C, declare a dependency on A. If you give a more concrete example, you'll probably get

Re: Generate PDF books from maven

2008-02-08 Thread Wendy Smoak
On Feb 8, 2008 4:27 AM, Julien Graglia [EMAIL PROTECTED] wrote: What do you use to generate PDF books? Here's one option based on DocBook: http://code.google.com/p/docbkx-tools/ There's also some work happening in the sandbox on a PDF plugin like Maven 1 used to have, which converts the apt

Re: Archiva version missing from pages and logs

2008-02-06 Thread Wendy Smoak
On Feb 6, 2008 7:44 AM, Ben Lidgey [EMAIL PROTECTED] wrote: I have just upgraded to Archiva 1.0.1 I think (deployed as a war file on tomcat), and wanted to confirm the upgrade had worked, but cannot find any references to the version in the logs or on the pages. In the logs I get the alpaca

Re: Admin account locked

2008-02-06 Thread Wendy Smoak
On Feb 6, 2008 11:19 AM, MATHUS Baptiste [EMAIL PROTECTED] wrote: It seems I f#^$d up something with my archiva instance. I wasn't able to remember my admin password, so I asked for a reset. I reset the account three or four times. Now, I'm locked, each time I try to log in, I've got the

Re: Updating Meta Data

2008-02-05 Thread Wendy Smoak
On Feb 5, 2008 11:54 AM, nadias [EMAIL PROTECTED] wrote: Actually, I would like to use deploy:deploy-file but since it doesn't update the metadata, I would like to force it to update the metadata somehow - similar to how deploy or deploy:deploy works. This is circular. It's a bug. If you

Re: Error Using Maven-Stage-Plugin

2008-02-04 Thread Wendy Smoak
On Feb 4, 2008 4:29 PM, nadias [EMAIL PROTECTED] wrote: I used: mvn stage:copy -Dversion=1.0-SNAPSHOT -Dsource=file:/path/to/local/repo/plugin -Dtarget=file:/path/to/remote/repo/plugin2 AFAIK it only supports copying from http:// to scp:// urls (but maybe something has changed.)

Re: Error Using Maven-Stage-Plugin

2008-02-04 Thread Wendy Smoak
On Feb 4, 2008 5:50 PM, nadias [EMAIL PROTECTED] wrote: Does maven-deploy-plugin also use Wagon internally, but file:/ can be used? Yes, the deploy plugin can use file:// urls. -- Wendy - To unsubscribe, e-mail: [EMAIL

Re: Updating Meta Data

2008-02-04 Thread Wendy Smoak
On Feb 4, 2008 6:57 PM, nadias [EMAIL PROTECTED] wrote: What is the command that updates the metadata when we use Maven's deploy:deploy? -DupdateReleaseInfo=true perhaps? http://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html And you probably want 'mvn deploy' (the lifecycle

Re: Repository Blacklist

2008-02-01 Thread Wendy Smoak
On Feb 1, 2008 2:03 PM, simon [EMAIL PROTECTED] wrote: It seems to me that there was a similar question very recently, and that the answer was that maven *does* remember blacklists across runs. It doesn't remember the blacklist. It does remember individual plugin download failures by virtue

Re: How to specify local jars as dependencies?

2008-01-29 Thread Wendy Smoak
On Jan 29, 2008 6:53 AM, Martin Gainty [EMAIL PROTECTED] wrote: I've been looking for a way to specify a location that is guaranteed to contain PUBLICLY ACCESSIBLE LOCATION for ALL MAVEN2 PLUGINS Failing that.. is there a way to gain access to the plugins individually so we can d/l them to

Re: Dependency Order, src/test/resources not overriding src/main/resources

2008-01-29 Thread Wendy Smoak
On Jan 29, 2008 3:49 AM, Andrew Seales [EMAIL PROTECTED] wrote: I recently updated maven using mvn -U command and since yesterday projects which have properties files of the same name in src/test/resources and src/main/resources now no longer have the version in src/test/resources taking

Re: Checking out and building on remote machine using continuum

2008-01-29 Thread Wendy Smoak
On Jan 28, 2008 5:52 PM, Buvana Jayaraman [EMAIL PROTECTED] wrote: I am new to Continuum and trying to set up a shell project. Continuum is installed on the same machine as the SVN repositories. But I would like to use another machine for the build. Is there a way to check out and build the

Re: update/creation of maven-metadata.xml file

2008-01-29 Thread Wendy Smoak
On Jan 29, 2008 9:44 AM, Tom Huybrechts [EMAIL PROTECTED] wrote: If you specify an explicit version in your POM, I would think that Maven always finds it ? Probably, (and that's definitely a best practice,) but not everything uses a pom. 'mvn archetype:create' comes to mind, for example... as

Re: pom.xml jar scope

2008-01-29 Thread Wendy Smoak
On Jan 29, 2008 7:00 AM, faisalloe [EMAIL PROTECTED] wrote: NOp it didn't worked out We *always* need more information than it didn't work. By this I assume you mean that the jar is still getting included in WEB-INF/lib. Using provided scope _should_ work. Make sure you run 'mvn clean' to

Re: [m2] when is the dashboard going to be out of snapshot?

2008-01-29 Thread Wendy Smoak
On Jan 29, 2008 11:35 AM, Mick Knutson [EMAIL PROTECTED] wrote: I am using the dashboard plugin but I can't use the release plugin because the dashboard is still snapshot. This one? http://mojo.codehaus.org/dashboard-maven-plugin/ It's a Codehaus plugin, so the right place to ask is on the

Re: proxied repositories -- plugin question

2008-01-29 Thread Wendy Smoak
On Jan 29, 2008 1:44 PM, Eric Miles [EMAIL PROTECTED] wrote: Figured out my problem although not sure why it's NOT a problem when I don't use Archiva. This particular plugin (and no others) requires that I specify the version in order for the dependency to be downloaded. This isn't desirable

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