How to compile and run Java class

2009-03-30 Thread NR031
Hi, I have created a a simple java class inside the folder D:/Project/src/com. package com; public class HelloWorld { public static void main(String[] args) { System.out.println("Hello World"); } } I would like to compile this java file and place the .class file in t

Re: Repository 'central' will be blacklisted

2009-03-30 Thread Wayne Fay
>   >     >   If this is literally the content of your file, then you should realize that you've commented out the new that you defined in the XML with the XML comment tags . Please open this file in an XML-editor so you can fix it, or learn XML and adjust the comment tags as you deem necessary.

Re: Repository 'central' will be blacklisted

2009-03-30 Thread NR031
Hi, I can able to access http://repo1.maven.org/ from the browser and I have made changes in the proxy settings like this: I am not having any local repository. I am very new to Maven, please provide the step by step procedure to resolve the issue (If possible with the scre

Duplicate Module/Project Names in m2eclipse

2009-03-30 Thread Andrew Hughes
Hi, Eclipse can't seem to handle two modules in the same workspace that have the same artifactId. For example if I have a multi-module project (groupId:artifact) as below: - carworld:carworld - carworld:ferrari - carworld.ferrari:car - carworld:porsche - carworld.pors

The plugin 'org.apache.maven.plugins:maven-aar-plugin' does not exist

