solved Re: archiva setup question as repository

2007-12-14 Thread Mick Knutson
It seems I do not need dav:*url* in my . Sorry On Dec 14, 2007 5:44 PM, Mick Knutson <[EMAIL PROTECTED]> wrote: > I have my archiva defined in my pom.xml: > > > > dap.internal > DAP Managed Internal Repository > > http://rc-sun66e.ut.dentegra.lab

archiva setup question as repository

2007-12-14 Thread Mick Knutson
I have my archiva defined in my pom.xml: dap.internal DAP Managed Internal Repository http://rc-sun66e.ut.dentegra.lab:8081/archiva/repository/internal/ true false

Re: Building war with multi-module classes and no module jars

2007-12-14 Thread bayamos
OK, here's the situation. The JIBX bytecode enhancer modifies classes across multiple modules and it has to work this way because of dependencies between the classes. This is executed with a process-classes phase after all the jars are built, but before the war is built. Since all the jars are

Continuum and SSO

2007-12-14 Thread Arnaud Bailly
Hello, I would like to use continuum (and archiva) in a tomcat container behind an Apache, and I would like to delegate the authentication to the apache httpd. I think this is possible with tomcat using Ajp13 connector and some configuration, but I wonder how I can handle this in continuum. Rega

Re: [M2] Reproducible build

2007-12-14 Thread Rob Hasselbaum
Comparing hashes (MD5 or SHA1) will definitely tell you whether two files are identical, but it won't tell you what the differences are. However, you could write a script that processes the output of "jar -tv" or "unzip -lv" and spits out the differences. The latter tool ("unzip" from www.info-zip.

Re: [M2] Reproducible build

2007-12-14 Thread Aaron Metzger
Rémy Sanlaville wrote: Hi, I would like to make sure that my project build is reproducible. For instance, I want to be sure that I can package again a tagged version. So I am looking for a tools that can compare two package (two jar, two war, two ear...) and eventually shows the potential diffe

Re: [m2][c1.1] How to run dashboard in Continuum?

2007-12-14 Thread Mick Knutson
I did check the build fresh on all 3 items but still only the 1st (default) task is run. Nothing else... On Dec 12, 2007 12:21 AM, dvicente <[EMAIL PROTECTED]> wrote: > > This bug should have been corrected since Continuum 1.0.3. > > Have you used the "build fresh" checkbox ? i think it's used to

Re: Wacky Duplicate Path Problem

2007-12-14 Thread Dan Tran
release plugin never work with cygwn's svn ( at least in my case), switch non cygwin version never a problem. -D On Dec 14, 2007 10:54 AM, Harper, Brad <[EMAIL PROTECTED]> wrote: > Hi: > > I've suddenly been hit by the problem described at > > http://jira.codehaus.org/browse/SCM-213 > > when ru

Wacky Duplicate Path Problem

2007-12-14 Thread Harper, Brad
Hi: I've suddenly been hit by the problem described at http://jira.codehaus.org/browse/SCM-213 when running the 'release:prepare release:perform' goals. The svn command-line client fails when receiving an argument containing duplicate paths using two different conventions: one cygwin, the ot

[M2] Reproducible build

2007-12-14 Thread Rémy Sanlaville
Hi, I would like to make sure that my project build is reproducible. For instance, I want to be sure that I can package again a tagged version. So I am looking for a tools that can compare two package (two jar, two war, two ear...) and eventually shows the potential differences. Do you know if a

Re: license-report

2007-12-14 Thread Dennis Lundberg
Julien Graglia wrote: If i'm right, maven-remote-resources-plugin just allow to include some "bundles" in all generated ja : it can be used to include a LICENSE or NOTICE file. But I think that Andreas is looking for a plugin that will generate a "License reports" listing all licenses used in

[M2] multi-modules vs multi-projects

2007-12-14 Thread Rémy Sanlaville
Hi, I am looking for some criteria in order to can decide how to organized my project. For instance, I want to produce three artifacts a.jar, b.jar and c.war. I can organized my project in different ways : 1) Multiple Projects project A => a.jar project B => b.jar project C => c.war

Re: Using componentDescriptors with a multi-module assembly

2007-12-14 Thread Westfall, Eric Curtis
Right, I tried the following: standalone war path/to/component.xml false ... false WEB-INF/lib The problem is that the jar excludes don't appear to be applied when packaging up the binaries from within the module sets. In

RE: Issue with jspc-maven-plugin - specifying uriroot

2007-12-14 Thread Matthew Tordoff
Hi Murali, I think that this is a problem relating to the : - Have you checked that the is an existing directory? - I also read somewhere that you also might have to specify the starting with ${basedir}/ Please let me know if either of these solutions help. Regards, Matt -Original Messa

