[m2] How to exclude resources from being copied?

2006-02-21 Thread Thorsten Heit
f yes, can someone please explain how to achieve this? Regards Thorsten Heit -BEGIN PGP SIGNATURE- Version: PGP 8.1 iQA/AwUBQ/r8pELzm5IAnA3tEQLSXQCfeR0M3HBa6yS8+u1Qr5/sauZDuY8AoKAw inrZ02PjE5Psh3pFemQAzv1e =lv5r -END PGP SIGNATURE- ---

RE: [m2] How to exclude resources from being copied?

2006-02-21 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > Have you tried > > > **/*.java > > > so it will also check the subdirs. Yes, that's it! Didn't know that the syntax is similar to that of Ant scripts... Unfortunately there's no description of the "excludes"

Re: Compiling error

2006-02-23 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > C:\Stephani\workspace\Stephenie\src\java\steph\ejb\Rank.java:[11,1] > annotations are not supported in -source 1.3 > (try -source 1.5 to enable annotations) > @javax.persistence.Entity Try to add the following to your pom.xml:

[m202] Errors in the console when execitung "mvn site"

2006-02-23 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, when I let Maven generate the site for my project, three error messages are shown in the console: (...) [INFO] Setting property: velocimacro.messages.on => 'false'. [INFO] Setting property: resource.loader => 'classpath'. [INFO] Setting prope

Re: [Maven-2.0.3] Release

2006-02-23 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > Does anyone knows when Maven-2.0.3 will be released ? When it is ready (hopefully in the next few days)...? *scnr* Regards Thorsten -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (MingW32) iD8DBQFD/frRQvObkgCcDe0RAuIPAJ48qcC7ih4HOHw

OutOfMemoryError when creating Javadoc

2006-02-23 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, when I want to create the Javadoc for my project, Maven fails with an OutOfMemoryError. According to the documentation the javadoc plugin supports a parameter "maxmemory" so I added the following flag to the plugin configuration:

Re: OutOfMemoryError when creating Javadoc

2006-02-24 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > set MAVEN_OPTS=xyz instead, no need to modify the batch file I tried "MAVEN_OPTS=-Xmx384m" yesterday evening. Now the Javadoc task starts, but after about 10-15min the OOME occurs again... Although I don't know why Javadoc takes that much time

Re: [m2] Failure to recognise a jar

2006-02-24 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > my libraries in eclipse. However when I try to import a class contained > in the jar eclipse throws an error. What kind of error? Regards Thorsten -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (MingW32) iD8DBQFD/yQaQvObkgCcDe0RAtnY

Re: OutOfMemoryError when creating Javadoc

2006-02-24 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > I'm not even sure MAVEN_OPTS=-Xmx is efficient over 256 Mo. I tried several > values and always the mvn task grew to about 256 Mo then stopped. Can you > try again and watch in the task manager how the used memory evolves ? I watched Maven's memory

Re: OutOfMemoryError when creating Javadoc

2006-02-24 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Where you running maven within an IDE such as MyEclipse? Today i attemped it > inside MyEclipse and always received an OutOfMemoryError. Ran it within > command prompt and had no problems. No, I started Maven from the command line. According to Proc

Re: [m2] Failure to recognise a jar

2006-02-24 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > I have the variables included in eclipse and the dependencies in the > pom. However I'm still having the same trouble. Have you checked that Eclipse really uses the correct jars in the project settings under "Java Build Path->Libraries"? On my mach

[m202] NumberFormatException when using the surefire report plugin

2006-02-28 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, when I'm generating the site for my project, I'm getting tons of NumberFormatExceptions with the surefire report plugin, such as: java.lang.NumberFormatException: For input string: "0,062" at sun.misc.FloatingDecimal.readJavaFormatStrin

Re: [m2] antrun plugin - Embedded error: Unable to find a javac compiler;

2006-03-09 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > Embedded error: Unable to find a javac compiler; > com.sun.tools.javac.Main is not on the classpath. > Perhaps JAVA_HOME does not point to the JDK I got a similar error recently when I wanted to call Ant's RMIC task. I solved it by adding a dep

Re: [m2] antrun plugin - Embedded error: Unable to find a javac compiler;

2006-03-09 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bob Arnott schrieb: > Smashing, it compiles my generation tool now. It seems to be a bit of a > hack > though... Anyway of stopping it looking for the dependency in the > central repo > everytime...? Should be possible if you put the following in your

Re: custom src directory layout - how to get it to not checkstyle/javadoc the tests too.

2006-03-10 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > the directory structure we have is > > pom.xml > src/ > - org/ Maven uses src/java/... per default. Have you tried that? Regards Thorsten -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (MingW32) iD8DBQFEEXUbQvObkgCcDe0RAurvAJ9R6yQps

Re: custom src directory layout - how to get it to not checkstyle/javadoc the tests too.

2006-03-14 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > The M2 standards are src/main/java and src/test/java: > http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html > > Only mentioning because I saw src/java listed by someone as the Maven > default... Erm, yes,

Re: [m2] maven2 javadoc for plugin development available online?

2006-03-14 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Sebastian, > I'm a new maven user. Is there a complete maven2 api documentation > online available? AFAIK no. You should download the Maven source code and build Maven by yourself: http://maven.apache.org/guides/development/guide-building-m2.html

Re: Maven 2 and java 1.5 Annotations

2006-03-20 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > Hello Subhash, > Thanks a lot it works. You have probably more experience than me with > JUnit 4 and maven. I would ask you another question. I have written my > test class as described in the cookbook (for 4.0) by Kent Beck, Erich > Gamma on th

Re: Does maven2 support junit-test-report now?

2006-03-22 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > How can I change my local? MAVEN_OPTS=-Duser.language=en -Duser.country=US HTH Thorsten -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (MingW32) iD8DBQFEITYFQvObkgCcDe0RAhO/AJwJYUcdgfDrrTWrHdQHDOlmQWmkfwCg88i+ dOkLhytHgdtnBrdxM7XZU0s

Re: Maven directory structure

2006-03-22 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > My project which is build in ant does'nt use maven standard directory > structure > > src/main/java java source files > src/test/java - java test files > > Now i want to migrate to maven > > Which way of directory structur

Re: Project ignoring custom respository?

2006-03-22 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Gareth, > > ... > > > my-repo > my custom repo > http://myserver:8080/maven-proxy-webapp/repository > > > I'm using the following in my pom.xml: false apache.snapshots Apache Dev

Re: Project ignoring custom respository?

2006-03-22 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Gareth, > Thanks for your reply! So by doing that, you're saying that you only want to > use your mirror if the central repo is down, correct? No, the proxy is always contacted. See http://maven.apache.org/guides/mini/guide-mirror-settings.html

[m2] Improper build number after deploying a snapshot of maven-javadoc-plugin

2006-03-22 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I'm trying to use the beta-4 snapshot of the maven-javadoc-plugin and wanted to deploy it on my local proxy. The plugin is deployed via: $ mvn compile jar:jar (lots of messages) $ cd target $ mvn deploy:deploy-file -DrepositoryId= - -Durl=file:/

Re: Project ignoring custom respository?

2006-03-22 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > I assume this means it can't fetch the maven-resources-plugin from the > repository (because it's not in my local one yet). But why didn't it then go > on to try central? Does your Maven proxy have direct access to the Internet, i.e. can your p

Re: [m2] Improper build number after deploying a snapshot of maven-javadoc-plugin

2006-03-23 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > mvn deploy automatically appends the timestamp when it deploys the jar > file in the repository when it is a snapshot version. > If you want to disable this, you would have to specify a version of the > plugin instead of specifying it as a snaps

Re: [m2] Improper build number after deploying a snapshot of maven-javadoc-plugin

2006-03-23 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Kenney, > I remember a bug like this, but it was fixed long ago. Perhaps you're > using an old version of Maven 2? Maybe your proxy needs updating.. Both are the newest versions (Maven 2.0.2; maven-proxy-standalone-0.2 from maven-proxy.codehaus.or

Re: Disable maven-proxy output

2006-03-23 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Gareth, > Sorry for this being slightly off topic, but can someone tell me how to > disable the ouput from maven-proxy? If you don't need the output, you can redirect it to /dev/null. But for security reasons I suggest to redirect it to files so y

Re: Problem with Cobertura

2006-03-23 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, >When I am trying to use Cobertura plugin, It it generating FATAL ERROR. A little bit more information (mvn -e -X ...) would be useful... AFAIK the cobertura plugin for Maven 2 is not yet finished, but a couple of days Boris Lenzinger wro

Re: Problem with M2 on Windows Servers - running tests

2006-03-23 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Stephen, > However, for two of our Windows systems, when we try and build the > project using Maven 2, we get the > following error. We are able to perform an "mvn clean" successfully on > those machines, and also > Java compilation succeeds. It'

Re: [OT] Migrating from CVS to Subversion

2006-03-23 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Ian, > I've got a project currently managed by CVS which I would like to migrate > to Subversion. Is there a tutorial or HOWTO that you would recomend? http://cvs2svn.tigris.org/ HTH Thorsten -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2

Re: [m2] Improper build number after deploying a snapshot of maven-javadoc-plugin

2006-03-23 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Sure looks like a bug to me. > > Might want to file this log along with your pom.xml in Jira? Done: http://jira.codehaus.org/browse/MDEPLOY-27 Thorsten -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (MingW32) iD8DBQFEIsVuQvObkgCcDe0RAkx3A

Re: Maven plugin gets called only once

2006-03-23 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > I have a project with multiple modules. Three of the modules use a same > plug-in with different values. However whenever I run "myPlugin", it > executes for the first in sequence module only and then quits. Shouldn't > it continue and execute f

[m2] Exceptions when executing the surefire-report-maven-plugin

2006-03-23 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello list, when executing "mvn site" using the snapshot version of the surefire-report-maven-plugin, I get two exceptions on my console window: org.codehaus.mojo surefire-report-maven-plugin 2.0-beta-2-SNAPSHOT (.

Re: [m2] mvn 2.0.3 eclipse:eclipse not working anymore

2006-03-29 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Stefan, > My pom is valid and has no duplicate tags! Seems to be a problem with > plexus. > Any inpput welcome! ;-) Hm, strange, on my machine everything works fine as it did with Maven 2.0.2. Before I restarted a new full build of my project, I c

Re: [M2]How to use own jars

2006-03-29 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > I am working on multiple projects. I need to use our own jars as a > dependencies. Could you please let me know, How can I use our own > jars as dependencies in my local repository...? http://maven.apache.org/guides/mini/guide-deploying-3rd-par

Re: [m2] Improper build number after deploying a snapshot of maven-javadoc-plugin

2006-03-30 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > which is strange because I just deployed it. I looked into the proxy > directories and wondered that the files are named differently: > > * maven-javadoc-plugin-2.0-beta-4-20060322.180042-1.jar > * maven-javadoc-plugin-2.0-beta-4-20060322.18004

Re: [m2] How to use deploy:deploy-file to manage my private repo ?

2006-03-30 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Nico, > install:intall-file can be used to put an artifact in local repo. Can I > use deploy:deploy-file to do the same in my corporate repo ? Yes. > How to set the remote repository path (I cannot find an entry for this > in setting.xml) ? It d

Re: [m2] Exceptions when executing the surefire-report-maven-plugin

2006-03-30 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Boris, > Some tracks may be about your problem: > * Do you an IDE to edit your files ? If not, Eclipse detects "unusual" > characters and may be it could be helpful here. I know that I sometimes > generated special characters with a key combination

Re: [m2] Exceptions when executing the surefire-report-maven-plugin

2006-03-30 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Gunther, > 0x8 is a control character (Backspace?) and not allowed in XML files. > The only exception to this are tab (0x9), CR and LF. > > Check the XML file using a hex editor or XML Spy for the exact location > of the invalid character. These

Re: [m2] Improper build number after deploying a snapshot of maven-javadoc-plugin

2006-03-30 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Wayne, > You'll need to add the Maven SNAPSHOT repository to your pom. This is > such a common topic on the User list... Sorry, forgot to mention that I already have this... Unfortunately http://snapshots.maven.codehaus.org/maven2 only contains v

[m203] Cobertura and classes compiled with debug info

2006-04-04 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Maveners, I'm using the Cobertura plugin for generate some (hopefully useful :-)) reports: org.apache.maven.plugins maven-compiler-plugin 1.4 1.4 1.4 true ... o

Re: problem with surefire-report-maven-plugin-2.0beta1

2006-04-04 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Pierre, > i've got some problemem when i want to make site. Maven send this > error when it uses the surefire-report plugin : > > error message : > [WARNING] Error loading report > org.codehaus.mojo.surefire.SurefireReportMojo - AbstractMethodErr

Re: problem with surefire-report-maven-plugin-2.0beta1

2006-04-04 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Pierre, > thanks Thorsten. > I have done what you said before, the good news that you have resolve > my problem the bad news that a new problem come... ^^ :-) > > > > > org.codehaus.mojo > surefire-report-maven-plugin > > 2

Re: problem with surefire-report-maven-plugin-2.0beta1

2006-04-04 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Pierre, > sorry i can't use snapshot version, marven send me this error messaga when i > use the site command. > error : > Reason: Unable to download the artifact from any repository > > org.codehaus.mojo:surefire-report-maven-plugin:pom:2.0-be

Re: [maven-proxy] How to shutdown?

2006-04-05 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Gerald, > I'm using the standalone maven-proxy. I wonder if there is a way to > shutdown the maven-proxy other than sending SIGINT at the process > level but through a http request? Simply open the proxy URL in your web browser, go into the admin

Re: problem with mvn command

2006-04-05 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > when I use one of the mvn commands i have this error message, no action have > be donne after and after. >> mvn > Exception in thread "main" java.lang.NoClassDefFoundError: Xmx256m > > > where the problem is and how resolve it ? Sounds as if

Re: Snapshots never enabled!?

2006-04-10 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > > > You should try true to activate your default profile; yours above doesn't work AFAIK. HTH Thorsten -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (MingW32) iD8DBQFEOni1QvObk

Re: Taglist plugin doesn't work....

2006-04-12 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I have the following in my pom.xml: .. org.codehaus.mojo taglist-maven-plugin TODO, @todo, FIXME, HACK, @deprecated and it works quite fine when I execute "mvn site"... Regards Thorsten

Re: Deploying 3rd party SNAPSHOT libraries

2006-04-17 Thread Thorsten Heit
Hi Roland, > I'm trying to deploy 3rd party snapshots to our local maven-proxy, but have > problems when my builds try to access the libraries. I've already found out > that the POM and JAR do not have the same name, but have a buildnumber > appended to their names, which differs between the tw

Re: Junit using Maven

2006-04-20 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > I am using Maven2. When I am packaging my project. The Maven runs the Junit > also for that project. But it just gives me the resuilt as > > [surefire] Running > rlg.pensions.definedbenefits.components.payroll.bs.TestBsPayrollBean > [surefire]

Re: Resources from src tree

2006-04-20 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Gwyn, > I understand that if I want to have resources copied from src/main/java > rather than the default /src/main/resources, then I need to add something > like the following, but what I don't know is where I should be looking if I > want to se

Re: Surefire Report does not run when test throws an exception

2006-04-20 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Brian, > One of the test cases in my project blows an exception. As a result the > surefire-report plugin doesn't seem to run. 'site' goal does not complete > and consequently. > > Is there a parameter I can set in the plugin that will at least

Re: [m2] disabling download attempts of poms

2006-04-24 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > How can I prevent maven from checking the repository for poms? The > poms are already in my local repo, so I do not see the need to check > at all. > > Worse: when my internet connection is down or slow or ibiblio is > unreachable my build fail

Re: [M2] Problem running tests on Windows (white-space in repository?)

2006-04-25 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Bill, > I have a maven build that runs fine on Linux and OSX but fails in Windows. > Part of the test includes starting an RMIRegistry and connecting to it. The > test fails with an java.net.MalformedURLException "no protocol: and". I've > done s

Re: Including xmls while packaging

2006-04-25 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > I have a project which has few xmls placed along with the java files in a > particular folder. When I package this project only the class files appear > in this folder and the xml files are ommited. But if i place these xml files > with in the s

Re: Two new Sun jars available in Maven repos (Thanks Carlos)

2006-05-04 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Wayne, > Just wanted to post and let everyone know that Carlos Sanchez has > recently uploaded two new Sun jars into the Maven repos. This was not > discussed on the User or Dev list, nor did I see any relevant JIRA > emails, so I thought I'd send

Re: Two new Sun jars available in Maven repos (Thanks Carlos)

2006-05-04 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > I think these are the only releases that can be put in maven's > repositories, > as they are the first releases (of these two products) which use the CDDL > license (instead of the old one which doesn't permit distributing them in > maven's repo with

Re: Compilation failure of java.nio.BufferOverflowException

2006-05-17 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > I am trying replace ANT with MAVEN to build my project. In ant, I > also met the memory overflow problem when execute the "javac" task. > Finally the problem is solved by set memoryMaximumSize property like > this, > > memoryMaximumSize="100m"

Re: Relative to content-type, Is their convention for the file in the repository?

2006-05-18 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > md5 & sha1 = not so sure, but I imagine someone at IETF or W3C has > come up with some proposal to specify these Content-Types, so if you > Google and find it, report back. What about text/plain? The hashes are simple text files as far as I hav

Re: Java heap space with surefire-report

2006-05-19 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Julien, > > [ERROR] FATAL ERROR > [INFO] > > [INFO] Java heap space > [INFO] > ---

Re: creating a mirror of central?

2006-05-23 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > I have also tried to use maven-proxy, and itself is fine UNTIL I start > or use an older project that requires a jar from [central] and > maven-proxy does not have it so tries to connect to ibiblio and it > blacklists Have you checked wheth

Re: creating a mirror of central?

2006-05-23 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > It's not proxy issues - maven-proxy can't help if ibiblio is down when > trying to download a new jar ;-) Indeed :-) But you can configure maven-proxy to access a different central repository; it's not mandatory to use ibiblio... See also http://ww

Re: [m2] buildnumber-plugin

2006-06-01 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Christian, > i have a problem with the buildnumber-plugin. When i execute "mvn > buildnumber:create" I get the following error: > > [INFO] > > [ERROR] BUILD ERROR > [INFO] >

Re: maven2 surefire plugin - how to pass args to surefire on command line

2007-07-27 Thread Thorsten Heit
Hi, This is what I want to pass as the surefire argLine param --- -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y ,address=1824 --- Right now I have this hard coded in the pom as: -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,serv

Re: How can i build a specific version without changing the pom.xml?

2007-07-27 Thread Thorsten Heit
Hi, I agreed with your comments. Here is the practical usage: The version under source code is building against xyz version 5.6.1.0. However, we need the capability to build against the non-release quality of version xyz that comes out every day or week, say 5.6.1.1, then 5.6.1.2, then 5.6

Re: How can i build a specific version without changing the pom.xml?

2007-07-30 Thread Thorsten Heit
In that case, you will need to change pom.xml everytime right? As long as you're using snapshots: No. You only have to change your pom.xml if you decide that the code is stable enough to be called a new release. Or, we can have profile defined in profiles.xml or settings.xml to avoid pom

Re: castor plugin and castor version

2007-08-07 Thread Thorsten Heit
Hi, > I'm using castor to generate code. > the plugin (mojo) has a dependency on castor:castor:0.9.7 > This version has a generator bug > (http://jira.codehaus.org/browse/CASTOR-742) > that is solved in 1.0.4 > > But I can't override the plugin classpath to set version to 1.0.4 as the > groupId h

Re: Trying to compile using jav 1.3 when I've 1.5

2007-08-10 Thread Thorsten Heit
Hi, When i try to user mvn compile I'm getting the following error, any help [INFO] [compiler:compile] [INFO] Compiling 127 source files to F:\build\cougar_common\target \classes [INFO] -- -- [ERROR] BUILD FAILURE [INFO]

Re: Retrieving version of the pom itself - not the child projects pom

2007-08-31 Thread Thorsten Heit
Hi, > What I would like is a way to refer to the version of "this" pom (ie the > same as the reference) not relative to the pom from which the build is > invoked. What about "${project.version}"? AFAIK this should work. HTH Thorsten

Re: Retrieving version of the pom itself - not the child projects pom

2007-09-03 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > Won't ${project.version} be resolved to the version of the pom in the project > where the build was invoked? No. "${project.version}" in the child indeed contains the child's version, not the one from the parent. Try this: Parent: 4.0.0

Re: overriding central repo & archetype:create

2007-09-10 Thread Thorsten Heit
Hi, > I have the impression that the settings default > profiles (activated in settings.xml with > activeProfile) are not used when there's no pom.xml. Yes. There's already a couple of Jira issues for that: * http://jira.codehaus.org/browse/ARCHETYPE-59 * http://jira.codehaus.org/browse/MNG-3099

Re: maven

2007-09-10 Thread Thorsten Heit
Hi, > help me,i am getting this error when i am trying to run examples using > maven,if any body has got this previously pls help me > > D:\apps\Apache\servicemix\examples\basic>mvn jbi:embeddedServicemix > [INFO] Scanning for projects... > Downloading: > http://people.apache.org/repo/m2-incubat

Re: How to exclude the contents from WEB-INF/classes from being copied over?

2007-09-10 Thread Thorsten Heit
Hi, > While using MyEclipse with maven, I have the eclipse plug-in keeping the > output directory as WEB-INF/classes so that I can still work with hot > deploys. > > > org.apache.maven.plugins > maven-eclipse-plugin > > > src/main/webapp/WEB-INF/cl

Re: Subcommander 1.2.2.1

2007-09-10 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Mark, > I figured I would post here as I am not sure if this is a subcommander > issue or a subversion issue or just normal. I guess you'd better ask the Subcommander guys or post your question to the Subversion user list instead of this Maven use

Re: How to exclude the contents from WEB-INF/classes from being copied over?

2007-09-10 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > 1) When I left the eclipse output directory as target MyEclipse got very > confused and I had a lot of issues, especially switching between eclipse and > maven builds. Just for curiosity: What kind of errors? For testing purposes on one of our

Re: How to exclude the contents from WEB-INF/classes from being copied over?

2007-09-10 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Jim, > I'm trying to remember exactly what the issues that came up while having > maven and eclipse build to the same location, but I can't remember specifics > other than one tool or the other would get confused if the other changed the > source.

Re: problems downloading internal SNAPSHOTs

2007-09-20 Thread Thorsten Heit
Hi, > it is very difficult to reproduce this error, because downloading other > snapshots from same internal repository works, so repository settings > should > be fine (otherwise no downloads would work). Is it always the same snapshot that cannot be downloaded correctly? Or do others show the

Re: Problem with plugin discovery

2007-09-20 Thread Thorsten Heit
Hi, > > com.davidkarlsen.maven.plugins > maven-was-plugin > 1.0-SNAPSHOT > > > > > > > com.davidkarlsen.maven.plugins > maven-was-plugin > > C:\Program > Files\IBM\Rational\SDP\6.0\runtimes\base_v6\bin

Re: Maven custom project directory

2007-09-25 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > I didn't know that, but either way, moving to a different source control > system is not really a possible option, at least not for a few months. > > So there is a way to migrate from CVS to subversion, keeping all the > history, then, changing

Re: How to setup repeatable builds with maven or how to tag dependencies

2007-10-17 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Olaf, >> - your internal dependencies are setup using -SNAPSHOT as an alias for >> "always the latest"? > I haven't setup any project now, but when I setup internal dependencies > I'll think I'll use the SNAPSHOT feature during development, but I h

Re: Problem with maven-archetype-quickstart > Reason: Unable to determine the release version

2007-04-17 Thread Thorsten Heit
Hi, > > [ERROR] BUILD ERROR > [INFO] > > [INFO] Failed to resolve artifact. > > GroupId: org.apache.maven.archetypes > ArtifactId: maven-archetype-qui

Re: [m2] adding classpathentry with maven-eclipse-plugin

2007-04-18 Thread Thorsten Heit
Hi Adrian, > Is there some way to add a classpathentry such as > > > > to the .classpath file? > > It seems that the plugin knows only about classpath containers :-( AFAIK no. The plugin only adds all the dependencies contained in your pom.xml to the .classpath file. Just for curiosity: W

Re: RE: How to set class path in maven POM

2007-04-18 Thread Thorsten Heit
Hi, > I know how to set the dependency in POM. > But I have around 50 dependent jar files. Do I need to manually install > and set the dependency in POM? If you really need them all: Yes. > Or is there any otherway? No. HTH Thorsten -

Re: Maven builds and eclipse

2007-04-18 Thread Thorsten Heit
Hi Kris, > My build creates the correct contents in the target file/WEB-INF/lib > folder, however when I run the eclipse task it picks up 3 extra jars, > Ive got no idea where from > > The jars are to do with servlets, jsps and jsf. Im guessing that maven > thinks these jars are needed but whe

Re: RE: Javadoc for dependent libraries in Netbeans...

2007-04-18 Thread Thorsten Heit
Hi Arne, > By the way, do you know how to call an ANT-file from the POM ? I have a > project with a build.xml ant file that I would like to keep but want to > call > >from a POM. > I've searched the net, but found only hints about executing ant-statements > >from within the pom, and not calling an

Re: RE: RE: How to set class path in maven POM

2007-04-18 Thread Thorsten Heit
Hi, > I saw one mail in this group saying > > >From Davis: i know that mvn depenendency:resolve > depdendency:build-classpath will dump a classpath list of all > transitive/non-transitive jars. > > What is the purpose of the above command? See http://maven.apache.org/plugins/maven-dependency-

Re: use maven-antrun-plugin

2007-04-18 Thread Thorsten Heit
Hi, > i'm trying to build a dojo release use maven2, i use maven-antrun-plugin > as > following: > .. > > .. > > > org.apache.maven.plugins > maven-antrun-plugin > > > compile > > >

Re: org.mozilla.javascript repo?

2007-04-18 Thread Thorsten Heit
Hi, > > Please take this "support request" back to the source -- the JMeter > > folks. In particular, Tim McCune, as it seems like he is responsible > > for this wiki page. > > > > Reading the wiki page, it seems like there are a few artifacts (this > > mozilla artifact being one) which do not ex

Re: RE: maven-surefire-plugin problem

2007-04-18 Thread Thorsten Heit
Hi, > I used mvn install command as follows > > mvn install:install-file -DgroupId=org.apache.maven.plugins > -DartifactId=maven-surefire-plugin -Dversion=2.3 -Dpackaging=jar > -Dfile=maven-surefire-plugin-2.3.jar Why did you do this? This isn't necessary as Maven automatically fetches plugins

Re: RE: RE: maven-surefire-plugin problem

2007-04-19 Thread Thorsten Heit
Hi, > It is not fetching this plug-in automatically.. What error is Maven showing with "mvn -e -X ..."? Have you checked that your network settings are correct? I.e. are you behind a firewall? If yes, do you have proxy settings specified in your settings.xml? > So i have installed in the

Re: RE: Javadoc for dependent libraries in Netbeans...

2007-04-19 Thread Thorsten Heit
Hi, > I got the ant-script running from the POM now, partly. When I get to the > -task in > my build.xml ant file, I get the following error: > > [INFO]Error executing ant tasks > > Embedded error: The following error occurred while executing this line: > [INFO]C:\Documents and > Settings\asty\S

Re: RE: RE: RE: maven-surefire-plugin problem

2007-04-19 Thread Thorsten Heit
> Yes I am working behind proxy. > The following is my Settings.xml As I wrote in my last mail: Check your proxy settings - you haven't specified any in the settings.xml... See http://maven.apache.org/guides/mini/guide-proxies.html HTH Thorsten ---

Re: Settings.xml is needed.

2007-04-19 Thread Thorsten Heit
http://maven.apache.org/general.html#proxy-needed http://maven.apache.org/guides/index.html http://maven.apache.org/ref/current/maven-settings/settings.html Just a few clicks on maven.apache.org Thorsten Original-Nachricht Datum: Thu, 19 Apr 2007 18:54:03 +0530 Von: "Rame

Re: RE: Getting error while trying to build sample RCP Application

2007-04-19 Thread Thorsten Heit
Hi, > Can you please tell me the problem with the mail I have sent previously? There was no content in it, only a quite long disclaimer... > I am getting the following error while trying to package the eclipse RCP > application *snip* Have a look at the stack trace: > Caused by: org.apache.

Re: Maven Repository Question

2007-04-20 Thread Thorsten Heit
Hi David, > I'm pretty new to maven and have a repository question. I have set up a > internal repository that will hold the artifacts from ibiblio that my > project needs. What dou you mean by having set up such a repository? Have you created a mirror for central repo? Do you use a proxy suc

Re: Proximity

2007-04-20 Thread Thorsten Heit
Hi, > The problem is : when I try to deploy (upload) a jar using this command > line : > > > > >mvn deploy:deploy-file -Dfile=./lib/asm-1.5.3.jar > -DrepositoryTd=proximity \ > > > -Durl=scp://localhost:8080/px-webapp-default-1.0.0-RC8/repository \ > > -Dartifac

Re: release plugin 2.0-beta-5

2007-04-24 Thread Thorsten Heit
Hi, > If I visit the site of Maven Release Plugin I can see the following goals: > > Goals Overview > > * release:clean Clean up after a release preparation. > * release:perform Perform a release from SCM > * release:prepare Prepare for a release in SCM. > * release:rollback Rol

Re: Build for multimodule in flex

2007-04-24 Thread Thorsten Heit
Hi, I was build the simple flex application using maven-flex2- plugin.but i want to build an application which contains three modules each modules have their own mxml and actionscript files. i have to write a build for that application.i.e each module have their own build file and all the

Re: Re : Re : Re : Re : Re : Re : Re : Help setup local proxy for Maven2 (Please)

2007-04-25 Thread Thorsten Heit
> The *only* problem with Artifactory is that it seems to require Java6 and > we're not yet running that on anything. The required JDK version was changed to Java 5 for 1.2.1rc0 IIRC. Thorsten - To unsubscribe, e-mail: [EMAIL P

Re: Problem with org.apache.maven.plugins:maven-plugins:pom:2-SNAPSHOT

2007-04-27 Thread Thorsten Heit
Hi Stuart, > When I run mvn integration-test, I get this in the console: > > > [INFO] Failed to resolve artifact. > > GroupId: org.apache.maven.plugins > ArtifactId: maven-plugins > Version: 2-SNAPSHOT > > Reason: Unable to download the artifact from any repository > > org.apache.maven.plug

  1   2   3   4   >