Re: Compare M1 and M2 Artifacts

2010-06-08 Thread Jochen Stiepel
Hi Dave, you can also use winmerge http://winmerge.org/ It also can compare directories and also transparently unzip JAR/EAR/WAR's. You can also define filters to filter out common changes. Jochen 2010/6/8 D D > Thank you Thomas for pointing me to Beyond Compare - unfortunately the > corpora

Error reading archetype catalog http://repo1.maven.org/maven2

2010-06-08 Thread Shyamsunder R Mutcha
When I try to execute the following command mvn -e archetype:generate -B -DarchetypeGroupId=org.appfuse.arch etypes -DarchetypeArtifactId=appfuse-basic-spring-archetype -DarchetypeVersion=2 .1.0-M1 -DgroupId=com.mycompany -DartifactId=myproject I receive error message "[WARNING] Error reading arc

Re: pom.xml clarification; new to Maven

2010-06-08 Thread Wayne Fay
> I'm trying to learn Maven because I want to use i-Jetty (for Android > webapps).  At first I had no idea what the provided pom.xml file meant but I Please join the Maven Android Developers Google Group for these discussions: To post to this group, send email to maven-android-develop...@googlegr

pom.xml clarification; new to Maven

2010-06-08 Thread Chris24300
Hello, As stated I'm new to Maven and have been reading a getting started guide. I'm trying to learn Maven because I want to use i-Jetty (for Android webapps). At first I had no idea what the provided pom.xml file meant but I think I understand it so if I'm not correct then please correct me.

generateApplicationXml and release plugin

2010-06-08 Thread Timothy Mcginnis
I have the tag set to true for my maven-ear-plugin. But this seems to cause a problem when I run release:prepare. The application.xml file gets modified during the prepare (which is good because it sets the right version numbers on the uri) but then the application.xml is committed to my SCM

Re: placing third party installation under maven

2010-06-08 Thread Wayne Fay
> The correct Maven way to solve this is to set up an internal remote repo, in > which you deploy these libs (artifacts). The easiest way to do this is to > use a repo manager such as Nexus or Artifactory. You will have this up and I also suggest that you speak with the company/team responsible fo

RE: placing third party installation under maven

2010-06-08 Thread Meeusen, Christopher W.
Look into nexus, its free, and easy. I'm also a Maven newb and took less than 4 hours to setup and upload all our 3rd party artifacts. Good luck, Chris -Original Message- From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On Behalf Of Anders Hammar Sent: Tuesday, June 08,

Re: pom.xml ERROR

2010-06-08 Thread Anders Hammar
http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide I believe setting env property JAVA_HOME should be enough. /Anderfs On Tue, Jun 8, 2010 at 19:04, noemi rc wrote: > > Thanks, i will > > I googled this error but, I didn't find any solution. > I also put the propertie in my pom,

Re: placing third party installation under maven

2010-06-08 Thread Anders Hammar
The correct Maven way to solve this is to set up an internal remote repo, in which you deploy these libs (artifacts). The easiest way to do this is to use a repo manager such as Nexus or Artifactory. You will have this up and running in less than a day. The benefit of doing this is that you solve t

Re: gpg:sign and repository:bundle-create produce bad signatures

2010-06-08 Thread Bruno Harbulot
On 08/06/10 16:52, Bruno Harbulot wrote: On 08/06/10 15:24, Bruno Harbulot wrote: I'm trying to follow the procedure for manual upload as described on this page: http://www.sonatype.com/people/2010/04/uploading-artifacts-to-the-central-maven-repository-diy/ I've set up my GPG key and it

maven-deploy-plugin differences between 2.4 and 2.5

2010-06-08 Thread Jason Chaffee
I tried to upgrade to version 2.5 and I started to get the following error all projects that we using the assembly to attach artifacts. It works correctly on my "jar", "war" and "pom" only projects though. Does anyone have any idea why this happening? [INFO] --

Re: Compare M1 and M2 Artifacts

2010-06-08 Thread D D
Thank you Thomas for pointing me to Beyond Compare - unfortunately the corporate policy won't let me use it - however I will buy it for personal use since it appears to be an excellent visual tool. (And yes you guessed there are no acceptance tests...) I will have to settle for Jesse's good old fa

