Re: [Vote] findbugs-maven-plugin v 2.0 release

2009-03-26 Thread Pablo Saavedra
+1

2009/3/26 Garvin LeClaire 

> The Maven Findbugs team would like to release 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 option to produce other XML outputs which are used by other plugins.
>
> Issues fixed in this release:
>
> http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=true&&fixfor=14335&pid=11701&status=6&sorter/field=issuekey&sorter/order=DESC&sorter/field=issuetype&sorter/order=DESC
>
>
> More information can be found at the plugin site:
> http://mojo.codehaus.org/findbugs-maven-plugin/
>
>
> Issues Can be registered in JIRA at:
> http://jira.codehaus.org/browse/MFINDBUGS
>
>
> More information on FindBugs
> http://findbugs.sourceforge.net/index.html
>
>
>
> You can test the Maven Findbugs Plugin in your own project by adding the
> following dependency:
>
> 
> org.codehaus.mojo
> findbugs-maven-plugin
> 2.0-SNAPSHOT
> 
>
>
>
> *NOTE*  Version 2.0 and greater of the Maven Findbugs plugin will require
> Maven to be run with a minimum of Java 5.  This is consistent with Findbugs
> requirement for their versions of 1.3.X and greater.
>
>
>
>
> Vote open for 72 hours.
>
> [ ] +1
> [ ] +0
> [ ] -1
>
> --
>
> Regards,
>
>
>
> Garvin LeClaire
> garvin.lecla...@gmail.com
>
>


Re: [ANNOUNCE] Sonar 1.6 released, enabling to manage thresholds on quality metrics

2009-02-19 Thread Pablo Saavedra
Thanks!

2009/2/18 Olivier Gaudin 

>
> It is included in Sonar 1.7 that is planned for mid-march. Development has
> started already [1].
> Full detail are available in the ticket SONAR-205 [2]
>
> Olivier
>
> [1] http://skitch.com/t/pc8
> [2] http://jira.codehaus.org/browse/SONAR-205
>
>
>
> PabloS wrote:
> >
> > Great, any idea on when you are going to be able to support excluding
> auto
> > generated classes from analysis?
> >
> > Keep up the good work!
> > Regards.
> >
> > 2009/2/16 Olivier Gaudin 
> >
> >>
> >> The Sonar team is pleased to announce the release of Sonar 1.6.
> >>
> >> Sonar is an open source platform that manages java source code quality.
> >>
> >> The new version focuses on the management of quality profiles. It is now
> >> possible in Sonar to define thresholds, for example if the code coverage
> >> is
> >> less than 35% or if complexity by class is greater than 40... and to get
> >> notified through RSS feed when a threshold is reached.
> >>
> >> Sonar integrates seamlessly the maven tools ecosystem.
> >>
> >> The latest release is now available here
> >> :http://sonar.codehaus.org/downloads/
> >> Take a tour of latest features by looking at :
> >> http://sonar.codehaus.org/sonar-16-in-screenshots/
> >> Check the Sonar web site : http://sonar.codehaus.org
> >> Sonar user mailing list: http://sonar.codehaus.org/support/
> >>
> >> Thanks,
> >> The Sonar team
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/-ANNOUNCE--Sonar-1.6-released%2C-enabling-to-manage-thresholds-on-quality-metrics-tp22034395p22034395.html
> >> Sent from the Maven - Users mailing list archive at Nabble.com.
> >>
> >>
> >> -
> >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> >> For additional commands, e-mail: users-h...@maven.apache.org
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/-ANNOUNCE--Sonar-1.6-released%2C-enabling-to-manage-thresholds-on-quality-metrics-tp22034395p22078364.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


Re: [ANNOUNCE] Sonar 1.6 released, enabling to manage thresholds on quality metrics

2009-02-17 Thread Pablo Saavedra
Great, any idea on when you are going to be able to support excluding auto
generated classes from analysis?

Keep up the good work!
Regards.

2009/2/16 Olivier Gaudin 

>
> The Sonar team is pleased to announce the release of Sonar 1.6.
>
> Sonar is an open source platform that manages java source code quality.
>
> The new version focuses on the management of quality profiles. It is now
> possible in Sonar to define thresholds, for example if the code coverage is
> less than 35% or if complexity by class is greater than 40... and to get
> notified through RSS feed when a threshold is reached.
>
> Sonar integrates seamlessly the maven tools ecosystem.
>
> The latest release is now available here
> :http://sonar.codehaus.org/downloads/
> Take a tour of latest features by looking at :
> http://sonar.codehaus.org/sonar-16-in-screenshots/
> Check the Sonar web site : http://sonar.codehaus.org
> Sonar user mailing list: http://sonar.codehaus.org/support/
>
> Thanks,
> The Sonar team
> --
> View this message in context:
> http://www.nabble.com/-ANNOUNCE--Sonar-1.6-released%2C-enabling-to-manage-thresholds-on-quality-metrics-tp22034395p22034395.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


