Unable to migrate from 1.0.2 to 1.0.3

2006-05-02 Thread LECAN Damien
Hello, I have some problem with Continuum 1.0.3 after upgrading from 1.0.2. I have followed exactly the procedure described here : http://maven.apache.org/continuum/upgrade.html I'm using external application folders. After migrating, everything seems to be OK : - all projects are presents -

Re: [jira] Commented: (MAVEN-1753) Re-introduce xerces in maven's core dependencies

2006-05-02 Thread Arnaud HERITIER
Fine Jeff, I'm happy to know that our SNAPSHOT are used ;-) We also publish a snapshot of our plugins every week to help users to test them. Can you tell us what you had to change to use this plugin with maven 1.1 ? It will help us to find some backward incompabilities (if we can fix them

Use of classifier with WAR plugin

2006-05-02 Thread sbarriba
Hi all, I've using Maven 2 to build a WAR file. I want to specialise the generated WAR for 1 or more environments e..g dev, test, live etc. I've included the XML fragment below in my pom.xml. The filter properties are working fine, by the WAR is not qualified with 'live' as expected. Can anyone

Re: M2 - EAR deployment

2006-05-02 Thread David J. M. Karlsen
Vijay Shanker wrote: David, Could you please give me example of using it? plugin groupIdcom.davidkarlsen.maven.plugins/groupId artifactIdmaven-was-plugin/artifactId

[m1] Referencing the plugin jar itself from inside plugin.jelly?

2006-05-02 Thread Matthew Beermann
I've got a Maven 1 plugin which declares some new Ant tasks (as Java source files). What I can't seem to figure out is, when I'm doing taskdefs in plugin.jelly, how do I make reference to the plugin jar /itself/? In the FAQ, I find reference to a stanza like this: ant:taskdef

Re: release with clearcase

2006-05-02 Thread Emmanuel Venisse
You can try to build the release plugin from svn. I'm not sure it works because brett works on it. Emmanuel Aaron Freeman a écrit : So does this mean the release plugin won't work with ClearCase? Is there some version we can use that will? On 4/27/06, Emmanuel Venisse [EMAIL PROTECTED]

Re: Problem with Continuum and Maven

2006-05-02 Thread Emmanuel Venisse
It seems to be a bug in Maven SCM. Please file an issue on it. For the file protocol, it will work if you allow it in continuum configuration : http://maven.apache.org/continuum/faqs.html#can-i-use-file-protocol-in-add-project-view Emmanuel [EMAIL PROTECTED] a écrit : Well the interesting

Plugin execution order within lifecycle phase

2006-05-02 Thread Vraalsen Fredrik
Hi, I am in the process of moving a project from m1 to m2, and I have encountered a problem with the ordering of plugin executions within a single lifecycle phase. I use two plugins that contribute during the generate-sources phase; a homegrown plugin for generating sources from UML, and

Re: [m2] Maven idea plugin and project layout

2006-05-02 Thread Geoffrey De Smet
The latest snapshot idea plugin is far superiour to the latest release idea plugin. It does a lot more, like root module configuration etc. Sebastien Arbogast wrote: I'm going through the Maven 2 book and trying to open proficio project from chapter 3 inside Intellij. So I ran mvn idea:idea to

Re: [m2-book] maven dependencies graph plugin?

2006-05-02 Thread Ralph Pöllath
On 01.05.2006, at 10:43, Wim Deblauwe wrote: in the book there is talk of a maven dependencies graph plugin. Is the work on that already started? I know there is a page[1] on the wiki about it but I don't have a clue if someone started to work on that? It shouldn't be too hard to produce a

Re: Unable to migrate from 1.0.2 to 1.0.3

2006-05-02 Thread Emmanuel Venisse
It seems you have something wrong in your settings.xml in profile part. Emmanuel LECAN Damien a écrit : Hello, I have some problem with Continuum 1.0.3 after upgrading from 1.0.2. I have followed exactly the procedure described here : http://maven.apache.org/continuum/upgrade.html I'm using

Re: [m2-book] maven dependencies graph plugin?

2006-05-02 Thread Wim Deblauwe
It probably produces very nice graphs, but the 2 drawbacks (no pure Java implementation and only on Mac OS) seem too much to have a good solution in my opinion. regards, Wim 2006/5/2, Ralph Pöllath [EMAIL PROTECTED]: On 01.05.2006, at 10:43, Wim Deblauwe wrote: in the book there is talk of

