mojo use case of '@execute phase=xxx'?

2009-10-20 Thread aldana
xecuting a parallel lifecycle and creating a new property ${executedProject}? is ${executedProject} the mutable pendant to ${project}? could you name some uses cases and when a plugin should use this option (afaik jetty-plugin is using such a @execute phase). ----- manuel aldana aldana((at))gmx.d

Re: 'Invalid or missing parameters' problem when running plugin

2009-10-20 Thread aldana
ok, i got one step further. ${executedProject} is injected by plexus and related to the @execute mojo tag. adding it made the ${executedProject} available. see also http://www.docjar.com/docs/api/org/apache/maven/plugin/AbstractMojo.html under execute entry. aldana wrote: > > hi, >

Re: 'Invalid or missing parameters' problem when running plugin

2009-10-20 Thread aldana
se. How can I find out where certain property settings is coming from or what plugin was setting it (could not see anything through 'mvn -X -e')? thanks. aldana wrote: > > hi, > > i am using mojo-executor extension > (http://code.google.com/p/mojo-executor/) which i u

'Invalid or missing parameters' problem when running plugin

2009-10-16 Thread aldana
cannot find the ${project} parameter doesn't it? - manuel aldana aldana((at))gmx.de software-engineering blog: http://www.aldana-online.de -- View this message in context: http://www.nabble.com/%27Invalid-or-missing-parameters%27-problem-when-running-plugin-tp25933885p25933885.html Sent

existing plugin running-mode convention (fork vs in-process mode)?

2009-10-14 Thread aldana
plugin documentation. - manuel aldana aldana((at))gmx.de software-engineering blog: http://www.aldana-online.de -- View this message in context: http://www.nabble.com/existing-plugin-running-mode-convention-%28fork-vs-in-process-mode%29--tp25896696p25896696.html Sent from the Maven - Users

custom plugin combining/calling up other plugins

2009-10-14 Thread aldana
plugin configuration should be easier to read as fiddling/workaround/hacking around with configurations. what is the best practice to call other plugins in a custom plugin? do i add these two other plugins as dependency and just call them up in plugin-code? thanks thanks. - manuel aldana aldana

yui-compressor plugin: config-option to preserve comments + license text

2009-07-21 Thread aldana
hi, looking at http://alchim.sourceforge.net/yuicompressor-maven-plugin/compress-mojo.html I cannot find an option to preserve javascript or css comments (for licensing info reasons). has somebody found a way to preserve this info? thanks. - manuel aldana aldana((at))gmx.de software

Re: passing through -D params from CLI to other plugins

2009-06-26 Thread aldana
properties being passed through > > Sent from my [rhymes with myPod] ;-) > > On 24 Jun 2009, at 22:49, aldana wrote: > >> >> I also think this would be a nice enhancement. >> >> You mentioned filing JIRA ticket against surefire-plugin, but isn't >>

Re: how to generally skip pre and post-integration test phase

2009-06-26 Thread aldana
Wayne Fay wrote: > >>>> unfortunately jetty plugin does not offer a skip parameter itself. > > You could also work with the Jetty plugin people to add a skip > parameter... > > Wayne > > Filed a ticket: http://jira.codehaus.org/browse/JETTY-1051. --

Re: how to generally skip pre and post-integration test phase

2009-06-26 Thread aldana
-D options: skip.integration.test false ... - aldana wrote: > > > > Wendy Smoak-3 wrote: >> >> On Thu, Jun 25, 2009 at 7:41 AM, aldana wrote: >> >>> I am controllin

Re: Very weird jetty-plugin behaviour (excluding plugin dependency when run from parent module)

