You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Marco Tedone <mt...@jemos.org> on 2004/01/25 23:52:42 UTC

[FOURTH TIME] Cannot run the "site" goal

Hi folk, it's the fourth time (included the one sent to the "license-plugin"
pm) that I post the following problem, hoping that first or later someone
will answer.

I'm trying to execute the 'default' site goal, and I obtain the following
error:

D:\Projects\Merlin_template>maven site
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT


BUILD FAILED
File...... file:/C:/Documents and
Settings/mtedone/.maven/plugins/maven-xdoc-plugin-1.4/
Element... attainGoal
Line...... 587
Column.... 57
No goal [maven-license-plugin:register]
Total time: 2 seconds
Finished at: Sun Jan 25 22:48:12 GMT 2004

D:\Projects\Merlin_template>

This happens if I don't specify any report in the project.xml file or if I
specify the

<report>maven-license-plugin</report>

element.

I've got both the "license" and the "xdoc" plugins. The
'maven-license-plugin:register' goal exists in the license plugin, therefore
I cannot figure out why I obtain the following error.

Plz help!

Marco




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [FOURTH TIME] Cannot run the "site" goal - Partly Solved

Posted by Marco Tedone <mt...@jemos.org>.
Hi, I created a new directory structure as suggested, copied "project.xml",
"maven.xml", "LICENSE.txt" and the properties file, ran the "build" and
"site" goal and the license report has been generated.

However, when I ran my own goal "jemos:site" I got the error related to the
license. So I investigated...and I found something interesting...

My original goal was:

<goal name="jemos:site" prereqs="jemos:build, xjavadoc">
    <ant:delete failonerror="false" includeEmptyDirs="true">
    <ant:fileset dir="${upload.webserver}">
     <ant:include name="**/*.*" />
    </ant:fileset>
   </ant:delete>
   <attainGoal name="site"/>
   <ant:copy todir="${upload.webserver}"
     overwrite="true" failonerror="false">
    <ant:fileset dir="${maven.build.dir}/docs">
     <ant:include name="**/*.*" />
    </ant:fileset>
   </ant:copy>
  </goal>

So I found that the "jemos:build" caused the problem in object (the
license-plugin error).

The "jemos:build" goal is designed as follows:

<goal name="jemos:build" prereqs="jemos:clean">
    <maven:reactor
      basedir="${basedir}"
      includes="*/project.xml"
      excludes="target/**"
      goals=""
      banner="Building:"
      ignoreFailures="false"
      postProcessing="true"/>
     <ant:copy todir="${maven.build.dir}">
     <j:forEach var="child" items="${reactorProjects}">
       <ant:fileset dir="${child.file.parentFile}/target">
         <ant:include
name="${child.artifactId}-${child.currentVersion}.jar"/>
       </ant:fileset>
     </j:forEach>
     </ant:copy>
  </goal>

Now it happens the strange/interesting thing:

If I run:

$ maven jemos:build jemos:site

I obtain the error.

If I run:

$ maven jemos:build

and then

$maven jemos:site

everything goes smoothly.

Have you got any idea?

Marco




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [FOURTH TIME] Cannot run the "site" goal

Posted by Charles-Alexandre Sabourdin <ka...@dedaletechnology.com>.
So i suggest that you create an empty project using maven 
-Dpackage=com.mycompany.app genapp and try to generate your site form this 
project.
Base on that, you would be able to say if your struture or maven is wrong.

I also sugest that you check you project.xml fil and remove all the report tag 
first an then and then one by one. 

