Re: [M2] maven-changelog-plugin, apache plugin repo down?

2006-10-24 Thread Wendy Smoak
On 10/24/06, CodingPlayer [EMAIL PROTECTED] wrote: it seems to me that the apache-snapshot-repo URL has changed, or it is currently down, or the plugin is not supported any more. The snapshot URL is: http://people.apache.org/repo/m2-snapshot-repository It is currently down, the

Re: problems with offline apache servers

2006-10-24 Thread Wendy Smoak
On 10/24/06, Henning Sprang [EMAIL PROTECTED] wrote: I have some problems with fact that seemingly the apache snapshot servers are offline (some error with qdox-20051211.114207.pom - detailed error log on request, I don't want to spam the list with this long log). In first place, one question

Re: repository down?

2006-10-24 Thread Wendy Smoak
On 10/24/06, Ming Cheung [EMAIL PROTECTED] wrote: Is http://cvs.apache.org/repository down? Yes, though the correct URL is http://people.apache.org/repo/m1-snapshot-repository. That server was part of some ASF infrastructure work that started on Saturday. The original estimate was to be

Re: cvs.apache.org connection problems

2006-10-25 Thread Wendy Smoak
On 10/24/06, Scott Ryan [EMAIL PROTECTED] wrote: I am having the same issues with my maven 2 repository. I saw a posting last night that some of the apache servers (people and cvs) had gone down but no information on when they were expected back up or any alternative on how to get around the

Re: Maven Snapshot Repository Down?

2006-10-25 Thread Wendy Smoak
On 10/25/06, Ming Cheung [EMAIL PROTECTED] wrote: What if my testcase/project needs to download a snapshot jar from the repository for EVERY SINGLE build? If the repository is not avaiable, Does that mean all Apache AXIS2 open source) user will have wait 3 or more days before running the

Re: scp a war to remote location

2006-10-25 Thread Wendy Smoak
On 10/25/06, Christofer Jennings [EMAIL PROTECTED] wrote: How do you scp a war to a remote location in maven2? I have a webapp project that produces a war. I'd like to deploy it to a remote server running jboss. I think all I need is to scp the war and let jboss hot deploy. But I can't figure

Re: looking for a repository with doxia-maven-plugin?

2006-10-26 Thread Wendy Smoak
On 10/24/06, MartinAhrer [EMAIL PROTECTED] wrote: Sorry for the misleading term 'repository'. I was thinking of a maven repository for downloading maven plugins... I'd like to use doxia for generating PDF from my existing APT documents! Did you find what you needed? If not, Doxia Book is

Re: Using Cactus with Maven 2

2006-10-26 Thread Wendy Smoak
On 10/26/06, Mohan Gopal [EMAIL PROTECTED] wrote: 1. Is there any cactus plugin for Maven 2. There is absolutely no documentation on this plugin. Anything, a sample code would help very much. There was some activity at Cactus earlier this year, but nothing recently. 2. Testing life cycle

Re: Impossible to build ourproject from scratch

2006-10-27 Thread Wendy Smoak
On 10/27/06, Max Cooper [EMAIL PROTECTED] wrote: Does anyone know how to do this? It seems like this would be somewhat common, since many projects may need to build one or more special plugins to support the rest of their builds. More than one project has a separate 'maven' module that

Re: Maven documents?

2006-10-28 Thread Wendy Smoak
On 10/28/06, jiangshachina [EMAIL PROTECTED] wrote: For example, I find the doc of puglin archetype at following link, http://maven.apache.org/plugins/maven-archetype-plugin/create-mojo.html The doc only shows what attributes I can set, but don't give me all of values can be used for the

Re: Puzzles on Standard Directory Structure?

2006-10-29 Thread Wendy Smoak
On 10/29/06, jiangshachina [EMAIL PROTECTED] wrote: I don't get directories src/main/filters and src/main/resources/META-INF when I use the plugin. My command is mvn archetype:create -DgroupId=demo.mvn -DartifactId=demo -Dversion=1.0-SNAPSHOT -DarchetypeArtifactId=maven-archetype-webapp The

Re: Puzzles on Standard Directory Structure?

2006-10-29 Thread Wendy Smoak
On 10/29/06, jiangshachina [EMAIL PROTECTED] wrote: In fact, I have ever not saw any project have directory filters. Then I cannot understand the functions of the directory. Is there an example about filters? In the first reply to your original message, Adrian referred to to a section in the