2009-06-25 Thread aldana
child module. I would expect the opposite. aldana wrote: > > I checked out a newer version of jetty plugin > (http://repo1.maven.org/maven2/org/mortbay/jetty/jetty-maven-plugin/7.0.0.1beta2/). > The problem is gone there. > > It seems that my problem is a bug of j

Re: Very weird jetty-plugin behaviour (excluding plugin dependency when run from parent module)

2009-06-25 Thread aldana
I checked out a newer version of jetty plugin (http://repo1.maven.org/maven2/org/mortbay/jetty/jetty-maven-plugin/7.0.0.1beta2/). The problem is gone there. It seems that my problem is a bug of jetty plugin 6.1.18. aldana wrote: > > hi, > > my setting is as follows: >

Very weird jetty-plugin behaviour (excluding plugin dependency when run from parent module)

2009-06-25 Thread aldana
t from the parent module? It is a real miracle because the reactor itself should do nothing as also descending to the webapp/ folder and run the maven command. thanks. ----- manuel aldana aldana((at))gmx.de software-engineering blog: http://www.aldana-online.de -- View this message in cont

Re: how to generally skip pre and post-integration test phase

2009-06-25 Thread aldana
Wendy Smoak-3 wrote: > > On Thu, Jun 25, 2009 at 7:41 AM, aldana wrote: > >> I am controlling running integration-tests by setting a property >> skip.integration.test (easier as setting up an integration test profile). >> >> problem is that I also want to ski

how to generally skip pre and post-integration test phase

2009-06-25 Thread aldana
jetty plugin does not offer a skip parameter itself. is there a way to tell maven to skip a certain execution phase by a parameter? thanks - manuel aldana aldana((at))gmx.de software-engineering blog: http://www.aldana-online.de -- View this message in context: http://www.nabble.com/how-to

Re: Manual Steps for Integrating Maven with Eclipse...

2009-06-24 Thread aldana
aven-eclipse-plugin automates that for you. > Yes, doing 'mvn eclipse:eclipse' is quite reliable and currently the best way to import maven-projects to eclipse. Are you sure that you use eclipse 3.1? It is definetely outdated, current version is 3.4. - manuel aldana aldana((at))gmx.d

Re: passing through -D params from CLI to other plugins

2009-06-24 Thread aldana
ed through in the first > place > > perhaps you could file a JIRA for such an enhancement > > -Stephen > > P.S. file it against surefire... i'll be picking up all changes to > maven-surefire-plugin and applying them to failsafe-maven-plugin when > surefire n

Re: passing through -D params from CLI to other plugins

2009-06-24 Thread aldana
nsidered a bug... > > also consider that you need to purge certain properties from > passthrough, e.g. java debugger port to bind to > > -Stephen > > 2009/6/24 aldana : >> >> when doing a: >> mvn verify -DanyParam=true >> >> anyParam property is availabl

passing through -D params from CLI to other plugins

2009-06-24 Thread aldana
with ${xxx}). Is there a way in maven to tell plugins to pass through all -D parameters to other fork processes (like test runnings)? Or is there a special surefire plugin setting for this? thanks. - manuel aldana aldana((at))gmx.de software-engineering blog: http://www.aldana-online.de

surefire plugin: misleading includes/excludes patterns regarding file type (*.java)

2009-06-24 Thread aldana
this is correct behaviour and surefire doesn't look for source-files but for class files. Am I correct? Anyway this include/exclude pattern are very misleading. - manuel aldana aldana((at))gmx.de software-engineering blog: http://www.aldana-online.de -- View this message in context:

Re: problem webapp integration test setup with seperate test module (handling of lifecycle dependencies).

2009-06-23 Thread aldana
ck it with (as surefire/failsafe do not scan jar files for test > cases at present) > > 2009/6/22 aldana : >> >> I want to setup a integration test for a webapp. >> >> my project structure (with a seperate test module): >> parent/ >>  -test-webapp >&

Re: problem webapp integration test setup with seperate test module (handling of lifecycle dependencies).

2009-06-23 Thread aldana
Inc. > Enterprise Architecture, Design, Mentoring & Agile Consulting > p. (866) BLiNC-411: (254-6241-1) > f. (415) 685-4233 > > Website: http://baselogic.com > Linked IN: http://linkedin.com/in/mickknutson > Vacation Rental: http://tahoe.baselogic.com > --- > >

Re: multimodule project: jetty plugin running two webapp-modules on same port

2009-06-21 Thread aldana
epends on the two web apps > > On Sunday, June 21, 2009, aldana wrote: >> >> hi, >> >> I got following project structure: >> >> app1/ >>  -core-stuff >>  -webapp1/ >>  -webapp2/ >> >> I tried to put jetty plugin config

problem webapp integration test setup with seperate test module (handling of lifecycle dependencies).

2009-06-21 Thread aldana
JETTY/Maven+Jetty+Plugin but no success. Maybe there is a trick with the reactor plugin where I can pass such lifecycle dependencies? thanks. - manuel aldana aldana((at))gmx.de software-engineering blog: http://www.aldana-online.de -- View this message in context: http://www.nabble.com/pr

multimodule project: jetty plugin running two webapp-modules on same port

2009-06-21 Thread aldana
adress-already-in-use problem occurs? -Is there another alternative to run two sub-module webapps under the same port with maven jetty plugin? thanks. - manuel aldana aldana((at))gmx.de software-engineering blog: http://www.aldana-online.de -- View this message in context: http://www.nabble.com

Re: Problem with parent-pom and referencing version classifier

2009-04-30 Thread aldana
ijk > ~Java Developer~ > > Iprofs BV. > Claus Sluterweg 125 > 2012 WS Haarlem > www.iprofs.nl > > > > On Wed, Apr 29, 2009 at 4:27 PM, aldana wrote: >> >> Hi, >> >> I am having: >> >> >>  net.sf.json-lib >>  json-

Problem with parent-pom and referencing version classifier

2009-04-29 Thread aldana
All other dependencies version extractions to parent-pom work. Only this json-lib makes problems. I noticed that is the only one with the classifier information. Could this be the issue. I can both reproduce on linux with 2.0.9 and 2.1.0. ----- manuel aldana aldana((at))gmx.de software-engineering

Re: Easy way to switch skipTests flag for integration-test phase

2009-04-28 Thread aldana
Oh that sounds simple and good :) Stephen Connolly-2 wrote: > > define a property with value true. use that property as the value of skip, > then the CLI can override the property value > > 2009/4/28 aldana > >> >> Hi, >> >> by default my inte

