Re: "Re: problem installing the oracle library ojdbc14.jar"

2008-11-11 Thread M Gomez
Hi ! I`m using the guide of DSpace 1.5.1, in the http://www.dspace.org/1_5_1Documentation/ . In the section 3.2.3. Installation, I did the step 3, a) to install the ojdbc14.jar (with "mvn install:install-file -Dfile=ojdbc14.jar ... "), and I'm now in step 6 with Oracle, to generate the dspace pa

Re: "Re: problem installing the oracle library ojdbc14.jar"

2008-11-11 Thread Martin Höller
On Tuesday 11 November 2008 M Gomez wrote: > Hi ! > > I`m using the guide of DSpace 1.5.1, in the > http://www.dspace.org/1_5_1Documentation/ . In the section 3.2.3. > Installation, I did the step 3, a) to install the ojdbc14.jar (with "mvn > install:install-file -Dfile=ojdbc14.jar ... "), Accordi

Re: Experimental Grails archetype

2008-11-11 Thread Peter Ledbrook
PabloS wrote: > > Thanks. Where shall I subscribe to report bugs in the maven-grails-plugin? > I > can't generate a domain class :) > See the end of my first e-mail - there's a link to a JIRA issue :) Anyway, I have fixed the problem with creating a domain class (as well as all the other Grail

guide-ant-plugin-development.html requires maven-plugin-plugin 2.3 but it is not newest

2008-11-11 Thread Anders Kristian Andersen
Hi Friends I have seen the guide http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html and it requires plugins to use the maven-plugin-plugin version 2.3 In the list of plugins http://maven.apache.org/plugins/index.html maven-plugin-plugin is version 2.4.3 When I run mvn

Re: "Re: problem installing the oracle library ojdbc14.jar"

2008-11-11 Thread M Gomez
At first, when I tryed to install the ojdbc14.jar it failed due to the proxy (I`d not configure it ). Later it went right, and the file is in my local repository .../.m2/repository/com/oracle/ojdbc14/ ... I`m now asking the DSpace-tech list too, thanks. María matinh wrote: > > On Tuesday 1

Re: Activate a profile when project.version is not SNAPSHOT

2008-11-11 Thread Mark Hobson
2008/11/10 Mark Hobson <[EMAIL PROTECTED]>: > Actually, could we extend the requirements for this so that the > profile activator took a regex expression that is matched against the > project's version? This would allow profiles to be activated for > different stages of a project's iteration, e.g.

release plugin

2008-11-11 Thread Matthias Wessendorf
hi, I am using the release plugin to release something that is called "1.2.10-SNAPSHOT". It asks me if the *final* version should be named "1.2.10" and the next "1.2.11-SNAPSHOT" etc. Fine! As expected. However, for some reason the plugin isn't able to build all the required things... (not expec

Re: release plugin

2008-11-11 Thread Martin Höller
On Tuesday 11 November 2008 Matthias Wessendorf wrote: > However, for some reason the plugin isn't able to build all the > required things... (not expected ;-) ) > > Missing: > -- > 1) org.apache.myfaces.trinidad:trinidad-api:test-jar:tests:1.2.10 > > Try downloadi

Re: Experimental Grails archetype

2008-11-11 Thread Ed
Same result with: mvn -U archetype:generate -DarchetypeGroupId=org.grails -DarchetypeArtifactId=grails-maven-archetype -DarchetypeVersion=1.0-SNAPSHOT -DarchetypeRepository=http://snapshots.repository.codehaus.org -DgroupId=com.summitbid -DartifactId=TestGailsArchetype However, I'm suspecting tha

Re: Experimental Grails archetype

2008-11-11 Thread Pablo Saavedra
IIRC, you can add proxied repositories, and you have to make sure spnapshots are enabled in them. Good luck with it. 2008/11/11 Ed <[EMAIL PROTECTED]> > Same result with: > mvn -U archetype:generate -DarchetypeGroupId=org.grails > -DarchetypeArtifactId=grails-maven-archetype > -DarchetypeVersio

RE: antrun plugin: is it possible to inherit external build.xml together with parent pom?

2008-11-11 Thread Edelson, Justin
AFAIK, you can use ant-contrib with the antrun plugin. You just need to add it as a plugin dependency. Justin -Original Message- From: Silvio Arcangeli [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2008 8:03 AM To: users@maven.apache.org Subject: antrun plugin: is it possible to

Problem with deploying release

2008-11-11 Thread Kruno
Hello, I have problem with deploying my projects on my remote repository using maven-release-plugin(2.0-beta-7) and deploying with wagon-ssh-external(version 1.0-alpha-3). I tryed with maven version 2.0.7, 2.0.8, 2.0.9 and even 2.1.0-M1 and sometimes deploy is successful and sometimes mavens stops

Re: Experimental Grails archetype

2008-11-11 Thread Peter Ledbrook
PabloS wrote: > > That was the problem indeed. I was able to generate a domain class and > controller, but couldn't run the application, I get a NoClassDefFound for > org.mortbay.jetty.Server > I have created a Wiki page for the maven integration to help people get over any configuration issue

Re: Experimental Grails archetype

2008-11-11 Thread Pablo Saavedra
That's probably the cause. Where can I get the source code for the plugin? I'd like to help debugging this issues. Cheers 2008/11/11 Peter Ledbrook <[EMAIL PROTECTED]> > > > PabloS wrote: > > > > That was the problem indeed. I was able to generate a domain class and > > controller, but couldn't

Using an internal central repository without changing settings.xml

2008-11-11 Thread Todd Thiessen
I have been looking into this for a couple of days and can't find the answer. I suspect it isn't possible but I think it will be best to ask those who can tell me definitively. I want to be able to define a project which only has access to an internally defined repository. Note I said project not

Re: Experimental Grails archetype

2008-11-11 Thread Peter Ledbrook
Peter Ledbrook wrote: > > I'm also looking at the run-app issue. It's probably a case of adding > Jetty as a runtime dependency. > It was indeed just a case of adding Jetty to the dependencies of one of the Grails artifacts. I have uploaded a new versions that should fix the problem. Cheers,

Re: Experimental Grails archetype

2008-11-11 Thread Pablo Saavedra
Ok, I'll take that into account. Thanks 2008/11/11 Peter Ledbrook <[EMAIL PROTECTED]> > > > PabloS wrote: > > > > That's probably the cause. Where can I get the source code for the > plugin? > > I'd like to help debugging this issues. > > > > Great, thanks! SVN repository: > > http://svn.codehau

Profile inheritence

2008-11-11 Thread Ryan Breidenbach
I know this question has been posed many times, but I have yet to find an adequate answer. I typically find things like this (from the Maven wiki at http://docs.codehaus.org/display/MAVEN/Build+Profiles): "Note that the profiles are inherited, but only in such a way as they are applied to a

RE: Using an internal central repository without changing settings.xml

2008-11-11 Thread Todd Thiessen
This looks like a problem with the m2eclipse plugin I am using. Doing the build from the command line downloads only from my central repo. --- Todd Thiessen > _ > From: Thiessen, Todd (BVW:9T16) > Sent: Tuesday, November 11, 2008 12:27 PM >

RE: Use eclipse to compile

2008-11-11 Thread Hoover, William
Have you tried using it as the example shown? ${env.M2_REPO}/org/eclipse/jdt/${org.eclipse.jdt.core.version}/core-${or g.eclipse.jdt.core.version}.jar org.eclipse.jdt.internal.compiler.batch.Main -classpath rt.jar -sourcepath "src/main" Make sure that M2_REPO has been added to your environmenta

Re: RepositoryRuntime path

2008-11-11 Thread hockey_dave
Never mind. I forgot to re-add this back into my pom.xml. Once I did that it works. com.microsoft.jdbcdriver sqljdbc 1.2 -- View this message in context: http://n2.nabble.com/RepositoryRuntime-path-tp148

Re: Using an internal central repository without changing settings.xml

2008-11-11 Thread Rafael Trestini
Todd, Before I'm try to reproduce your scenerio, let me know: how do you populate your central repository? Are you using repository managers like nexus or archiva? Rafael On Tue, Nov 11, 2008 at 3:52 PM, Todd Thiessen <[EMAIL PROTECTED]> wrote: > This looks like a problem with the m2eclipse plug

RE: Using an internal central repository without changing settings.xml

2008-11-11 Thread Todd Thiessen
I am using nexus. If you have not already received it, I did send a mail out saying that this seems to be a problem with the m2eclipse plugin. If I run the build from the command line all artifacts are downloaded from my internal repo. So when you say "reproduce" I can only do so using the m2eclip

RE: antrun plugin: is it possible to inherit external build.xml together with parent pom?

2008-11-11 Thread Silvio Arcangeli
Thanks Justin, I'll try that, so that I can avoid the external build.xml! Ciao, Silvio -Original Message- From: Edelson, Justin [mailto:[EMAIL PROTECTED] Sent: martedì 11 novembre 2008 16.52 To: Maven Users List Subject: RE: antrun plugin: is it possible to inherit external build.xml to

RE: maven unit tests run twice

2008-11-11 Thread Orford, Ian
If your report settings include the surefire plugin and a coverage tool (Cobertura for example), they will both run the tests. That's why they get run twice for me. Ian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Baptiste MATHUS Sent: 08 November 200

RE: maven unit tests run twice

2008-11-11 Thread EJ Ciramella
This is really bad - right now it's only tacking on 4 - 7 minutes of build time, what if the tests ran for 30 min? I see that clover is having a similar problem - is anyone else running into this and if so, how are they working around it? -Original Message- From: Karsten Ohme [mailto:[E

Re: Profile inheritence

2008-11-11 Thread Wayne Fay
> ... the setup goal is not executed. Therefore, it appears to me that this > profile is *not* inherited. So, my question is this - is it possible to > inherit profile behavior. All documentation and comments on this issue that > I have found so far have been quite vague and unclear to me. "mvn he

RE: Profile inheritence

2008-11-11 Thread Bracewell, Robert
I have a super pom which several of my product lines use as a parent. So for functionality I want across several product lines I add such to the super pom. If a product needs to diverge then I override at the product level pom. Basically all my components that make up a build specify their paren

Re: release plugin

2008-11-11 Thread Olivier Lamy
Hi, It looks related to "issue" MRELEASE-3 [1]. Have a look at the workaround HTH, -- Olivier [1] http://jira.codehaus.org/browse/MRELEASE-3 2008/11/11 Matthias Wessendorf <[EMAIL PROTECTED]>: > hi, > > I am using the release plugin to release something that is called > "1.2.10-SNAPSHOT". > > It

Re: Release Management Questions

2008-11-11 Thread Rusty Wright
(Not sure if it's clear from how I said it when I said "In theory it sounds like a good idea, and that's what I did before I started using maven ..." but what I meant was "In theory it sounds like a good idea having the environment specific configuration stuff outside the war file ...") I thin

Re: Experimental Grails archetype

2008-11-11 Thread Pablo Saavedra
The new issue is http://jira.codehaus.org/browse/GRAILS-3560 2008/11/11 Pablo Saavedra <[EMAIL PROTECTED]> > Peter, which version of grails should I have installed? I'm still getting > the same problem with the create-domain-class goal. I'll raise a JIRA issue > with the details. > > Regards. > >

Re: Profile inheritence

2008-11-11 Thread Rusty Wright
Not sure if this is your situation but I seem to remember that if you have profiles in a separate profiles.xml file that they don't propagate (as I had expected they would). Ryan Breidenbach wrote: I know this question has been posed many times, but I have yet to find an adequate answer. I ty

Re: Experimental Grails archetype

2008-11-11 Thread Nikolas Everett
I just wanted to express my support for getting grails working with maven. I know this will be useful int he future. I wish I had time to help. Thank you, --Nik Everett On Tue, Nov 11, 2008 at 8:58 AM, Pablo Saavedra <[EMAIL PROTECTED]>wrote: > Have you tried using the -U flag? > > 2008/11/11

antrun plugin: is it possible to inherit external build.xml together with parent pom?

2008-11-11 Thread Silvio Arcangeli
Hi all, I'm trying to solve a puzzle which starts to look harder than I thought. In my build platform I have project type that normally produces a jar file, and in certain corner cases (for solving class loading issues) it may have to produce also a second jar file if any class file is present

Re: Profile inheritence

2008-11-11 Thread Ryan Breidenbach
Indeed, but effective-pom indicates that the goal configured in the parent POM is not active in the child modules execution when this profile is enabled. On Nov 11, 2008, at 12:49 PM, Wayne Fay wrote: ... the setup goal is not executed. Therefore, it appears to me that this profile is *not

Re: Experimental Grails archetype

2008-11-11 Thread Ed
I tried the archetype, and had no luck. I already have grails installed (of course) but wanted to give it a try to take it for a spin: D:\src\workspace-Grails> mvn archetype:generate -DarchetypeGroupId=org.grails -DarchetypeArtifactId=grails-maven-archetype -DarchetypeVersion=1.0-SNAPSHOT -Darchet

svn replication infrastructure question.

2008-11-11 Thread david
Hi! I've noticed that ASF provides both an .eu and a .us svn repo which are always in sync. I'd like to do the same for my organization - could anybody point me in the right direction for the same scheme? TIA, David -- David J. M. Karlsen - +47 90 68 22 43 http://www.davidkarlsen.com http://

Re: Experimental Grails archetype

2008-11-11 Thread Peter Ledbrook
PabloS wrote: > > That's probably the cause. Where can I get the source code for the plugin? > I'd like to help debugging this issues. > Great, thanks! SVN repository: http://svn.codehaus.org/grails/trunk/grails-maven-plugin/ You can also browse via: http://svn.grails.codehaus.org/brows

Re: Experimental Grails archetype

2008-11-11 Thread Pablo Saavedra
Peter, which version of grails should I have installed? I'm still getting the same problem with the create-domain-class goal. I'll raise a JIRA issue with the details. Regards. 2008/11/11 Pablo Saavedra <[EMAIL PROTECTED]> > Thanks Peter, you are solving issues faster than I can rise them :). I'

Re: release plugin

2008-11-11 Thread Jörg Schaible
Hi Matthias, Matthias Wessendorf wrote: > hi, > > I am using the release plugin to release something that is called > "1.2.10-SNAPSHOT". > > It asks me if the *final* version should be named "1.2.10" and the > next "1.2.11-SNAPSHOT" etc. Fine! As expected. > > However, for some reason the plug

Re: Experimental Grails archetype

2008-11-11 Thread Peter Ledbrook
Hi Pablo PabloS wrote: > > Peter, which version of grails should I have installed? I'm still getting > the same problem with the create-domain-class goal. I'll raise a JIRA > issue > with the details. > You don't need to have Grails installed. That's one of the big changes with Grails and the

Re: Experimental Grails archetype

2008-11-11 Thread Peter Ledbrook
Edderd wrote: > > I tried the archetype, and had no luck. I already have grails > installed (of course) but wanted to give it a try to take it for a > spin: > > [INFO] Archetype defined by properties > [INFO] snapshot org.grails:grails-maven-archetype:1.0-SNAPSHOT: > checking for updates from

Re: Default plugin execution id

2008-11-11 Thread Nick Stolwijk
Hi Rahul, First of all, welcome to Maven! The error you encountered is mostly because of a proxy between you and the central maven repository. To fix this you can enter your proxy information in your settings.xml [1], which can be found under $HOME/.m2/settings.xml or $M2_HOME/conf/settings.xml.

Re: Experimental Grails archetype

2008-11-11 Thread Pablo Saavedra
Have you tried using the -U flag? 2008/11/11 Ed <[EMAIL PROTECTED]> > I tried the archetype, and had no luck. I already have grails > installed (of course) but wanted to give it a try to take it for a > spin: > > D:\src\workspace-Grails> mvn archetype:generate > -DarchetypeGroupId=org.grails > -D

How does classifier work in dependant modules?

2008-11-11 Thread Marco Huber
Hi all, We have two projects with dependencies from project A to project B. Project A is multi module project with the structure: master --> core --> client --> server We have also defined 3 profiles for development, integration and production with different configuration values. The d

Re: Experimental Grails archetype

2008-11-11 Thread Arnaud HERITIER
Hi Ed, As soon as Peter and the grails team will release the new version of the plugin, I'll update our pages @ OCTO to note that we deprecate this plugin and encourage to use the new one. Arnaud On Tue, Nov 11, 2008 at 2:09 PM, Ed <[EMAIL PROTECTED]> wrote: > I'm confused. Is the groupId for

Re: Experimental Grails archetype

2008-11-11 Thread Ed
I'm confused. Is the groupId for the grails-maven-plugin changing from com.octo.mtg to org.grails? If so is this web page out of date? http://forge.octo.com/maven/sites/mtg/grails-maven-plugin/usage.html I'm using the grails plugin in a bamboo build plan currently. Will I need to updated the plug

Re: Experimental Grails archetype

2008-11-11 Thread Pablo Saavedra
That was the problem indeed. I was able to generate a domain class and controller, but couldn't run the application, I get a NoClassDefFound for org.mortbay.jetty.Server I'll add a note to the jira issue. Regards. 2008/11/11 Peter Ledbrook <[EMAIL PROTECTED]> > > Hi Pablo > > > PabloS wrote: > >

Unable to process class

2008-11-11 Thread EJ Ciramella
Has anyone figured out a reasonable workaround for this particular bug? http://jira.codehaus.org/browse/MPIR-142 We're running into this during site generation as well...

Re: Experimental Grails archetype

2008-11-11 Thread Peter Ledbrook
Edderd wrote: > > I'm confused. Is the groupId for the grails-maven-plugin changing from > com.octo.mtg to org.grails? > > If so is this web page out of date? > http://forge.octo.com/maven/sites/mtg/grails-maven-plugin/usage.html > The main reasons for using "org.grails" as the group ID for

Re: maven-surefire-plugin not excluding tests for test goal

2008-11-11 Thread Farrukh Najmi
It turns out this was my bug. In my parent (root) pom.xml I have the following to exclude System tests based on a naming convention: org.apache.maven.plugins maven-surefire-plugin 2.3 **/*SystemTest.java

Re: Experimental Grails archetype

2008-11-11 Thread Pablo Saavedra
Thanks Peter, you are solving issues faster than I can rise them :). I'll let you know how it goes. Regards. 2008/11/11 Peter Ledbrook <[EMAIL PROTECTED]> > > > PabloS wrote: > > > > Thanks. Where shall I subscribe to report bugs in the > maven-grails-plugin? > > I > > can't generate a domain

Can Maven package the project to a tar.gz package?

2008-11-11 Thread 苏林冲
Hi,everyone I have just got this idea,but i don't ensure it.Is there anybody know it? -- 漠洋(苏琳冲) SuLinchong Phone 13656669328 Qq387973308 Msn [EMAIL PROTECTED]

Re: Can Maven package the project to a tar.gz package?

2008-11-11 Thread David C. Hicks
Yes. Look at the maven-assembly-plugin. ??? wrote: Hi,everyone I have just got this idea,but i don't ensure it.Is there anybody know it? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

Re: Can Maven package the project to a tar.gz package?

2008-11-11 Thread Karsten Ohme
苏林冲 schrieb: > Hi,everyone > I have just got this idea,but i don't ensure it.Is there anybody know it? > Yes. Use the Maven assembly plugin. There is a descriptor called project. Regards, Karsten - To unsubscribe, e-mail: [EMA

Re: Parents version isn't check for new updates on the remote repository

2008-11-11 Thread nodje
Sorry for not being clear. What I mean is that the regular way Maven checks for updates on SNAPSHOT dependencies doesn't apply to parent-pom SNAPSHOT. If you have a project with a parent-pom 1-SNAPSHOT and a set of SNAPSHOT dependencies, the first time of the day, all dependencies will be checke

Re: Can Maven package the project to a tar.gz package?

2008-11-11 Thread 苏林冲
Thanks, i will try it! Cheers, SuLinchong 2008/11/12 David C. Hicks <[EMAIL PROTECTED]> > Yes. Look at the maven-assembly-plugin. > > ??? wrote: > >> Hi,everyone >> I have just got this idea,but i don't ensure it.Is there anybody know it? >> >> >> > >

Re: Two jars and also cannot read the resource file

2008-11-11 Thread kunduruswaroop
Wendy, O.K Let us talk about one problem here. I used a create command and got the structure just as shown in maven2 introduction. I just added logging to the App.java file and used a jar utility with dependency to assemble the application. When I package the application I am getting 2 jar fil

Dependency report fails

2008-11-11 Thread EJ Ciramella
http://jira.codehaus.org/browse/MPIR-142 Any movement on this particular bug at all (or suggested workaround)?