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

Setup Help - you have entered an incorrect username and/or password

2008-02-12 Thread Mester Of Jester
Hi all; I tried searching for this problem but couldn't find a reference. I installed Archiva 1.0.1 on tomcat 6 on a debian machine. I followed the instructions on the admin guide. I was able to login as admin and create few users. My users can access the maven repository by using direct URL,

Re: Setup Help - you have entered an incorrect username and/or password

2008-02-12 Thread Maria Odea Ching
Hi M, This is a known Redback issue which affects Archiva 1.0 and 1.0.1: http://jira.codehaus.org/browse/REDBACK-117 As a workaround, resend the validation email to the users and let the users validate it. Thanks, Deng On Feb 12, 2008 4:02 PM, Mester Of Jester [EMAIL PROTECTED] wrote: Hi

Re: Javadoc:jar error: Not executing Javadoc as the project is not a Java classpath-capable package

2008-02-12 Thread VUB Stefan Seidel
Hi Ryan, the thing is: in maven philosophy, it does not make sense to create an aggregate javadoc jar. A javadoc jar contains the sources for _one_ artifact, so that for that specific artifact an IDE could for example download this javadoc jar in order to have the javadoc available for all

Re: Build number plugin drama

2008-02-12 Thread VUB Stefan Seidel
http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/install.html Clifton wrote: Hi all My buddy and I are stumbling with the buildNumber plugin and getting nowhere fast. We found the original version here: http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/howto.html Then

RE: Enforcer Plugin 1.0 release and requirePluginVersions rule

2008-02-12 Thread Ben Lidgey
At the moment I am looking at the Maven Enforcer Plugin, as I am working on some custom rules to support our dev process, and noticed the docs are for 1.0-SNAPSHOT which doesn't seem to be in the repository. I've not looked through the other plugins to see if they are the same. Ben

RE: Build number plugin drama

2008-02-12 Thread nicklist
The install page at ucalgary.ca is out of date. The buildnumber plugin has been uploaded to central and is at: dependency groupIdorg.codehaus.mojo/groupId artifactIdbuildnumber-maven-plugin/artifactId version1.0-beta-1/version /dependency Which version are you trying to use? Hth,

Re: Specifying a plugin's dependency version

2008-02-12 Thread VUB Stefan Seidel
Actually, this is a bug. I didn't have time to file it yet, but from Maven 2.0.7 to 2.0.8 dependencies within the plugin definition suddenly are ignored in multi-module projects. Try to declare your dependency as a normal dependency in your parent pom. Or use Maven 2.0.7. regards, Stefan

Re: Profiles and resources

2008-02-12 Thread mljv
so what is best practice here? even my exclude statemnt doesn't help as i thought. If i run production profile after development profile without mvn clean i don't get the right version. thats all much too difficult in my opinion. regards Janning Am Dienstag, 12. Februar 2008 05:03 schrieb

Re: Maven Concepts

2008-02-12 Thread amit kumar
I tested with SNAPSHOT version as well. But maven still seems to prefer the local version of even the SNAPSHOT version? i have these two modules a.jar and b.jar, a-1.0-SNAPSHOT.jar depends on b-1.0-SNAPSHOT.jar, I tested and deployed b.jar at a later time stamp and again tried to build a.jar. But

RE: Maven Concepts

2008-02-12 Thread nicklist
How did you configure your repository? Especially take a look at the updatePolicy element in your snapshot repository. [1] If this one is omitted, it will default to daily, so it is possible it won't take your newest snapshot. You can use mvn -U to look for newer versions of the snapshot

RE: Enforcer Plugin 1.0 release and requirePluginVersions rule

2008-02-12 Thread Simon Kitching
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. PS: sigh, more top-posting in reply to a bottom-post. Why do people do this? Ben Lidgey [EMAIL PROTECTED] schrieb: At the

RE: dependency:unpack vs. eclipse:eclipse

2008-02-12 Thread Brian E. Fox
The faq entry about the executions/non executions would only apply when running dependency:unpack directly...it shouldn't have any issues with eclipse:eclipse. (although I haven't tested it recently). Can you paste your pom so I can look at it? -Original Message- From: Michael Heß