Re: Puzzles on Standard Directory Structure?

2006-10-29 Thread Wendy Smoak
On 10/29/06, Wendy Smoak [EMAIL PROTECTED] wrote: In the first reply to your original message, Adrian referred to to a section in the Better Builds with Maven book. You can also ask Google: http://www.google.com/search?q=maven+resource+filtering And the first result is: ... the Getting

Re: Modifying a web application's web.xml at build time

2006-10-29 Thread Wendy Smoak
On 10/29/06, Carlos A. Carnero Delgado [EMAIL PROTECTED] wrote: Is there a way of modifying the web.xml at build time using Maven profiles? Are profiles the solution? I think that the ideal solution would involve maintaining a single web.xml that could be modified at build time. Sure. I do

Re: a help option like ant -projecthelp

2006-10-29 Thread Wendy Smoak
On 10/29/06, 向秦贤 [EMAIL PROTECTED] wrote: After checked out MavenCli code and found not projecthelp style option, I supposed there is no one. If this, I wanna know all if need a mvn help option like ant -projecthelp. Maybe there could have a option, listGoals listTasks or projecthelp. For the

Re: Dowloading dependencies

2006-10-29 Thread Wendy Smoak
On 10/29/06, Saminda Abeyruwan [EMAIL PROTECTED] wrote: I'm in the process of migrating from Maven1 to Maven2. I've being faced the following problem. I have a requirement to download all the dependencies, In Maven1 i just used, deploy:copy-deps todir=target/lib/ How do i do the above with

Re: excluding/including tests in surefire-plugin in different phases

2006-10-29 Thread Wendy Smoak
On 10/29/06, Jan-Olav Eide [EMAIL PROTECTED] wrote: Still struggling with this The configuration below runs all my tests in both phases. Nothing is exluded or included :-( As far as I can see, this config is the same as the one recommended on

Re: HOWTO: Have assembly plugin call package automatically before doing assembly?

2006-10-30 Thread Wendy Smoak
On 10/30/06, Jan Thomä [EMAIL PROTECTED] wrote: currently i am using the assembly - plugin, to assemble a multi-module project into a single directory containing the binary output of all modules. However, i always have to call package before assembly, otherwise the assembly-plugin states that i

Re: finalName

2006-10-30 Thread Wendy Smoak
On 10/30/06, Shelley Lock [EMAIL PROTECTED] wrote: The 4.0.0 POM schema indicates that the finalName includes the extension [1], but when running package, the default packaging type extension is automatically appended. For example, if finalNametest.zip/finalName is used for a jar project, the

Re: finalName

2006-10-30 Thread Wendy Smoak
On 10/30/06, Wendy Smoak [EMAIL PROTECTED] wrote: Shelley, the xsd for Maven 2.0.4 differs from the comments that you pasted on MNG-1676. What version did you copy that from? Must read footnotes. :) Okay, so the docs for finalName differ on http://maven.apache.org/maven-v4_0_0.xsd

Re: Assigning an existing Maven1 local repo to Maven2 local repo

2006-10-30 Thread Wendy Smoak
On 10/30/06, Saminda Abeyruwan [EMAIL PROTECTED] wrote: We have been in the process of converting all Maven1 projects to Maven2. Until the conversion completed, some converted Maven2 projects need to refer to some of the jars in Maven1 repo (.maven). Is it possible to say to pom.xml to get

Re: Maven rant

2006-10-31 Thread Wendy Smoak
On 10/31/06, Sebastien Arbogast [EMAIL PROTECTED] wrote: Think of Hibernate or PHP documentation: one base reference book with DYNAMIC comments in which people can share their thoughts and experiences about each feature/chapter, remarks that can be later integrated when the reference is

Re: Not embedding pom is jars

2006-10-31 Thread Wendy Smoak
On 10/31/06, Sebastien Brunot [EMAIL PROTECTED] wrote: is there an easy way to specify that the pom files shouldn't be embedded in a jar artifact (resulting from the package command) under META-INF ? http://maven.apache.org/guides/mini/guide-archive-configuration.html Try

Re: finalName

2006-10-31 Thread Wendy Smoak
On 10/30/06, Wendy Smoak [EMAIL PROTECTED] wrote: Okay, so the docs for finalName differ on http://maven.apache.org/maven-v4_0_0.xsd and http://maven.apache.org/ref/2.0.4/maven-model/maven.html My guess is that the xsd needs to be re-generated, since the 2.0.4 docs describe the current