Assembly plugin not filtering parent.parent-version

2008-11-19 Thread Pablo Saavedra
Hi,

I have a file in a project which contains the following:

projectname--${parent.parent.version}

The project structure is the following:

main (packaging:pom)
dev (packaging:pom)
   project-where-the-file-is-located (packaging:jar)
   other-project (packaging:jar)
   war-project (packaging:war)

When I run mvn clean install, the version string is replaced correctly,
however when I run assembly:assembly it doesn't worki,

Any ideas why this happens? I'm using the latest plugin version

Thanks in advance.
Regards.


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.codehaus.org/grails/trunk/grails-maven-plugin/
>
> You can also browse via:
>
>  http://svn.grails.codehaus.org/browse/grails/trunk/grails-maven-plugin/
>
> The Grails POMs are in the Grails source tree on the 1.1 branch:
>
>  http://svn.codehaus.org/grails/branches/GRAILS_1_1/maven/
>
> Note that I am making most of the Maven-related changes to Grails in a
> local
> Git branch, so the artifacts in the snapshot repository don't correspond to
> the source code in the subversion repository. This only applies to Grails
> though - the maven plugin is completely up-to-date.
>
> Cheers,
>
> Peter
> --
> View this message in context:
> http://www.nabble.com/Experimental-Grails-archetype-tp20395006p20444390.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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 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 issues:
>
>  http://www.grails.org/Maven+Integration
>
> I'm also looking at the run-app issue. It's probably a case of adding Jetty
> as a runtime dependency.
>
> Cheers,
>
> Peter
>
> --
> View this message in context:
> http://www.nabble.com/Experimental-Grails-archetype-tp20395006p20442827.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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
> -DarchetypeVersion=1.0-SNAPSHOT
> -DarchetypeRepository=http://snapshots.repository.codehaus.org
> -DgroupId=com.summitbid -DartifactId=TestGailsArchetype
>
> However, I'm suspecting that my shiny new archiva repos may not be
> configured correctly, because I don't see any SNAPSHOT type jars in
> there.
>
> I think SNAPSHOT jars go in the snapshot repos rather then the
> internal, and therefore may not be getting downloaded and installed
> correctly...
>
> When I say "shiny new" I really mean, I don't fully understand how
> it's supposed to work yet.
>
> I'll do some more work on this and let you know how it works out.
>
>
>
> On Tue, Nov 11, 2008 at 6:58 AM, Pablo Saavedra
> <[EMAIL PROTECTED]> wrote:
> > 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
> >> -DarchetypeArtifactId=grails-maven-archetype
> >> -DarchetypeVersion=1.0-SNAPSHOT
> >> -DarchetypeRepository=http://snapshots.repository.codehaus.org
> >> -DgroupId=com.summitbid -DartifactId=TestGailsArchetype
> >>  mvn archetype:generate -DarchetypeGroupId=org.grails
> >> -DarchetypeArtifactId=grails-maven-archetype
> >> -DarchetypeVersion=1.0-SNAPSHOT
> >> -DarchetypeRepository=http://snapshots.repository.codehaus.org
> >> -DgroupId=com.summitbid -DartifactId=TestGailsArchetype
> >> [INFO] Scanning for projects...
> >> [INFO] Searching repository for plugin with prefix: 'archetype'.
> >> [INFO]
> >> 
> >> [INFO] Building Maven Default Project
> >> [INFO]task-segment: [archetype:generate] (aggregator-style)
> >> [INFO]
> >> 
> >> [INFO] Preparing archetype:generate
> >> [INFO] No goals needed for project - skipping
> >> [INFO] Setting property: classpath.resource.loader.class =>
> >> 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
> >> [INFO] Setting property: velocimacro.messages.on => 'false'.
> >> [INFO] Setting property: resource.loader => 'classpath'.
> >> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> >> [INFO] [archetype:generate]
> >> [INFO] Generating project in Interactive mode
> >> [INFO] Archetype defined by properties
> >> [INFO] snapshot org.grails:grails-maven-archetype:1.0-SNAPSHOT:
> >> checking for updates from grails-maven-archetype-repo
> >> Downloading:
> >>
> http://192.168.2.2:8090/archiva/repository/internal/org/grails/grails-maven-archetype/1.0-SNAPSHOT/grails-maven-archetype-1.0-SNAPSHOT.jar
> >> Downloading:
> >>
> http://192.168.2.2:8090/archiva/repository/internal/org/grails/grails-maven-archetype/1.0-SNAPSHOT/grails-maven-archetype-1.0-SNAPSHOT.jar
> >> [INFO]
> >> 
> >> [ERROR] BUILD FAILURE
> >> [INFO]
> >> 
> >> [INFO] The desired archetype does not exist
> >> (org.grails:grails-maven-archetype:1.0-SNAPSHOT)
> >> [INFO]
> >> 
> >> [INFO] For more information, run Maven with the -e switch
> >> [INFO]
> >> 
> >> [INFO] Total time: 4 seconds
> >> [INFO] Finished at: Tue Nov 11 05:54:44 MST 2008
> >> [INFO] Final Memory: 8M/14M
> >> [INFO]
> >> 
> >>
> >>
> >>
> >>
> >> On Sat, Nov 8, 2008 at 4:06 AM, Peter Ledbrook <[EMAIL PROTECTED]>
> >> wrote:
> >> >
> >> > Hi,
> >> >
> >> > I have been working on the Maven integratio

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:
> >
> > 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 Maven plugin. It will automatically download Grails 1.1 and
> run the project using those JARs. In fact, things are more likely to run
> smoothly if GRAILS_HOME is not set.
>
> Also, can you check whether you have "com.octo.mtg" set up as a plugin
> group
> in your settings file? If so, that may be the reason for problems with
> "grails:generate-all". To test whether that's the likely problem, you could
> try:
>
>  org.grails:grails:generate-all
>
> or whatever the correct syntax is.
>
> Hope that helps,
>
> Peter
>
> --
> View this message in context:
> http://www.nabble.com/Experimental-Grails-archetype-tp20395006p20440168.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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.
>
> 2008/11/11 Pablo Saavedra <[EMAIL PROTECTED]>
>
> 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 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 Grails commands). Note that the group ID for the plugin is now
>>> "org.grails" rather than "com.octo.mtg".
>>>
>>> There seems to be a problem in that the tests aren't being picked up, but
>>> I'll look into that.
>>>
>>> Cheers,
>>>
>>> Peter
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Experimental-Grails-archetype-tp20395006p20435285.html
>>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>>
>>>
>>> -
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>
>


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
> -DarchetypeArtifactId=grails-maven-archetype
> -DarchetypeVersion=1.0-SNAPSHOT
> -DarchetypeRepository=http://snapshots.repository.codehaus.org
> -DgroupId=com.summitbid -DartifactId=TestGailsArchetype
>  mvn archetype:generate -DarchetypeGroupId=org.grails
> -DarchetypeArtifactId=grails-maven-archetype
> -DarchetypeVersion=1.0-SNAPSHOT
> -DarchetypeRepository=http://snapshots.repository.codehaus.org
> -DgroupId=com.summitbid -DartifactId=TestGailsArchetype
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'archetype'.
> [INFO]
> 
> [INFO] Building Maven Default Project
> [INFO]task-segment: [archetype:generate] (aggregator-style)
> [INFO]
> 
> [INFO] Preparing archetype:generate
> [INFO] No goals needed for project - skipping
> [INFO] Setting property: classpath.resource.loader.class =>
> 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
> [INFO] Setting property: velocimacro.messages.on => 'false'.
> [INFO] Setting property: resource.loader => 'classpath'.
> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> [INFO] [archetype:generate]
> [INFO] Generating project in Interactive mode
> [INFO] Archetype defined by properties
> [INFO] snapshot org.grails:grails-maven-archetype:1.0-SNAPSHOT:
> checking for updates from grails-maven-archetype-repo
> Downloading:
> http://192.168.2.2:8090/archiva/repository/internal/org/grails/grails-maven-archetype/1.0-SNAPSHOT/grails-maven-archetype-1.0-SNAPSHOT.jar
> Downloading:
> http://192.168.2.2:8090/archiva/repository/internal/org/grails/grails-maven-archetype/1.0-SNAPSHOT/grails-maven-archetype-1.0-SNAPSHOT.jar
> [INFO]
> 
> [ERROR] BUILD FAILURE
> [INFO]
> 
> [INFO] The desired archetype does not exist
> (org.grails:grails-maven-archetype:1.0-SNAPSHOT)
> [INFO]
> 
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> 
> [INFO] Total time: 4 seconds
> [INFO] Finished at: Tue Nov 11 05:54:44 MST 2008
> [INFO] Final Memory: 8M/14M
> [INFO]
> 
>
>
>
>
> On Sat, Nov 8, 2008 at 4:06 AM, Peter Ledbrook <[EMAIL PROTECTED]>
> wrote:
> >
> > Hi,
> >
> > I have been working on the Maven integration for Grails, basically
> > incorporating the Maven Grails Plugin and taking advantage of some
> changes
> > in Grails itself. There is now an archetype available that you can use to
> > create Grails projects without having to install Grails manually. The
> > command line is:
> >
> >  mvn archetype:generate -DarchetypeGroupId=org.grails \
> >-DarchetypeArtifactId=grails-maven-archetype \
> >-DarchetypeVersion=1.0-SNAPSHOT \
> >-DarchetypeRepository=http://snapshots.repository.codehaus.org \
> >-DgroupId=example -DartifactId=my-app \
> >
> > Once you have a project, you can execute the standard phases: "clean",
> > "compile", "test", and "package". It's a bit rough around the edges to
> say
> > the least, so there might be a few problems.
> >
> > I'm interested in what people think and whether it plays ok with other
> > plugins (I suspect mostly not). Issues should be raised as sub-tasks of:
> >
> >  http://jira.codehaus.org/browse/GRAILS-3547
> >
> > Regards,
> >
> > Peter
> >
> >
> > --
> > View this message in context:
> http://www.nabble.com/Experimental-Grails-archetype-tp20395006p20395006.html
> > Sent from the Maven - Users mailing list archive at Nabble.com.
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
>
> --
> Ed
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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'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 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 Grails commands). Note that the group ID for the plugin is now
>> "org.grails" rather than "com.octo.mtg".
>>
>> There seems to be a problem in that the tests aren't being picked up, but
>> I'll look into that.
>>
>> Cheers,
>>
>> Peter
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Experimental-Grails-archetype-tp20395006p20435285.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>


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 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 Grails commands). Note that the group ID for the plugin is now
> "org.grails" rather than "com.octo.mtg".
>
> There seems to be a problem in that the tests aren't being picked up, but
> I'll look into that.
>
> Cheers,
>
> Peter
>
> --
> View this message in context:
> http://www.nabble.com/Experimental-Grails-archetype-tp20395006p20435285.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: Experimental Grails archetype