cannot deploy to [EMAIL PROTECTED]

2008-02-12 Thread Jens Riboe
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 Another person seems to have asked the same question, but without an

Re: Surefire not picking up tests from test-jar

2008-02-12 Thread Stephen Connolly
I don't know if it ever worked. I switched to the dependency hack. somebody needs to update the dogs that claim you can do this though On 2/12/08, Dan Fabulich [EMAIL PROTECTED] wrote: Stephen Connolly wrote: Has anybody tried running a test-jar with Surefire 2.4.1? It's not picking up any

dependencyManagement and conflicts

2008-02-12 Thread Benoit Decherf
Hi, I have 3 projects with their dependencies: * A |- B[1.0] |- C [1.1] * B |- C [1.0] * C So here there is a conflict in A for C, and this is what I'm expected: [INFO] Failed to resolve artifact. The artifact has no valid ranges test:C:jar:1.0 Path to dependency: 1)

RE: Local Maven repository. Newbie question...

2008-02-12 Thread JG Flowers
Argh!!! It's a Windows Explorer thing.. :-U Can name a directory with . prefix with md from command prompt... Still directory has no repositoty in it. But reading on a bit further it talks about creating a settings.xml file. I think it's a chicken or egg thing. In writing the book they talk about

Re: Maven2Eclipse with multi-module projects?

2008-02-12 Thread Carlos Sanchez
yes, you probably need Q4E 0.4.0 On Feb 12, 2008 10:04 AM, Clifton [EMAIL PROTECTED] wrote: Thanx for such quick replies! In Q4E the only thing I see in the prefeneces pages is the ability to configure src/java-doc downloads as well as archetype url stuff. I need the ability to point it to a

Nexus repository manager

2008-02-12 Thread Hayes, Peter
Is there any update on the Nexus repository manager? I am interested in snapshot cleanup. Thanks, Peter Hayes Architecture Shared Technology Services | Fidelity Investments Management Technology - To unsubscribe, e-mail:

RE: Maven2Eclipse with multi-module projects?

