Re: maven-war-plugin - single jar in /WEB-INB/lib?

2009-08-10 Thread Heinrich Nirschl
On Mon, Aug 10, 2009 at 5:01 PM, Comerford, Seansean.comerf...@espn3.com wrote: I have a Maven 2.0.9 webapp build that uses the WAR plugin. Is there a way to have JUST foo-2.0.jar show in WEB-INF/lib instead of all the other jars? Yes, have a look at the packagingExclude and packagingInclude

Re: maven-plugin-plugin parser problem

2009-07-26 Thread Heinrich Nirschl
On Sun, Jul 26, 2009 at 5:11 PM, Eric Rotickpc.gree...@gmail.com wrote: /*/ /* Package that this class is in                             */ /*/ I guess, it would already

Re: maven error: can not create the java virtual machine

2009-07-03 Thread Heinrich Nirschl
2009/7/2 yuting lv yutin...@gmail.com: then  changed my MAVEN_OPTS to this: -Xms256m -Xmx256m user environment varialbe: Path                                 %JAVA_HOME%\bin;%M2_HOME%\bin; JAVA_HOME                 D:\Program Files\Java\jdk1.6.0_02 M2_HOME                      D:\Program

Re: Creating archetypes and disabling velocity

2009-05-10 Thread Heinrich Nirschl
On Sun, May 10, 2009 at 3:13 PM, Doug Hughes dhug...@alagad.com wrote: As a last test, I intentionally put invalid XML in the archetype-metadata.xml file.  I was able to run archetype:create without it reporting an XML error.  This tells me it's ignoring my metadata file anyhow any ideas

Re: Creating archetypes and disabling velocity

2009-05-10 Thread Heinrich Nirschl
On Sun, May 10, 2009 at 7:37 PM, Doug Hughes dhug...@alagad.com wrote: Rather than editing my source files, is there not a way to disable velocity for spcific files or folders?  I ask because some of the problem files in my archetype are binary.  I'm not too comfortable editing those by hand as

Re: mvn classpath weirdness with eclipse plugin

2009-05-06 Thread Heinrich Nirschl
On Wed, May 6, 2009 at 12:29 AM, Davis Ford davisf...@zenoconsulting.biz wrote: I am at a loss.  We have no exclusions in the pom.  Where should I look next? Hello Davis, I remember, that this has popped up on the mailing list before. If I am not mistaken the suggested fix was to set the

Re: Troubles creating Hudson plugin

2009-04-17 Thread Heinrich Nirschl
On Fri, Apr 17, 2009 at 11:06 PM, david.schroeder david.schroe...@i-cubed.com wrote: org/jvnet/hudson/maven/plugins/hpi/CreateMojo (Unsupported major.minor version 49.0) Not sure, but this looks like you need to upgrade your Java to = 1.5 Henry

Re: Release Plugin scmCommentPrefix issues

2009-04-08 Thread Heinrich Nirschl
On Tue, Apr 7, 2009 at 5:12 PM, Mykel Alvis mykel.al...@gmail.com wrote: When performing a release, I want to place an identifier into the release tag commit message (in subversion, in my case). Pasted directly from my command line running maven 2.0.9 with release plugin 2.0-beta-9: $ mvn

Re: Why I get ClassNotFoundException ?

2009-04-06 Thread Heinrich Nirschl
On Mon, Apr 6, 2009 at 4:46 PM, HHB hubaghd...@yahoo.ca wrote: WARN  - DriverManagerDataSource    - Could not load driverClass com.jdbc.mysql.Driver java.lang.ClassNotFoundException: com.jdbc.mysql.Driver The package name is wrong. Try with com.mysql.jdbc.Driver. - Henry

Re: Possible problem when multiple developers depend on SNAPSHOT versions

2009-03-25 Thread Heinrich Nirschl
On Wed, Mar 25, 2009 at 8:10 PM, Trevor Harmon tre...@vocaro.com wrote: What can be done to prevent Bob's problem? An easy solution is: When Alice prepares the release, she says Hey Bob, I'm doing a release of Foo. Henry - To

Re: site plugin ignoring proxy settings?

2009-03-12 Thread Heinrich Nirschl
On Thu, Mar 12, 2009 at 12:47 PM, Thorsten Heit th...@gmx.de wrote: When I build the project's web site with mvn site or mvn site:site, the build hangs for about 15-20s when it is generating the dependencies report, then a first warning message appears saying the repository 'java.net' is

Re: Excluding Manifest.MF when generating jar-files

2009-02-12 Thread Heinrich Nirschl
On Thu, Feb 12, 2009 at 8:29 AM, Weichselbaumer Michael (MWE 4170) michael.weichselbau...@ntswincash.com wrote: Manifest.MF files are created dynamically, but I need to compare newly built jar-artifacts to older ones in order to find out if they have changed. This is done by simply checking md5

Re: questions about profiles?

2008-12-19 Thread Heinrich Nirschl
On Fri, Dec 19, 2008 at 10:43 AM, aymen83 aymen.bhm...@yahoo.fr wrote: hi i've been searching for a way to override the version of an Artifact using profiles, is that possible? the idea is to change the version of framework when compiling a project, for instance, the project is compiled

Re: Enforce plugin versions and reporting plugins

2008-12-12 Thread Heinrich Nirschl
On Fri, Dec 12, 2008 at 7:22 PM, Wendy Smoak wsm...@gmail.com wrote: On Fri, Dec 12, 2008 at 7:28 AM, Nick Stolwijk nick.stolw...@gmail.com wrote: 3. Declare reporting plugin in reporting section without a version and declare a build/pluginmanagement/plugin with a version - Enforcer

Re: Compilation failure .. symbol: method lookup(java.lang.String) -- EJB 2

2008-11-15 Thread Heinrich Nirschl
On Sat, Nov 15, 2008 at 6:11 PM, Michael Hüttermann [EMAIL PROTECTED] wrote: I'm just wondering: no one did ever compile an EJB 2 project with Maven 2 ??? Michael Hüttermann schrieb: Hello, I have an EJB 2.1 project (the relevant POM snippets below). If I want to compile it I get a Build

Re: Is dependency exclusion broken for WAR files?

2008-11-13 Thread Heinrich Nirschl
Did you run mvn clean before the new build? On 11/13/08, Jon Strayer [EMAIL PROTECTED] wrote: I added XFire-all to my dependencies and it pulled in all of the submodules of XFire. I want to exclude them from the war so I added them as exclusions to the XF-all dependency. They are sill being

Re: Project organization question.

2008-11-07 Thread Heinrich Nirschl
On Thu, Nov 6, 2008 at 9:46 PM, David C. Hicks [EMAIL PROTECTED] wrote: Hi folks, Our project current produces a WAR, but we also have an assembly that combines that WAR with a few other release files. I realize that a project should really only have a single artifact. So, I'm wondering if

Re: question about the pluxes components.xml?

2008-10-14 Thread Heinrich Nirschl
2008/10/13 陈思淼 [EMAIL PROTECTED]: I am better familiar with spring-framework, is the role-hint the same as the spring bean id which the container to locate the bean when needed, and the pluxes more specific becourse it group by interface type and use role-hint to describe eche one? role and

Re: Installing a checked-out JAR, not the packaged one

2008-10-08 Thread Heinrich Nirschl
On Tue, Oct 7, 2008 at 9:25 PM, Michael Hüttermann [EMAIL PROTECTED] wrote: Thanks! Isn't there any way to jump into the lifecycle and prevent Maven to deploy the packaged jar ?? Or: to prevent Maven to package the jar? As far as I know, the pom lifecycle does not have plugins bound to phases.

Re: mvn eclipse:eclipse should use a different variable name than M2_REPO

2008-07-11 Thread Heinrich Nirschl
On Fri, Jul 11, 2008 at 12:39 PM, Arand, Thomas (NSN - DE/Muenich) [EMAIL PROTECTED] wrote: Hi all, I want to add two projects to eclipse. Unfortunately, they require the use of two different local maven repositories. Unfortunately, mvn eclipse:eclipse generates .classpath files where the

Re: Re: javadoc plugin [Virus checked]

2008-06-25 Thread Heinrich Nirschl
On Wed, Jun 25, 2008 at 12:54 PM, [EMAIL PROTECTED] wrote: Caused by: org.apache.maven.reporting.MavenReportException: Exit code: 1 - It seems, that Javadoc is exiting with a return code of 1. Maybe there is an interesting error message before the lines you have pasted that helps to track down

Re: javadoc plugin [Virus checked]

2008-06-24 Thread Heinrich Nirschl
On Tue, Jun 24, 2008 at 9:30 AM, [EMAIL PROTECTED] wrote: does anybody know why the following happens: in a project we just recently converted to MAVEN with about 460 classes to compile, the MAVEN task for generating the javadoc does NOT complete. Can you give some more details (e.g. an

Re: versions on central-repo (stupid question)?

2008-05-23 Thread Heinrich Nirschl
On Thu, May 22, 2008 at 10:41 PM, kawazu [EMAIL PROTECTED] wrote: Folks; after merrily using maven2 for quite a while, by now I dealt with defining dependency using version ranges for the first time - and failed, not sure why. Maybe I am just too stupid, and maybe someone can help me outta

Re: versions on central-repo (stupid question)?

2008-05-23 Thread Heinrich Nirschl
On Fri, May 23, 2008 at 8:20 AM, kawazu [EMAIL PROTECTED] wrote: Ah, I see. So basically, in situations like this the only way is to avoid using version ranges and defining a fixed version for an artifact used? As far as I know, yes. You could also open a JIRA to get it fixed. Here are a few

Re: [SURVEY] How does your team retrieve artifacts?

2008-05-21 Thread Heinrich Nirschl
[X] Our team uses HTTP to retrieve our artifacts - Henry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [POLL] Default Value for File Encoding

2008-04-29 Thread Heinrich Nirschl
b) Use a static/fixed value that is defined by convention, i.e. is not platform-dependent. I vote for b). We recently had an encoding problem when we built a project that was developed on Windows on a Unix server. Fortunately, it caused a syntax error so that it was detected early. I can

Re: Is there easy way to check in plugin version

2008-04-23 Thread Heinrich Nirschl
On Tue, Apr 22, 2008 at 11:46 PM, I am Who i am [EMAIL PROTECTED] wrote: Hi All, in that case if i want to check what version jar plugin is being downloaded is there a mvn command i can run to find out the version or i need to drill down all the way to my localRepository like

Re: Is there easy way to check in plugin version

2008-04-23 Thread Heinrich Nirschl
On Wed, Apr 23, 2008 at 9:15 AM, Jörg Schaible [EMAIL PROTECTED] wrote: Heinrich Nirschl wrote: On Tue, Apr 22, 2008 at 11:46 PM, I am Who i am [EMAIL PROTECTED] wrote: Hi All, in that case if i want to check what version jar plugin is being downloaded is there a mvn command i

Re: How can I use a plugin SNAPSHOT version?

2008-04-10 Thread Heinrich Nirschl
You may also need to specify the additional repository as a pluginRepository with snapsots enabled. The exact setting depends on your environment (i.e. if you use a repository manager and how it is configured) Henry. On Fri, Apr 11, 2008 at 12:54 AM, Brian E. Fox [EMAIL PROTECTED] wrote: If you

Re: changelog vs scm:update

2008-04-01 Thread Heinrich Nirschl
After cvs.user there is a closing parethesis ) instead of a brace }. Hope this helps, Henry On 4/1/08, Jon Strayer [EMAIL PROTECTED] wrote: How can I have scm:update work, but changelog:changelog fail with this message: Embedded error: cvs repository connection string doesn't contain six

Re: Couldn't find a version in [6.5-m92322-115] to match range [6.5,)

2008-03-30 Thread Heinrich Nirschl
No, its not included. 6.5-something is regarded as before 6.5 Henry On 3/30/08, carioca [EMAIL PROTECTED] wrote: Hi, I get the error message in the title when I try to build my plugin. According to my understanding the version 6.5-m92322-115 is included in the version range [6.5,). So

Re: Problem with Maven making internet connection drop out

2008-03-21 Thread Heinrich Nirschl
On Fri, Mar 21, 2008 at 8:54 AM, Wim Deblauwe [EMAIL PROTECTED] wrote: Hi, I have a problem with running the Atlassian PDK. They use Maven 2. See http://confluence.atlassian.com/display/DEVNET/How+to+Build+an+Atlassian+Pluginfor their instructions. When I try to run mvn idea:idea,

Re: [assembly] howto include a jar from my local repository ?

2008-03-21 Thread Heinrich Nirschl
On Fri, Mar 21, 2008 at 11:51 AM, nicolas de loof [EMAIL PROTECTED] wrote: Hello, for packaging purpose I need to include the Oracle driver in a /lib folder of my dist tar.gz (created by the assembly plugin) My web application declares this dependency as provided, so it is not included

Re: mvn -Dplugin=install help:describe

2008-03-19 Thread Heinrich Nirschl
Maven does not know the short name of the install plugin because this plugin is missing in the metadata file on central: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-metadata.xml The workaround is to use the full plugin name: mvn help:describe

Re: mvn environment variable in debian etch

2008-03-07 Thread Heinrich Nirschl
On Fri, Mar 7, 2008 at 11:38 PM, Érico Teixeira [EMAIL PROTECTED] wrote: I trying to set mvn environment variable in etch I already have JAVA_HOME configured in /etc/profile as follows : JAVA_HOME=/opt/java/jdk1.6.0_04 JRE_HOME=/opt/jre1.6.0_04 M2_HOME=/opt/apache-maven-2.0.8

Re: enforce versions for plugins

2008-02-28 Thread Heinrich Nirschl
However, the version of the enforcer plugin supporting this goal is not yet released ... - Henry On Thu, Feb 28, 2008 at 7:04 PM, [EMAIL PROTECTED] wrote: This is possible with the enforcer plugin [1] and esspecially the requirePluginVersion rule [2]. Hth, Nick Stolwijk [1]

Re: Parent project version

2008-01-30 Thread Heinrich Nirschl
On Jan 30, 2008 8:59 AM, Erez Nahir [EMAIL PROTECTED] wrote: I also think as Stephen, Having an option to specify parent with relative path will be very helpfull, I'm sure a solution can be found to provide this functionality. Maybe something like having both relativePath and version and give

Re: how to replace a java file

2008-01-22 Thread Heinrich Nirschl
On Jan 22, 2008 5:38 PM, Rex Huang [EMAIL PROTECTED] wrote: for example, I had a Version.java public class Version { private static String VERSION = ${buildNumber}; public static String getVersion() { return VERSION; } } I need to set version number when compile, so I

Re: Resources from classpath in JAR

2008-01-15 Thread Heinrich Nirschl
On Jan 15, 2008 7:31 PM, dddzzz [EMAIL PROTECTED] wrote: Heinrich Nirschl wrote: Put them into src/main/resources. I want them to be in same folder that classes are. Which folder do you mean, the one with the .class files or with the .java files? The final jar will have the .class

Re: Eclipse plugin and project references

2008-01-15 Thread Heinrich Nirschl
On Jan 15, 2008 8:14 PM, TM [EMAIL PROTECTED] wrote: Hello, my question is about whether it is possible to let the Maven Eclipse plugin create the .classpath file in a way that it will directly reference dependency projects instead of referencing the JAR artifact from the local repository.

Re: global props in top pom?

2008-01-14 Thread Heinrich Nirschl
On Jan 14, 2008 6:57 PM, Labanca, Rick [EMAIL PROTECTED] wrote: This in the top pom at the top level: properties globalVersion1/globalVersion /properties then in the module 1 level below pom version${globalVersion}/version It creates a jar with

Re: Resources from classpath in JAR

2008-01-14 Thread Heinrich Nirschl
On Jan 14, 2008 10:24 PM, dddzzz [EMAIL PROTECTED] wrote: How can I make maven2 to include files (like .xml and .property) in JAR without adding resource include in POM. Put them into src/main/resources. - To unsubscribe,

Re: A question about using Mirrors for Repositories

2008-01-05 Thread Heinrich Nirschl
On Jan 5, 2008 10:46 AM, Thomas Chang [EMAIL PROTECTED] wrote: I am going to use the archiva. But the archiva 1.0 needs jdk 1.5. That means I have to set the JAVA_HOME to point to the jdk 1.5. But many of my programms use jdk 1.4 and I can't change the JAVA_HOME to point to the jdk 1.4

Re: A question about using Mirrors for Repositories

2008-01-04 Thread Heinrich Nirschl
On Jan 4, 2008 11:42 AM, Thomas Chang [EMAIL PROTECTED] wrote: Hi all, I have a mirror in my settings.xml as follow: ... mirror idMyMirrorId/id mirrorOf*/mirrorOf nameDependencies for DKV Projects/name urlfile:sap-dev/CVSREPO/CvsMaven/url /mirror ... I do so because I