Re: ZIP Dependencies

2006-10-31 Thread Wendy Smoak
On 10/31/06, Shelley Lock [EMAIL PROTECTED] wrote: With some of our JAR/WAR projects, we create secondary project end states with the ZIP format using the assembly plugin. Is there any way to declare these assembled zips as dependencies of other projects? Thanks! You'll need to install or

Re: Maven rant

2006-11-02 Thread Wendy Smoak
On 11/2/06, Sebastien Brunot [EMAIL PROTECTED] wrote: Good ! When do you think it would be possible to have it online ? Have what online? We need to decide what it is first. :) What we have available is all of Maven's documentation, (some of which is generated, some is in APT format,) and

Re: Maven rant

2006-11-02 Thread Wendy Smoak
On 11/2/06, Sebastien Brunot [EMAIL PROTECTED] wrote: What I meant by it was the comment mechanism. Right... it doesn't exist yet, we need to design it. Earlier, I asked, Any ideas on how to present that as an option? What would the menu link be called? How should the pages on the wiki be

Re: Maven rant

2006-11-02 Thread Wendy Smoak
On 11/2/06, Mykel Alvis [EMAIL PROTECTED] wrote: Like it or not, people read a lot of wikis, but rarely write to them. They WILL, however, provide their comments from the peanut gallery on a mailing list. I'm currently looking at 1212 unread messages in my inbox from this list. That's from

Re: Maven equivalent of ant depend optional task

2006-11-03 Thread Wendy Smoak
On 11/3/06, jp4 [EMAIL PROTECTED] wrote: I have been searching for the Maven2 equivalent of the ant depend task but I can't seem to find it. Can someone help me out with a link? Everything in Maven centers around the build lifecycle.

Re: Mechanism to import common depdencies into your pom files?

2006-11-03 Thread Wendy Smoak
On 11/3/06, jp4 [EMAIL PROTECTED] wrote: I have a client with many different maven projects. I am trying to figure out a way to manage the versions of common libraries across these projects without duplicating the version number in each project. This is typically done with

Re: Where can I get the nightly Maven2 build?

2006-11-03 Thread Wendy Smoak
On 11/3/06, jp4 [EMAIL PROTECTED] wrote: I was hoping to get a nightly build so that I can see if my unit test cases will run twice when I run mvn site. I am hoping it's fixed in the new version, but I haven't been able to find a link to the nightly builds. Snapshots are published here:

Re: Where can I get the nightly Maven2 build?

2006-11-03 Thread Wendy Smoak
On 11/3/06, Wendy Smoak [EMAIL PROTECTED] wrote: On 11/3/06, jp4 [EMAIL PROTECTED] wrote: I was hoping to get a nightly build so that I can see if my unit test cases will run twice when I run mvn site. I am hoping it's fixed in the new version, but I haven't been able to find a link

Re: mvn site running test cases twice

2006-11-04 Thread Wendy Smoak
On 11/3/06, jp4 [EMAIL PROTECTED] wrote: I am using the surefire report plugin as well as coberatura, javadoc and checkstyle.. When I do a mvn site it runs my test cases twice. Does it happen if you remove the Cobertura plugin? We use surefire, javadoc and checkstyle in the Struts build,

Re: maven site

2006-11-05 Thread Wendy Smoak
On 11/2/06, Graham Sanderson [EMAIL PROTECTED] wrote: I may be missing something here, but we have a bunch of different artifacts built using maven, and we'd like to be able to publish for each major build of a product a site including all the javadoc, source XRef and reports for all its

Re: Maven releases?

2006-11-05 Thread Wendy Smoak
On 11/6/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: When is the next maven released scheduled? It is 7 months since the last maven 2 release. Is there a particular fix you're looking for? Most of what makes Maven work is in the plugins, and several of those have seen releases in the time

Re: Maven rant

2006-11-06 Thread Wendy Smoak
On 11/5/06, David Whitehurst [EMAIL PROTECTED] wrote: I WIKI everything and I wish I had a public WIKI to write in that I felt comfortable that would stay there for all to see and wouldn't change. That's not really the nature of wikis... people will come along and edit what you've written.

Re: Maven rant

