Re: continuum webservice client code - where is it packaged ?

2006-04-24 Thread Emmanuel Venisse
This page is invalid, I'll update it with correct information. But I don't think you'll can get the build number in a m2 plugin because the build number is created after the maven execution if m2 is in success. Emmanuel Gautham Pamu a écrit : Hi Everyone, I have a plugin which run during

Re: Install and building site

2006-04-24 Thread Emmanuel Venisse
It's fixed in 1.0.3 that will be release this week. Emmanuel Carlos Henriquez a écrit : I'm not using maven-surefire-plugin but surefire-report-maven-plugin which does not have that options (or doesn't seems to). I tried using different schedules for clean install and site. That way I could

Re: Install and building site

2006-04-24 Thread Carlos Henriquez
I'm not sure about what is fixed in 1.0.3. I just download the SNAPSHOT from a recently sent mail from the list and make my two SCHEDULES, one for the clean install build and the other one for the site build. site build didn't run because there are no changes since clean install build. I know

Modules Best Practices

2006-04-24 Thread Ryan Wynn
Hi, I have an m2 parent project and a couple child projects. As I suspected I am running into problems with Maven's relativePath stuff in Continuum because Continuum is using numbered directories instead of my project names as directories. For example I have the following in the parent.

Re: Modules Best Practices

2006-04-24 Thread dan tran
create shell project with scm url points to the directory containing your parent + the 2 children modules Then create a build definition : command: mvn arguramtent -f parent/pom.xml install ( what ever goal you like) -Dan On 4/24/06, Ryan Wynn [EMAIL PROTECTED] wrote: Hi, I have

How to specify a Set of Multiple dependent JARs in M2 ?

2006-04-24 Thread Sharma, Jaikumar
Dear Maven users, Is there a way in M2 to specify a set of dependent JARs which resides in local filesystem and required by the project during compilation ? Individually, JARs can be specified using dependency /dependency construct. Thanks! Regards, Jaikumar - - - - - - - DISCLAIMER- - - -

Re: How to specify a Set of Multiple dependent JARs in M2 ?

2006-04-24 Thread Henry S. Isidro
On Monday 24 April 2006 2:28 pm, Sharma, Jaikumar wrote: Dear Maven users, Is there a way in M2 to specify a set of dependent JARs which resides in local filesystem and required by the project during compilation ? Individually, JARs can be specified using dependency /dependency construct.

[m2] Non working reports - canGenerateReport()

2006-04-24 Thread hermod.opstvedt
Hi Currently the following reports are not working, due to not implementing the new canGenerateReport() method. org.apache.maven.plugin.taglist.TagListReport org.apache.maven.plugin.jxr.JxrReport org.apache.maven.changes.ChangesMojo org.apache.maven.jira.JiraMojo

Re: m2 Can a web project depend on source code from other web project

2006-04-24 Thread Geoffrey De Smet
I believe it's possible for a war to depend on a war, in which case all webapp resources are copied from the dependency war, but I doubt the classes are Wayne Fay wrote: On 4/22/06, Simon Kitching [EMAIL PROTECTED] wrote: It's quite common to generate variants of projects (sorry, there's

Re: upgrading maven (2.0 - 2.0.x)

2006-04-24 Thread Geoffrey De Smet
2.0.3 had regressions, they should be fixed in 2.0.4 but upgrading your plugin versions too will help: mvn -U yourgoals if you haven't locked down plugin versions. [EMAIL PROTECTED] wrote: Hi, -Original Message- From: ext Henry S. Isidro [mailto:[EMAIL PROTECTED] Usually you just

Cannot create multi-module project with Maven Archetype - Version 1.0-alpha-4

2006-04-24 Thread Johan Vogelzang
Hello all, With Maven Archetype - Version 1.0-alpha-4 the creation of my multi-module project fails with: [ERROR] BUILD ERROR [INFO] [INFO] Error creating from archetype Embedded error: Template

Re: Alternative for remote deploying an ear

2006-04-24 Thread Johan Vogelzang
The following plugin configuration performs a hot deploy (file copy to deploy dir) to a remote jboss container plugin artifactIdmaven-antrun-plugin/artifactId version1.0/version executions execution !-- Redeploy to a

[M2] Compiler plugin 2.0.1 - compilerArguments error

2006-04-24 Thread Sharma, Jaikumar
Dear Maven Users, I was trying to specify -classpath system lib path using the compilerArguments /compilerArguments construct , and I got the following error. Someone having the idea why this error occurs ? Regards, Jaikumar [INFO] [resources:resources] [INFO] Using default encoding to

Prevent over writing MANIFEST.MF

2006-04-24 Thread RobJac
I am trying to create an EAR using Maven2. I have placed a MANIFEST.MF file in my resources/META-INF folder. But this file is getting over written by Maven specific MANIFEST.MF when I execute mvn package for my ear pom xml. How can I avoid this and retain the MANIFEST.MF file under my

Re: [m2] Non working reports - canGenerateReport()

2006-04-24 Thread Edwin Punzalan
Which versions are you looking at? I'm pretty sure the changelog reports are implementing that method in SVN. [EMAIL PROTECTED] wrote: Hi Currently the following reports are not working, due to not implementing the new canGenerateReport() method.

Problem with Eclipse plugin

2006-04-24 Thread Jose Gonzalez Gomez
Hi there, After reading about the Eclipse plugin I decided to give it a try. I installed it, and tried to run a maven goal, but the execution seems to hang. After enabling debug output in the preferences I get this in the console: [DEBUG] Found 0 components to load on start [DEBUG] Building

Re: Alternative for remote deploying an ear

2006-04-24 Thread RobJac
Hi Johan, I was also looking for something similar for Maven2. I will also try out the samething as you have provided below. Could you please let me know where you have provided details for all the below parameters. [EMAIL PROTECTED]:${appserver.deploydir}

RE: [m2] Non working reports - canGenerateReport()

2006-04-24 Thread hermod.opstvedt
Hi 2.0-beta-1 of changelog. I tried 2.0-beta-2-SNAPSHOT too, but it fails with the following: java.util.NoSuchElementException at java.util.StringTokenizer.nextToken(StringTokenizer.java:332) at org.apache.maven.changelog.ChangeLogReport.getAbsolutePath(ChangeLogR

RE: xdoclet-maven-plugin configuration question.

2006-04-24 Thread Allison, Bob
The Maven2 plugin for XDoclet uses the Ant XML configuration, exactly as it is documented on the XDoclet home page (http://xdoclet.sourceforge.net/xdoclet/index.html). You do not have to do any task definitions like in Ant, just define the task configurations like webdoclet.../webdoclet or

[M2] - Third party artifact installation / parse error in POM

2006-04-24 Thread Sharma, Jaikumar
Dear Maven users, I was just trying to install an third party artifact into the local repository, it got installed but when M2 tries to parse the pom, I get the following error. Did somebody have already faced this error or have an idea ? Regards, Jaikumar [INFO]

Re: EJB3.0 plugin

2006-04-24 Thread Anshuman Srivastava
Hi Subash Still I am facing the problem.It is asking me to install ejb3.jar and install it manually.I have jboss4.0.3 and I tried to install by -- C:\workspaces\activemvn install:install-file -DgroupId=javax.persistence-Darti factId=ejb -Dversion=3.0 -Dpackaging=jar -Dfile=C:\jboss-

Re: EJB3.0 plugin

2006-04-24 Thread Jacek Laskowski
On 4/24/06, Anshuman Srivastava [EMAIL PROTECTED] wrote: But while compiling it gives me error that --package javax.ejb does not exist. Have you added an appropriate dependency to your project's pom.xml? See http://maven.apache.org/guides/getting-started/index.html and

war file size

2006-04-24 Thread Jeff Mutonho
How does the size of a war file affect deployment time? -- Jeff - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Continuum with shell script projects

2006-04-24 Thread Vandermi Joao da Silva
Hi guys, I have a shell script project and I would like put in the my Continuum. Where can I found a guide ? Best Regards Vandermi Silva RD MAO - Core Engines BenQ Eletroeletrônica Ltda. TEL +55(92) 2127-8015 Mobile: +55(92) 8125-2248 FAX +55(92) 2127-8102 [EMAIL PROTECTED]

Re: Continuum with shell script projects

2006-04-24 Thread Emmanuel Venisse
We have only the getting started guide (http://maven.apache.org/continuum/guides/getting-started/index.html) If you need more information, don't hesitate to ask us. Emmanuel Vandermi Joao da Silva a écrit : Hi guys, I have a shell script project and I would like put in the my Continuum.

RE: site:deploy works once

2006-04-24 Thread Vijay Shanker
Hi Andreas, Thanks for giving me good information about fix in 2.0.4. I will try to use latest release and see it working. I am also using file protocol to copy files to server location. Thanks again Andreas. Vijay From: Andreas Guther [mailto:[EMAIL

Re: Problem with Eclipse plugin

2006-04-24 Thread Tom Joad
Hello, Which version of the plugin do you use? It is a known issue of version 0.0.4 resolved with 0.0.5 . Tom. 2006/4/24, Jose Gonzalez Gomez [EMAIL PROTECTED]: Hi there, After reading about the Eclipse plugin I decided to give it a try. I installed it, and tried to run a maven goal, but

Re: Alternative for remote deploying an ear

2006-04-24 Thread Johan Vogelzang
I set properties for it in a profile in the project pom like this: profile idtest-environment/id activation property nameenv/name valuetest/value /property /activation properties

Re: Install and building site

2006-04-24 Thread Carlos Henriquez
I'm not using maven-surefire-plugin but surefire-report-maven-plugin which does not have that options (or doesn't seems to). I tried using different schedules for clean install and site. That way I could make the site build to ignore testing because it was aready made by the clean install build.

RE: Continuum with shell script projects

2006-04-24 Thread Vandermi Joao da Silva
Thank you for prompt replay! Best Regards Vandermi Silva RD MAO - Core Engines BenQ Eletroeletrônica Ltda. TEL +55(92) 2127-8015 Mobile: +55(92) 8125-2248 FAX +55(92) 2127-8102 [EMAIL PROTECTED] www.BenQMobile.com Av. Djalma Batista, 536 - São Geraldo Manaus-AM Brasil

[m2] disabling download attempts of poms

2006-04-24 Thread Kees de Kooter
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 fails! This is REALLY annoying and coslty. -- Cheers, Kees de

Re: Custom MANIFEST.MF

2006-04-24 Thread Tim Kettler
This merges the custom manifest with the generated one. plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-{jar|war|ear}-plugin/artifactId configuration archive manifestFilepath/to/manifest/MANIFEST.MF/manifestFile /archive /configuration /plugin RobJac

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 fails!

Recalculating md5 checksums

2006-04-24 Thread EJ Ciramella
So I'm a bit further along with the internal repository work (still all the maven-plugin parts are downloaded from repo1 rather than my internal repository - g), but I'm stopped again. How do I update all the checksums? [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =

Re: [m2] disabling download attempts of poms

2006-04-24 Thread Kees de Kooter
It is that simple... Thanks Thorsten! Is it possible to configure this in the pom? On 4/24/06, Thorsten Heit [EMAIL PROTECTED] wrote: -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,

Re: [M2] - Third party artifact installation / parse error in POM

2006-04-24 Thread Wayne Fay
Run M2 again with the -e parameter (mvn -e ...) to get more details about the error. Wayne On 4/24/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote: Dear Maven users, I was just trying to install an third party artifact into the local repository, it got installed but when M2 tries to parse the

Re: [M2] - Third party artifact installation / parse error in POM

2006-04-24 Thread Tim Kettler
Hi, two remarks: 1. Regarding the unsupported protocol error: Can it be that you have specified a local file system repository somewhere (project pom, settings.xml) like this: urlC:/PATH/TO/REPO/url and forgotten to put the protocol part in front ('file://') so it tries to interpret your

Re: war file size

2006-04-24 Thread Wayne Fay
Not really a great question for the Maven User list. You are probably better off asking the Tomcat, JBoss, or Glassfish groups to get a better answer. But in general I'd expect: Larger war file = more classes to loader by Java VM = longer deployment time. I think you'd have to increase your war

Re: Alternative for remote deploying an ear

2006-04-24 Thread RobJac
Thanks Johan. Sorry for troubling you again on this, but what is the command you ran to execute this plugin? i tried running mvn deploy and it was throwing me an exception. Please find below the exception Exception: [INFO] Executing tasks [scp] Connecting to ${appserver.hostname}:22

Compiling with jars that have classes in the default package, jdk1.4.2

2006-04-24 Thread Eric Giguère
Hi all Got a small issue compiling a project. This is for JDK 1.3. This guy uses a jar that have many classes in the default package. But, running with JDK 1.4.2 here, i always get a compiling error stating that a '.' is expected in the import statement. I've set the 2 properties of the java

Re: [m2] disabling download attempts of poms

2006-04-24 Thread Tom Joad
Hi, You can set it on settings.xml. Tom 2006/4/24, Kees de Kooter [EMAIL PROTECTED]: It is that simple... Thanks Thorsten! Is it possible to configure this in the pom? On 4/24/06, Thorsten Heit [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, How can

Fwd: Maven 2 Article (Generating Site)

2006-04-24 Thread Wayne Fay
Thought some Users might appreciate this email/link as well. Wayne -- Forwarded message -- From: John Smart [EMAIL PROTECTED] Date: Apr 24, 2006 4:51 AM Subject: Maven 2 Article To: dev@maven.apache.org Hi there, I wrote a second article on Maven 2, if anyone is interested in

how to replace attainGoal in Maven 1 with plugin goal in Maven 2

2006-04-24 Thread Hai Phan
Dear all, I am new to Maven 2. I have a project that written in Maven 1 to build an EAR, and I would like to migrate it to Maven 2. Below is my maven.xml. Could someone help to convert it to plugin (maven 2 goals) please? Just do 1 or 2 goals would be sufficient ?xml version=1.0? project

Re: How to specify a Set of Multiple dependent JARs in M2 ?

2006-04-24 Thread Tom Joad
Hi, You can choose to install all jars on your local repository an set for each jar compile scope dependency and so they ,all , will be bundled on your jar or war file by packaging or to use system scope and you must provide path like dependencies dependency groupIdsun.jdk/groupId

Re: EJB3.0 plugin

2006-04-24 Thread Arik Kfir
note that for ejb3 you need two jars (at least its two jars in jboss...) the persistance api (this contains javax.persistance) and the ejb jar (which haven't changed much since 2.1) both are in jboss's distribution of course On 4/24/06, Jacek Laskowski [EMAIL PROTECTED] wrote: On 4/24/06,

Re: Install and building site

2006-04-24 Thread Emmanuel Venisse
I don't know which verion you downloaded, but we check changes between two executions of the same build definitions in 1.0.3. In 1.0.2, it was between two executions even if wasn't the same build definition. Do you have changes between two executions of the site build definition? Emmanuel

[m2][site] Strange behaviour using site:deploy with scp.

2006-04-24 Thread Mikael Andersson
Hi, when I use use site:deploy with scp (on Linux), something strange happens. The site isn't deployed to the specified location, but in a somewhat strange location! From the pom: distributionManagement site idmaven_html/id urlscp:[EMAIL PROTECTED]

Re: Install and building site

2006-04-24 Thread Carlos Henriquez
http://maven.zones.apache.org/~continuum/builds/branches/continuum-1.0.x/continuum-20060419.02. tar.gzhttp://maven.zones.apache.org/%7Econtinuum/builds/branches/continuum-1.0.x/continuum-20060419.02.tar.gz I'll try again and let you know. I make a clean install build that didn't failed

RE: Retrotranslation and the everpresent 1 artifact

2006-04-24 Thread Ruel Loehr
Right! This is the course I was thinking ofThe only problem of I see that is if I have two artifacts 1) Jboss-webservices-1.0.jar (built using 1.5 jdk) 2) Jboss-webservices-retrotranslated-1.0.jar (retrotranslated using 1.4 jdk) Later projects can choose which of these jars it would

Re: [m2][site] Strange behaviour using site:deploy with scp.

2006-04-24 Thread Arik Kfir
isn't it supposed to be scp://[EMAIL PROTECTED]/directory/dir2/dir3?? On 4/24/06, Mikael Andersson [EMAIL PROTECTED] wrote: Hi, when I use use site:deploy with scp (on Linux), something strange happens. The site isn't deployed to the specified location, but in a somewhat strange location!

RE: Maven 2 Article (Generating Site)

2006-04-24 Thread Vijay Shanker
Hi Wayne, Thanks for putting things together and posting on javaworld. It would definitely help users. Thanks, Vijay From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Mon 4/24/2006 10:36 AM To: Maven Users List Subject: Fwd: Maven 2 Article (Generating Site)

RE: Recalculating md5 checksums

2006-04-24 Thread Ruel Loehr
As far as I know, you have to remove the checksums from your local repo by hand, and then rerun the build and let the proper remote ones be downloaded. The problem is that once you get something in local repo, maven never updates it. It only checks to see if it is there or not. In your case, it

Re: Maven 2 Article (Generating Site)

2006-04-24 Thread Wayne Fay
I didn't actually write the article... That was John. I'm just forwarding his email from dev@ list to [EMAIL PROTECTED] ;-) Wayne On 4/24/06, Vijay Shanker [EMAIL PROTECTED] wrote: Hi Wayne, Thanks for putting things together and posting on javaworld. It would definitely help users.

Re: Removing version when creating a jar

2006-04-24 Thread ruelloehr
No. The version is always placed in the name when uploaded into the repository. There is not a way around this. -- View this message in context: http://www.nabble.com/Removing-version-when-creating-a-jar-t1438924.html#a4068132 Sent from the Maven - Users forum at Nabble.com.

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

2006-04-24 Thread William Simons
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 some searching and found a few similar bugs reported for surefire

Re: how to replace attainGoal in Maven 1 with plugin goal in Maven 2

2006-04-24 Thread dan tran
Hai, It is best that you read maven book at http://www.mergere.com/products.jsp It has a comprehensive section on building J2EE artifacts -D On 4/24/06, Hai Phan [EMAIL PROTECTED] wrote: Dear all, I am new to Maven 2. I have a project that written in Maven 1 to build an EAR, and I would

Re: Removing version when creating a jar

2006-04-24 Thread Nic Holbrook
What I do to get around this is let maven do its thing then when I deploy the jars, I use an ant task to copy the correct file out to my server using the name minus the version. RobJac wrote: I can actually remove the version when i package, but when i execute mvn installl for the project

Re: Removing version when creating a jar

2006-04-24 Thread Arik Kfir
sorry for butting in - but why would you want to do that? On 4/24/06, Nic Holbrook [EMAIL PROTECTED] wrote: What I do to get around this is let maven do its thing then when I deploy the jars, I use an ant task to copy the correct file out to my server using the name minus the version.

Re: [m2][site] Strange behaviour using site:deploy with scp.

2006-04-24 Thread Mikael Andersson
doh! :) You are absolutely right, thanks. Thanks agian, Micke On 24/04/06, Arik Kfir [EMAIL PROTECTED] wrote: isn't it supposed to be scp://[EMAIL PROTECTED]/directory/dir2/dir3?? On 4/24/06, Mikael Andersson [EMAIL PROTECTED] wrote: Hi, when I use use site:deploy with scp (on

RE: Compiling with jars that have classes in the default package, jdk1.4.2

2006-04-24 Thread Dave Comeau
Eric: I'm new to Maven, so I'm not if this will be useful... Maybe you should try using fork=true and then configure the maven.compiler.executable property to use an actual 1.3.x JDK compiler. We've had to take this route in the past (outside of Maven) to work around a bug in the old 1.3.1

Re: Removing version when creating a jar

2006-04-24 Thread RobJac
I have found a way to remove the version, in my ear pom xml i am using under the configuration of my ear-plugin javaModule groupIdTest/groupId artifactIdTest/artifactId

Maven + J2EE + XDoclet Question.

2006-04-24 Thread Sean McNamara
When building J2EE components (EJB in particular) with Maven XDoclet, how do I set whether XDoclet should create a J2EE 1.3 or 1.4 descriptor? Currently it looks like I'm getting a 1.4 descriptor which is then failing the deploy. Thanks! __ Do

Re: Removing version when creating a jar

2006-04-24 Thread Wayne Fay
I've never understood this desire to remove version numbers from Jars built by Maven... In fact, I can't stand it when I run across a jar with no version number and have to dig into it to find a version either in a manifest or other random file. Wayne On 4/24/06, Arik Kfir [EMAIL PROTECTED]

FTP an EAR file

2006-04-24 Thread RobJac
I want to FTP an EAR file from a particular location from my local PC to a remote m/c using maven. Is this possible using Maven? can i use any of the ant- plugin to do this? If some one has done this could you please send me the entries you have made in the pom xml for this? also please let me

Re: FTP an EAR file

2006-04-24 Thread Wayne Fay
Take a look at the Wagon plugin. I'm fairly certain it can handle this requirement. Wayne On 4/24/06, RobJac [EMAIL PROTECTED] wrote: I want to FTP an EAR file from a particular location from my local PC to a remote m/c using maven. Is this possible using Maven? can i use any of the ant-

RE: Removing version when creating a jar

2006-04-24 Thread Mike Perham
Usually because you have something like a reference by name in something like EAR's application.xml and don't want to update that file every time the version changes. Having changes ripple to modules downstream is a nightmare to deal with and so referring without version solves that problem. I

Re: FTP an EAR file

2006-04-24 Thread Wayne Fay
Just to be clear, it sounds like you are asking about DEPLOYING or remotely installing (into a corporate Maven repo perhaps) your EAR file using FTP and Maven. If you are simply asking about moving an EAR file using FTP then I don't believe this is supported by Maven or Wagon. Wayne On 4/24/06,

Conditional dependencies in M2

2006-04-24 Thread Clifton Craig
Hello all, I am converting from Ant/Ivy to Maven2 and I have a question regarding dependencies in Maven2. In Ivy I could define dependencies which would be conditionally considered based on my build configuration. for example, I could define in a project Foo, a dependency on Bar for all

Re: Removing version when creating a jar

2006-04-24 Thread Nic Holbrook
One of the reasons I do this now is because the new ejb3 spec allows for looking up objects based on a class. These new jndi objects are scoped based on the name of the ear. I remove the version so that I can keep the same code and reference the objects through jndi the same way each time.

Re: Removing version when creating a jar

2006-04-24 Thread Alexandre Poitras
But Maven can filter application.xml so it isn't a problem. Seriously I can understand when you deploy in a external location but why would you want to mess up Maven in his local respository? How do you want Maven to manage your artifact if you don't give him the informations it needs to do its

RE: Support for Multi-project Web Sites

2006-04-24 Thread Vijay Shanker
Hi Ryan, I am facing the same problem while building reports for multiple modules. Parent report does not include links of child modules' reports. If it is working for you then could you please gives steps and suggestions to achieve it. Thanking you. Vijay

Run a Main class

2006-04-24 Thread Pierre Monestie
Hi, Is there a simple way to run a Main class with maven? Something similar to the java task in Ant? If so what is the way to configure it? I know the runtime plugin is not completed so I'm looking for an intermediary solution. Thanks in advance, Pierre

Re: FTP an EAR file

2006-04-24 Thread Alexandre Poitras
It is supported, I already do it but you need to create a custom pluging to handle your special use case. I don't think there is a ftp plugin, wouldn't make sense anyway. On 4/24/06, Wayne Fay [EMAIL PROTECTED] wrote: Just to be clear, it sounds like you are asking about DEPLOYING or remotely

Re: FTP an EAR file

2006-04-24 Thread Alexandre Poitras
By the way, if you want to deploy your file on an application server using ftp, take a look at the different containers plugin, you should find what you are looking for. On 4/24/06, Alexandre Poitras [EMAIL PROTECTED] wrote: It is supported, I already do it but you need to create a custom

Re: Run a Main class

2006-04-24 Thread Alexandre Poitras
Still in the sandbox but works well : http://mojo.codehaus.org/exec-maven-plugin/ On 4/24/06, Pierre Monestie [EMAIL PROTECTED] wrote: Hi, Is there a simple way to run a Main class with maven? Something similar to the java task in Ant? If so what is the way to configure it? I know the

Re: Conditional dependencies in M2

2006-04-24 Thread Alexandre Poitras
This is what you are looking for : http://maven.apache.org/guides/introduction/introduction-to-profiles.html On 4/24/06, Clifton Craig [EMAIL PROTECTED] wrote: Hello all, I am converting from Ant/Ivy to Maven2 and I have a question regarding dependencies in Maven2. In Ivy I could define

Re: Run a Main class

2006-04-24 Thread Kristian Nordal
On 4/24/06, Pierre Monestie [EMAIL PROTECTED] wrote: Hi, Is there a simple way to run a Main class with maven? Something similar to the java task in Ant? If so what is the way to configure it? I know the runtime plugin is not completed so I'm looking for an intermediary solution. You can

Re: Clover 'site' missing an test jar dependency at compile time.

2006-04-24 Thread Wayne Fay
Sounds like the Clover plugin doesn't know about test-jar artifacts and is not properly handling them. Perhaps report to Cenqua? Wayne On 4/24/06, Dane Summers [EMAIL PROTECTED] wrote: Hello, I'm having trouble with clover and maven 2 - it appears to be a missing dependency from the

Re: Prevent over writing MANIFEST.MF

2006-04-24 Thread Alexandre Poitras
add to your configuration element : archive manifest manifestFile/path/to/MANIFEST.MF/manifestFile /manifest /archive Works with the jar plugin so it should work with the ear plugin. On 4/24/06, RobJac [EMAIL PROTECTED] wrote: I am trying to create an EAR using Maven2. I have

Re: FTP an EAR file

2006-04-24 Thread Wayne Fay
Even better... if you're looking to deploy your file on an app server, you should take a look at Cargo (and the Cargo Maven plugin). It handles this for many app servers very nicely. Wayne On 4/24/06, Alexandre Poitras [EMAIL PROTECTED] wrote: By the way, if you want to deploy your file on an

RE: Conditional dependencies in M2

2006-04-24 Thread Mike Perham
scopetest/scope is the closest thing I can think of. Test dependencies are not transitive so you need to declare them in each module. -Original Message- From: Clifton Craig [mailto:[EMAIL PROTECTED] Sent: Monday, April 24, 2006 2:15 PM To: users@maven.apache.org Subject: Conditional

Re: [M2] Compiler plugin 2.0.1 - compilerArguments error

2006-04-24 Thread Alexandre Poitras
Please run maven with the -e switch and post the result because it's hard to tell the cause based upon this stack. On 4/24/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote: Dear Maven Users, I was trying to specify -classpath system lib path using the compilerArguments /compilerArguments

RE: Clover 'site' missing an test jar dependency at compile time.

2006-04-24 Thread Mike Perham
This has nothing to do with Cenqua. They write Clover, not the Clover plugin. You need to enter a bug in the MCLOVER jira project. http://jira.codehaus.org/browse/MCLOVER -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Monday, April 24, 2006 2:50 PM To: Maven

Re: Run a Main class

2006-04-24 Thread Jesse McConnell
it is actually not in the sandbox anymore, version 1.0 was released a few weeks ago :) On 4/24/06, Alexandre Poitras [EMAIL PROTECTED] wrote: Still in the sandbox but works well : http://mojo.codehaus.org/exec-maven-plugin/ On 4/24/06, Pierre Monestie [EMAIL PROTECTED] wrote: Hi, Is

Re: Clover 'site' missing an test jar dependency at compile time.

2006-04-24 Thread Wayne Fay
For some reason, I thought Cenqua was also behind the Clover plugin... Thanks, Mike. Wayne On 4/24/06, Mike Perham [EMAIL PROTECTED] wrote: This has nothing to do with Cenqua. They write Clover, not the Clover plugin. You need to enter a bug in the MCLOVER jira project.

Dependencies Options

2006-04-24 Thread Brandon Goodin
Is it a requirement that i use the remote repository for jars? Is there a way to reference jars that are distributed with the code when checked out from the code repository? Brandon - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: Dependencies Options

2006-04-24 Thread Alexandre Poitras
Well you can use *system* dependencies but you loose tons of advantages. Instead, maybe you should just populate your local repository using the install plugin and -o to run mvn offline. On 4/24/06, Brandon Goodin [EMAIL PROTECTED] wrote: Is it a requirement that i use the remote repository for

Re: Maven + J2EE + XDoclet Question.

2006-04-24 Thread ozeebee
Hi Simply put the ejbspec attribute of the ejbdoclet element to either 2.0 for J2EE 1.3 or 2.1 for 1.4 : ejbdoclet destdir=${xdoclet.generatedSources} ejbspec=2.0 fileset dir=${basedir}/src/main/java include name=**/ejb/*Bean.java/

Re: Dependencies Options

2006-04-24 Thread Kristian Nordal
On 4/24/06, Brandon Goodin [EMAIL PROTECTED] wrote: Is it a requirement that i use the remote repository for jars? Is there a way to reference jars that are distributed with the code when checked out from the code repository? Take a look at the system scope:

Re: Maven + J2EE + XDoclet Question.

2006-04-24 Thread Sean McNamara
Thanks. I ended up figuring that out about 2 minutes before getting your email... Sorry for the lame question. --- ozeebee [EMAIL PROTECTED] wrote: Hi Simply put the ejbspec attribute of the ejbdoclet element to either 2.0 for J2EE 1.3 or 2.1 for 1.4 : ejbdoclet

Re: Dependencies Options

2006-04-24 Thread Wayne Fay
It is *strongly* suggested that you do not utilize scope system. This is available for the rare use case which actually requires it. In general, you should add dependencies to your local repo (or a corporate repo, if you are using one) and use dependency in the normal manner. Wayne On 4/24/06,

CSS how change the menu colors

2006-04-24 Thread Julio Oliveira
Hi I'm seen the maven-base.css / maven-classic.css and maven-theme.css files I have the following lines: div id=leftColumn div id=navcolumn h5 JSP programs /h5 ul li class=none a

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

2006-04-24 Thread Wendy Smoak
On 4/24/06, William Simons [EMAIL PROTECTED] wrote: I've done some searching and found a few similar bugs reported for surefire that basically say that the problem is having the m2 repository in Documents and Settings/user/.m2/repository. Unfortunately, I couldn't locate a bug reported on

Re: Run a Main class

2006-04-24 Thread Kaare Nilsen
hehe except that the exec:java goal has a bug in the 1.0 version. It has a NPE if no system props are set. But an easy way to work around this bug is to add something like this in your pom.. plugin groupIdorg.codehaus.mojo/groupId artifactIdexec-maven-plugin/artifactId

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

2006-04-24 Thread Kathryn Huxtable
I prefer on Windows to use forward slashes in file paths. Java and Windows are both agnostic (except on command lines), so either can be used. That way you don't have to escape a bunch of backslashes. -- Kathryn Huxtable Middleware Architect Core Middleware Information Technology, a division of

Re: Run a Main class

2006-04-24 Thread Pierre Monestie
Thanks very much for the help!! Once again this mailing list rocks!!! pierrre On 4/24/06, Kaare Nilsen [EMAIL PROTECTED] wrote: hehe except that the exec:java goal has a bug in the 1.0 version. It has a NPE if no system props are set. But an easy way to work around this bug is to add something

Re: Maven2 : mvn site nullpointer

2006-04-24 Thread thenew05
Did someone post an answer to this, I am having the same problem! Thanks On 4/6/06, Tom Joad [EMAIL PROTECTED] wrote: Hello all, When I add ${java.home}/../lib/tools.jar dependency groupIdsun.jdk/groupId artifactIdtools/artifactId version1.4.2/version

Re: Maven2 : mvn site nullpointer

2006-04-24 Thread Wayne Fay
This might be related to his use of the scope system for the dependency. Tom/etc, can you perhaps use mvn install:install-file to copy the tools.jar file into your Maven repo, and then change the dependency to provided, and re-run your site generation? Just to see if this is a valid work-around

How to disable clean plugin from running?

2006-04-24 Thread Jason Dillon
I've got a project that uses one module to generate code (using AndroMDA) into another module, but when I do something like `mvn clean install` from the top-level it will generate code from the mda module, then the other module will then delete it all when it runs clean before install.

Re: Dependencies Options

2006-04-24 Thread Brandon Goodin
tons of advantages - please quantify this. Personally, I find the repository to be a nice piece of Maven. But, I don't see it as a cardinal sin to actually distribute libraries in your project. If you follow the libary naming convention then who cares? Personally, what i find annoying are the

  1   2   >