2008-02-12 Thread Chris Schmidt
I checkout on the command line, then go to eclipse to import the files from the repository. I'm currently using Subclipse within the IDE, but in all honesty don't do much with it at the moment. Thanks, Chris -Original Message- From: Clifton [mailto:[EMAIL PROTECTED] Sent: Tuesday,

Re: Surefire not picking up tests from test-jar

2008-02-12 Thread Stephen Connolly
On Feb 12, 2008 7:13 PM, Stephen Connolly [EMAIL PROTECTED] wrote: somebody needs to update the dogs that claim you can do this though Damn typing on the iTouch! I t was supposed to be update the docs

Re: cannot deploy to [EMAIL PROTECTED]

2008-02-12 Thread Jens Riboe
What command are you using to deploy? mvn deploy distributionManagement section of your pom look like distributionManagement repository idmy-public/id urldav:http://host:8080/archiva/repository/pub//url /repository snapshotRepository

Re: changes to surefire output with testng

2008-02-12 Thread Benjamin Bentmann
Hi, Surefire-2.3.1 used to output which test was running and it would create an output file for each test. I am using testng. Can anyone tell me why this changed and if there is any way to configure it to behave in the same manner as previous releases? Nice to see I am not the only one who

RE: Maven2Eclipse with multi-module projects?

2008-02-12 Thread Jan Torben Heuer
Chris Schmidt wrote: I checkout on the command line, then go to eclipse to import the files from the repository. I'm currently using Subclipse within the IDE, but in all honesty don't do much with it at the moment. It works fine here. I suggest to do it that way. No problems, yet. run mvn

Re: changes to surefire output with testng

2008-02-12 Thread Dan Fabulich
Benjamin's links are the right place to start, though I might add that the head of that thread is a really long e-mail from me that doesn't directly address your question. The rest of the thread is about your question. Executive summary: TestNG support was broken in Surefire 2.3.x; it only

mvn site not generating correct link to child modules?

2008-02-12 Thread Ed Hillmann
Hi all. I'm trying out the site generation functionality of maven. I have a parent project which contains 2 child projects. So, my parent POM looks like modules modulechild1/module modulechild2/module /modules The child projects are in a subdirectory of the parent

RE: changes to surefire output with testng

2008-02-12 Thread Jason Chaffee
Hmmm, the bug says it is fixed in 2.4.1 and it still produces a single suite file and single suite output to the console. I agree with you Benjamin, I don't think Dan understood the problem and thus didn't actually fix it. Instead, the fix was for the reporting. -Original Message- From:

RE: mvn site not generating correct link to child modules?

2008-02-12 Thread Edelson, Justin
I think you want the site:stage goal: http://maven.apache.org/plugins/maven-site-plugin/stage-mojo.html Justin From: Ed Hillmann [mailto:[EMAIL PROTECTED] Sent: Tue 2/12/2008 6:53 PM To: Maven Users List Subject: mvn site not generating correct link to child

RE: changes to surefire output with testng

2008-02-12 Thread Jason Chaffee
I am pretty familiar with testng code, so I would like to look into this further. Is it a correct statement to say that the output we are seeing on the console is coming directly from testng? -Original Message- From: Dan Fabulich [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 12,

Maven does not compile:org.codehaus.plexus:plexus-compiler-javac:jar:1.6-SNAPSHOT

2008-02-12 Thread krishnan.1000
Hi , I am a rookie using Maven. I have got this error. I have created this pom and I dont know what is causing this error. I looked at the forum but I did not understand what was being discussed%-O Please help me. Thanks, Karthik 1) org.codehaus.plexus:plexus-compiler-javac:jar:1.6-SNAPSHOT

Re: mvn site not generating correct link to child modules?

2008-02-12 Thread Ed Hillmann
On Feb 13, 2008 10:51 AM, Edelson, Justin [EMAIL PROTECTED] wrote: I think you want the site:stage goal: http://maven.apache.org/plugins/maven-site-plugin/stage-mojo.html Justin OK, I've renamed all my projects, so they don't contain spaces. So it completes. But the links are still

Re: mvn site not generating correct link to child modules?

2008-02-12 Thread Ed Hillmann
I still can't get it to work (using site:run), but I noticed something odd. When the files are staged, the Name of the child Project is used as the name of the subfolder. So, after running site:stage, I can see /parentDirectory/name of child project When I say name, I mean the value in the

Maven Resources Plugin Windows path \\ parsing problem

2008-02-12 Thread nodje
I'm using Filters on Resources. Some variables are path to files and in some case these are Windows path containing '\\' occurrences (as this is the way java.io.File recognize Windows paths). Resources plugin parses those and replace the ${} variables, but it transforms '\\' into single '\' I

Re: Maven does not compile:org.codehaus.plexus:plexus-compiler-javac:jar:1.6-SNAPSHOT

2008-02-12 Thread Wayne Fay
The reason it is failing is because you are trying to utilize SNAPSHOT artifacts and yet you have not configured a Snapshot repository in your pom.xml. It looks like you're trying to compile Maven itself, or something along those lines? Why are you doing this? This is generally something that

Re: mvn site not generating correct link to child modules?

2008-02-12 Thread Ed Hillmann
I think you want the site:stage goal: http://maven.apache.org/plugins/maven-site-plugin/stage-mojo.html Justin Thanks for the help, Justin. I've tried running mvn site:stage, and it fails with the error Embedded error: Error rendering Maven report: Exit code: 1 - /bin/sh:

RE: MAVEN-JAR-PLUGIN

2008-02-12 Thread Matthew Shaw
Forget this last post. I was trying to include integration tests in the same module and that was a bad idea. -Original Message- From: Matthew Shaw [mailto:[EMAIL PROTECTED] Sent: Wednesday, 13 February 2008 11:37 AM To: Maven Users List Subject: MAVEN-JAR-PLUGIN Hi there, I am

Re: Nexus repository manager

2008-02-12 Thread Jason van Zyl
On 12-Feb-08, at 2:30 PM, Brett Porter wrote: Nexus is a commercial product from Sonatype, so you should probably contact them via their website for more information. There will be a commercial version, yes. But the version of Proximity that we started with that is much improved will be

MAVEN-JAR-PLUGIN

2008-02-12 Thread Matthew Shaw
Hi there, I am trying to configure the maven-jar-plugin test-jar goal to use a different source folder for the test classes. Here is my config in the build section of my pom. It does not seem to be having any effect. plugin groupIdorg.apache.maven.plugins/groupId

RE: changes to surefire output with testng

2008-02-12 Thread Dan Fabulich
Jason Chaffee wrote: Hmmm, the bug says it is fixed in 2.4.1 and it still produces a single suite file and single suite output to the console. I agree with you Benjamin, I don't think Dan understood the problem and thus didn't actually fix it. Instead, the fix was for the reporting.

Re: Deployment fails with continuum

2008-02-12 Thread Emmanuel Venisse
You should try an other version of the wagon-webdav extension. We use this for our codehaus deployment: extensions extension groupIdorg.apache.maven.wagon/groupId artifactIdwagon-webdav/artifactId version1.0-rc1-SNAPSHOT/version /extension /extensions

changes to surefire output with testng

2008-02-12 Thread Jason Chaffee
Surefire-2.3.1 used to output which test was running and it would create an output file for each test. For example, [INFO] [surefire:test] [INFO] Surefire report directory: /usr/local/hudson/workspace/common/common/management/target/surefire-rep orts

Re: Nexus repository manager

2008-02-12 Thread Brett Porter
Nexus is a commercial product from Sonatype, so you should probably contact them via their website for more information. If you are interested in snapshot cleanup that works today, you might try Archiva: http://maven.apache.org/archiva/ :) Cheers, Brett On 13/02/2008, Hayes, Peter [EMAIL

RE: Local Maven repository. Newbie question...

2008-02-12 Thread simon
Hi JG, You should use a real operating system :-) All that stuff about creating a settings.xml file is optional advanced stuff. By the time you need to create that file you should already have run maven quite a few times, so the .m2 directory will already exist. Well, unless you are behind a

RAD7 / Portal6 hot redeploy fails with Maven2 layout

2008-02-12 Thread Guillaume Bilodeau
Hi all, This question is mostly for the Eclipse plugin guys - sorry if this isn't the right place. We are developing a portal application using RAD7 and deploying it on IBM WebSphere Portal 6. It seems that after switching a project's directory structure to the Maven2 layout, hot deployment

RE: Local Maven repository. Newbie question...

2008-02-12 Thread Allen, Daniel
I'm not sure what's going on... The first time I ran maven 2, it autocreated both the .m2/repository directory and the .m2/settings.xml file. Both empty, but just present is sufficient if nothing needs to be in them yet. Have you tried to run Maven and found that it crashes? Or are you just

Re: Local Maven repository. Newbie question...

2008-02-12 Thread Wayne Fay
Dan is correct. You can run mkdir .blah and rmdir .blah from DOS, its just Windows Explorer that prevents it from working. Wayne On 2/12/08, Allen, Daniel [EMAIL PROTECTED] wrote: Not saying for sure that this is what's going on, but in my experience it seems like XP only makes that complaint

RE: Local Maven repository. Newbie question...

2008-02-12 Thread Allen, Daniel
Not saying for sure that this is what's going on, but in my experience it seems like XP only makes that complaint if *you* try to name a folder that, while automated processes can get away with it. That is, the check is only part of the UI, not an actual file system rule. I'm developing on XP, and

Re: Javadoc:jar error: Not executing Javadoc as the project is not a Java classpath-capable package

2008-02-12 Thread Ryan H.
I understand that. Unfortunetaly, we have such need for the customers on the legacy ground. If it's not recommended, how come maven javadoc plug-in page advocates this usage. Please see: http://maven.apache.org/plugins/maven-javadoc-plugin/examples/aggregate.html On 2/12/08, VUB Stefan Seidel

Local Maven repository. Newbie question...

2008-02-12 Thread JG Flowers
Reading Better Builds with Maven. from Devzuz It says on page 32 When you install and run Maven for the first time, it will create your local repository and populate it with artifacts as a result of dependency requests. By default, Maven creates your local repository in user_home/.m2/repository.

Includes override excludes? [war plugin]

2008-02-12 Thread Allen, Daniel
Hi. I've been working with Maven and Struts2 to put together a web application, and I noticed something odd. With the POM below, I end up with two copes of tiles-def.xml and struts.xml. One is in WEB-INF/classes where it needs to be, but the other is at the level above, in WEB-INF. Have I done

RE: Maven2Eclipse with multi-module projects?

2008-02-12 Thread Clifton
Thanx Chris, I'm going to try this out tonight. I'm not sure I understand the import/disconnect and connect thing, though. Do you checkout from Eclipse or the Command line? If from Eclipse then I assume all of the folders come down at once? Is this where you disconnect the children and check

Re: Maven2Eclipse with multi-module projects?

2008-02-12 Thread Clifton
Thanx for such quick replies! In Q4E the only thing I see in the prefeneces pages is the ability to configure src/java-doc downloads as well as archetype url stuff. I need the ability to point it to a team-shared settings.xml or at least unconstrained ability to configure all of the options that

Re: Surefire not picking up tests from test-jar

2008-02-12 Thread Dan Fabulich
Stephen Connolly wrote: Has anybody tried running a test-jar with Surefire 2.4.1? It's not picking up any of our unit tests from the test jar. We're using JUnit 4.4 (but the tests in the test jar are all JUnit 3.8.1) It's picking up the unit tests from src/test/java fine, but we have

Deployment fails with continuum

2008-02-12 Thread Corbin, Keith
I can deploy successfully using Maven however, when trying to deploy with continuum it always fails with an error [INFO] Error deploying artifact: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav. I am trying to deploy by changing the build target too

RE: Includes override excludes? [war plugin]

2008-02-12 Thread Allen, Daniel
Apologies for the mangled XML formatting... MS Outlook = :( -Original Message- From: Allen, Daniel Sent: Tuesday, February 12, 2008 1:31 PM To: Maven Users List Subject: Includes override excludes? [war plugin] Hi. I've been working with Maven and Struts2 to put together a web

dependency:unpack vs. eclipse:eclipse

2008-02-12 Thread Michael Heß
Hi list, I've been searching and fiddling around all day, with no success so far. So this is my only hope of finding an answer. My basic setup looks like the following: I have an artifact which creates a ZIP-assembly. Lets call it artifact-resources.zip Furthermore I have anotherArtifact which

Re: commons-digester version conflicts

2008-02-12 Thread Alexandre Nshimiyimana
The version resolve problems Hello, I get this error [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Couldn't find a version in [1.6] to match range [1.7,)

Re: Maven2Eclipse with multi-module projects?

2008-02-12 Thread Carlos Sanchez
Eclipse is quite limited for multiprojects http://code.google.com/p/q4e/wiki/ImportingMultiprojects In Q4E you can configure the settings.xml in the Preferences. There's no need to point to an external maven installation as it is already included in the plugin On Feb 12, 2008 7:02 AM, Clifton

Re: Cargo Remote Deploy trouble....

2008-02-12 Thread Daniele De Francesco
Hi Stefan, I thank you so much for the fast response...I've the answer at last I wrote the plugin config badlydumb dumb dumb :-) I wrote configuration type${configuration.type}/type properties

commons-digester version conflicts

2008-02-12 Thread Alexandre Nshimiyimana
Hello, I get this error [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Couldn't find a version in [1.6] to match range [1.7,) commons-digester:commons-digester:jar:null My pom.xml contains this

RE: Multi-Modules and classifier dependencies

2008-02-12 Thread Allen, Daniel
No idea from just what you've provided here. Perhaps you could upload your POMs to the web and so we could take a look? -Original Message- From: Saloucious [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 12, 2008 11:02 AM To: users@maven.apache.org Subject: Re: Multi-Modules and

Sub modules don't find parent pom

2008-02-12 Thread ewryan
I am having trouble getting Continuum to successfully build my multi-module maven2 project. My project structure is as follows: --Root --pom.xml (parent) --moduleA --pom.xml --moduleB --pom.xml --moduleC

RE: dependencyManagement and conflicts

2008-02-12 Thread Brian E. Fox
Yes. I think it was mng-1577 that made this intentional change. The dependencyManagement overrides the transitive versions. Dependency:analyze-dep-mgt can help you detect these conflicts later. -Original Message- From: Benoit Decherf [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 12,

Re: Site stagingSiteURL (2.0-beta-6)

2008-02-12 Thread Andrew Hughes
For anyone who is looking for the *solution* here you go... project . build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-site-plugin/artifactId version2.0-beta-6/version

RE: Maven Concepts

2008-02-12 Thread nicklist
The modules section is only used when building an aggregate project. It is not used for dependencies in any way. If submodule b uses submodule a, you have to give submodule b a dependency on submodule a. If multiple submodules depend on submodule a, you can have submodule a in the

Re: Force snapshots to update always?

2008-02-12 Thread Simon Kitching
Jon Anning [EMAIL PROTECTED] schrieb: Is there a way of setting the behaviour of the -U (--update-snapshots) switch to be the default when running mvn? Or do I have to set the updatePolicy element to be true for each given repository? export MAVEN_OPTS=-U

RE: Force snapshots to update always?

2008-02-12 Thread Dave Hoffer
Jon, Option I am aware of are: 1. Pass the -U option in the build script of your CI server. 2. Set the updatePolicy in your proxy server for all users. 3. Modify the batch/shell script used to launch maven. -Dave -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Re: Multi-Modules and classifier dependencies

2008-02-12 Thread Saloucious
Any ideas ? Saloucious wrote: Hi, Here is an multi-module example : project-parent/ module1/ module2/ The module1 generates 2 artifacts, one with classifier client. The module2 depends on this artifiact client. When I run : mvn install from project-parent, during

Re: Copy artifact failes, due to source and target size not equal

2008-02-12 Thread Francois Fernandes
Hi Simon, Just one suggestion: you don't have multiple maven builds running concurrently with the same user do you? As far as I know, a maven local repository can only be used by one maven instance at a time. thanks for pointing me to this. Indeed we have multiple maven instances running

RE: cannot download from internalö repository [Viru s checked]

2008-02-12 Thread Brown, Carlton
The very first problem I had with creating my own repository was that no user roles were assigned by default. I was getting HTTP 401 errors hidden in the output. So either you need to supply a valid username/password, or assign the Archiva guest user the appropriate security roles (observer,

Force snapshots to update always?

2008-02-12 Thread Jon Anning
Afternoon all, Is there a way of setting the behaviour of the -U (--update-snapshots) switch to be the default when running mvn? Or do I have to set the updatePolicy element to be true for each given repository? Cheers, - Jon Anning

Re: Site stagingSiteURL (2.0-beta-6)

2008-02-12 Thread Dennis Lundberg
Andrew Hughes wrote: Howdy, I can't see any documentation indicating where/if I can put a stagingSiteURL inside the pom.xml (distrobutionManagement). http://maven.apache.org/plugins/maven-site-plugin/stage-deploy-mojo.html#stagingSiteURL Could anyone provide me with an usage example from a

inherit verifications file

2008-02-12 Thread Ben Tatham
In the maven-verifier-plugin, is it possible to inherit a verifications file from a parent pom, without having to unpack the parent pom as a dependency in the child pom explicitly? I wish I could just define verification rules inside the configuration of the plugin in the parent pom, and then

RE: Best way to CI multi-module projects

2008-02-12 Thread Beelen, M. - SPLXL
I'm not 100% sure, but IMHO you can specify all the build seperately and then made the build-plan dependent on each other, so that CruiseControl known that when your Project B needs to be build, it will have to build project A first. If project A is already up to date, building it will be just

RE: Enforcer Plugin 1.0 release and requirePluginVersions rule

2008-02-12 Thread Brian E. Fox
The whole site and code has been refactored since the 1.0-alpha-3 release. The code used to be separate modules, but now it's all a subtree. This included the sites and everything, so technically the current site didn't exist in 1.0-alpha-3. --Brian -Original Message- From: Wendy Smoak

Junit report and surefire plugin

2008-02-12 Thread Bala Rajamani
Currently generating junit reports (*.txt and *.xml files) using maven-surefire-plugin. wondering is there way to display these reports in HTML format and a dash report within Maven? Thanks in advance, Bala.

RE: Maven2Eclipse with multi-module projects?

2008-02-12 Thread Chris Schmidt
I've gotten the project and submodules within eclipse by checking everything out to the filesystem then doing an Import -- Maven Project. A dialog should come up asking which modules to import into the workspace. The only issue I've found is eclipse can't handle the subversion configuration at

Re: including release zip file in generated site

2008-02-12 Thread Kalle Korhonen
We are doing exactly this. Our assembly is configured in a parent of a multi-module build, but not attached to a phase because of issues with assemblies and reactor builds. Assembly configuration is: plugin artifactIdmaven-assembly-plugin/artifactId

Maven2Eclipse with multi-module projects?

2008-02-12 Thread Clifton
Hello all, I am a devoted IntelliJ Idea user with Eclipse experience trying to get my team acclimated with Maven. I'm having trouble sharing a multi-module Maven project with my Eclipse brethren through Subversion. In Idea I can merely check out the project root folder and everything just works.

Re: Build number plugin drama

2008-02-12 Thread amit kumar
Yes clifton, the buildnumber plug in for me is working without mentioning the pluginrepositories. So in case you are not using it for anything else, you can remove it and try. Central should work, I tried before sending this mail and it worked (fetched buildnumber-maven-plugin-1.0-beta-1 from

Re: Profiles and resources

2008-02-12 Thread Clifton
My apologies. I do too much rambling late nights without getting to the point. Let me clarify. Making a distinction between production resources and development resources is important even outside of the idea of profiles. Consider the following: res | conf | | | mytemplate.xsl |

not able to deploy using webdav

2008-02-12 Thread Savita_p_m
Hi, I am getting following error while trying for site-deploy, I have configured job using hudson to run maven goals. Build extensions are mentioned in pom.xml and the repository has the wagon-webdav jars. However from command line it works properly where as it fails with the following error

Site Plugin 2.0-beta-6 site.xml Relative/Absolute URL's Disappearing href's

2008-02-12 Thread Andrew Hughes
Hi Gang, Im trialing the 2.0-beta-6 site plugin. The problem I am having is with the site.xml generated html during the stage-deploy goal. It does a few unexpected things: - href's for menu items are stripped, e.g. href=index.html just goes to the web root of the site (which is also

Re: Build number plugin drama

2008-02-12 Thread Clifton
Thanx everyone! I'm going to try the version on central. Does that mean I just need to remove the pluginrepository section from my pom? Let me just give that a go and I'll ping back if I get into further trouble. amit kumar-18 wrote: This is working for me as well plugin

Artifacts didnt download to archiva

2008-02-12 Thread Juergen Schumacher
Hi, I use Archiva 1.0.1 and maven 2.0.8. My maven build process wants to download a lib. i.e. http://myserver/archiva/repository/internal/org/codehaus/mojo/axistools-maven-plugin/1.1/axistools-maven-plugin-1.1.pom but I this doesnt work. No download and no caching, just nothing. On the

Re: Maven Concepts

2008-02-12 Thread amit kumar
Continuing on the dependency Vs dependencyManagement, I read the documents on it but after encountering the archetype:create for j2ee simple, I am not able to figure out what is the motive behind giving sub-modules of the project in the dependencyManagement section. Regards, Amit On Feb 12,

including release zip file in generated site

2008-02-12 Thread reviewer1000 reviewer1000
Hi, I'd be grateful for your help with the following. I'm able to automatically generate a site. I'm able to create a zipped archive of my release jars. I would now like the site to link to this archive so users can download the latest release of my library. I don't know how to do this. Do I

cannot use -Darchetype(GroupId/ArtifactId) with maven-archetype-plugin 2.0-alpha-1

2008-02-12 Thread Stefan Hübner
Hi everybody, does anybody experience the same issue like me since updating to the latest maven-archetype-plugin? I'm trying to create a new project by invoking e.g. (taken directly from http://mojo.codehaus.org/groovy/groovy-maven-archetype/index.html) mvn archetype:create \

cannot download from internalö repository [Virus checked]

2008-02-12 Thread Wolfgang . Schrecker
Hi all, having configured an company specific remote repository, I can not download any artifact from there. I can connect from a brower and inspect the repository. The only obvious difference is, there are just the pom and the jar, no metadata. Any ideas ? mit freundlichen Grüßen/best regards

Re: Multimodule application and exec pluggin

2008-02-12 Thread Clifton
Hi, Reading your question gave me insight to my issue. I'm no expert but I might have an idea for you to try. If I understand correctly, you need to bind the exec:exec goal to some normal build phase like install. Do this binding from within the appear pom then when you call that goal from the

maven-archetype-j2ee-simple Bug?

2008-02-12 Thread amit kumar
Hi, I have used archetype:create to create a simple J2ee Project. Though in the root pom, site is mentioned as one of the modules, but what I realised on looking up is that it doesn't gets created actually. And when you do mvn install it throws an exception telling maven is not able to find

Re: Missing 'scm' element in the POM.

2008-02-12 Thread Jan Nielsen
It turns out that subproj23 did not have a parent element. As a result Continuum spits out a missing 'scm' message; it's interesting that Maven from the CLI does not complain about this. It would be nice(r) if Continuum would identify which module caused the error. Want to see it yourself? Do

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

wher do we define maven properties ?

2008-02-12 Thread san84
hi, hello am beginner to maven tool am using maven 1.1 my q is . where these following properties hav been define. can we edit those? r they defind at respective plugin.properties maven.build.dest maven.build.dest maven.compile.log etc... wen i echoed all maven properties using

Re: Maven Concepts

2008-02-12 Thread amit kumar
Thanks Nick. I was unaware of that part. Configured the repository for snapshots and now it is working. Regards, Amit On Feb 12, 2008 3:16 PM, [EMAIL PROTECTED] wrote: How did you configure your repository? Especially take a look at the updatePolicy element in your snapshot repository. [1] If

Re: Cargo Remote Deploy trouble....

2008-02-12 Thread VUB Stefan Seidel
We use cargo.hostname123.42.23.2/cargo.hostname cargo.servlet.port8080/cargo.servlet.port Maybe that works. Stefan Daniele De Francesco wrote: Hi, I need to deploy an ear from my local repo to an alive and kickin' jboss 4.0.3SP1 remote installation...you'd say hey, man...MAVEN CARGO

Re: Best way to CI multi-module projects

2008-02-12 Thread amit kumar
Even with continuum I am doing the same. Adding the whole project as one( along with submodules) everything seems to work fine for me as well (by now :) ). Regards, Amit On Feb 12, 2008 7:00 PM, Milos Kleint [EMAIL PROTECTED] wrote: I have the whole multimodule setup built together in one job

Re: Best way to CI multi-module projects

2008-02-12 Thread Milos Kleint
I have the whole multimodule setup built together in one job (in hudson). Additionally I have a separate local repository for the job.. That turned out to work best for me.. Milos On Feb 12, 2008 2:14 PM, Chris Schmidt [EMAIL PROTECTED] wrote: I don't normally cross-post messages, but I'm not

Best way to CI multi-module projects

2008-02-12 Thread Chris Schmidt
I don't normally cross-post messages, but I'm not certain which list is the best for this question. If this breaks an etiquette rule, I apologize. I have a handful of maven2 multi-module projects that I have configured to continuously integrate within CruiseControl. Currently I have each

RE: Profiles and resources

2008-02-12 Thread Jörg Schaible
[EMAIL PROTECTED] wrote: Hi, i am struggeling with profiles and resources. I have src/main/resources/application.properties src/main/dev-resources/application.properties my profiles in pom.xml profiles profile idproduction/id

  1   2   >