2006-11-06 Thread Wendy Smoak
On 10/31/06, Jeff Mutonho [EMAIL PROTECTED] wrote: documents say.That led me to http://maven.apache.org/wagon/ and clicking on the Getting Started link I ended up at the URL http://maven.apache.org/wagon/guides/getting-started/index.html , and almost every link there leads to a :

Re: Transitive dependecies

2006-11-07 Thread Wendy Smoak
On 11/7/06, Sebastien Brunot [EMAIL PROTECTED] wrote: transitive dependencies can be a real pain when you have a lot of external dependencies in your project. Using exclusions tags is a tedious operation in this case, so I was wondering if a quicker way exists... Having to use a lot of

Re: Transitive dependecies

2006-11-07 Thread Wendy Smoak
On 11/7/06, Sebastien Brunot [EMAIL PROTECTED] wrote: Even if the POM are correct, transitivity can copy much more classes than really needed : you're using library A, which a subset of class uses library B. If you don't use this particular subset of classes in library A, you don't need the

Re: mvn site running test cases twice

2006-11-07 Thread Wendy Smoak
On 11/7/06, jp4 [EMAIL PROTECTED] wrote: I removed the coberatura plugin and unit test cases run only once... Here is what I have in my pom ... Any ideas? Looks like the test cases get run during instrumentation? I think it's normal based on Maven's current design. The tests are run once

Re: How to reference the tools.jar of the jdk lib folder

2006-11-07 Thread Wendy Smoak
On 11/7/06, Dudu [EMAIL PROTECTED] wrote: I need to use the tools.jar of the lib folder. Inside the oringinal jdk location... How can I add this dependency. I looked for it on the maven repository and the sun maven repository too, but without sucess. It's not in the public repositories due to

Re: Java Source and Resource

2006-11-07 Thread Wendy Smoak
On 11/7/06, jiangshachina [EMAIL PROTECTED] wrote: With Maven standard directory structure, resources relative to Java source codes are located at src/resources. Now I'm using Hibernate. Generally, a Hibernate xml file directly adheres to its domain Java class. ... Some developers may not like

Re: naming groupId and artifactId?

2006-11-07 Thread Wendy Smoak
On 11/7/06, jiangshachina [EMAIL PROTECTED] wrote: But at Maven central repository, http://www.ibiblio.org/maven2/ I don't find any accurate regular. For example, Apache Commons projects aren't grouped as org.apache, or org.apache.commons, or apache.commons, even not commons. Each Commons

Plugin websites published

2006-11-08 Thread Wendy Smoak
I'm pleased to announce that most of the Maven Plugin websites have been updated to the latest available documentation. [1] This means you may find documentation on features that are not available in the latest released version of the plugin. Such features should be marked since x.x.x but it's

Re: JDK 1.5 Problem

2006-11-08 Thread Wendy Smoak
On 11/8/06, Wim Deblauwe [EMAIL PROTECTED] wrote: See http://maven.apache.org/plugins/maven-compiler-plugin/howto.html In the new plugin docs, that page was replaced by: http://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html -- Wendy

Re: no classes, but lib?

2006-11-08 Thread Wendy Smoak
On 11/8/06, jiangshachina [EMAIL PROTECTED] wrote: Hello, Now, my requirement is following, I want to transform WAR |--WEB-INF |--classes |--packages to WAR |--WEB-INF |--lib |--artifact.jar I'm trying maven-assembly-plugin. There is a configuration option

Re: Let Maven alter a config file

2006-11-09 Thread Wendy Smoak
On 11/9/06, Deluigi Marcus [EMAIL PROTECTED] wrote: I have Maven that has a dependency to Tomcat, i.e. retrieves Tomcat if it is not already installed. Unfortunately, I _must_ have some specific settings in the Tomcat configuration file (which is in XML). Is there any plugin that can check the

Re: Let Maven alter a config file

2006-11-09 Thread Wendy Smoak
On 11/9/06, Deluigi Marcus [EMAIL PROTECTED] wrote: Cargo seems to have the desired functionality, but I couldn't figure out how to use it. The documentation is very limited. Could someone provide an example? I'm not yet sure what you need an example of. :) Please come join us on the Cargo

Re: Performing tasks before a goal

2006-11-09 Thread Wendy Smoak
On 11/9/06, Paul Barry [EMAIL PROTECTED] wrote: That might work, but I think what I'd rather do is just create a one TestSuite that does the setup beforehand, then run the tests. Are you using JUnit? It sounds like a TestSetup class would be useful here. I have noticed that maven seems to

