Brian Topping | 1 Dec 2006 05:59
Gravatar

Mixing Wagon and Assembly plugins with Debian plugin

Hi all,

We've been using the Debian plugin on an hourly basis lately, and I'd  
like to solve the issue with autoincrementing maintainer revisions.   
In a debian repository, the way the indexer knows that there is a new  
version is by this revision number, not by the date of the file.

Every time we build a debian, we want to deploy it somewhere, so we  
have to increment this revision number.  To do so, we have to open  
the repository and find the oldest revision.  That's a pain.

Since I am using the Wagon plugin every time I am using the Debian  
plugin, it makes sense to combine them.  In this manner, the  
configuration for Wagon plugin would be merged into Debian plugin,  
and the latter would sublaunch Wagon to do it's business.  Doing so  
would also save a ton of configuration in every POM.

There's a tag to ensure that other plugins run before a given plugin,  
but they don't allow the depending plugin to get any information from  
the plugin that it depends on after it runs.  In the case of Debian,  
we want Wagon to provide what the latest maintainer revision is in  
the debian repository that we are about to copy to.

Any ideas?

Once this is working, I'll provide the option for Assembly plugin to  
be depended on the same way, since they seem to go together well.

Brian

(Continue reading)

Rémy Sanlaville (JIRA | 1 Dec 2006 09:11

[jira] Commented: (MOJO-563) xml report is not well-formed

    [ http://jira.codehaus.org/browse/MOJO-563?page=comments#action_81572 ] 

Rémy Sanlaville commented on MOJO-563:
--------------------------------------

Garvin,

Thanks for your time and to look at my problem.

>I have looked at Findbugs and this is a problem in all the language xml files. 
Yes it's true, It would be better that I indicate it.

>I am suprised no one had run into this with the Maven 1 plugin.
I am surprised too because this problem must arise in the most cases. 

> I would suggest that we use the same file format as the GUI tool for Findbugs uses. There is a schema called
bugcollection.xsd at http://findbugs.googlecode.com/svn/trunk/findbugs/etc/bugcollection.xsd
> Now is the time to change before we go to version 1.0.0
> Do you have any concerns?

For me it's fine. And even I think it's the best solution.
But (for my problem) It could be nice to also have the QALab team advice.
I will ask them to have look to your comment.

Rémy

> xml report is not well-formed
> -----------------------------
>
>                 Key: MOJO-563
(Continue reading)

Dennis Kieselhorst (JIRA | 1 Dec 2006 10:25

[jira] Closed: (MOJO-468) weblogic-maven-plugin: goal not found

     [ http://jira.codehaus.org/browse/MOJO-468?page=all ]

Dennis Kieselhorst closed MOJO-468.
-----------------------------------

    Resolution: Won't Fix

> weblogic-maven-plugin: goal not found
> -------------------------------------
>
>                 Key: MOJO-468
>                 URL: http://jira.codehaus.org/browse/MOJO-468
>             Project: Mojo
>          Issue Type: Bug
>          Components: weblogic
>         Environment: Windows XP, Weblogic 9.2
> org/codehaus/mojo/weblogic-maven-plugin/2.9.0-alpha-SNAPSHOT/weblogic-maven-plugin-2.9.0-alpha-20060227.005607-1.jar
>            Reporter: Dennis Kieselhorst
>
> I used the local configuration from http://mojo.codehaus.org/weblogic-maven-plugin/usage.html
and tried mvn weblogic:listapps.
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Required goal not found: weblogic:listapps
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException: Required goal not found: weblogic:listapps
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1533)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:38
(Continue reading)

Valerio Schiavoni (JIRA | 1 Dec 2006 13:56

[jira] Commented: (MOJO-384) New goal 'run', which starts an embedded tomcat

    [ http://jira.codehaus.org/browse/MOJO-384?page=comments#action_81585 ] 

Valerio Schiavoni commented on MOJO-384:
----------------------------------------

thanks mark, it works as expected now.

> New goal 'run', which starts an embedded tomcat
> -----------------------------------------------
>
>                 Key: MOJO-384
>                 URL: http://jira.codehaus.org/browse/MOJO-384
>             Project: Mojo
>          Issue Type: New Feature
>          Components: tomcat
>            Reporter: Jurgen Lust
>         Assigned To: Mark Hobson
>         Attachments: tomcat-embedded.patch
>
>
> This patch adds a 'run' goal, which starts an embedded tomcat, using the project's classpath, and the
src/main/webapp directory as context root. The advantage of this goal is that you don't need an
installation of Tomcat, the mojo handles everything for you

--

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
(Continue reading)

Matt Raible | 2 Dec 2006 08:09
Picon

Re: [hibernate3-maven-plugin] Testers needed

The code in SVN seems to be broken.

[INFO] [compiler:compile]
Compiling 8 source files to
/Users/mraible/Work/hibernate3-maven-plugin/target/classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

/Users/mraible/Work/hibernate3-maven-plugin/src/main/java/org/codehaus/mojo/hibernate3/HibernateExporterMojo.java:[23,50]
cannot find symbol
symbol  : class ConfigurationTask
location: package org.codehaus.mojo.hibernate3.configuration

/Users/mraible/Work/hibernate3-maven-plugin/src/main/java/org/codehaus/mojo/hibernate3/HibernateExporterMojo.java:[150,14]
cannot find symbol
symbol  : class ConfigurationTask
location: class org.codehaus.mojo.hibernate3.HibernateExporterMojo

/Users/mraible/Work/hibernate3-maven-plugin/src/main/java/org/codehaus/mojo/hibernate3/HibernateExporterMojo.java:[210,19]
getGoal() in org.codehaus.mojo.hibernate3.HibernateExporterMojo cannot
implement getGoal() in org.codehaus.mojo.hibernate3.ExporterMojo;
attempting to assign weaker access privileges; was public

/Users/mraible/Work/hibernate3-maven-plugin/src/main/java/org/codehaus/mojo/hibernate3/HibernateExporterMojo.java:[133,22]
cannot find symbol
symbol  : method getName()
location: class org.codehaus.mojo.hibernate3.HibernateExporterMojo

(Continue reading)

Johann Reyes | 2 Dec 2006 14:20

RE: [hibernate3-maven-plugin] Testers needed

Hello Matt

Hmm, I tried installing again the plugin from SVN,but I don't get an error.
Can you please try the following command:

mvn clean install

Regards

Johann Reyes

-----Original Message-----
From: Matt Raible [mailto:mraible <at> gmail.com] 
Sent: Saturday, December 02, 2006 2:10 AM
To: dev <at> mojo.codehaus.org
Subject: Re: [mojo-dev] [hibernate3-maven-plugin] Testers needed

The code in SVN seems to be broken.

[INFO] [compiler:compile]
Compiling 8 source files to
/Users/mraible/Work/hibernate3-maven-plugin/target/classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure

/Users/mraible/Work/hibernate3-maven-plugin/src/main/java/org/codehaus/mojo/
(Continue reading)

Matt Raible | 2 Dec 2006 16:57
Picon

Re: [hibernate3-maven-plugin] Testers needed

I'm on OS X and I tried JDK 5 as well as JDK 1.4.  Still no dice.

mraible$ svn up
At revision 2710.

It's weird that it works on your machine and not mine. Can anyone else
build this?

I tried it on Linux (Suse 10) and get the same error.

Matt

On 12/2/06, Johann Reyes <jreyes <at> hiberforum.org> wrote:
> Hello Matt
>
> Hmm, I tried installing again the plugin from SVN,but I don't get an error.
> Can you please try the following command:
>
> mvn clean install
>
> Regards
>
> Johann Reyes
>
> -----Original Message-----
> From: Matt Raible [mailto:mraible <at> gmail.com]
> Sent: Saturday, December 02, 2006 2:10 AM
> To: dev <at> mojo.codehaus.org
> Subject: Re: [mojo-dev] [hibernate3-maven-plugin] Testers needed
>
(Continue reading)

Trygve Laugstol (JIRA | 3 Dec 2006 11:50

[jira] Created: (MOJO-571) [appassembler] Automatically discover runnable classes

[appassembler] Automatically discover runnable classes
------------------------------------------------------

                 Key: MOJO-571
                 URL: http://jira.codehaus.org/browse/MOJO-571
             Project: Mojo
          Issue Type: New Feature
            Reporter: Trygve Laugstol

Implement a Mojo that loads all the classes under target/classes and finds potential classes with main()
methods. Write those to a file under target/ as a cache.

--

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Johann Reyes | 3 Dec 2006 15:25

RE: [hibernate3-maven-plugin] Testers needed

Hello Matt

One question, did you check out
https://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/maven-hibernate3/hiber
nate3-maven-plugin ???

Because the correct folder to check out would be
https://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/maven-hibernate3

That's because you also need to build the plugin components, and that would
explain why you are getting those compilation errors.

Regards

Johann Reyes

-----Original Message-----
From: Matt Raible [mailto:mraible <at> gmail.com] 
Sent: Saturday, December 02, 2006 10:58 AM
To: dev <at> mojo.codehaus.org
Subject: Re: [mojo-dev] [hibernate3-maven-plugin] Testers needed

I'm on OS X and I tried JDK 5 as well as JDK 1.4.  Still no dice.

mraible$ svn up
At revision 2710.

It's weird that it works on your machine and not mine. Can anyone else
build this?

(Continue reading)

Johann Reyes | 3 Dec 2006 16:14

RE: [hibernate3-maven-plugin] Testers needed

Hello Kostis:

1) Try this and let me know how it goes. 

<plugin>
	<groupId>org.codehaus.mojo</groupId>
	<artifactId>hibernate3-maven-plugin</artifactId>
	<executions>
		<execution>
			<id>export-db-schema</id>
			<phase>process-classes</phase>
			<goals>
				<goal>hbm2ddl</goal>
			</goals>
		</execution>
		<execution>
			<id>export-SYBASE</id>
			<phase>site</phase>
			<goals>
				<goal>hbm2ddl</goal>
			</goals>
			<configuration>
				<configurationTaskProperties>
					<drop>true</drop>
					<export>false</export>
	
<outputfilename>SYBASE.frepor-ddl.sql</outputfilename>
	
<propertyfile>src/main/config/SYBASE.properties</propertyfile>
				</configurationTaskProperties>
(Continue reading)


Gmane