good luck ;)
Le Mardi 27 Janvier 2004 10:06, Marco Tedone a écrit :
> No, I didn't. I created a directory structure following the suggestions on
> the Maven site, and then I generated the artifacts and the site.
>
> Marco
> ----- Original Message -----
> From: "Charles Sabourdin" <ka...@dedaletechnology.com>
> To: "Maven Users List" <us...@maven.apache.org>
> Sent: Monday, January 26, 2004 10:29 PM
> Subject: Re: [FOURTH TIME] Cannot run the "site" goal
>
>
> Did you create a regular empty project "maven -Dpackage=com.mycompany.app
> genapp" and then generate you site.
>
> Le Lundi 26 Janvier 2004 01:17, Marco Tedone a écrit :
> > Yes, I just tried to delete the plugin folder and I get the same error.
> >
> > Marco
> > ----- Original Message -----
> > From: "Arnaud Heritier" <ha...@laposte.net>
> > To: "'Maven Users List'" <us...@maven.apache.org>; "'Marco Tedone'"
> > <mt...@jemos.org>
> > Sent: Sunday, January 25, 2004 11:12 PM
> > Subject: RE: [FOURTH TIME] Cannot run the "site" goal
> >
> >
> > Hello Marco.
> >
> > Did you try to delete your directory  C:/Documents and
> > Settings/mtedone/.maven/plugins directory ??
> >
> > The plugin cache directory is maybe corrupted !!
> >
> > Arnaud
> >
> > > -----Message d'origine-----
> > > De : Marco Tedone [mailto:mtedone@jemos.org]
> > > Envoyé : dimanche 25 janvier 2004 23:53
> > > À : Maven-users
> > > Objet : [FOURTH TIME] Cannot run the "site" goal
> > >
> > > Hi folk, it's the fourth time (included the one sent to the "license-
> > > plugin"
> > > pm) that I post the following problem, hoping that first or later
>
> someone
>
> > > will answer.
> > >
> > > I'm trying to execute the 'default' site goal, and I obtain the
>
> following
>
> > > error:
> > >
> > > D:\Projects\Merlin_template>maven site
> > >  __  __
> > >
> > > |  \/  |__ _Apache__ ___
> > > |
> > > | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> > > |
> > > |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
> > >
> > > BUILD FAILED
> > > File...... file:/C:/Documents and
> > > Settings/mtedone/.maven/plugins/maven-xdoc-plugin-1.4/
> > > Element... attainGoal
> > > Line...... 587
> > > Column.... 57
> > > No goal [maven-license-plugin:register]
> > > Total time: 2 seconds
> > > Finished at: Sun Jan 25 22:48:12 GMT 2004
> > >
> > > D:\Projects\Merlin_template>
> > >
> > > This happens if I don't specify any report in the project.xml file or
> > > if I specify the
> > >
> > > <report>maven-license-plugin</report>
> > >
> > > element.
> > >
> > > I've got both the "license" and the "xdoc" plugins. The
> > > 'maven-license-plugin:register' goal exists in the license plugin,
> > > therefore
> > > I cannot figure out why I obtain the following error.
> > >
> > > Plz help!
> > >
> > > Marco
> > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org

-- 
Charles-Alexandre
SABOURDIN
-----------------


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [FOURTH TIME] Cannot run the "site" goal

Posted by Marco Tedone <mt...@jemos.org>.
No, I didn't. I created a directory structure following the suggestions on
the Maven site, and then I generated the artifacts and the site.

Marco
----- Original Message ----- 
From: "Charles Sabourdin" <ka...@dedaletechnology.com>
To: "Maven Users List" <us...@maven.apache.org>
Sent: Monday, January 26, 2004 10:29 PM
Subject: Re: [FOURTH TIME] Cannot run the "site" goal


Did you create a regular empty project "maven -Dpackage=com.mycompany.app
genapp" and then generate you site.