RE: Support for Multi-project Web Sites

2006-05-02 Thread RobJac
Hi, I am also trying to get a parent site created which will show details of all my child projects. As mentioned in the chains of mails here, I found I need to install snapshot version 2.0-SNAPSHOT of maven-site-plugin. I have added this in my pom xml but. it gives me this error saying it not

Re: Problem with Eclipse plugin

2006-05-02 Thread Jose Gonzalez Gomez
Ok, now I get the following: Compiling 5 source files to U:\proyectos\otros\netflux\netflux-core\target\classes [ERROR] mojo-execute : compiler:compile Diagnosis: Compilation failure FATAL ERROR: Error executing Maven for a project [ERROR] project-execute :

Maven on Z/OS

2006-05-02 Thread Anuradha Weeraman
Hi, I would like to know whether anybody has managed to setup and use Maven 1.0.2 on z/OS / USS. I have managed to setup the environment and invoke maven, and .maven/cache gets populated, but when I invoke a goal on my code base it complains of: org.xml.sax.SAXParseException: Content is not

RE: packaging for XML Schema or WSDL

2006-05-02 Thread andreas.ebbert-karroum
Hi all, Does anybody - beside myself - see the benefit in having such a packaging/lifecycle defined? A XML Schema or WSDL would not get compiled of course. But it could be validated and also installed in the repository, where other installed schema could be picked up, for validation purposes.

Re: maven-antrun-plugin - if issue

2006-05-02 Thread Pete
I am using Antrun with antcontrib if's as follows :- configuration tasks taskdef resource=net/sf/antcontrib/antcontrib.properties classpath pathelement location=../../src/ant/lib/optional.jar/ pathelement location=../../src/ant/lib/ant-contrib-1-0b1.jar/ /classpath /taskdef if

Profile activation - by SNAPSHOT version?

2006-05-02 Thread Darren Hartford
Hey all, I'm hoping this is possible - can you have profiles where the activation trigger is based on if the version is a SNAPSHOT version or not? i.e. = profile iddev-profile/id activation property nameversion/name value*-SNAPSHOT/value /property /activation ...

Re: maven-antrun-plugin - if issue

2006-05-02 Thread dan tran
you will need to deference refid, see http://jira.codehaus.org/browse/MANTRUN-49, vote for it On 5/2/06, Pete [EMAIL PROTECTED] wrote: I am using Antrun with antcontrib if's as follows :- configuration tasks taskdef resource=net/sf/antcontrib/antcontrib.properties classpath pathelement

Profiles.xml - distributionManagement, reporting

2006-05-02 Thread Darren Hartford
Hey all, I'm going through the great 'Better Builds With Maven' documentation, and on page 62 (Creating Applications with Maven) they talk about profiles. According to the documentation, you can define the following elements: *repositories pluginRepositories Dependencies Plugins Properties

Re: Help me about changes plugin

2006-05-02 Thread Gautham Pamu
Hi Lee, I tried to generate the changelog report. I have the scm defined in my pom but it says.. no sources found to create a report. No sources found to create a report. plugin groupIdorg.codehaus.mojo/groupId artifactIdchangelog-maven-plugin/artifactId

Re: Profile activation - by SNAPSHOT version?

2006-05-02 Thread Wim Deblauwe
What is the exact use case? If you want to do something only when releasing, you can create a profile with a predefined name (release-profile I think, check the new m2 book to be sure) that gets activated upon release. regards, Wim 2006/5/2, Darren Hartford [EMAIL PROTECTED]: Hey all, I'm

Re: Profiles.xml - distributionManagement, reporting

2006-05-02 Thread Trent Rosenbaum
Hi there, I was under the impression that the distributionManagement element was not configurable within a profile that is defined outside of a project pom.xmlfile. On the Maven documentation site I read the following snippet on the following link:

Probelm with persistence.xml

2006-05-02 Thread Anshuman Srivastava
Hi I have a multi module project.My problem is that 2 of my ejb modules have the depedency upon peristence.xml, which is at the same location as pom.xml. How to define the dependency in pom.xml for peristence.xml?? My persistence.xml is like-- ?xml version=1.0 encoding=UTF-8? persistence