Re: Too many jars added to lib?

2006-11-09 Thread Wendy Smoak
On 11/9/06, jiangshachina [EMAIL PROTECTED] wrote: Undoubtedly, Maven central repository is crucial. My question just be why so many unessential artifacts are added to pom? May there are some reasons I don't know. The usual case is that the project in question is not using Maven, so the

Re: Attaching an assembly to a multi module project

2006-11-10 Thread Wendy Smoak
On 11/10/06, Timo Wolf [EMAIL PROTECTED] wrote: I got build errors when no modules are in the local repository and getting to module2 After jar:jar of module2, the assembly plugin is invoked and somehow the poms of the later modules get evaluated and try to resolve the jar artefact of module2

Re: [M2] FAQ? Debugging unit tests in Maven2

2006-11-10 Thread Wendy Smoak
On 11/10/06, matthewadams [EMAIL PROTECTED] wrote: 1. Is the argLine property a Surefire-specific property or a Maven-global property? 2. Where is the argLine property documented (and all other properties for that matter)? 3. Where do I set the surefire forkMode property?

Re: XML representation of an Artifact in the configuration section of the POM

2006-11-10 Thread Wendy Smoak
On 11/10/06, franz see [EMAIL PROTECTED] wrote: Good day to you, Sebastien, No problem ;-) Wow..thanks for the information. :-) Would any of this be appropriate for the 'Mojo Developer Cookbook' on the wiki? http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook If it's

Re: Puzzles on Standard Directory Structure?

2006-11-12 Thread Wendy Smoak
On 11/9/06, jiangshachina [EMAIL PROTECTED] wrote: I may have known the goal of src/main/assembly(assembly descriptor files used by maven-assembly-plugin). Now I want to ask what files should be put at src/main/conf? It seems that the folder would include configuration files, but which

Re: [m2] Repository plugin not found?

2006-11-12 Thread Wendy Smoak
On 11/12/06, Benoitx [EMAIL PROTECTED] wrote: C:\project\qalab\maven2-qalab-pluginmvn repository:create-bundle It's repository:bundle-create (not create-bundle) and you shouldn't need to add it to your pom. mvn repository:create-bundle ... The plugin

Re: [m2] Repository documentation obsolete?

2006-11-12 Thread Wendy Smoak
On 11/12/06, Benoitx [EMAIL PROTECTED] wrote: From http://maven.apache.org/plugins/index.html there is no link to the Repository Plugin, however, there is a page: http://maven.apache.org/plugins/maven-repository-plugin/index.html But the FAQ and usage pages are missing... What is happening

Re: Puzzles on Standard Directory Structure?

2006-11-12 Thread Wendy Smoak
On 11/12/06, jiangshachina [EMAIL PROTECTED] wrote: Oh, that's means that the directories just are recommended by Maven, but Maven does nothing for it as default. It probably means that during the design discussions, someone thought a 'conf' directory would be useful. I haven't seen it

Error with WebDAV URL

2006-11-12 Thread Wendy Smoak
I'm running Archiva from a svn checkout, with the Jetty plugin. (mvn jetty:run) I've created the admin user and a managed repo, and given the 'admin' user the repository observer role for that repo. From the Administration page, if I click on the WebDAV URL:

Re: Trying Quickly build Archiva

2006-11-13 Thread Wendy Smoak
On 11/13/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi Trying to build Archiva because there is no binaries available. What are the correct repositories? Error transferring file commons-configuration:commons-configuration:jar:1.3 Did it happen more than once? Commons Configuration

Re: Trying Quickly build Archiva

2006-11-13 Thread Wendy Smoak
On 11/13/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I download all of the software from the required page as described. The sun jars. I cant see what is wrong there. It happens more than once in build Archive Security Configuration project. The error you posted said it couldn't download

Re: Move tests to 'integration-test'

2006-11-15 Thread Wendy Smoak
On 11/15/06, Wendy Smoak [EMAIL PROTECTED] wrote: Since you already have a separate module for the integration tests, the easiest solution is to move your tests out of src/test/java. Surefire will still run in the 'test' phase, but it won't find anything to compile and run. Sorry, that's

Re: Move tests to 'integration-test'