Re: Building war with multi-module classes and no module jars

2007-12-14 Thread Tomislav Stojcevich
maven isn't really setup to be able to "reach into" other projects, to use artifacts created in other projects, you should go through jars via the repo You can however still do it by using the antrun plugin and ant's copy target with relative referencing "../project-a/target/classes", but doing s

Re: own plugin without need for pom.xml

2007-12-14 Thread Peter Fischer
Hello, next question? ;) The DeployFileMojo uses a method getDeployer() of the AbstractDeployMojo class; I also tried to extend the AbstractDeployMojo class, but now getDeployer() returns only null. What do I wrong? regards, Peter -- View this message in context: http://www.nabble.com/own-pl

Re: Building war with multi-module classes and no module jars

2007-12-14 Thread bayamos
Thanks for the reply. What I would like to be able to do is copy the classes from from the other modules target/classes directories into the war's target/classes directory. I would also like to stop the package phase of the jars since I will not be using them and make the build go faster. It is

Issue with jspc-maven-plugin - specifying uriroot

2007-12-14 Thread S.Murali
Hi, I using jspc-maven-plugin pre-compile my JSP in a war packaged module. I am using following plugin configuration org.codehaus.mojo.jspc jspc-maven-plugin check-jsp-source process-sources compile

Re: Errror while running the target mvn:archetype

2007-12-14 Thread Wayne Fay
You need to specify what archetype to use. I'd guess you want to use maven-archetype-simple or maven-archetype-quickstart. Here's a list: http://maven.apache.org/plugins/maven-archetype-plugin/ and http://docs.codehaus.org/display/MAVENUSER/Archetypes+List Here's the full command: mvn archetype:c

[c-1.1] Anyone have Activa and CI running on the same Tomcat instance?

2007-12-14 Thread Mick Knutson
I have been trying for a few hours now. I can get Continuum.war with a Derby DB running. But then when I add Activa.war I either be *no trace at all*when I use the same user datasource as CI: ** or when I run a different Datasource like: ** SEVERE: Null component Catalina:type=JspMonitor

Resolving snapshot filenames from Mojo

2007-12-14 Thread ewhauser
Hi, I wrote a Mojo that generates a wrapper.conf file for installing ActiveMQ as a service. One of the things it generates is the class path: wrapper.java.classpath.1=../lib/wrapper.jar wrapper.java.classpath.2=../lib/activemq-all-5.0-SNAPSHOT.jar wrapper.java.classpath.3=../lib/activemq-core-5

Re: maven2 release plugin - no dependencies update

2007-12-14 Thread Tomislav Stojcevich
http://maven.apache.org/general.html#plugin-version - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: maven2 release plugin - no dependencies update

2007-12-14 Thread Tomasz Zieleniewski
But this way I will loose tha independence of submodule version agains main project version:/ how can I check wich version is acctualy used?? On Dec 14, 2007 3:49 PM, <[EMAIL PROTECTED]> wrote: > Looking at central, I see beta-7 is already there, so you don't have to > use snapshot. > > Maybe if

Re: [c-1.1] Need to understand hot to set MyProject_HOME for continuum

2007-12-14 Thread Tomislav Stojcevich
i see, i had a similar issue. projects are independent and should not 'reach into' each other. to use common stuff, jar them up in one project, install them into your repo, then in the other projects you can add as a dependency or use the unpack goal of the dependency plugin to explode them into

Re: Using componentDescriptors with a multi-module assembly

