Re: Repository 'central' will be blacklisted

2009-03-31 Thread Wayne Fay
 proxies    !-- proxy ...    /proxy    --  /proxies If this is literally the content of your file, then you should realize that you've commented out the new proxy 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

How to compile and run Java class

2009-03-31 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 to

Re: Config File Consistency

2009-03-31 Thread Stephen Connolly
dependency:unpack??? 2009/3/30 dutchman...@charter.net 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

Re: How to compile and run Java class

2009-03-31 Thread Tobias Gierke
Hi, 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

Re: Config File Consistency

2009-03-31 Thread Cedros GmbH
Hi there. I don't seem to get exactly what you want to accomplish, but it sounds like this is what you want to do: http://maven.apache.org/plugins/maven-dependency-plugin/examples/unpacking-artifacts.html You can download a specific artifact from a repository and unpack it to a certain

Re: Repository 'central' will be blacklisted

2009-03-31 Thread NR031
Hi, I am following the steps given in the URL http://www.ensode.net/maven_intro.html HERE to compile and run my java class When I run the command, mvn archetype:create -DgroupId=maven-test -DartifactId=maven-test -DpackageName=net.ensode.maventest I am getting,

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

2009-03-31 Thread Siegfried Goeschl
Hi Jerry, the bad news are that I had the same problem - the good news are that I was able to get rid of the problem E.g. run mvn -U site to force an update of your repo - thanks to Wendy Smoak helping me with this issue ... Cheers, Siegfried Goeschl Jerry Thome wrote: Sorry if I missed this

Re: Config File Consistency

2009-03-31 Thread Perry Hoekstra
Yes, after a great deal of paddling around, I ran into dependency:unpack and that is what I ended up using. Perry Hoekstra Stephen Connolly wrote: dependency:unpack??? 2009/3/30 dutchman...@charter.net Jeff: If it was a single file (ie. CheckStyle) I would have most likely gone down

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

2009-03-31 Thread Brian E. Fox
That plugin doesn't exist on apache, so the error is correct. -Original Message- From: Azazel Se [mailto:azazel...@hotmail.com] Sent: Monday, March 30, 2009 10:37 PM To: users@maven.apache.org Subject: The plugin 'org.apache.maven.plugins:maven-aar-plugin' does not exist Hi. I cannot

Re: Duplicate Module/Project Names in m2eclipse

2009-03-31 Thread Jason van Zyl
On 30-Mar-09, at 9:26 PM, Andrew Hughes wrote: 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 -

Re: Sharing Maven-based project

2009-03-31 Thread HHB
Please correct me if I'm wrong: 1. I have to install Nexus (my choice) on the dev machine (shared server). 2. I will use Nexus to copy my local MVN repository to the dev machine. Thanks for help , I'm so newbie with Maven. Cedros GmbH wrote: Yes, create a repository for your unit/company.

Re: Sharing Maven-based project

2009-03-31 Thread Geoffrey Wiseman
On Tue, Mar 31, 2009 at 10:56 AM, HHB hubaghd...@yahoo.ca wrote: Please correct me if I'm wrong: 1. I have to install Nexus (my choice) on the dev machine (shared server). 2. I will use Nexus to copy my local MVN repository to the dev machine. Thanks for help , I'm so newbie with Maven.

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

2009-03-31 Thread Jerry Thome
That fixed it. I'll be sure to do that first in the future. Thank you. Siegfried Goeschl siegfried.goes...@it20one.at 03/31/2009 05:15 AM Please respond to Maven Users List users@maven.apache.org, siegfried.goes...@it20one.at To Maven Users List users@maven.apache.org cc Subject Re:

Re: Duplicate Module/Project Names in m2eclipse

2009-03-31 Thread Kalle Korhonen
On Tue, Mar 31, 2009 at 6:56 AM, Jason van Zyl jvan...@sonatype.com wrote: Give your projects different names. We're not going to support duplicate artifactIds in the reactor. You can't have two artifacts with the same coordinate and expect it to work. Name your projects properly. That's a

RE: Duplicate Module/Project Names in m2eclipse

2009-03-31 Thread Todd Thiessen
I think m2e does allow you to create a project with the groupId as part of the project name. If you open the Advanded dialog during an import you will see a name template. --- Todd Thiessen -Original Message- From: Kalle Korhonen [mailto:kalle.o.korho...@gmail.com] Sent: Tuesday,

RE: Duplicate Module/Project Names in m2eclipse

2009-03-31 Thread Brian E. Fox
When you import, you can select a naming template and one of them includes the group. This is also handy if you happen to have multiple branches imported at the same time, since one of the other options includes the version. -Original Message- From: Andrew Hughes

RE: Sharing Maven-based project

2009-03-31 Thread Brian E. Fox
Yes, although if all your project dependencies are in the Maven central repository, there may be some value in waiting on Nexus (or one of the other repo managers, although I like Nexus) 'til you're ready. If you've already got several dependencies in your local repo that can't be found on

Re: Duplicate Module/Project Names in m2eclipse