2009-03-30 Thread Azazel Se
Hi. I cannot get the service archiver plugin to work (AAR). mvn aar:aar gives this result: [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'aar'. [INFO] [ERROR] BUILD ERROR [INFO] -

RE: The skin does not exist: Unable to determine the release version

2009-03-30 Thread Martin Gainty
version is indeterminant what happens if you follow instructions to d/l the requested skin and install with known group-id,version and artifact-id ? Martin __ Disclaimer and confidentiality note This message is confidential and may be privileged. If

The skin does not exist: Unable to determine the release version

2009-03-30 Thread Jerry Thome
Sorry if I missed this as a recent posting. Last night, several of my Maven projects running in Hudson starting to fail with the same error message. Does the recent "site" plug-in release have anything to do with this? It's becoming problematic to delete files in a repo and have maven auto-d

Re: Grandparent classes not found at compile time

2009-03-30 Thread Trinition
My point is about transitive support for provided dependencies. The middle artifact here does declare a dependency to the third-party jar. But its declared as *provided*, not *compile*. Now I understand the intent of provided. It's to say "I expect this to be provided in the runtime environmen

[ANN] findbugs-maven-plugin v 2.0 release

2009-03-30 Thread Garvin LeClaire
The Maven Findbugs team would like to announce the release of the Maven Findbugs Plugin version 2.0 This plugin allows the developer to run Findbugs analysis against a Maven project and produce site output in HTML to match other site reports. There are options to produce other XML outputs whi

Invalid or missing parameter add-source

2009-03-30 Thread taotree
I'm using maven eclipse plugin. During build, I see the following in the maven console: 3/30/09 1:28:49 PM PDT: Build errors for ProjectName; org.apache.maven.lifecycle.LifecycleExecutionException: Invalid or missing parameters: [Mojo parameter [name: 'sources'; alias: 'null']] for mojo: org.cod

Re: Senior Release Engineer Opportunity in Boston

2009-03-30 Thread Wendy Smoak
On Mon, Mar 30, 2009 at 1:49 PM, durgaK wrote: > > Seek individual with... Please use j...@apache.org for job postings... you can find more info here: http://www.apachenews.org/archives/000465.html Thanks, -- Wendy - To unsub

Re: Senior Release Engineer Opportunity in Boston

2009-03-30 Thread Bob Aiello
What is the salary/rate? bob.aie...@ieee.org - http://www.linkedin.com/in/BobAiello - Sent via BlackBerry -Original Message- From: durgaK Date: Mon, 30 Mar 2009 11:49:04 To: Subject: Senior Release Engineer Opportunity in Boston Seek individual with strong skills in Subversion, Ma

Re: How to perform a deploy only

2009-03-30 Thread Stephen Connolly
Stefan, The problem is that the deploy:deploy will be running in a separate reactor and will be missing any attached artifacts from the reactor build. So actually what you propose will completely fail for more than a non-trivial build -Stephen 2009/3/30 Stefan Seidel > I still don't think you

Re: Variable substitution question...

2009-03-30 Thread Stephen Connolly
You need to configure filtering for the file you want filtered. Have a look at the war plugin for how to define which files get filtered 2009/3/30 James Depaul > > > I've searched the archives for this but no luck - > > I need to build my web.xml file with specific values based on the target >

Senior Release Engineer Opportunity in Boston

2009-03-30 Thread durgaK
Seek individual with strong skills in Subversion, Maven, J2EE, Weblogic, Builds & Releases for Release Engineer position with an established and growing software service company. Responsibilities: • Build various versions of the application (Maven) and deploy to development environments

RE: maven repository version

2009-03-30 Thread Martin Gainty
any advantages to manually track file versions (instead of using version control to manage the process) ? Martin __ Disclaimer and confidentiality note This message is confidential and may be privileged. If you are not the intended recipient, we kin

Re: Maven Release release:prepare / perform etc.

2009-03-30 Thread Karl Heinz Marbaise
Hi, Hi David, sorry.. a second one... mvn release:prepare -DpreparationGoals="clean install" In my opinion this couldn't work, cause the goal clean tries to download things from local repository (like xy-1.0.0.pom) which will be created by the process so the only goal in this case could be

Re: Maven Release release:prepare / perform etc.

2009-03-30 Thread Stephen Connolly
I am going to bet that you might be using the dependency:copy or the dependency:unpack goals and not dependency:copy-dependencies If you are picking something up from the reactor you need to use goals that look in the reactor 2009/3/30 Karl Heinz Marbaise > Hi David, > > sorry.. a second one...

Re: swap between snapshot- and release versions in a large system

2009-03-30 Thread Stephen Connolly
versions-maven-plugin some of the mojo's we're (or I'm) intending on putting in are not there yet. The first mojo to look at is: update-properties (you'd be wanting the version from 1.0-alpha-3-SNAPSHOT btw) This picks up any dependencies who's version comes from a property and allows picki

Re: Maven Release release:prepare / perform etc.

2009-03-30 Thread Karl Heinz Marbaise
Hi David, sorry.. a second one... mvn release:prepare -DpreparationGoals="clean install" In my opinion this couldn't work, cause the goal clean tries to download things from local repository (like xy-1.0.0.pom) which will be created by the process so the only goal in this case could be "ins

Re: Maven Release release:prepare / perform etc.

2009-03-30 Thread Karl Heinz Marbaise
Hi David, first thanks for your fast answer... Hey Karl, This issue has been coming up quite a bit, lately. Hm...my english seemed to be no good enough to understand this... > Some will disagree with me, but here is my solution to this problem. mvn release:prepare -DpreparationGoals=

Re: How to bulk load the jars in my local repo into a new (empty) corporate remote repo?

2009-03-30 Thread Jeff Walker
Thank you for your replies. I am writing a script to do it, at the suggestion of another poster. Thank you one and all! -jeff On Sun, Mar 29, 2009 at 3:45 AM, Stephen Connolly < stephen.alan.conno...@gmail.com> wrote: > The danger with that is that the metadata (local vs remote) will be > inco

Compiling a specific module with the dependencies

2009-03-30 Thread Cleiton Dos Santos Garcia
Hello, I have a project with 2 jars maestro-ee -> maestro-core. I'm trying to setup the continuous integration with cruisecontrol, but I'm having some problems. Is it possible when a compile the project maestro-ee automatically compile the project maestro-core? I'm not interested in always run

Re: Config File Consistency

2009-03-30 Thread dutchman_mn
Jeff: If it was a single file (ie. CheckStyle) I would have most likely gone down the URL route. However, I have multiple configuration files (CheckStyle, PMD, FindBugs, testing, etc) so I would like it all as single dependency. If I go down the *.jar route, it works for CheckStyle but does n

Re: Maven Release release:prepare / perform etc.

2009-03-30 Thread David C. Hicks
Hey Karl, This issue has been coming up quite a bit, lately. Some will disagree with me, but here is my solution to this problem. mvn release:prepare -DpreparationGoals="clean install" The release:prepare normally only does a packaging, so the install step never happens. It really should

Maven Release release:prepare / perform etc.

2009-03-30 Thread Karl Heinz Marbaise
Hi there, i have a project which is building etc. with mvn clean package etc. Now i would like to do a mvn release:prepare answering questins: like release Version 1.0.0 and the tag name etc. but it's comming up that during the release:prepare cycle Maven want to download artifact like xyz-1.0.

Re: Grandparent classes not found at compile time

2009-03-30 Thread Wayne Fay
> But if I must do manual dependency analysis every time I update a third > party jar -- just in case it now incurs a new dependency for me -- then what > value are transitive dependencies in Maven at all? You are expected to know what Jars your project (specifically) depends on. I've followed thi

maven repository version

2009-03-30 Thread Jim McCaskey
Hello all, I have a hunch the answer to this is going to be "use a repository manager" but thought I would ask. I have built up 3 internal maven repositories that we point at via settings in our settings.xml. I would like to be able to "version" 2 of them. Essentially what I am thinking of i

Re: Config File Consistency

2009-03-30 Thread Jeff Jensen
Hi Perry, Typically, I have used the configuration options of the tool, such as specifying the config file via a URL with Checkstyle.  I have also bundled them together a separate project, deployed that jar, and made it a dependency of the projects.  This works when the respective tool can

Re: help deploying with tomcat-maven-plugin, please

2009-03-30 Thread yellowtrolley
Due to the FileNotFoundException I created the target folder "opencms-basic" manually and now the trace is a bit different (below). It seems to be a problem with permissions accessing tomcat manager... Embedded error: Connection refused: connect [INFO] --

help deploying with tomcat-maven-plugin, please

2009-03-30 Thread yellowtrolley
Anybody can give me a hint about what I am doing wrong, please? I installed tomcat-maven-plugin and tomcat manager plugin for eclipse. My project builds ok after "mvn package" but when I try to deploy to tomcat server with "mvn -e tomcat:exploded" it throws "org.apache.maven.lifecycle.Lifecyc

Config File Consistency

2009-03-30 Thread dutchman_mn
Hello all: I am working in a Maven multi-project environment and I would like to maintain some consistency across projects for some tools like CheckStyle, FindBugs, etc. In order to do this, I am thinking of using the remote resource plugin. However, the documentation states that the files fr

Re: Grandparent classes not found at compile time

2009-03-30 Thread Trinition
I've been using the m2eclipse dependency hierarchy view, as well. That helped me identify the extra piece I needed to include. But if I must do manual dependency analysis every time I update a third party jar -- just in case it now incurs a new dependency for me -- then what value are transitive

Variable substitution question...

2009-03-30 Thread James Depaul
I've searched the archives for this but no luck - I need to build my web.xml file with specific values based on the target environment for which I'm performing the build. Therefore, I'd like maven to perform some variable substitution when I run the mvn install goal. I'm trying to use profile

Re: Maven surefire plugin - testFailureIgnore and its behaviour with forkMode

2009-03-30 Thread Paul Gier
As far as I know, it's not expected behaviour. If you can create a jira issue with a sample project to reproduce this, I'm sure someone can take a look. Also, try version 2.4.3 since that is the latest. Jaikiran wrote: I am using Maven surefire plugin 2.4.2 with the following configurations:

swap between snapshot- and release versions in a large system

2009-03-30 Thread torsten . reinhard
Hi, we have a large system, containing separate software modules (backend.ear, ui.war, services.war and so on) During developement, we use snapshot dependencies to reference the other modules. So a version of the whole system can be build by "one click" on our buildsystem, which than just

Assemble zip from multiple modules

2009-03-30 Thread ErwinF
I want to make a distribution containing several war files, located in modules in my parent pom. The file would look like this: file.zip | --file.ear | | | --- project1.war | --- project2.war | --- project3.war | --- project4.war |--- project5.war |--- Rele

RE: How to perform a deploy only

2009-03-30 Thread Jim McCaskey
With the minor caveat that I could never get mvn deploy:deploy to work at all. :) I had posted the error I was getting several days ago. Thanks for the suggestion though. In any event, I like this solution a lot better the more I have used it. It prevents any and all accidental running of an