2007-12-14 Thread Mick Knutson
In you assembly descriptor: src/assemble/reusable-component.xml On Dec 14, 2007 7:28 AM, Westfall, Eric Curtis <[EMAIL PROTECTED]> wrote: > (sent this earlier but I don't think it made it through so I apologize if > this reaches the list twice) > > Hello, I'm attempting to

Re: [c-1.1] Need to understand hot to set MyProject_HOME for continuum

2007-12-14 Thread Mick Knutson
This variable is set for several different modules to use the same common base for tests files. So '.' would assume that I am copying them over to each module in my tree. When there is actually only one copy. On Dec 14, 2007 7:30 AM, Tomislav Stojcevich <[EMAIL PROTECTED]> wrote: > Can't you jus

Re: [c-1.1] Need to understand hot to set MyProject_HOME for continuum

2007-12-14 Thread Tomislav Stojcevich
Can't you just use . for "current directory" instead of a variable? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Using componentDescriptors with a multi-module assembly

2007-12-14 Thread Westfall, Eric Curtis
(sent this earlier but I don't think it made it through so I apologize if this reaches the list twice) Hello, I'm attempting to figure out how to use a componentDescriptors element with one of my assemblies for a multi-module project and I'm having some trouble. My original assembly looked like:

FOUND SOLUTION Re: Proxying SNAPSHOT repositories

2007-12-14 Thread gumnaam23
Found the problem. The culprit seems to be Maven 2.0.7+. It has problems with SNAPSHOT dependency resolution with mirrorOf set tp *. The solution is outlined here. http://www.jfrog.org/sites/artifactory/latest/maven.html I did as the post suggested and it worked. May be this should end up on the

Re: [c-1.1] Need to understand hot to set MyProject_HOME for continuum

2007-12-14 Thread Mick Knutson
No one can help me out here? On Dec 13, 2007 5:56 PM, Mick Knutson <[EMAIL PROTECTED]> wrote: > In my normal Manen build, I have a variable called MyProject_HOME set to * > C:\opt\MyProject* and I use that throughout my build. Now I want to > understand where to set that in order to still run Con

Re: own plugin without need for pom.xml

2007-12-14 Thread Peter Fischer
Hello, I use maven as build-tool and need many not mavenized equinox-bundles in an internal project (gmf, ...). Upgrading to a new version of this set of bundles is much stupid work. struberg wrote: > > Peter, just out of curiosity: How do you decide which groupId, artifactId > and versionId y

Re: Profiles and filtering - global files

2007-12-14 Thread Mick Knutson
You could make a system variable PROJECT_ROOT other than that I don't know. On Dec 13, 2007 11:56 PM, heimlich <[EMAIL PROTECTED]> wrote: > > Thanks a lot, Mick. That ought to do the trick. One question though, is > there > any way to avoid having a hardcoded path as projectRoot? What I'm looking

RE: maven2 release plugin - no dependencies update

2007-12-14 Thread nicklist
Looking at central, I see beta-7 is already there, so you don't have to use snapshot. Maybe if you try it this way: > > >group >sub1 >${pom.version} >provided > > Hth, Nick Stolwijk -Original Message- From: Tomasz Zieleniewski [mailto:[EMAIL PROTECTED] Sent: Fri

Re: maven2 release plugin - no dependencies update

2007-12-14 Thread Tomasz Zieleniewski
Hi, what is the vesion tag for the snapshot version?? regards tomasz On Dec 14, 2007 10:22 AM, <[EMAIL PROTECTED]> wrote: > If I recall correctly, the updateDependencies option was added recently. > As you see in the plugin page, it is for a snapshot version. Perhaps you are > using a stable ve

provided dep + tomcat:deploy + performRelease = "package XXX does not exist"

2007-12-14 Thread Alexandre Gomes
I'm not sure if I found a bug in tomcat-maven-plugin or if it's an expected behaviour [1]. 1) Create a project with a "provided" scoped dependency [2] 2) Try to execute tomcat:deploy with -DperformRelease=true [3] 3) During the javadoc:jar phase, a warning is raised [4] [1] http://mojo.codehaus.

Re: maven2 release plugin - no dependencies update

2007-12-14 Thread Tomasz Zieleniewski
Hi, releaseManagement ?? where is it? You mean pluginManagement?? I tried plugin management but tha same the version number was not changed in the main pom Regards Tomasz On Dec 14, 2007 10:17 AM, maarten roosendaal <[EMAIL PROTECTED]> wrote: > try using the releaseManagement tags in you root p

Proxying SNAPSHOT repositories

2007-12-14 Thread gumnaam23
I have setup Archiva Managed Internal Repository as my whole and sole mirror in my settings.xml. The settings.xml does not contain any other repository information, just the mirror entry . The Archiva Manged Internal Repository is set to proxy 4/5 external repositories, One of which contains cert

Re: Building war with multi-module classes and no module jars

2007-12-14 Thread Tomislav Stojcevich
You can use the dependency:unpack http://maven.apache.org/plugins/maven-dependency-plugin/unpack-mojo.html to unpack the classes from the jars. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PR

Cannot use archiva browse function after 2 days running

2007-12-14 Thread Julien CARSIQUE
Hello, Sorry for the precedent message with subject from another thread. We use Archiva 1.0. I have to restart it every one or two days; if not, archiva becomes unstable : * main page and admin section are accessible and work fine, * archiva/browse/ function is dead : Proxy Error

RE: [assembly] add all dependency jars to lib folder in a "bin" assembly

2007-12-14 Thread Richard Chamberlain
You'll need the manifest file to put "lib/" in front of all of its classpath declarations. 4.0.0 groud.id artefactid artefactid 1.0-SNAPSHOT org.apache.maven.plugins maven-jar-plugin