RE: Maven on Z/OS

2006-05-02 Thread Dave Comeau
It might not be a Maven issue. Remember, the native Z/OS encoding is Ebcdic, not Ascii/UTF-8 like most Unixes/Windows servers. On second thought, it could be a Maven issue, I'm not sure how it uses the SAX parser to parse the various XML files at runtime. Basically, we traditionally see this

Re: [m2] Maven idea plugin and project layout

2006-05-02 Thread Geoffrey De Smet
svn co ???/maven-idea-plugin mvn install Sebastien Arbogast wrote: Good to know. How do I install it ? 2006/5/2, Geoffrey De Smet [EMAIL PROTECTED]: The latest snapshot idea plugin is far superiour to the latest release idea plugin. It does a lot more, like root module configuration etc.

Assembly one of the modules

2006-05-02 Thread fred flinta
Hi all! I'm trying to run the assembly for one of my modules, but it seems that Maven forces me to define an assembly descriptor for each module. My system looks like: /pom.xml /core/pom.xml /core/src/.. /client/pom.xml /client/src/.. /client/src/main/assembly Running mvn assemly:assembly

Re: Probelm with persistence.xml

2006-05-02 Thread Kenney Westerhof
On Tue, 2 May 2006, Anshuman Srivastava wrote: Hi, Every ejb module has its own persistence manager, so you really need 2 persistence.xml files (unless I'm wrong..) I've got one in src/main/par/META-INF/persistence.xml - you're using the packagingpar/packaging, right? -- Kenney Hi I have a

RE: M2 - EAR deployment

2006-05-02 Thread Vijay Shanker
David, I have installed maven-was-plugin in following way: mvn install:install-file -Dfile=maven-was-plugin-1.0-20060418.100451-1.jar -DgroupId=com.davidkarlsen.maven.plugins -DartifactId=maven-was-plugin -Dversion=1.0-SNAPSHOT -Dpackaging=jar But getting boew given build error: [INFO]

Re: Probelm with persistence.xml

2006-05-02 Thread Anshuman Srivastava
Thanks Kenny for your reply.I am not using packagingpar/packaging.I am using packagingjar/packaging as I thought that building jar is sufficient for my final deployable war file. And you are correct that every ejb module has its own persistence manager,I have 2 persistence.xml in 2 ejb modules.

Re: Probelm with persistence.xml

2006-05-02 Thread Kenney Westerhof
On Tue, 2 May 2006, Anshuman Srivastava wrote: Thanks Kenny for your reply.I am not using packagingpar/packaging.I am using packagingjar/packaging as I thought that building jar is sufficient for my final deployable war file. well, that depends. You don't need par, jar works fine too. For a

simple question :-)

2006-05-02 Thread Luca Gmail
How can i deploy my javadoc and my source? Tnx Luca

Re: simple question :-)

2006-05-02 Thread Trent Rosenbaum
Hi there, I was playing around with this at the weekend. the Javadoc and Source Jar files are deployed along side the main artifact while the deployment maven plugin is excuted. I was using this along side the release plugin and both of the Jar file above were present after this process had

Re: [m2] Maven idea plugin and project layout

2006-05-02 Thread Sebastien Arbogast
I did what you suggested and I got a problem with another dependency: Downloading: http://repo1.maven.org/maven2/org/apache/maven/reporting/maven-repo rting-api/2.0/maven-reporting-api-2.0.jar [INFO] [ERROR] BUILD ERROR

RE: Unable to migrate from 1.0.2 to 1.0.3

2006-05-02 Thread LECAN Damien
Can you send your settings.xml? settings localRepository/home/m2/repositories/local/localRepository proxies proxy activetrue/active protocolhttp/protocol host192.168.128.254/host port3128/port nonProxyHostscvs.abcd.fr/nonProxyHosts /proxy /proxies

[m2] Scm and branches ?

2006-05-02 Thread SiD tourment
Hi all, How can i specify a cvs branch in the scm part of my project pom.xml ? branchx/branch doesn't works thanks

[mvn2.0.4] maven-javadoc-plugin aggregate true bug?

2006-05-02 Thread Rob Dickens
Dear Maven Users, I can't get this to work. Looking back at previous posts, it appears there might be a bug. Do I need to build maven-javadoc-plugin from source? If so, could somebody let me know where this can be found. What I have is a parent project (pom packaging) and several