2008-11-10 Thread Pablo Saavedra
Thanks. Where shall I subscribe to report bugs in the maven-grails-plugin? I
can't generate a domain class :)

Regards.

2008/11/10 Peter Ledbrook <[EMAIL PROTECTED]>

>
> Hi Pablo,
>
>
> PabloS wrote:
> >
> > I had a problem when I tried to package the application, it gave me this
> > error:
> >
> > Error assembling WAR: webxml attribute is required (or pre-existing
> > WEB-INF/web.xml if executing in update mode
> >
> > Seems to be caused because there's no webapp/WEB-INF/web.xml file.
> >
>
> My bad. I had made the requisite changes and tested them locally but failed
> to upload them to the repository. This has now been done. In the meantime,
> you can just manually create the file:
>
>  src/main/webapp/WEB-INF/web.xml
>
> It can be empty if you want, and in fact the archetype creates it as an
> empty file. That makes the WAR plugin happy and allows the Grails "war"
> command to execute.
>
>
> PabloS wrote:
> >
> > BTW, I haven't used grails in a while, mainly due to lack of maven
> > integration, and wasn't aware of all that's been going on in this regard
> > lately. If I can help you with anything to improve maven integration,
> I'll
> > gladly do so.
> >
>
> None of the core Grails developers use Maven, so any feedback on what we
> should do to improve the integration would be most welcome.
>
> Thanks,
>
> Peter
>
> --
> View this message in context:
> http://www.nabble.com/Experimental-Grails-archetype-tp20395006p20419660.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: Experimental Grails archetype

2008-11-10 Thread Pablo Saavedra
Hi Peter,

I had a problem when I tried to package the application, it gave me this
error:

Error assembling WAR: webxml attribute is required (or pre-existing
WEB-INF/web.xml if executing in update mode

Seems to be caused because there's no webapp/WEB-INF/web.xml file.

BTW, I haven't used grails in a while, mainly due to lack of maven
integration, and wasn't aware of all that's been going on in this regard
lately. If I can help you with anything to improve maven integration, I'll
gladly do so.

Regards.

2008/11/8 Peter Ledbrook <[EMAIL PROTECTED]>

>
> Hi,
>
> I have been working on the Maven integration for Grails, basically
> incorporating the Maven Grails Plugin and taking advantage of some changes
> in Grails itself. There is now an archetype available that you can use to
> create Grails projects without having to install Grails manually. The
> command line is:
>
>  mvn archetype:generate -DarchetypeGroupId=org.grails \
>-DarchetypeArtifactId=grails-maven-archetype \
>-DarchetypeVersion=1.0-SNAPSHOT \
>-DarchetypeRepository=http://snapshots.repository.codehaus.org \
>-DgroupId=example -DartifactId=my-app \
>
> Once you have a project, you can execute the standard phases: "clean",
> "compile", "test", and "package". It's a bit rough around the edges to say
> the least, so there might be a few problems.
>
> I'm interested in what people think and whether it plays ok with other
> plugins (I suspect mostly not). Issues should be raised as sub-tasks of:
>
>  http://jira.codehaus.org/browse/GRAILS-3547
>
> Regards,
>
> Peter
>
>
> --
> View this message in context:
> http://www.nabble.com/Experimental-Grails-archetype-tp20395006p20395006.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: Maven Archetype Plugin 2.0-alpha-2

2008-02-25 Thread Pablo Saavedra
That's great, but the links in the documentation section of the site give me
404 errors...

Thanks

On 22/02/2008, Brian Fox <[EMAIL PROTECTED]> wrote:
>
> The Maven team would like to announce the release of Maven Archetype
> 2.0-alpha-2. This release corrected backwards compatibility with the
> 1.0 version and a few windows issues. The site has also been updated
> and deployed: http://maven.apache.org/plugins/maven-archetype-plugin
>
> Release Notes - Maven Archetype - Version 2.0-alpha-2
>
> ** Bug
>
> * [ARCHETYPE-128] - Unable to create a Cocoon app with Maven
> archetype: [WARNING] No archetype repository found.
>
> * [ARCHETYPE-133] - POMs generated as part of create-from-project
> are not correct and prevent using this feature completely
>
>
>
> ** Improvement
>
> * [ARCHETYPE-116] - -DarchetypeArtifactId parameter is no longer
> respected
>
> * [ARCHETYPE-117] - return previous defaults
>
> Use the -U flag to get the updated plugin.
>
> Enjoy.
>
> -- The Maven Team.
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: Archetype plugin - variable output folders for modules

2008-02-22 Thread Pablo Saavedra
Thanks EJ,

but I think we are talking about different things... I want to define a
module in the archetype-metadata.xml, like this:



so the archetype plugin copy all the resources from the template-main module
into a myproject-main module in the resulting project

Thanks!

On 22/02/2008, EJ Ciramella <[EMAIL PROTECTED]> wrote:
>
> Sure, use assembly directory:
>
> 
> maven-assembly-plugin
> 2.2-beta-1
> ue>
> C:/some/dir/out/of/source
> false
> SOMEFINALNAME
> 
> 
> path/to/assembly/descriptor/dep.xml
> 
> 
>     
> 
>
>
> -Original Message-
> From: Pablo Saavedra [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 22, 2008 10:32 AM
> To: users@maven.apache.org
> Subject: Archetype plugin - variable output folders for modules
>
> Hi All,
>
> is there any way to specify an output directory for a module that is
> different from the source directory? For instance, I'd like a module
> contained in folder template-ui to be created as ${rootArtifactId}-ui.
>
> For what I could see, the dir property is used for both input and output
> directories, so it I use the ${rootArtifactId} property it will tell me
> that
> it can't find the input folder.
>
> Thanks in advance.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Archetype plugin - variable output folders for modules

2008-02-22 Thread Pablo Saavedra
Hi All,

is there any way to specify an output directory for a module that is
different from the source directory? For instance, I'd like a module
contained in folder template-ui to be created as ${rootArtifactId}-ui.

For what I could see, the dir property is used for both input and output
directories, so it I use the ${rootArtifactId} property it will tell me that
it can't find the input folder.

Thanks in advance.


Re: Problem with archetype properties

2008-02-22 Thread Pablo Saavedra
My bad, it was an error in the archetype-metadata.xml...

Thanks anyway.
Regards.

On 22/02/2008, Pablo Saavedra <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> I'm using the archetype 2.0-alpha-1 plugin to create an archetype.
> Following the guide, I added some requiered properties to the
> archetype-metadata.xml:
>
> 
>
> 
>
> But when I use the archetype, I'm not being prompted for the values, hence
> they are not being replaced. Am I doing anything wrong?
>
> Thanks in advance.
> Pablo.
>


Problem with archetype properties

2008-02-22 Thread Pablo Saavedra
Hi All,

I'm using the archetype 2.0-alpha-1 plugin to create an archetype. Following
the guide, I added some requiered properties to the archetype-metadata.xml:


   


But when I use the archetype, I'm not being prompted for the values, hence
they are not being replaced. Am I doing anything wrong?

Thanks in advance.
Pablo.