2006-11-15 Thread Wendy Smoak
On 11/15/06, Deluigi Marcus [EMAIL PROTECTED] wrote: The module itself works fine, but when I launch the life cycle from the parent module, all tests get executed in the test phase. Can anybody give me a hint how to solve this problem? As you've discovered Maven does not yet support

Re: Archive Repository

2006-11-15 Thread Wendy Smoak
On 11/15/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: How do you access the repository through the jetty:run? I set up the guest as an observer role and I tried to access it like this http://localhost:9091/repository/aopalliance/aopalliance/1.0/ Unfortunately, browsing the repository with

Re: http://www.ibiblio.org/maven2 vs. http://repo1.maven.org/maven2?

2006-11-15 Thread Wendy Smoak
On 11/15/06, jiangshachina [EMAIL PROTECTED] wrote: What's the feature of the repository? It seems that the repository isn't compatible with Maven specification. Generally, artifact and pom file are in same directory, but the repository is not. The java.net repo is a Maven 1 repository.

Re: [M2] Howto Set Up Quickly an Offline Internal Repository?

2006-11-16 Thread Wendy Smoak
On 11/16/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I am building an offline build, I want to verify the hold project is building in Maven on a disconnected machine. I copied my developer machine M2 repository to the isolated server. I asked on IRC, and a local repository can't simply be

Re: [M2] Howto Set Up Quickly an Offline Internal Repository?

2006-11-16 Thread Wendy Smoak
On 11/16/06, Wendy Smoak [EMAIL PROTECTED] wrote: I asked on IRC, and a local repository can't simply be copied and repurposed as a remote repository. Jason suggested looking at the 'repository-assembler' in the shared module, which can convert a local repo into a remote one by adding

Re: [M2] Howto Set Up Quickly an Offline Internal Repository?

2006-11-16 Thread Wendy Smoak
On 11/16/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: This is not good for me, because I am trying to build the project on an isolated machine. It cant get access to the Internet. BTW: Did Jason give a reason and say why not? A remote repository isn't necessarily physically remote... it

Re: [M2] Howto Set Up Quickly an Offline Internal Repository?

2006-11-16 Thread Wendy Smoak
On 11/16/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Correction... it's maven-repository-builder, in the sandbox: http://svn.apache.org/repos/asf/maven/sandbox/maven-repository-builder/ How do I check it out for building? svn checkout

Re: Maven rant

2006-11-16 Thread Wendy Smoak
On 11/16/06, Adam Hardy [EMAIL PROTECTED]://mail.google.com/mail/ wrote: Just wanted to dredge up this old thread concerning documentation to find out what status it has now after the last conversation. I think this was already in the works when this thread started, but the plugins and guides

Re: [M2] Howto Set Up Quickly an Offline Internal Repository?

2006-11-16 Thread Wendy Smoak
On 11/16/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi. Is there any type of documentation for the maven-repository-builder ? No, I already asked. Apparently the code was pulled out of the assembly plugin, and is used to test the eclipse plugin. So you might find some hints in the

Re: [M2] Howto Set Up Quickly an Offline Internal Repository?

2006-11-16 Thread Wendy Smoak
On 11/16/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: So this sends me right back to Archiva again. Can Archiva convert a local repository back to a remote one or am I wandering down the wrong path? No, it won't. You still need the repository metadata, which is what

Re: How do I include base tests classes in main JAR

2006-11-18 Thread Wendy Smoak
On 11/18/06, mraible [EMAIL PROTECTED] wrote: The easiest way to do this seems to be to put the class in my source tree, but then I have to add JUnit as a compile dependency and JUnit will end up in any WARs that are created. Seems simple enough, but the extra JAR in the WAR seems ugly. What

Maven should complain about invalid scopes

2006-11-18 Thread Wendy Smoak
More than one person has been caught out by: scopeoptional/scope (Optional isn't a scope, it's a separate element.) I tried it with 2.0.4, and the 2.0.5 and 2.1 snapshots. None of them reports the error, you just get compilation failures because the dependency doesn't make it into the

Re: Archetype Question

2006-11-21 Thread Wendy Smoak
On 11/21/06, Michael Schlotfeldt [EMAIL PROTECTED] wrote: Found out there is a filtered and a encoding attribute on the resource tag. Had to read through the source code though. This still doesn't address the problem of filtering some, but not all, expressions in a file, right? Has anyone

Re: Error when generating Dependencies report (SNAPSHOT)