Maven surefire plugin - testFailureIgnore and its behaviour with forkMode

2009-03-30 Thread Jaikiran
I am using Maven surefire plugin 2.4.2 with the following configurations: maven-surefire-plugin ... false ... always ... I have intentionally set testFailureIgnore=false (i.e. the default value), so that if the test f

Re: Verbatim HTML in site documentation

2009-03-30 Thread TomStrummer
Know what? The section on validation and block elements gave me the impression that XDoc provided a restricted subset of HTML. I missed where it said any valid XHTML could be used. I tried it and it works great. Sorry for the confusion and thanks again for the help. Lukas Theussl-3 wrote:

RE: dependency:unpack-dependencies not updating releases

2009-03-30 Thread Brian E. Fox
It's because the same modello model is used for both, but that value is ignored. Trust me, if you try to start changing releases, you will have endless problems. -Original Message- From: Richard Chamberlain [mailto:richard.chamberl...@caplin.com] Sent: Monday, March 30, 2009 4:39 AM To: M

Re: How to perform a deploy only

2009-03-30 Thread Stefan Seidel
I still don't think your solution is easier than mvn install if not errorlevel 1 mvn deploy:deploy But - everyone has their own solutions ;) Thanks for sharing. Stefan On Fri, 27 Mar 2009 13:17:43 -0500 Jim McCaskey wrote: > Hi Stephen, > > Sure no problem. What I came up with was another