Re: Maven SCM Integration

2006-05-02 Thread Carlos Sanchez
http://maven.apache.org/plugins/maven-release-plugin On 5/2/06, Andrew Kreps [EMAIL PROTECTED] wrote: I've recently started working with Maven 2.0.2, and I've been tasked with getting our SCM, Perforce, integrated into the build process. I would simply like to sync, checkout, checkin and label

Re: Maven on Z/OS

2006-05-02 Thread Carlos Sanchez
There are some jira issues related with encoding. It may happen that it's always read in the default encoding of the machine On 5/2/06, Dave Comeau [EMAIL PROTECTED] wrote: It might not be a Maven issue. Remember, the native Z/OS encoding is Ebcdic, not Ascii/UTF-8 like most Unixes/Windows

Re: Unable to migrate from 1.0.2 to 1.0.3

2006-05-02 Thread Emmanuel Venisse
Your settings.xml seems to be correct. The NPE appaers when maven api try to write activeProfiles on the console. You'll have the same error if you run this command: mvn help:effective-settings So I think it's a bug in maven. Try to replace all thresholdDEBUG/threshold by

Re: Probelm with persistence.xml

2006-05-02 Thread Anshuman Srivastava
I want that my WAR file should contain peristence.xml. If you need to automagically get your persistence.xml in the archive, then just put it in src/main/resources/META-INF/persistence.xml and it'll end up in the correct place My peristence.xml is at root with pom.xml.So do I need to change

[m2] Continuum, branches, correct scm url ?

2006-05-02 Thread SiD tourment
Hi all, i use Continuum to checkout a project in a given branch. i use cvsnt, on a LOCAL server and on a windows platform. cvsnt is configured like that : root : D:/test_cvsnt/cvs_repo name : /test_cvsnt/cvs_repo my pom.xml : scm connection

Re: [m2] Scm and branches ?

2006-05-02 Thread Emmanuel Venisse
tagyour_tag/tag Emmanuel SiD tourment a écrit : Hi all, How can i specify a cvs branch in the scm part of my project pom.xml ? branchx/branch doesn't works thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Maven SCM Integration

2006-05-02 Thread Andrew Kreps
Thanks for the quick reply. I'll read up on it whenver apache.org comes back up. :) On 5/2/06, Carlos Sanchez [EMAIL PROTECTED] wrote: http://maven.apache.org/plugins/maven-release-plugin

Re: Problem creating multiple project website

2006-05-02 Thread RobJac
I have found that I haven't downloaded the latest version of doxia-site-renderer-1.0-alpha-8-SNAPSHOT.jar, but I am not able to download it as it says when i run mvn install for my parent project. [INFO] snapshot org.apache.maven.doxia:doxia-site-renderer:1.0-alpha-8-SNAPSHOT: checking for

m2 tag a build using scm api overwrote the branch

2006-05-02 Thread Gautham Pamu
Hi Everyone, I had a branch ix_dev and when I tried to tag the head, it overwrote the changes from the head to the branch.. why did it overwrite the branch with the head code. I am missing some argument .. I was using this code in my plugin to tag the branch.. [INFO] [scm:tag] [INFO] Executing:

Re: Probelm with persistence.xml

2006-05-02 Thread Wayne Fay
Yes, this is what he's saying. Move the xml file to src/main/resources/META-INF/ if you want it automatically picked up and put in META-INF in the resulting jar. If you don't have a main folder, make one. This can also be configured in your pom but it is more complicated than simply moving the

Re: [m2-book] maven dependencies graph plugin?

2006-05-02 Thread Carlos Sanchez
You need to have graphviz installed, which makes it not portable enough. Prefuse understand graphml xml formats so it's really nice. On 5/2/06, Ralph Pöllath [EMAIL PROTECTED] wrote: On 02.05.2006, at 10:55, Wim Deblauwe wrote: It probably produces very nice graphs, but the 2 drawbacks (no

RE: [m2] Is maven repository manager (MRM) ready to use ?

2006-05-02 Thread Darren Hartford
Confirm, site is down for me as well. I did download the code from Subversion: https://svn.apache.org/repos/asf/maven/repository-manager/trunk However, I just checked and that is now down as well - I also could not get it to finish compiling as the snapshot-repository is also down. -D