2006-11-21 Thread Wendy Smoak
On 11/21/06, Julien HENRY [EMAIL PROTECTED] wrote: This morning, I try to generate my project site and it failed. Yesterday it works... Any idea? [ERROR] FATAL ERROR [INFO] [INFO] org/apache/maven/shared/jar/Jar [INFO]

Re: Maven repositories: metadata vs pom files?

2006-11-21 Thread Wendy Smoak
On 11/20/06, Wayne Fay [EMAIL PROTECTED] wrote: This isn't a case of repo has pom but no jar, instead its the opposite, jar with no pom. So I don't think its an artifact which cannot be redistributed. ;-) Oops. Not quite paying enough attention there. :) -- Wendy

Re: m2 noobie probems with apache repository

2006-11-21 Thread Wendy Smoak
On 11/20/06, Mark Nicholson [EMAIL PROTECTED] wrote: repository idIbiblio/id nameIbiblio/name urlhttp://www.ibiblio.org/maven2/maven/url /repository You don't need this one. The central repository is included by default. (And he URL doesn't look right

Re: Classpath

2006-11-21 Thread Wendy Smoak
On 11/20/06, Deluigi Marcus [EMAIL PROTECTED] wrote: It seems like a stupid question, but how do I let maven print the actual class path within a specific module? I did not find any information about this anywhere. If you add -X to the command line: mvn install -X it will print out more

Re: Maven cyclic dependecy issue

2006-11-22 Thread Wendy Smoak
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 is just bad design. The

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

2006-11-22 Thread Wendy Smoak
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 inside Apache, where

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

2006-11-22 Thread Wendy Smoak
On 11/22/06, Christian Goetze [EMAIL PROTECTED] wrote: In between propose and accept is when your QA department would do their work... and if accepted, the exact artifacts they've tested will be promoted to the release repository. This is I think where the problem is: if the promotion

Re: [m2] any way to build one apt file from a site?

2006-11-22 Thread Wendy Smoak
On 11/22/06, Barrie Treloar [EMAIL PROTECTED] wrote: But I am working on apt documentation and want to know almost immediately if my stupid typos have been corrected. Does anyone know a faster way to cause a single page to be parsed by apt into html? mvn site:run, then visit

Re: [m2] any way to build one apt file from a site?

2006-11-22 Thread Wendy Smoak
On 11/22/06, Barrie Treloar [EMAIL PROTECTED] wrote: Thanks Wendy, site:run starts the site up, which isn't what I am after. I want to parse my_doc.apt into html to check whether it converts correctly. Waiting 1 minute for the entire site to be generated (with 3 lifecycles because of docchk,

Webapp won't start with jetty:run

2006-11-22 Thread Wendy Smoak
$ svn up; mvn clean install $ cd archiva-webapp $ rm derby.log $ mvn jetty:run This was working a couple of weeks ago. Now I get a huge stack trace, which can be seen here: http://wiki.wsmoak.net/cgi-bin/wiki.pl?Maven/ArchivaJettyError I think the relevant part is... ... [INFO] Starting jetty

Re: Error with WebDAV URL

2006-11-23 Thread Wendy Smoak
On 11/12/06, Wendy Smoak [EMAIL PROTECTED] wrote: I'm running Archiva from a svn checkout, with the Jetty plugin. (mvn jetty:run) ... From the Administration page, if I click on the WebDAV URL: http://localhost:9091/repository/MyRepo I get the error below. ... Error 404 Not Found

Re: [m2] use case problem

2006-11-23 Thread Wendy Smoak
On 11/23/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Any answers to this (may be too long :) ) question ? It was fairly long and involved. :) A few thoughts... I'm leaning towards settings.xml with the appropriate Proximity repository defined as a mirror of central. You can create a

Snapshots Included

2006-11-23 Thread Wendy Smoak
For a managed repository, if Snapshots Included is UNchecked, Archiva does not index snapshots even if they are present, and the pom snippet correctly disables snapshots and enables releases. If Snapshots Enabled IS checked, Archiva indexes both snapshots and releases. However, in this case,

Re: NoClassDefFound during surefire

2006-11-23 Thread Wendy Smoak
On 11/23/06, Michael Roepke [EMAIL PROTECTED] wrote: I am facing a weird problem when executing surefire tests. Surefire seems not to find my classes under test-classes. Do I have to add this path to the classpath in the pom.xml? No, it should just work. We'll need to know more about your