Re: A question about using Mirrors for Repositories

2008-01-04 Thread Heinrich Nirschl
In some situations maven needs additional information for resolving artifacts. This info is stored in the metadata files in the repository. Since the filenames of these metadata files are different in local and remote repositories it does not work to misuse a local repository as a remote one. It

Re: A question about version in dependency in pom.xml

2008-01-02 Thread Heinrich Nirschl
On Jan 2, 2008 12:06 PM, Thomas Chang [EMAIL PROTECTED] wrote: Now I do as follow in the settings.xml: profiles profile properties my.junit.version3.8.1/my.junit.version /properties /profile /profiles And it runs successful when I run mvn clean. But as I run ´mvn compile

Re: Problem by Using Mirrors for Repositories

2007-12-28 Thread Heinrich Nirschl
On Dec 28, 2007 9:05 AM, Thomas Chang [EMAIL PROTECTED] wrote: Hi all, I set my settings.xml so it will download the dependencies not from the central (i.g. http://repo1.maven.org/maven2) but from my repository on the server maschine. The setting in my settings.xml looks as follow.

Re: maven2 way to hide transitive dependencies

2007-12-26 Thread Heinrich Nirschl
On Dec 26, 2007 2:25 PM, aldana [EMAIL PROTECTED] wrote: Heinrich Nirschl wrote: No, the optional library may be needed for compiling. It can still be optional if it is never loaded at runtime for a certain use case. but how should someone know if a certain use case is not executed

Re: maven2 way to hide transitive dependencies

2007-12-25 Thread Heinrich Nirschl
On Dec 25, 2007 5:06 PM, aldana [EMAIL PROTECTED] wrote: in my point of view the automatic inclusion of transitive dependencies should be avoided and directly used libraries should be included explicitly. this makes maintenance in view of dependencies more feasible: -so project B must include

Re: Dependency rpoblem in multi-module project

2007-12-19 Thread Heinrich Nirschl
On Dec 19, 2007 9:21 AM, Guillaume Lederrey [EMAIL PROTECTED] wrote: Problem still not solved. I tried a couple of things : Seems to be a typo somewhere. You said the module is called EvenementMetier_shared but maven is looking for EvenementMetierPoc_shared (note the Poc). Double check the group

Re: Unit test strategy for testing a java.io.File in maven2?

2007-12-19 Thread Heinrich Nirschl
On Dec 19, 2007 9:57 PM, JavaGeek [EMAIL PROTECTED] wrote: Hello All, I have some code that reads a directory in a maven2 project. Is there a way to put a directory of files in a maven project and reliably read it from JUnit 4 (or TestNG) across platforms? I have code that will read the

Re: Optional Proxy Configuration

2007-12-08 Thread Heinrich Nirschl
On Dec 8, 2007 12:58 PM, Marco Bakera [EMAIL PROTECTED] wrote: On Saturday 08 December 2007 08:35:07 Heinrich Nirschl wrote: On Dec 8, 2007 8:13 AM, Marco Bakera [EMAIL PROTECTED] wrote: Hello everybody. At work I need a proxy for maven to work while I don't need one at home. So I

Re: Optional Proxy Configuration

2007-12-07 Thread Heinrich Nirschl
On Dec 8, 2007 8:13 AM, Marco Bakera [EMAIL PROTECTED] wrote: Hello everybody. At work I need a proxy for maven to work while I don't need one at home. So I have to change my settings.xml back and forth during work at home and and at work. So is it possible to simply turn off the proxy

Re: release problem with multi modules project

2007-12-01 Thread Heinrich Nirschl
On Dec 1, 2007 4:21 PM, Guillaume Lederrey [EMAIL PROTECTED] wrote: Thanks ! It seems to be working ! I'm still wondering why I cant compile the project in one pass, and fixing that would speed the release process considerably. If you have any idea where I should be looking ... It is a bug,

Re: [m2] site 2.0-beta-5 plugin error?

2007-12-01 Thread Heinrich Nirschl
On Dec 1, 2007 8:31 PM, Mick Knutson [EMAIL PROTECTED] wrote: I have the following: distributionManagement site idmeez-site/id nameMEEZ_Web/name url${siteUrl}/url !--urlscp://www.meez.com/maven/site//url-- /site

Re: release problem with multi modules project

2007-11-30 Thread Heinrich Nirschl
On Dec 1, 2007 3:26 AM, Guillaume Lederrey [EMAIL PROTECTED] wrote: Hello ! I'm having problems with the release plugin on a multi module project. The release:prepare goal works fine, but when I do the release:perform, I get an error telling me that it cant resolve a dependency to

Re: Access is denied when running mvn release:prepare (Help!)

2007-11-12 Thread Heinrich Nirschl
On Nov 12, 2007 3:19 AM, dev dev [EMAIL PROTECTED] wrote: Here is the stack trace. [INFO] Executing goals 'clean verify'... [INFO] Executing: mvn clean verify --no-plugin-updates -P devel Access is denied. If this happened on Windows, there was maybe a file in the target directory opened by

Re: shared library in executable jar file

2007-11-07 Thread Heinrich Nirschl
On Nov 6, 2007 11:17 PM, Ed [EMAIL PROTECTED] wrote: Where do I configure to have a shared library file included correctly in an executable assembly file? I've been looking in the assembly plugin area with no luck. When I try to run the executable jar file I get an

Re: Exception transfering site files via webdav

2007-11-01 Thread Heinrich Nirschl
uploading a site file with site:site has worked quite well for me until a few months ago. Now, I consistantly get an exception half way through the process. The only thing that really changed, I think, is the size of the projects: more files. here's the exception: Embedded error: Failed

Re: maven.compile.encoding problem (?)

2007-10-26 Thread Heinrich Nirschl
Find out which character encoding is used by your Java source files and set a matching encoding for the compiler. The description of the compile plugin may help: http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#encoding As already mentioned, you can avoid all these encoding

Re: DuplicateProjectException

2007-10-18 Thread Heinrich Nirschl
On 10/18/07, Jason Nerothin [EMAIL PROTECTED] wrote: Okay, so what I mean is that I have four complilation units: Unit A has compile-time dependencies on B1 and B2 which in turn have a compile-time dependency on unit C. mvn compile tries to figure out which code to link against (B1-C or B2-C)

Re: DuplicateProjectException

2007-10-17 Thread Heinrich Nirschl
Hmm, thats still not clear since module of and depends upon are totally different relationships. B module of A means that in A's pom you have a moduleB/module whereas A depends on B means that in A's pom you have a dependencyartifactIdB/artifactId ... /dependency On 10/16/07, Jason Nerothin

Re: Menu element for modules getting removed from site.xml

2007-10-08 Thread Heinrich Nirschl
On 10/7/07, Wendy Smoak [EMAIL PROTECTED] wrote: On 10/7/07, Heinrich Nirschl [EMAIL PROTECTED] wrote: I checked some of my projects, the menu ref=modules / gets expanded to a list of all modules. Do you have modules defined in your pom? If not, this may explain why it disappears

Re: Menu element for modules getting removed from site.xml

2007-10-07 Thread Heinrich Nirschl
On 10/7/07, Wendy Smoak [EMAIL PROTECTED] wrote: I have a master pom with a companion src/site/site.xml. When I install or deploy the pom, the site.xml file also gets put in the local or remote repo. ... except that the menu ref=modules / tag is *not* in the deployed site.xml. I've

Re: How to always get latest version of the dependency?

2007-10-02 Thread Heinrich Nirschl
On 10/2/07, siegfried [EMAIL PROTECTED] wrote: How do I always download the latest version of the dependency? So far, I've always had to specify the version of the dependency I want. You always have to specify the version. This helps to get repeatable builds. As long as your project is still

Re: maven2 / continuum / scm URL frustration

2007-09-15 Thread Heinrich Nirschl
On 9/16/07, Marco Mistroni [EMAIL PROTECTED] wrote: and when i validate it using mvn scm:validate i always get back following exception [DEBUG] Configuring mojo ' org.apache.maven.plugins:maven-scm-plugin:1.0:validate' -- [DEBUG] (f) basedir = /home/marco/TestApp [DEBUG] (f)

Re: FW: Using Proximity Corporate Repository doesnt download plugins/dependencies

2007-09-11 Thread Heinrich Nirschl
If you use the standard configuration, the url for the central mirror should be urlhttp://somednsname:8080/px-webapp/repository/public/url instead of urlhttp://somednsname:8080/px-webapp/repository/inhouse/url Hope that helps, - Henry On 9/11/07, Wayne Fay [EMAIL PROTECTED] wrote: Perhaps

Re: Build javadoc of dependencies?

2007-09-06 Thread Heinrich Nirschl
On 9/5/07, Jochen Wiedmann [EMAIL PROTECTED] wrote: Hi, I have a project which is structured like this: +- parent | +- core | +- webapp (In practice, it's a little bit more complex, but the picture is sufficient to show the use case.) When

Re: deploying to proximity via webdav

2007-08-27 Thread Heinrich Nirschl
On 8/22/07, Pascal Thivent [EMAIL PROTECTED] wrote: Hi, I've used the following url successfully(*) : urldav:http://host:port/pxweb/dav/inhouse.snapshot/url I guess it should work in the same way with extNonFree. Unfortunately not. The inhouse.snapshot is understood by proximity as the

Re: deploying to proximity via webdav

2007-08-23 Thread Heinrich Nirschl
On 8/23/07, Dave Hoffer [EMAIL PROTECTED] wrote: If I recall correctly proximity did not support uploading artifacts only downloading them. This may have changed since we used it however. I think this was one of the reasons we switched to Artifactory. With proximity we were using ftp to

deploying to proximity via webdav

2007-08-22 Thread Heinrich Nirschl
Hi, in the out-of-the-box setup of proximity with the repositories extFree, extNonFree, and central in the public group I would like to deploy to extNonFree via WebDAV. I tried the URLs: http://myserver:8080/proximity/dav/extNonFree - this results in a 500 response from the server, the server

Re: deploying to proximity via webdav

2007-08-22 Thread Heinrich Nirschl
/extensions Yes, I have that. -Dave -Original Message- From: Heinrich Nirschl [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 22, 2007 2:39 AM To: Maven Users List Subject: deploying to proximity via webdav Hi, in the out-of-the-box setup of proximity with the repositories extFree

Re: [m2] OutOfMemoryError with MAVEN_OPTS=-Xmx1792m

2007-08-21 Thread Heinrich Nirschl
On 8/21/07, Mick Knutson [EMAIL PROTECTED] wrote: I am putting almost 2GB to a build and still getting permGen errors. Is there something else I can set? -XX:MaxPermSize=size - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Overriding artifact name in the repository

2007-08-06 Thread Heinrich Nirschl
On 8/6/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Is there a way to override the artifact name that gets deployed into the repository? No. The repository is primarily there for maven to find artifacts used as dependencies in other projects. This is not be possible if they don't have the

Re: Eclipse plugin

2007-08-01 Thread Heinrich Nirschl
On 8/1/07, Lautaro Brasseur [EMAIL PROTECTED] wrote: Hi, I'm using eclipse:eclipse target in order to build Eclipse files form a multilevel Maven 2 project. The problem is that I have some artifacts that have the same ID (but different group). Eclipse plugin creates them with the same

Re: repositories

2007-07-23 Thread Heinrich Nirschl
On 7/23/07, John Coleman [EMAIL PROTECTED] wrote: Hi, Is there a simple way to get all dependencies required for a project into the local repository? Something like rsync. The dependency:go-offline goal can be used for that:

Re: Error [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no valid version could be found

2007-07-18 Thread Heinrich Nirschl
On Wed, 2007-07-18 at 14:09 +0200, Wei Chen wrote: [INFO] Searching repository for plugin with prefix: 'archetype'. [DEBUG] Loading plugin prefixes from group: org.apache.maven.plugins [INFO] org.apache.maven.plugins: checking for updates from central [WARNING] repository metadata for:

Re: Error [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no valid version could be found

2007-07-18 Thread Heinrich Nirschl
On Wed, 2007-07-18 at 14:48 +0200, Wei Chen wrote: Yes, I am behind the proxy of our company. I've seen the link you sent me. And I configured the proxies/ as follow but I get the same error. proxy idoptional/id activetrue/active protocolhttp/protocol

Re: Error [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no valid version could be found

2007-07-18 Thread Heinrich Nirschl
On Wed, 2007-07-18 at 15:12 +0200, Wei Chen wrote: I wonder if I can overcome this problem manually. I mean I download the plugin myself and save it under the local repositories. Then I comment out some entries in the setting.xml. This is possible but somewhat difficult and I would not

Re: Error [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no valid version could be found

2007-07-18 Thread Heinrich Nirschl
On Wed, 2007-07-18 at 17:08 +0200, Wei Chen wrote: I solve the new problem. I just take out the MAVEN_OPTS and it runs. But tomorrow I will try further if it runs in the office. Original-Nachricht Datum: Wed, 18 Jul 2007 17:05:05 +0200 Von: Wei Chen [EMAIL PROTECTED]

Re: plain old application packaging

2007-07-16 Thread Heinrich Nirschl
On Mon, 2007-07-16 at 17:29 +0100, Nord, James wrote: I want to be able to have a build that contains specific project dependencies and produces a bundled result - such as a zip that can be taken and given to the packaging/installation team. As I'm not using web technology I can't find a

Re: dependency:analyze incorrectly using excludes from DepMgt section.

2007-06-29 Thread Heinrich Nirschl
On Fri, 2007-06-29 at 21:26 +0930, Barrie Treloar wrote: On 6/29/07, Heinrich Nirschl [EMAIL PROTECTED] wrote: On Thu, 2007-06-28 at 10:20 +0930, Barrie Treloar wrote: When I run dependency:analyze on my module I get: [INFO] Found Resolved Dependency / DependencyManagement mismatches

Re: dependency:analyze incorrectly using excludes from DepMgt section.

2007-06-29 Thread Heinrich Nirschl
On Sat, 2007-06-30 at 11:12 +0930, Barrie Treloar wrote: I'm excluding it because EasyConf specifies a different version and I need to override it. Doesn't just pinning the version in dependencyManagement in such situations work? It should not be necessary to exclude the wrong version. However,

Re: dependency:analyze incorrectly using excludes from DepMgt section.

2007-06-28 Thread Heinrich Nirschl
On Thu, 2007-06-28 at 10:20 +0930, Barrie Treloar wrote: When I run dependency:analyze on my module I get: [INFO] Found Resolved Dependency / DependencyManagement mismatches: [INFO] Ignoring Direct Dependencies. [INFO] javax.servlet:servlet-api:jar was excluded in DepMgt, but version 2.3

Re: maven2 property to get absolute location of POM?

2007-06-26 Thread Heinrich Nirschl
On Tue, 2007-06-26 at 12:41 -0400, Jared Blitzstein wrote: Is there a POM property that can return the absolute path or itself? I have a dependency that must use the systemPath tag but the absolute path could be different for all our developers, but it's always the same relative to the

Re: using javadocDirectory with maven-javadoc-plugin

2007-06-22 Thread Heinrich Nirschl
On Thu, 2007-06-21 at 23:22 +0100, Adam Hardy wrote: I couldn't get it to work. I am glad it doesn't affect you, but I found nothing to explain why. BTW I am on linux too. I filed the bug http://jira.codehaus.org/browse/MJAVADOC-129 with a testcase. I tried your test case, but I get a

Re: Skiping module during mvn eclipse:eclipse

2007-06-21 Thread Heinrich Nirschl
On Thu, 2007-06-21 at 12:13 +0200, Marcin Waldowski wrote: Nick, thanks for your replay. My problem is that 'mvn eclipse:eclipse' fail on ear module, because of '[INFO] Failed to resolve artifact'. This missing artifact is other module of my my multiple module project. It's weird, because

Re: using javadocDirectory with maven-javadoc-plugin

2007-06-16 Thread Heinrich Nirschl
On Sat, 2007-06-16 at 19:21 +0100, Adam Hardy wrote: Heinrich Nirschl on 15/06/07 18:35, wrote: On Thu, 2007-06-14 at 23:07 +0100, Adam Hardy wrote: I thought I'd post a more generic description since it seems no-one else recognises the problem. Can't find any references

RE: How do multiple plugin executions work?

2007-06-15 Thread Heinrich Nirschl
On Thu, 2007-06-14 at 16:07 -0400, Brian E. Fox wrote: Don't know if this helps, but according to the docu, the outputDirectory should be directly below configuration, at the same level as artifactItems. It's worth a try. Actually both are valid. It lets you specify a single common

Re: using javadocDirectory with maven-javadoc-plugin [was: package.html resources not read]

2007-06-15 Thread Heinrich Nirschl
On Thu, 2007-06-14 at 23:07 +0100, Adam Hardy wrote: I thought I'd post a more generic description since it seems no-one else recognises the problem. Can't find any references to it in the JIRA or on the mailing list or in fact just generally by googling (there is some stuff but it was for

Re: How do multiple plugin executions work?

2007-06-14 Thread Heinrich Nirschl
On Thu, 2007-06-14 at 10:35 +0100, Kevin Stembridge wrote: Hi all, I need to use the dependency plugin for two separate tasks in a project. I don't understand how to define multiple executions of a plugin. The relevant portion of my pom.xml and the error message are below. Also, what is

Re: maven-jar-plugin wraps manifest.mf line at wrong position

2007-06-08 Thread Heinrich Nirschl
On Fri, 2007-06-08 at 16:21 +0800, 張旭 wrote: Dear friends, I have encountered a strange problem when specify custom manifest file when using the maven-jar-plugin. I've a very very long line in the manifest file that maybe have hundreds columns. It seems that the plug-in will automatically

Re: Locale problem with subversion when running release:prepare

2007-05-29 Thread Heinrich Nirschl
I think the error messages are written by svn because the en_US.UTF-8 locale does not exist on the machine. I can reproduce the errors if I try svn with a non-existing locale (en_GB does not exist on my box): $ LANG=en_GB svn st svn: error: cannot set LC_ALL locale svn: error: environment

Re: Locale problem with subversion when running release:prepare

2007-05-29 Thread Heinrich Nirschl
en_US.ISO8859-1 en_US.ISO8859-15 [EMAIL PROTECTED] en_US.UTF-8 es es.UTF-8 es_MX es_MX.ISO8859-1 fr fr.UTF-8 fr_CA fr_CA.ISO8859-1 iso_8859_1 ja ja_JP.PCK On 5/29/07, Heinrich Nirschl [EMAIL PROTECTED] wrote: I think the error messages

Re: Releasing a branch?

2007-04-27 Thread Heinrich Nirschl
On 4/27/07, Emmanuel Venisse [EMAIL PROTECTED] wrote: I'll look at the issue created by Jim, but it was in my planning to implement the branch creation in the next month. Emmanuel There is another, slightly related issue. From time to time, you want to merge the bug fixes from the

Re: Releasing a branch?

2007-04-27 Thread Heinrich Nirschl
On 4/27/07, Roland Asmann [EMAIL PROTECTED] wrote: Branching (as I've stated a couple of time now) is an issue, which I feel can and should be automated. However, the merging of code is something that I feel should be left with manual intervention. Some bugs that have been fixed in a branch,

Re: Filtering resources into a directory other than classes for a webapp?

2007-04-27 Thread Heinrich Nirschl
On 4/27/07, Jared Blitzstein [EMAIL PROTECTED] wrote: I'm using the webapp archetype and our apps are configured to have the properties files in /WEB-INF/config/ rather than /WEB-INF/ classes/ which maven defaults to for resource filtering. I see the targetPath tag in the resource tag but that's

Re: How to access a file that's inside an executable jar assembly, programatically

2007-04-27 Thread Heinrich Nirschl
On 4/27/07, Ed Young [EMAIL PROTECTED] wrote: I'd like to display the license information contained in a file that has been assembled into an executable jar file assembly when the user passes a command line parameter. I'm not sure if this is a maven issue, really, but the executable assembly

Re: Weird url while trying to download a dependency

2007-04-27 Thread Heinrich Nirschl
On Fri, 2007-04-27 at 10:03 -0700, mateamargo wrote: I have deployed a maven-plugin in a remote repository with this commands: mvn deploy:deploy-file -DgroupId=org.apache.jmeter -DartifactId=maven-jmeter-plugin -Dversion=1.0-SNAPSHOT -Dpackaging=maven-plugin

Re: Filtering resources into a directory other than classes for a webapp?

2007-04-27 Thread Heinrich Nirschl
On Fri, 2007-04-27 at 15:17 -0400, Jared Blitzstein wrote: Thanks, I've read that as well as http://maven.apache.org/guides/ getting-started/index.html#How%20do%20I%20filter%20resource%20files and it's basically the same thing as the WAR plugin...I believe. Since I need this on both the

  1   2   >