2009-03-31 Thread Kalle Korhonen
Thanks, good to know. All the more reason to switch from q4e to m2e once the incremental compiler becomes available! Kalle On Tue, Mar 31, 2009 at 11:03 AM, Brian E. Fox bri...@reply.infinity.nuwrote: When you import, you can select a naming template and one of them includes the group. This

Re: Sharing Maven-based project

2009-03-31 Thread Geoffrey Wiseman
On Tue, Mar 31, 2009 at 2:07 PM, Brian E. Fox bri...@reply.infinity.nuwrote: Don't forget about the improved build performance that will come with the proxies you get with a repo manager. I wouldn't say that you don't need one until you actually need to share artifacts (which would happen as

Re: Duplicate Module/Project Names in m2eclipse

2009-03-31 Thread Tobias Gierke
Hi, 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 -

Re: Duplicate Module/Project Names in m2eclipse

2009-03-31 Thread Jason van Zyl
On 31-Mar-09, at 10:54 AM, Kalle Korhonen wrote: On Tue, Mar 31, 2009 at 6:56 AM, Jason van Zyl jvan...@sonatype.com wrote: Give your projects different names. We're not going to support duplicate artifactIds in the reactor. You can't have two artifacts with the same coordinate and

Re: Duplicate Module/Project Names in m2eclipse

2009-03-31 Thread Jason van Zyl
On 31-Mar-09, at 11:40 AM, Tobias Gierke wrote: Hi, 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 -

Re: Duplicate Module/Project Names in m2eclipse

2009-03-31 Thread Tobias Gierke
Hi, Give your projects different names. We're not going to support duplicate artifactIds in the reactor. You can't have two artifacts with the same coordinate and expect it to work. Name your projects properly. I always thought Maven artifacts are uniquely identified by { groupId ,

Re: Checktyle report incomplete

2009-03-31 Thread Dennis Lundberg
John Coleman wrote: 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. Yes, check out the Goals link on a plugins site and then follow the link to the goal you want to use. If you

RE: Duplicate Module/Project Names in m2eclipse

2009-03-31 Thread Bryan Loofbourrow
On 31-Mar-09, at 11:40 AM, Jason Van Zyn wrote: As long as there is a unique coordinate Maven is fine. Aside from that having the exact same artifactId also just leads to problems. Try putting them in the same assembly, try to visually identify which one is which in different directories.

Re: Possible problem when multiple developers depend on SNAPSHOT versions

2009-03-31 Thread Scott Heaberlin
Trevor - My organization is facing this exact same concern. We are primarily an application platform / hosted-solution company, meaning we don't shrinkwrap and support multiple versions of our systems - only one version is in production at a time. Of course, multiple branches are

Re: Dependencies for aggregated projects

2009-03-31 Thread klimane
I realize that this post is quite old, but I am looking for similar information. What we've experienced is that the aggregator pom does depend on the target build directory and not the local repository. Is there a way to reverse this? In our case, we are using a non-standard code structure

building archive with 3rd party libs

2009-03-31 Thread Seth Tager
I'm using nar to try to build an archive that includes sets of dynamic libraries that I've built for different architectures. How do I configure nar to pull the correct libraries into the archive? Seth - To unsubscribe,

archetype:generate prompts

2009-03-31 Thread Tim
Can an archetype prompt for additional properties?For example if I have a dependency on junit but would like the user to specify the version of it that they want when creating a template project off an archetype. Is that possible? -- Rodney Dangerfield - I haven't spoken to my wife in years. I

Re: archetype:generate prompts

2009-03-31 Thread Tim
Sry I just answered my own question. http://maven.apache.org/plugins/maven-archetype-plugin/examples/create-with-property-file.html On Tue, Mar 31, 2009 at 6:02 PM, Tim che...@gmail.com wrote: Can an archetype prompt for additional properties?For example if I have a dependency on junit but

Update maven-metadata.xml

2009-03-31 Thread Jim McCaskey
Hello all, I have two questions surrounding maven-metadata.xml files. I have a need to regenerate a bunch of maven-metadata.xml files. I was wondering if there where any tools or mojo's that might be able to help me do this. Needing to do this was caused by... I also have a problem with

Re: Update maven-metadata.xml

2009-03-31 Thread Brett Porter
On 01/04/2009, at 12:16 PM, Jim McCaskey wrote: Hello all, I have two questions surrounding maven-metadata.xml files. I have a need to regenerate a bunch of maven-metadata.xml files. I was wondering if there where any tools or mojo's that might be able to help me do this. Needing to

RE: Update maven-metadata.xml

2009-03-31 Thread Jim McCaskey
I'm still trying to get away with not using a repo manager. I can always right a perl script to update the maven-metadata.xml files, but if something already existed, I would prefer that. This is what's in it after a deploy (group id and artifact id changed): ?xml version=1.0

RE: Update maven-metadata.xml

2009-03-31 Thread Brian E. Fox
Using a repo manager would solve both problems. You could upload via a ui instead of deploy-file and the metadata would be correctly generated. -Original Message- From: Jim McCaskey [mailto:jim.mccas...@pervasive.com] Sent: Tuesday, March 31, 2009 9:17 PM To: 'users@maven.apache.org'