Re: Starting/Stopping Jetty for integration testing

2006-11-24 Thread Wendy Smoak
On 11/24/06, Julien HENRY [EMAIL PROTECTED] wrote: I want to execute jetty:run at the pre-integration-test phase and stop it (like Ctrl+C) at the post-integration-test phase. In addition to the plugin that has already been mentioned, Cargo also has a Java API that can be very useful for

Re: Starting/Stopping Jetty for integration testing

2006-11-24 Thread Wendy Smoak
On 11/24/06, Raphaël Piéroni [EMAIL PROTECTED] wrote: Where could i find information about TestSetup and example in shale, i have searched in the shale source repository, but can't find it. TestSetup is a JUnit thing, so consult JUnit docs and tutorials for info on that. Generally, the usual

Proxy vs. Repository URLs

2006-11-24 Thread Wendy Smoak
Consider the following managed repository: My Managed Repository IdentifierMYREPO Directory E:\svn\maven\archiva\archiva-webapp\target\my-managed-repository WebDAV URLhttp://localhost:9091/repository/myrepo Type Maven 2.x Repository Snapshots Includedtrue Indexed

Proxying released plugins

2006-11-24 Thread Wendy Smoak
With central proxied through a managed repository, and that repository configured as a mirrorOf central in settings.xml, I get: $ mvn archteype:create -DgroupId=net.wsmoak -DartifactId=my-app [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archteype'. [INFO]

Re: Proxying released plugins

2006-11-24 Thread Wendy Smoak
On 11/24/06, Wendy Smoak [EMAIL PROTECTED] wrote: With central proxied through a managed repository, and that repository configured as a mirrorOf central in settings.xml, I get: $ mvn archteype:create -DgroupId=net.wsmoak -DartifactId=my-app On IRC, srepfler has pointed out that I can't spell

Re: Proxy vs. Repository URLs

2006-11-24 Thread Wendy Smoak
On 11/24/06, Henri Yandell [EMAIL PROTECTED] wrote: Is this correct? If so, why do we use the 'URL Name' in one place and the 'Identifier' in another? +1 to using the identifier in both. Then why have the URL Name at all? -- Wendy

Re: Don't add dependency?

2006-11-25 Thread Wendy Smoak
On 11/25/06, jiangshachina [EMAIL PROTECTED] wrote: For example, on servlet-api artiface. I declare servlet-api-2.4.jar in others POM, but commons-loggin(in Apache POM) has transitive dependency servlet-api-2.3.jar. Both of them are compile scope. These poms are incorrect -- servlet-api

Re: [m2] Setting Archiva as mirror of central

2006-11-25 Thread Wendy Smoak
On 11/25/06, ben short [EMAIL PROTECTED] wrote: I have Maestro project server setup but im not sure what I need to set in my settings.xml to get maven to use the Archiva part of the project server as my mirror of central. mirror idmyProximity/id mirrorOfcentral/mirrorOf

Re: [m2] Setting Archiva as mirror of central

2006-11-25 Thread Wendy Smoak
On 11/25/06, ben short [EMAIL PROTECTED] wrote: I just found that page, but when I tried it as described it didnt work. I have found that if I add the following to my settings.xml then archiva proxys central. What did you try that didn't work? We need to fix the docs if they're wrong.

Re: Don't add dependency?

2006-11-26 Thread Wendy Smoak
On 11/25/06, jiangshachina [EMAIL PROTECTED] wrote: For example, on jta artifact. others POM declares jta-1.0.B.jar as dependency directly, and spring-parent.pom(Spring artifacts' parent POM) declares jta as optional. Then jta-1.0.B.jar wasn't in WEB-INF/lib, too. Correct. Optional

Re: Admin user doesn't have admin rights.

2006-11-27 Thread Wendy Smoak
On 11/27/06, Max Bowsher [EMAIL PROTECTED] wrote: I'm doing a clean 'mvn install cvs archiva-webapp mvn jetty:run'. Archiva as expected allows me to create an admin user, but having logged in with this admin user, it is as if the 'admin' user does not actually have admin rights! I've seen this

Re: Archiva Database Creation

2006-11-27 Thread Wendy Smoak
On 11/27/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Archiva appears to creating a database under my home directory on UNIX e.g /home/pilgripe/database /home/pilgripe/derby.log Instead of under catalina.home, where is this setting controlled contrary to the information at

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