Le Lundi 26 Janvier 2004 01:17, Marco Tedone a écrit :
> Yes, I just tried to delete the plugin folder and I get the same error.
>
> Marco
> ----- Original Message -----
> From: "Arnaud Heritier" <ha...@laposte.net>
> To: "'Maven Users List'" <us...@maven.apache.org>; "'Marco Tedone'"
> <mt...@jemos.org>
> Sent: Sunday, January 25, 2004 11:12 PM
> Subject: RE: [FOURTH TIME] Cannot run the "site" goal
>
>
> Hello Marco.
>
> Did you try to delete your directory  C:/Documents and
> Settings/mtedone/.maven/plugins directory ??
>
> The plugin cache directory is maybe corrupted !!
>
> Arnaud
>
> > -----Message d'origine-----
> > De : Marco Tedone [mailto:mtedone@jemos.org]
> > Envoyé : dimanche 25 janvier 2004 23:53
> > À : Maven-users
> > Objet : [FOURTH TIME] Cannot run the "site" goal
> >
> > Hi folk, it's the fourth time (included the one sent to the "license-
> > plugin"
> > pm) that I post the following problem, hoping that first or later
someone
> > will answer.
> >
> > I'm trying to execute the 'default' site goal, and I obtain the
following
> > error:
> >
> > D:\Projects\Merlin_template>maven site
> >  __  __
> >
> > |  \/  |__ _Apache__ ___
> > |
> > | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> > |
> > |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
> >
> > BUILD FAILED
> > File...... file:/C:/Documents and
> > Settings/mtedone/.maven/plugins/maven-xdoc-plugin-1.4/
> > Element... attainGoal
> > Line...... 587
> > Column.... 57
> > No goal [maven-license-plugin:register]
> > Total time: 2 seconds
> > Finished at: Sun Jan 25 22:48:12 GMT 2004
> >
> > D:\Projects\Merlin_template>
> >
> > This happens if I don't specify any report in the project.xml file or if
> > I specify the
> >
> > <report>maven-license-plugin</report>
> >
> > element.
> >
> > I've got both the "license" and the "xdoc" plugins. The
> > 'maven-license-plugin:register' goal exists in the license plugin,
> > therefore
> > I cannot figure out why I obtain the following error.
> >
> > Plz help!
> >
> > Marco
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [FOURTH TIME] Cannot run the "site" goal

Posted by Charles Sabourdin <ka...@dedaletechnology.com>.
Did you create a regular empty project "maven -Dpackage=com.mycompany.app 
genapp" and then generate you site.

Le Lundi 26 Janvier 2004 01:17, Marco Tedone a écrit :
> Yes, I just tried to delete the plugin folder and I get the same error.
>
> Marco
> ----- Original Message -----
> From: "Arnaud Heritier" <ha...@laposte.net>
> To: "'Maven Users List'" <us...@maven.apache.org>; "'Marco Tedone'"
> <mt...@jemos.org>
> Sent: Sunday, January 25, 2004 11:12 PM
> Subject: RE: [FOURTH TIME] Cannot run the "site" goal
>
>
> Hello Marco.
>
> Did you try to delete your directory  C:/Documents and
> Settings/mtedone/.maven/plugins directory ??
>
> The plugin cache directory is maybe corrupted !!
>
> Arnaud
>
> > -----Message d'origine-----
> > De : Marco Tedone [mailto:mtedone@jemos.org]
> > Envoyé : dimanche 25 janvier 2004 23:53
> > À : Maven-users
> > Objet : [FOURTH TIME] Cannot run the "site" goal
> >
> > Hi folk, it's the fourth time (included the one sent to the "license-
> > plugin"
> > pm) that I post the following problem, hoping that first or later someone
> > will answer.
> >
> > I'm trying to execute the 'default' site goal, and I obtain the following
> > error:
> >
> > D:\Projects\Merlin_template>maven site
> >  __  __
> >
> > |  \/  |__ _Apache__ ___
> > |
> > | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> > |
> > |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
> >
> > BUILD FAILED
> > File...... file:/C:/Documents and
> > Settings/mtedone/.maven/plugins/maven-xdoc-plugin-1.4/
> > Element... attainGoal
> > Line...... 587
> > Column.... 57
> > No goal [maven-license-plugin:register]
> > Total time: 2 seconds
> > Finished at: Sun Jan 25 22:48:12 GMT 2004
> >
> > D:\Projects\Merlin_template>
> >
> > This happens if I don't specify any report in the project.xml file or if
> > I specify the
> >
> > <report>maven-license-plugin</report>
> >
> > element.
> >
> > I've got both the "license" and the "xdoc" plugins. The
> > 'maven-license-plugin:register' goal exists in the license plugin,
> > therefore
> > I cannot figure out why I obtain the following error.
> >
> > Plz help!
> >
> > Marco
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [FOURTH TIME] Cannot run the "site" goal