Re: pom.xml ERROR

2010-06-08 Thread noemi rc
Thanks, i will I googled this error but, I didn't find any solution. I also put the propertie in my pom, but it didn't work. I have no projects in the whole workspace with the jre:javaws:jar dependency, so, I don't know what else I can do ... Thanks anyway -- View this message in context: htt

Re: Compare M1 and M2 Artifacts

2010-06-08 Thread Jesse Farinacci
Hi Dave, On Tue, Jun 8, 2010 at 1:00 PM, Jesse Farinacci wrote: > >> Does anyone have a tool/script that allows on automated artifact comparison >> on the level of files? > > $ jar tf m1.jar | cut -c 59- > m1.manifest && \ >   jar tf m2.jar | cut -c 59- > m2.manifest && \ >   diff -Naur m1.manife

Re: Compare M1 and M2 Artifacts

2010-06-08 Thread Thomas Sundberg
Hi! I would start by deploying the generated artifacts in a test environment and run your acceptance tests. If they pass, then all you need is most likely packaged properly. If that isn't an option, I would unpack the artifacts and compare them with Beyond Compare. Beyond Compare can compare not

Re: Compare M1 and M2 Artifacts

2010-06-08 Thread Jesse Farinacci
Hi Dave, On Tue, Jun 8, 2010 at 12:14 PM, D D wrote: >  I'm working on converting M1 to M2. Now I arrived at a point where I need > to compare artifacts to make sure nothing was missed. JAR/EAR/WAR sizes (MD5 > hashes) can't be compared due to different compiler versions and target > platforms..

Compare M1 and M2 Artifacts

2010-06-08 Thread D D
Hello, I'm working on converting M1 to M2. Now I arrived at a point where I need to compare artifacts to make sure nothing was missed. JAR/EAR/WAR sizes (MD5 hashes) can't be compared due to different compiler versions and target platforms.. Does anyone have a tool/script that allows on automate

Compare M1 and M2 Artifacts

2010-06-08 Thread D D
Hello, I'm working on converting M1 to M2. Now I arrived at a point where I need to compare artifacts to make sure nothing was missed. JAR/EAR/WAR

Re: gpg:sign and repository:bundle-create produce bad signatures

2010-06-08 Thread Bruno Harbulot
On 08/06/10 15:24, Bruno Harbulot wrote: I'm trying to follow the procedure for manual upload as described on this page: http://www.sonatype.com/people/2010/04/uploading-artifacts-to-the-central-maven-repository-diy/ I've set up my GPG key and it seems to work mostly well, except that the .a

Re: pom.xml ERROR

2010-06-08 Thread Wayne Fay
> thanks for your quick answer,  I don't know what I have to do to set the > java.home property, the parent pom and my pom have no java.home property. > Can you help me ??? please, I'm running out of time Ask the person who gave you the pom.xml file and the Java project for help with it. Way

Re: pom.xml ERROR

2010-06-08 Thread Justin Edelson
On 6/8/10 10:59 AM, noemi rc wrote: > > Hi ! > > thanks for your quick answer, I don't know what I have to do to set the > java.home property, the parent pom and my pom have no java.home property. > Can you help me ??? please, I'm running out of time > > > Thanks again !! > http://lmgtfy

Re: AW: AW: Maven Best Pratices: Where to place generate re(sources)?

2010-06-08 Thread Andreas Sewe
Hi Eric, Seriously, though, it looks like you're only repacking existing dependencies. So you might want to look into the Assembly plugin (after reading the chapters in the Sonatype book). I'll have a look at the m-assembly-p. That being said, here's what I try to do: - Grab a couple of d

Re: pom.xml ERROR

2010-06-08 Thread noemi rc
Hi ! thanks for your quick answer, I don't know what I have to do to set the java.home property, the parent pom and my pom have no java.home property. Can you help me ??? please, I'm running out of time Thanks again !! -- View this message in context: http://old.nabble.com/pom.xml-ERRO

placing third party installation under maven