Re: Verbatim HTML in site documentation

2009-03-30 Thread Lukas Theussl
Can't you use xdoc? Xdoc is basically xhtml with some additional tags, see http://maven.apache.org/doxia/references/xdoc-format.html -Lukas TomStrummer wrote: I just realized the "snippet" macro is actually not at all what I'm looking for. I don't want the source of a file displayed in my

Re: Sharing Maven-based project

2009-03-30 Thread Cedros GmbH
Yes, create a repository for your unit/company. You don't want to let your colleagues download artifacs manually from eg. SVN. We use Artifactoy as a repository and central mirror for every maven installation in the company. Its running on Tomcat, easy to install and integrated with the comp

RE: Checktyle report incomplete

2009-03-30 Thread John Coleman
Yes that works, many thanks. Are there similar ways to do this for the PMD report and Corbertura? It would be nice if the reporting plugins were more consistent. TIA John > -Original Message- > From: Dennis Lundberg [mailto:dennisl.apa...@gmail.com] On > Behalf Of Dennis Lundberg > Se

AW: SpeedUp the release process

2009-03-30 Thread Hoehmann, Andreas
how can i define the local directory? please could you post a pom.xml snippet for that? > -Ursprüngliche Nachricht- > Von: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com] > Gesendet: Freitag, 27. März 2009 22:57 > An: Maven Users List > Betreff: Re: SpeedUp the release process >

POM 'org.apache.maven.plugins:maven-checkstyle-plugin' no t found in repository: Unable to download the artifact from any repository

2009-03-30 Thread Nikolay Volnov
Hi, I'm trying to set up Sonar for our project. (http://docs.codehaus.org/display/SONAR/Collect+data#Collectdata-NonMavenprojects(sonarlightmode)) Currently, I have the following ERROR and I couldn't find the solution. May be somebody can advise what's wrong. I use Maven 2.0.10. mvn org.code

RE: dependency:unpack-dependencies not updating releases

2009-03-30 Thread Richard Chamberlain
Hi Brian, I'm confused. What is the meaning of an updatePolicy for releases? always always caplin file:/maven/maven-repo Richard -Original Message- From: Brian E. Fox [mailto:bri...@reply.infinity.nu] Sent: 27 Ma

Re: ejb manifest -- strip version numbers of dependencies

2009-03-30 Thread Dennis Lundberg
You could have a go with the 2.2-SNAPSHOT version of the plugin. That version has an updated version of Maven Archiver, which is the component that handles everything you put into the configuration. Michael Hüttermann wrote: > Hello, > > I create an EJB and want to cut off the version numbers of

Re: Checktyle report incomplete

2009-03-30 Thread Dennis Lundberg
http://maven.apache.org/plugins/maven-checkstyle-plugin/checkstyle-mojo.html#includes You should use this command instead: mvn -Dcheckstyle.includes=**/Named.java compile pre-site checkstyle:checkstyle John Coleman wrote: > Hi, > > When I run the command below I only get checkstyle reports for