Posted by Marco Tedone <mt...@jemos.org>.
Yes, I just tried to delete the plugin folder and I get the same error.

Marco
----- Original Message ----- 
From: "Arnaud Heritier" <ha...@laposte.net>
To: "'Maven Users List'" <us...@maven.apache.org>; "'Marco Tedone'"
<mt...@jemos.org>
Sent: Sunday, January 25, 2004 11:12 PM
Subject: RE: [FOURTH TIME] Cannot run the "site" goal


Hello Marco.

Did you try to delete your directory  C:/Documents and
Settings/mtedone/.maven/plugins directory ??

The plugin cache directory is maybe corrupted !!

Arnaud

> -----Message d'origine-----
> De : Marco Tedone [mailto:mtedone@jemos.org]
> Envoyé : dimanche 25 janvier 2004 23:53
> À : Maven-users
> Objet : [FOURTH TIME] Cannot run the "site" goal
>
> Hi folk, it's the fourth time (included the one sent to the "license-
> plugin"
> pm) that I post the following problem, hoping that first or later someone
> will answer.
>
> I'm trying to execute the 'default' site goal, and I obtain the following
> error:
>
> D:\Projects\Merlin_template>maven site
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
>
>
> BUILD FAILED
> File...... file:/C:/Documents and
> Settings/mtedone/.maven/plugins/maven-xdoc-plugin-1.4/
> Element... attainGoal
> Line...... 587
> Column.... 57
> No goal [maven-license-plugin:register]
> Total time: 2 seconds
> Finished at: Sun Jan 25 22:48:12 GMT 2004
>
> D:\Projects\Merlin_template>
>
> This happens if I don't specify any report in the project.xml file or if I
> specify the
>
> <report>maven-license-plugin</report>
>
> element.
>
> I've got both the "license" and the "xdoc" plugins. The
> 'maven-license-plugin:register' goal exists in the license plugin,
> therefore
> I cannot figure out why I obtain the following error.
>
> Plz help!
>
> Marco
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: [FOURTH TIME] Cannot run the "site" goal

Posted by Arnaud Heritier <ha...@laposte.net>.
Hello Marco.

	Did you try to delete your directory  C:/Documents and
Settings/mtedone/.maven/plugins directory ??

	The plugin cache directory is maybe corrupted !!

Arnaud

> -----Message d'origine-----
> De : Marco Tedone [mailto:mtedone@jemos.org]
> Envoyé : dimanche 25 janvier 2004 23:53
> À : Maven-users
> Objet : [FOURTH TIME] Cannot run the "site" goal
> 
> Hi folk, it's the fourth time (included the one sent to the "license-
> plugin"
> pm) that I post the following problem, hoping that first or later someone
> will answer.
> 
> I'm trying to execute the 'default' site goal, and I obtain the following
> error:
> 
> D:\Projects\Merlin_template>maven site
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
> 
> 
> BUILD FAILED
> File...... file:/C:/Documents and
> Settings/mtedone/.maven/plugins/maven-xdoc-plugin-1.4/
> Element... attainGoal
> Line...... 587
> Column.... 57
> No goal [maven-license-plugin:register]
> Total time: 2 seconds
> Finished at: Sun Jan 25 22:48:12 GMT 2004
> 
> D:\Projects\Merlin_template>
> 
> This happens if I don't specify any report in the project.xml file or if I
> specify the
> 
> <report>maven-license-plugin</report>
> 
> element.
> 
> I've got both the "license" and the "xdoc" plugins. The
> 'maven-license-plugin:register' goal exists in the license plugin,
> therefore
> I cannot figure out why I obtain the following error.
> 
> Plz help!
> 
> Marco
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org