m2 dev activity report is empty..

2006-05-02 Thread Gautham Pamu
Hi, I added dev activity report to the changelog report plugin, it is creating the report but it is not showing the list of developers in the report. Do we need provide some configuration for it to get these details Developer Activity Report Sun Apr 30 10:19:46 CDT 2006 to Wed May 03 10:19:46

Re: m2 dev activity report is empty..

2006-05-02 Thread Wayne Fay
Have you provided a developers node in your pom with proper developer children nodes etc? Take a look here for an example: http://apache.osuosl.org/java-repository/maven/poms/maven-developer-activity-plugin-1.6.pom Wayne On 5/2/06, Gautham Pamu [EMAIL PROTECTED] wrote: Hi, I added dev

[m2/m2-book] MANIFEST.MF and Class-Path.

2006-05-02 Thread Sean McNamara
On page 45 of the new maven book, it states: The original contents of src/main/resources can be found starting at the base of the JAR and the application.properties file is there in the META-INF directory. You will also notice some other files there like META-INF/MANIFEST.MF, as well as a

Re: Problem with Continuum and Maven

2006-05-02 Thread justin_fung
I checked my application.xml and I did uncomment the section that allows file protocol: allowedSchemefile/allowedScheme This would be filed as a Continuum issue or Maven? I'm guessing it's Continuum? Thanks, -j --- Justin Fung [EMAIL

Re: Problem with Continuum and Maven

2006-05-02 Thread Emmanuel Venisse
It isn't an issue. File protocol isn't allowed by default for security reasons. Emmanuel [EMAIL PROTECTED] a écrit : I checked my application.xml and I did uncomment the section that allows file protocol: allowedSchemefile/allowedScheme This would be filed as a Continuum issue or Maven? I'm

Re: Problem with Continuum and Maven

2006-05-02 Thread justin_fung
Sorry, I re-read your email. Like you said, it is an issue with Maven SCM. I will open an issue there. Thanks, -j --- Justin Fung [EMAIL PROTECTED] Sr. Analyst, Business Systems IT Banking Systems, e-Business HSBC Bank Canada http://www.hsbc.ca

Re: [m2/m2-book] MANIFEST.MF and Class-Path.

2006-05-02 Thread Kenney Westerhof
On Tue, 2 May 2006, Sean McNamara wrote: On page 45 of the new maven book, it states: The original contents of src/main/resources can be found starting at the base of the JAR and the application.properties file is there in the META-INF directory. You will also notice some other files there

Re: deploying site generated files

2006-05-02 Thread thenew05
When I tried the file:/// I get this error. Is there something else that needs to be setup to use the file:/// command? I opened the directory up fully, I am not sure what else to check. What do you have for the file:/// syntax. in my pom, I have: distributionManagement site idwebsite/id

Where to get maven-jar-plugin-2.1-SNAPSHOT?

2006-05-02 Thread Darren Hartford
Hey all, I'm trying to compile the Maven Repository Manager, and complains about 1. Not being able to find it. 2. When I install it manually, it does not recognize the 'sign' execution. Sites I've gotten the maven-jar-plugin 2.1-snapshot:

Re: deploying site generated files

2006-05-02 Thread thenew05
Has the site:stage been removed? mvn site:stage -DstagingDirectory=/usr2/local/WWW/ [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'site'. [INFO] [ERROR] BUILD FAILURE [INFO]

RE: M2 - EAR deployment

2006-05-02 Thread Vijay Shanker
Hi Kenney, Sorry for reposting the same question. I did try with your suggestion but still same problem. Thanks, Vijay From: Kenney Westerhof [mailto:[EMAIL PROTECTED] Sent: Tue 5/2/2006 1:19 PM To: Maven Users List Subject: RE: M2 - EAR deployment On

mvn 2.0.4 fails if no some-jar.pom

2006-05-02 Thread Charles Harvey III
Hello. Ever since I upgraded to 2.0.4 Maven will not run unless all the .pom files are in place. What gives? Sometimes I have to download projects like JCaptcha and it has no .pom files. I have to manually place them into my repository. Do I have to also make up a .pom file for it? The jar

m2 changelog is getting changelog even from the branch

2006-05-02 Thread Gautham Pamu
Hi Everyone, I have a branch but when i run the report on the branch, it is getting the report from the branch and head.the pom file for the branch specify the tag but the changelog does not use this information. Is it possible to get just the changelog for the branch ? We are seeing the same

RE: M2 - Best practice for common jars between EJB,WAR modules in EAR

2006-05-02 Thread Veerman, Christiaan
Hello: I believe my problems is tightly coupled with the previous thread. My JBOSS EAR has all the dependent jars in the root; I would like to share those jars with the WAR, EJB, etc... This works in weblogic; as it shares resources through the EAR's APP-INF/lib without any need to add it to

Re: mvn 2.0.4 fails if no some-jar.pom

2006-05-02 Thread Charles Harvey III
I'll try doing the mvn install:install-file. I've never actually done that before. I had just been dropping jars into place. Sounds cool. But that still doesn't explain why maven just stops when a .pom file is missing. Charlie Wayne Fay said the following on 5/2/2006 4:32 PM: I'm

Where to find reference documentation for parameter Types?

2006-05-02 Thread Dave Comeau
Just a question how about how to effectively read plugin documentation. On this page: http://mojo.codehaus.org/build-helper-maven-plugin/attach-artifact-mojo.html The Type column indicates three different types: Artifact, MavenProject and MavenProjectHelper. How do I find out what the format

[m2] common site.xml for all modules

2006-05-02 Thread Dan Adams
I have a multi-module project and would like to create a site that incorporates all the modules. Is there a way I could use a common site.xml or common navigation or something? Could someone point me to a project that is an example of this? Thanks. -- Dan Adams Software Engineer Interactive

Re: mvn 2.0.4 fails if no some-jar.pom

2006-05-02 Thread Brett Porter
As the output suggests, can you run with -e for more details? - Brett On 5/3/06, Arik Kfir [EMAIL PROTECTED] wrote: Do other items from that repository get downloaded ok? On 5/3/06, Charles Harvey III [EMAIL PROTECTED] wrote: I'll try doing the mvn install:install-file. I've never actually

Re: mvn 2.0.4 fails if no some-jar.pom

2006-05-02 Thread Charles Harvey III
Here is the crux of it: Caused by: java.net.ConnectException: Connection refused: connect But I can ping repo1.maven.org. So I'm not sure why it is saying that. But, even if it could connect, say the .pom file doesn't exist remotely? Shouldn't it still compile? Or, if it at least connected,

Re: mvn 2.0.4 fails if no some-jar.pom

2006-05-02 Thread Brett Porter
It doesn't say its not found - it says there was an error transferring. I think Carlos filed a bug just today about the build not failing when this happens though - you are correct, it should continue on as if it were not there. - Brett On 5/3/06, Charles Harvey III [EMAIL PROTECTED] wrote:

Re: mvn 2.0.4 fails if no some-jar.pom

2006-05-02 Thread Brett Porter
Oh, and I'm assuming the connectio refused is on your server, not repo1, since it was the last line output. - Brett On 5/3/06, Brett Porter [EMAIL PROTECTED] wrote: It doesn't say its not found - it says there was an error transferring. I think Carlos filed a bug just today about the build

Re: mvn 2.0.4 fails if no some-jar.pom

2006-05-02 Thread Charles Harvey III
I checked. It was my server that was down. So... why did it keep trying like that? Shouldn't it skip over anything that it isn't connecting to? Isn't that the point of having your own repository or configuring mirrors? What seems to be happening is that if it cannot even connect to the last

Lastupdated element in local repository Maven Ant Tasks

2006-05-02 Thread jmaxwell
I am using the Ant Tasks a question in about the lastupdated element. After a build I install my package (jar or zip) into my local repository using the following ant task: artifact:install file=${dist.package.dir}/${module.bin.package} pom refid=maven.bin.pom / localRepository

Re: mvn 2.0.4 fails if no some-jar.pom

2006-05-02 Thread Arik Kfir
I don't remember the number, but there's an open issue on that On 5/3/06, Charles Harvey III [EMAIL PROTECTED] wrote: I checked. It was my server that was down. So... why did it keep trying like that? Shouldn't it skip over anything that it isn't connecting to? Isn't that the point of

JUnit Eclipse vs. Maven Question

2006-05-02 Thread Stephen Duncan
I have a colleague with a problem running a JUnit test. It works in Eclipse, but not with Maven. Basically, he uses a class that needs to load a native library. The location of a directory to look for this native .so object is specified with java.library.path. Initially, this value was not

Re: JUnit Eclipse vs. Maven Question

2006-05-02 Thread Stephen Duncan
Sorry, forgot to mention that I tried with forkMode set to once with it set to pertest. Still didn't work. Could it be that systemProperties aren't passed to the JVM when it's forked? They are only set afterwards? -Stephen On 5/2/06, Kenney Westerhof [EMAIL PROTECTED] wrote: On Tue, 2 May

Re: mvn 2.0.4 fails if no some-jar.pom

2006-05-02 Thread Wayne Fay
You can also use mvn -o for offline building... Then it won't fail when it can't connect to a server. Wayne On 5/2/06, Arik Kfir [EMAIL PROTECTED] wrote: I don't remember the number, but there's an open issue on that On 5/3/06, Charles Harvey III [EMAIL PROTECTED] wrote: I checked. It

Re: Where to find reference documentation for parameter Types?

2006-05-02 Thread dan tran
If you check maven2 book, you might find this reference, however the format for a maven file in local/remote repo is ${artifactId}-${version}-${classifier).${type} -D On 5/2/06, Dave Comeau [EMAIL PROTECTED] wrote: Just a question how about how to effectively read plugin documentation. On

Re: How do you run a particular TestCase?

2006-05-02 Thread justin_fung
I typically just run the test case in my IDE... as much as I love Maven, it doesn't seem like the kind of thing you'd want Maven to be doing for you. -j --- Justin Fung [EMAIL PROTECTED] Sr. Analyst, Business Systems IT Banking Systems,

Re: How do you run a particular TestCase?

2006-05-02 Thread Wendy Smoak
On 5/2/06, Christian Cabanero [EMAIL PROTECTED] wrote: In Maven2, is there a way to run a particular TestCase rather than all of them when you run mvn test? mvn test -Dtest=ClassName http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html test (Optional) - Specify this

Re: How do you run a particular TestCase?

2006-05-02 Thread dan tran
Perhaps, you can open a Jira so that includes/excludes can be exposed to be used on command line. -D On 5/2/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I typically just run the test case in my IDE... as much as I love Maven, it doesn't seem like the kind of thing you'd want Maven to be

Re: How do you run a particular TestCase?

2006-05-02 Thread dan tran
Wendy's solution is the right way, sorry On 5/2/06, dan tran [EMAIL PROTECTED] wrote: Perhaps, you can open a Jira so that includes/excludes can be exposed to be used on command line. -D On 5/2/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I typically just run the test case in my

Re: JUnit Eclipse vs. Maven Question

2006-05-02 Thread Kenney Westerhof
On Tue, 2 May 2006, Stephen Duncan wrote: Sorry, forgot to mention that I tried with forkMode set to once with it set to pertest. Still didn't work. Could it be that systemProperties aren't passed to the JVM when it's forked? They are only set afterwards? Took me some digging, but the

Re: m2 dev activity report is empty..

2006-05-02 Thread Gautham Pamu
Thanks Wayne. On 5/2/06, Wayne Fay [EMAIL PROTECTED] wrote: Have you provided a developers node in your pom with proper developer children nodes etc? Take a look here for an example: http://apache.osuosl.org/java-repository/maven/poms/maven-developer-activity-plugin-1.6.pom Wayne On

Re: Lastupdated element in local repository Maven Ant Tasks

2006-05-02 Thread jmaxwell
I am want it to push a zip file into the local repository. So dependant projects can pull it down. Note that I am using the Maven Ant Tasks not maven itself. Cheers! dan tran wrote: On 5/2/06, jmaxwell [EMAIL PROTECTED] wrote: I am using the Ant Tasks a question in about the

Re: Lastupdated element in local repository Maven Ant Tasks

2006-05-02 Thread dan tran
umm, so why you ask if you pom is ok? On 5/2/06, jmaxwell [EMAIL PROTECTED] wrote: I am want it to push a zip file into the local repository. So dependant projects can pull it down. Note that I am using the Maven Ant Tasks not maven itself. Cheers! dan tran wrote: On 5/2/06, jmaxwell