Easy way to switch skipTests flag for integration-test phase

2009-04-28 Thread aldana
to avoid profiles. Here the standard-configruation: integration-tests integration-test true **/itest/**/*Test.java test thanks. - manuel aldana aldana((at))gmx.de software-engineering blog: http://www.aldana-online.de -- View this message in

Re: multimodule project does not include test-scope dependencies

2009-03-16 Thread aldana
sorry, wrong mailinglist (there is a m2eclipse one) aldana wrote: > > wrong inclusion of test scoped deps was told to be resolved > (http://jira.codehaus.org/browse/MNGECLIPSE-493), but it still occurs in > my multimodule project (compilation error of test sources). >

multimodule project does not include test-scope dependencies

2009-03-16 Thread aldana
m2eclipse 0.9.7. - manuel aldana aldana((at))gmx.de software-engineering blog: http://www.aldana-online.de -- View this message in context: http://www.nabble.com/multimodule-project-does-not-include-test-scope-dependencies-tp22541200p22541200.html Sent from the Maven - Users mailing list archive at

Re: evaluation report-history tools (e.g. xradar, sonar)

2008-10-08 Thread aldana
d approach... store the results of > runs in a database somewhere > > the tools are good according to people i know who have used them... > > On Wed, 08 Oct 2008 10:52:41 aldana wrote: >> hi, >> >> we need some historic tracking for metrics. for that i co

evaluation report-history tools (e.g. xradar, sonar)

2008-10-07 Thread aldana
. - manuel aldana aldana((at))gmx.de software-engineering blog: http://www.aldana-online.de -- View this message in context: http://www.nabble.com/evaluation-report-history-tools-%28e.g.-xradar%2C-sonar%29-tp19868127p19868127.html Sent from the Maven - Users mailing list archive at Nabble.com

RE: maven release-plugin: create-branch and behaviour of update dependencies

2008-06-20 Thread aldana
> > > With kind regards, > Marco Beelen > ~Software Engineer~ > > Iprofs BV. > Claus Sluterweg 125 > 2012 WS Haarlem > www.iprofs.nl > > > > -Original Message- > From: aldana [mailto:[EMAIL PROTECTED] > Sent: Friday, June 20, 2008 12:20 PM > To: u

maven release-plugin: create-branch and behaviour of update dependencies

2008-06-20 Thread aldana
tion. has anybody succeeded or does somebody know whether this works at all? thanks. ----- manuel aldana aldana((at))gmx.de software-engineering blog: http://www.aldana-online.de -- View this message in context: http://www.nabble.com/maven-release-plugin%3A-create-branch-and-behaviour

Re: classpath entries in maven-archiver generated MANIFEST.MF cannot be referenced

2008-05-14 Thread aldana
generated MANIFEST.MF are working fine. i heard already some issues about webcontainers and referencing classpaths, so i suspect the same problem with my app. - manuel aldana aldana((at))gmx.de software-engineering blog: http://www.aldana-online.de -- View this message in context: http

Re: classpath entries in maven-archiver generated MANIFEST.MF cannot be referenced

2008-05-14 Thread aldana
t; > >> * Line length: >> No line may be longer than 72 bytes (not characters), in its >> UTF8-encoded form. >> If a value would make the initial line longer than this, it should >> be continued on >> extra lines (each starting with a single S

classpath entries in maven-archiver generated MANIFEST.MF cannot be referenced

2008-05-14 Thread aldana
concurrent-1.3.4.jar ../lib/jetty-plus-6 .1.7.jar ../lib/geronimo-spec-jta-1.0.1B-rc4.jar ../lib/jetty-6.1.7.j ar ../lib/jetty-util-6.1.7.jar ../lib/spice-jndikit-1.2.jar ../lib/In tegrityManager-1.0.0-SNAPSHOT.jar - manuel aldana aldana((at))gmx.de software-engineering blog: http://www.aldan

Re: problems with snapshot-timestamp though uniqueVersion is set to false

2008-05-14 Thread aldana
resolve the issue. > > ----- manuel aldana aldana((at))gmx.de software-engineering blog: http://www.aldana-online.de -- View this message in context: http://www.nabble.com/problems-with-snapshot-timestamp-though-uniqueVersion-is-set-to-false-tp17212577p17226551.html Sent from the Mav

problems with snapshot-timestamp though uniqueVersion is set to false

2008-05-13 Thread aldana
repository i deleted it, but this did not solve the timestamp issue either. i am using archiva as my internal repository-proxy. could this be a archiva or a maven issue? has anybody solved a similar problem? i am using archiva 1.0.1 and maven 2.0.8 command line. thanks for help. - manuel aldana

Re: How to keep manage resources that are outside of jars

2008-04-22 Thread aldana
e resources I need are in my jars but they're not. > > I've found discussions about this in the archives but I haven't found a > good solution. > > How can I prepare an assembly and include the resources that I don't want > in my jars? It seems like a common

Re: metrics report-plugin (for cyclomatic complexity + loc)

2008-04-22 Thread aldana
great, i already integrated jdepend and your other mentioned report plugins, but did not know of javancss. this exactly seems to be the last thing i looked for. Paolo Compieta wrote: > > Hi, > give a try to these 2 plugins (insert the following snippet in your > pom.xml): > > >

metrics report-plugin (for cyclomatic complexity + loc)

2008-04-22 Thread aldana
... maybe somebody can point me out to one? thanks. - manuel aldana aldana((at))gmx.de software-engineering blog: http://www.aldana-online.de -- View this message in context: http://www.nabble.com/metrics-report-plugin-%28for-cyclomatic-complexity-%2B-loc%29-tp16823833s177p16823833.html Sent

ivy configuration concept in future maven?

2008-04-18 Thread aldana
g all transitive deps you are not interested in. as an example ivy follows this interesting approach (http://ant.apache.org/ivy/m2comparison.html) maybe this could be a nice feature for future releases of maven2? - manuel aldana aldana((at))gmx.de software-engineering blog: http://www.aldana-onli

assembly-plugin behaviour for duplicate dependency (but with different version)

2008-04-16 Thread aldana
lib - manuel aldana aldana((at))gmx.de software-engineering blog: http://www.aldana-online.de -- View this message in context: http://www.nabble.com/assembly-plugin-behaviour-for-duplicate-dependency-%28but-with-different-version%29-tp16718250s177p16718250.html Sent from the Maven - Users mailing l

timeouts configuration

2008-04-08 Thread aldana
) - manuel aldana aldana((at))gmx.de homepage: http://www.aldana-online.de -- View this message in context: http://www.nabble.com/timeouts-configuration-tp16558750p16558750.html Sent from the archiva-users mailing list archive at Nabble.com.

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

2008-03-20 Thread aldana
--- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - manuel aldana aldana((at))gmx.de homepage: http://www.aldana-online.de -- View this message in context: http://www.nabble.com/limit-size-of-

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

2008-03-19 Thread aldana
them. But they may not work on your platform (eg script > is bash or korn and you're on Windows). > > Wayne > > On 3/19/08, aldana <[EMAIL PROTECTED]> wrote: >> >> hi, >> >> is it possible to limit the size of local repository? especially keeping >&g

limit size of local repository, limit number of snapshots

2008-03-19 Thread aldana
problems that roaming-win xp profiles get crashed because maven local repository takes too much space. the workaround to regularly delete local repository does not seem a good solution to me do others face similar problems? - manuel aldana aldana((at))gmx.de homepage: http://www.aldana

Re: problem downloading dependencies of pom-type

2008-02-11 Thread aldana
check resolution-policies (Never, Once, Always) in archiva configuration") Brett Porter wrote: > > thanks - is there some way Archiva could have helped troubleshoot this > better? > > On 12/02/2008, aldana <[EMAIL PROTECTED]> wrote: >> >> hi, >>

Re: problem downloading dependencies of pom-type

2008-02-11 Thread aldana
d to > check that it works from the web iinterface in case this is a problem > on the Maven side. If it doesn't, you can review the Archiva logs to > give further information. > > Cheers, > Brett > > On 05/02/2008, aldana <[EMAIL PROTECTED]> wrote: >> >&

stability problems

2008-02-11 Thread aldana
| at org.codehaus.plexus.util.FileUtils.forceDelete(FileUtils.java:1158) ----- manuel aldana aldana((at))gmx.de homepage: http://www.aldana-online.de -- View this message in context: http://www.nabble.com/stability-problems-tp15407339p15407339.html Sent from the archiva-users mailing list

performance issue of built-in container

2008-02-08 Thread aldana
ike tomcat? thanks. ----- manuel aldana aldana((at))gmx.de homepage: http://www.aldana-online.de -- View this message in context: http://www.nabble.com/performance-issue-of-built-in-container-tp15351794p15351794.html Sent from the archiva-users mailing list archive at Nabble.com.

problem downloading dependencies of pom-type

2008-02-04 Thread aldana
hi, downloading jar's using archiva (as proxy) works fine (both release and snapshots). but downloading referenced pom (as ) fails. i had a look at 'Repository Scanning' menu and pom is included (**/*.pom). could this be a bug or do i need to set pom download somewhere else too? i am using archi

Re: disable default repository http://repo1.maven.org

2008-02-04 Thread aldana
stupid me, forgot to search correctly. i just need to override repository id 'central'. aldana wrote: > > i am trying to speed up builds with archiva (->caching of dependencies), > so lookup of them won't take so long. > problem is that default repository (ht

disable default repository http://repo1.maven.org

2008-02-04 Thread aldana
i am trying to speed up builds with archiva (->caching of dependencies), so lookup of them won't take so long. problem is that default repository (http://repo1.maven.org) is still directly included. is there a way to switch this off? direct connection is not neccessary because archiva is referenc

invalid poms/pom-references break my build, howto ignore?

2008-01-23 Thread aldana
i am having problems with depedency com.sun.xml.stream.buffer:streambuffer:jar:0.4 whose dependencies cannot be validated. in this case i don't want to have my build broken (it happens in package phase) merely a warning-display is enough to me. in general this setting should be the default for y

task from antrun plugin executed multiple times

2008-01-23 Thread aldana
when i execute ant script through antrun plugin from maven2 the ant task gets executed twice. why is that? i only attached it to generate-sources phase. the task gets executed once before test-phase and once after test-phase. org.apache.maven.plugins maven-antrun-plugin generate-sourc

Re: howto include library for defined task in antrun-plugin?

2008-01-23 Thread aldana
i solved it with a workaround: i included jaxws-tools as optional depedency in pom.xml and referenced it from ant-buildfile through ${maven.compile.classpath}. aldana wrote: > > for reasons as explained in > http://forums.java.net/jive/thread.jspa?threadID=35708&tstart=15 i need

howto include library for defined task in antrun-plugin?

2008-01-23 Thread aldana
for reasons as explained in http://forums.java.net/jive/thread.jspa?threadID=35708&tstart=15 i need to generate my jax-ws sources through antrun plugin. for that i need to include the jax-ws library. how is the import of neccessary ant-task libraries for the antrun plugin done? as explained in ht

possible to import two versions at the same time?

2008-01-21 Thread aldana
hi, currently i am having problems with importing maven dependencies. we've got different datastructures (from xsd) from different versions, so i am mapping these to the version flag of pom. bla:datastructures:1.0 bla:datastructures:1.1 inside a project i want to import both: ... bla datastr

poll for 'way of integrating' dependency-analyzer graph report

2008-01-14 Thread aldana
hi, we already provide a rich-client app (see http://www.jfrog.org/sites/dep-analyzer/latest/), which does visualize the maven dependency graph. we think it would be a good way to provide this through a report plugin, too. but we are a bit uncertain about the way what kind of integration we shou

Re: maven2 way to hide transitive dependencies

2007-12-26 Thread aldana
Heinrich Nirschl wrote: > > "mvn dependency:analyze" may also help to detect situations where > transitive dependencies should better be declared as direct > dependencies. > great! eveyday to learn something new. Heinrich Nirschl wrote: > > No, the optional library may be needed for compili

Re: maven2 way to hide transitive dependencies

2007-12-25 Thread aldana
that makes sense... so it seems that these checks will only be possible on syntax level (check, if used types are from direct or transitive dependencies), maybe i will give this check a try with a syntax analyzer integrated in a continous integration build. of course this won't save me from dynami

maven2 way to hide transitive dependencies

2007-12-25 Thread aldana
hi, in former eclipse times where everything got included by a build-path and residing lib/ folder inclusions of libraries exploded. especially the export=true option for all libraries lead to an inclusion nigthmare. example: -project A got dependencies to libraries x,y,z. -project B imported A

maven embedder: build up model with transitive dependencies

2007-12-22 Thread aldana
hi, i am using maven embedder access maven from outside application. for testing purposes i want to build a model-instance with transitive dependencies, but am unsure how to do this. first i thought that MavenProject mp=new MavenProject(); mp.setDependencies(...); would do this. but after havi

how to retrieving remote repositorie information from MavenEmbedder?

2007-11-28 Thread aldana
hi, i would like to have access to remote repositories through MavenEmbedder. i need that for i want to iterate some poms from internal repository. how is this possible? i cannot see any methods of MavenEmbedder to get a list of remote repositories. MavenEmbedder.getLocalRepository() is provided

Re: maven-javadoc report fails

2007-11-20 Thread aldana
i seemed to have resolved the error. was my mistake, there was a wrong html document inside my package.html so it was failing. the eclipse javadoc processor went through because it did not scan the src/main/javadoc folder. sorry, wrong alert. aldana wrote: > > i had a look a

Re: maven-javadoc report fails

2007-11-20 Thread aldana
i had a look at http://jira.codehaus.org/browse/MJAVADOC-101, it was told to be resolved, but still occurs in my project (though i am using version 2.3). aldana wrote: > > hi, > > i've got problems with javadoc report plugin > org.apache.maven.plugins:maven-javadoc-p

maven-javadoc report fails

2007-11-20 Thread aldana
hi, i've got problems with javadoc report plugin org.apache.maven.plugins:maven-javadoc-plugin:2.3. it breaks during page generation (see below). log mentions 1 error. but i only see warnings from javadoc, no hint what the "real breaking" error is. some more informations: 1) report works in ot

Re: maven phase to be executed in and continuous integration

2007-10-25 Thread aldana
forgot some more reservation. when working with SNAPSHOTS and doing lots of has somebody experienced problems with just too many SNAPSHOT-libraries? aldana wrote: > > hi, > > we are working with maven and cruise control. until now i always executed > 'mvn clean verify&#

maven phase to be executed in and continuous integration

2007-10-25 Thread aldana
hi, we are working with maven and cruise control. until now i always executed 'mvn clean verify'. we are working with snapshots and we experienced problems that the artifacts on the internal repository weren't up to date (they would succeed verify but developers sometimes forgot to execute a dep

Re: potential bug (urgent): snapshot download not working

2007-10-23 Thread aldana
Tim Kettler wrote: > > The default update-checking frequency for artifacts is once per day. You > can configure this on a per repository basis in your repository > definitions with the tag. See here [1] for an description. > sorry for being too unprecise (i forgot to copy this from the other

potential bug (urgent): snapshot download not working

2007-10-23 Thread aldana
hi already started a thread, see http://www.nabble.com/stuck-state-when-downloading-snapshots-tf4672399s177.html where i thought i did a configuration error. but now i really think i am heading to a bug, which is very critical and severe (in fact it makes working with snapshots impossible!). afte

Re: stuck state when downloading snapshots

2007-10-23 Thread aldana
lookup is done and it works fine. i set the updatePolicy for the respective repository to always: internal file://myInteralURL true always warn what is going wrong here? thanks. aldana wrote: > > sometimes i am having problems with downl

stuck state when downloading snapshots

2007-10-22 Thread aldana
sometimes i am having problems with downloading snapshots. for instance when trying to download dependencies from an internal repository to local one the folder gets created like xxx/bla/1.0-SNAPSHOT but inside this folder i only see metadata.xml files. maven tells me a BUILD ERROR and says that x

Re: Internal (company) repository layout best practices

2007-10-22 Thread aldana
we are not splitting repositories for releases and snapshots. in our case we are modularizing our "bigger" application to single maven artifacts, so when developing for a new release, changes (fixes, features) are often added often to more than one project. as soon there is a change we switch from

problem with version ranges

2007-10-22 Thread aldana
hi, i am working with version ranges, which is making problems. if i mark a version range like [1.0,) and there is only 2.0 and no 1.0 version in my local repository, maven gives me an error that it cannot find range [1.0,). if i download 1.0 version it goes fine. i would expect that maven just

Re: enable plugins for other packaging types

2007-09-28 Thread aldana
this does not work because tomcat plugin not looks on the archive-name, merely to the packaging type defined in the head of pom.xml. Wayne Fay wrote: > > I'm not sure if it would work, but could you use to > specify a .war, and leave as type jar? > > Wayne > >

plugin devlopment to compose other plugins

2007-09-28 Thread aldana
hi, is it possible to reuse plugins in that way that i can call them through a new plugin (composing plugins). that means define dependency in pom.xml to respective plugins and being able to call them with certain configurations inside a new developed custom plugin. an alternative is to define a

enable plugins for other packaging types

2007-09-28 Thread aldana
hi, as described in post (see link http://www.nabble.com/how-to-disable-implicit-plugin-execution-order-of-inherited-poms--tf4534393s177.html) i cannot use the packaging type war, because inherited plugin execution makes war packaging of axis2 app fail. my workaround is to use the packaging typ

how to disable implicit plugin execution order of inherited poms?

2007-09-28 Thread aldana
hi, my app is from type war so implicitly the war-plugin gets executed as first plugin in package phase. problem is that before building the war i need to package my axis2 webservice-app as aar (which exists as own task). aar-plugin must therefore execute before war plugin. thus i cannot work wi

RE: fresh lookup for snapshots with pom-packaging fails

2007-09-26 Thread aldana
check by using the -U flag and you can adjust the frequency in > your repository section of pom or settings. > > -Original Message----- > From: aldana [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 25, 2007 1:02 PM > To: users@maven.apache.org > Subject: fresh lookup fo

Re: how to inherit provided to transitive dependencies

2007-09-26 Thread aldana
> war > > > > > > On Wednesday 26 Septembe

Re: how to inherit provided to transitive dependencies

2007-09-26 Thread aldana
provided dependency. Tim Kettler wrote: > > Hi, > > can it be, that the unwanted dependencies get pulled in as transitive > depenendencies of some other depenendency than 'neethi', that has not > scope 'provided'? > > -Tim > > aldana schrieb: &

howto express that plugin should only execute with certain package type

2007-09-25 Thread aldana
i want to execute/load a plugin only if a pom is of a certain packaging. i want to express this in a parent pom which all my projects are inheriting from. for instance: my assembly plugin should use a different assembly descriptor if the packaging is set to war. for avoiding duplication i would l

fresh lookup for snapshots with pom-packaging fails

2007-09-25 Thread aldana
hi, working with snapshots with packaging pom type does not work. it does not lookup on internal repository whether there is a new snapshot version available. is that a wished behaviour? i would expect the same lookup semantics as with package type 'jar' (every build servers are looked if there

how to inherit provided to transitive dependencies

2007-09-25 Thread aldana
hi, i am deploying an axis2 app to tomcat. i need some libraries for compile time but do not need to package them because they are provided by webapp-container. that's why i use provided. in my case this is for instance: org.apache.ws.commons.neethi neethi 2.0 true provided neethi

problems downloading internal SNAPSHOTs

2007-09-20 Thread aldana
hi, i am running CruiseControl for integrate testing my projects (command-line tool 'mvn verify' is executed for each project). but the results are very unreliable because Cruise Control sometimes gives me errors with downloading snapshot-dependencies. dependencies are sitting in an internal repo

assembly-plugin: how to tell to use lib-xx-SNAPSHOT.jar and not lib-xx-{timeStamp}.jar

2007-08-31 Thread aldana
hi, i am using assembly:assembly to pack my release. inside jar plugin i enable classpath setting with . this way when working with snapshots inside MANIFEST.MF lib-xx-SNAPSHOT.jar gets added. conversely when executing assembly goal i get a timestamp added to libary. mainJar -lib/ lib-xx-200

maven jar+assembly plugin: transitive dependencies sometimes not resolved correctly

2007-08-27 Thread aldana
hi, i am packing my release with assembly and jar plugin. sometimes transitive dependencies do not get resolved correctly. they either are not included as libs in my lib/ folder (->assembly plugin) or classpath does not get added (-> jar plugin). when doing 'mvn compile' everything gets resolve

Re: maven-jar-plugin: how to avoid conflicts in

2007-08-27 Thread aldana
creating filenames using a given pattern. All that's needed > is to incorporate the code from the assembly-plugin in the jar plugin. > > -Tim > > [1] > http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html#class_dependencySet > [2] http://jira.codehaus.org

Re: maven-jar-plugin: how to avoid conflicts in

2007-08-27 Thread aldana
d > > that way all the aggregations never have clashes... I only wish library > providers would to the same... it seems all the simple things are > overlooked > > On Monday 27 August 2007 22:25, aldana wrote: >> hi, >> >> maven amongst others is using groupId

maven-jar-plugin: how to avoid conflicts in

2007-08-27 Thread aldana
hi, maven amongst others is using groupId to avoid name clashes between libraries (a:x.jar is different to b:x.jar). now the problem arises when adding Classpath to MANIFEST.MF with following: org.apache.maven.plugins maven-jar-plugin true

Re: maven plugin alternative to assembly plugin

2007-08-24 Thread aldana
thanks, saved my day! one little correction and suggestion (and a last question for maven-jar plugin): ... ${artifactId}-*.jar ${basedir}/target ${groupId}-${artifactId}-${version}-${classifier}.${extension} li

Re: assembly plugin: transitive dependencies do not get included

2007-08-24 Thread aldana
; > On 8/23/07, aldana <[EMAIL PROTECTED]> wrote: >> >> where do i set option includeTransitiveDeps to true? cannot find it in >> assembly descriptor schema. >> >> >> Stephane Nicoll-2 wrote: >> > >> > Mmm. This might be a bug. Check th

Re: assembly plugin: transitive dependencies do not get included

2007-08-23 Thread aldana
where do i set option includeTransitiveDeps to true? cannot find it in assembly descriptor schema. Stephane Nicoll-2 wrote: > > Mmm. This might be a bug. Check that includeTransitiveDeps is set to true. > > HTH, > Stéphane > > On 8/23/07, aldana <[EMAIL PROTECTED]&g

Re: maven plugin alternative to assembly plugin

2007-08-23 Thread aldana
hi again, i tried to search in archive to find out how to achieve packaging a release like stated below. no success (maybe wrong keywords...). that's why i would like to ask you for an example how to do this. i really need to get rid of this muddy copy all into one jar assembly... many thanks a

Re: assembly plugin: ordering of dependencies

2007-08-23 Thread aldana
> the order of the two definitions in your assembly descriptor and hope > that that switches the order in which the jars get copied. > > -Tim > > aldana schrieb: >> hi, >> >> i am facing following problem: >> when building assembly there are two libr

assembly plugin: transitive dependencies do not get included

2007-08-23 Thread aldana
hi, i am using assembly plugin with standard descriptor jar-with-dependencies. problem is that transitive dependencies do not get included. pom.xml from project A: ... a a 1.0 tran dep 1.0 ... pom.xml from project B: ... b b 1.0 ... enabling ass

  1   2   >