2010-06-08 Thread John Harrison
In my project I use a third party library that I would like to put into a remote maven repository. The lib is distributed as a zip file. To use the lib outside of maven you unzip the archive to a directory, set your classpath to various locations in that directory, and set an environment variab

gpg:sign and repository:bundle-create produce bad signatures

2010-06-08 Thread Bruno Harbulot
Hello, I'm trying to follow the procedure for manual upload as described on this page: http://www.sonatype.com/people/2010/04/uploading-artifacts-to-the-central-maven-repository-diy/ I've set up my GPG key and it seems to work mostly well, except that the .asc file produced by this is incorr

Re: pom.xml ERROR

2010-06-08 Thread Justin Edelson
On 6/8/10 4:58 AM, noemi rc wrote: > > Hi, > > When I changed the parent artifactId > > org.gvsig > gvsig-base-pom > 2.0-SNAPSHOT > > to: > > org.gvsig > gvsig-base-extension-pom >

AW: AW: Maven Best Pratices: Where to place generate re(sources)?

2010-06-08 Thread Lewis, Eric
Hi Andreas I gave up my aesthetic view on POMs long ago ;-) Seriously, though, it looks like you're only repacking existing dependencies. So you might want to look into the Assembly plugin (after reading the chapters in the Sonatype book). Best regards, Eric -Ursprüngliche Nachricht

Re: create changes.txt while releasing

2010-06-08 Thread rgubler2
Hi, unfortunately no. This plugin needs the tags to be configured manually. The http://maven.apache.org/plugins/maven-changes-plugin/ can do the job from JIRA or trac but we want to use it with svn. Yours Rüdiger Marshall Schor wrote: > > Hi, > > See if the http://maven.apache.org/plugi

Re: create changes.txt while releasing

2010-06-08 Thread Marshall Schor
Hi, See if the http://maven.apache.org/plugins/maven-changelog-plugin/ does what you want. -Marshall Schor On 6/8/2010 5:34 AM, rgubler2 wrote: > Hello, > > can maven create a changes file from svn log messages between releases? > > > > Yours Rüdiger > ---

Strange behavior during the deployment / installation of an archetype on Mac OS X

2010-06-08 Thread Gildas Cuisinier
When I install (mvn install) or deploy (mvn deploy) an archetype under Mac Os x, it seems that Maven do not use .jar extention but an .maven-archetype extention. The next problem is that when trying to create a project from the archetype, maven seeks the archetype.jar. So the command fails. I've

Re: AW: Maven Best Pratices: Where to place generate re(sources)?

2010-06-08 Thread Andreas Sewe
Hi Eric, I don't know if my practice is "best", but I certainly advise you to unpack to the ${project.build.directory}, since a) it's deleted during clear b) you don't want to mess up your source directories, especially if you use SCM true. And yes, you then need the buildhelper. Yes, the

create changes.txt while releasing

2010-06-08 Thread rgubler2
Hello, can maven create a changes file from svn log messages between releases? Yours Rüdiger -- View this message in context: http://old.nabble.com/create-changes.txt-while-releasing-tp28815672p28815672.html Sent from the Maven - Users mailing list archive at Nabble.com. --

AW: Maven Best Pratices: Where to place generate re(sources)?

2010-06-08 Thread Lewis, Eric
Hi Andreas I don't know if my practice is "best", but I certainly advise you to unpack to the ${project.build.directory}, since a) it's deleted during clear b) you don't want to mess up your source directories, especially if you use SCM And yes, you then need the buildhelper. However, reading y

pom.xml ERROR

2010-06-08 Thread noemi rc
Hi, When I changed the parent artifactId org.gvsig gvsig-base-pom 2.0-SNAPSHOT to: org.gvsig gvsig-base-extension-pom 2.0-SNAPSHOT The pom.xml shows this error:

Maven Best Pratices: Where to place generate re(sources)?

2010-06-08 Thread Andreas Sewe
Hi all, I have a project which uses dependency:unpack to grab Java sources as well as some binary resources from a JAR. The Java sources thus "generated" have then to be compiled, the binary resources must simply wind up in the project's artifact. At the moment, I unpack the Java sources int