RE: FATAL ERROR on release:prepare with a super-pom

2007-12-14 Thread nicklist
This is deep down in the maven-release code, so no, you don't have to adjust it. Why are you using relativePath? If you remove it and do a mvn install the super pom is copied to your local repository and found from there. With regards, Nick Stolwijk -Original Message- From: javijava [m

RE: FATAL ERROR on release:prepare with a super-pom

2007-12-14 Thread javijava
>De code at the linenumber is: > if ( trunkPath.endsWith( "/" ) ) { trunkPath = trunkPath.substring( 0, trunkPath.length() - 1 ); } if ( tagPath.endsWith( "/" ) ) { tagPath = tagPath.substring( 0, tagPath.length() - 1 ); } >

RE: FATAL ERROR on release:prepare with a super-pom

2007-12-14 Thread nicklist
De code at the linenumber is: if ( trunkPath.endsWith( "/" ) ) { trunkPath = trunkPath.substring( 0, trunkPath.length() - 1 ); } if ( tagPath.endsWith( "/" ) ) { tagPath = tagPath.substring( 0, tagPath.length() - 1 ); } Which

FATAL ERROR on release:prepare with a super-pom

2007-12-14 Thread javijava
Hi folks, I'm trying to do a mv nrelease:prepare from a super-pom that have a lsit of proyects i want to release to the same version.. All was runing fine,asking the new version, the SCM TAG ..but just after this i have a "FATAL ERROR" : java.lang.ArrayIndexOutOfBoundsException: 37 at ...shared

RE: Refresh local repository SNAPSHOTS every morning

2007-12-14 Thread Mark Struberg
Thomas, do you know what exactly causes the time delays? Your own snapshots or the snapshots you take from external repositories? for the 2nd case there is another option for you: What if you use a maven-proxy for your company? This way only the first guy in the morning (or much better the crui

RE: Unable to remove maven default build definition

2007-12-14 Thread Pallavi.Satish
You can not delete that and you may find it very useful as well. Just try running it once. It will make your build faster. Regards Pallavi. -Original Message- From: Ingo Siebert [mailto:[EMAIL PROTECTED] Sent: Friday, December 14, 2007 2:10 PM To: [EMAIL PROTECTED] Subject: Unable to re

RE: Wrong running state

2007-12-14 Thread Pallavi.Satish
You may restart your continuum and the try to delete that. Some time as noticed by me if your build is taking time, try running default maven2 buildDefinition(you will have this under Project Information tab) first and then your usual build definition it may help. Regards Pallavi -Original

RE: maven2 release plugin - no dependencies update

2007-12-14 Thread nicklist
If I recall correctly, the updateDependencies option was added recently. As you see in the plugin page, it is for a snapshot version. Perhaps you are using a stable version, which does not have this option included yet. As far as I know, the updateDependencies option is just what you need. With

Re: maven2 release plugin - no dependencies update

2007-12-14 Thread maarten roosendaal
try using the releaseManagement tags in you root pom.xml, that way you will not have to define a version (and/or groupId) in the pom.xml's of the children. Works perfectly for me. Regards, Maarten - Original Message From: Tomasz Zieleniewski <[EMAIL PROTECTED]> To: users@maven.apache.o

RE: [assembly] add all dependency jars to lib folder in a "bin" assembly

2007-12-14 Thread Richard Chamberlain
My assembly build does not include the main artefact in lib. Here's more of how I package up: kit zip ... Other resources to copy ... target *.jar /lib false

how to set subversion authentication information into settings.xml (instead of writing it into project pom)

2007-12-14 Thread Fred Zhang
Hi there, I'm working on configuring maven-scm plugin to use maven to do daily update/commit jobs. A problem is that I don't want to write my authentication information (username/password) into the project pom file (otherwise it will be shared through subversion). Neither want I use subversion

Building war with multi-module classes and no module jars

2007-12-14 Thread bayamos
I have a multi-module war project that currently creates a jar per module, then the jars of the jar modules are copied to WEB-INF/lib using the normal semantics for the war plugin. I am using the maven-jibx-plugin and would like to copy the classes generated from the non-war modules into the war'

maven2 release plugin - no dependencies update

2007-12-14 Thread Tomasz Zieleniewski
Hi, I have following problem. I have a main maven project of the pom type which consists of 4 subprojects of the type jar. Two of my subprojects have dependency on the two previous ones. When I invoke mvn release:prepare -D dryRun=true everything works fine except that the dependencies from two la

Re: [m2] issue activating profiles.

2007-12-14 Thread sherai
I have run into a similar problem. I fixed it by setting each profile to false, like * dev- false dev- no-documentation dev-7778 f