Maven 3?

2010-05-06 Thread Marco Tedone
Hi, when will Maven 3 be released? 

Thanks.

M.


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



Re: Maven First installation on Windows Vista doesn't work as expected

2008-10-05 Thread Marco Tedone

Brian E. Fox wrote:

You need to add the repo as a pluginRepository in addition to
repository.

-Original Message-
From: Marco Tedone [mailto:[EMAIL PROTECTED] 
Sent: Saturday, October 04, 2008 4:28 PM

To: Maven-Users
Subject: Maven First installation on Windows Vista doesn't work as
expected

Hi everybody,

I just installed Maven on a new laptop running Windows Vista (don't 
worry, this is not my production box :-) ). The problem is that when 
building a project a certain dependency is not downloaded from the 
artifactory. Running an help on the build I get:


profiles
 profile
   activation
 activeByDefaulttrue/activeByDefault
   /activation
   repositories
 repository
   idrepo1/id
   urlhttp://repo1.maven.org/maven2/url
 /repository
 repository
   idcodehaus-snapshots/id
   urlhttp://snapshots.repository.codehaus.org/url
 /repository
 repository
   idjava.net.m2/id
   urlhttp://download.java.net/maven/2/url
 /repository
 repository
   idjava.net.m1/id
   urlhttp://download.java.net/maven/1/url
 /repository
 repository
   idjemos-repo/id
   urlhttp://jemoslinux:8081/artifactory/jemos-repo/url
 /repository
 repository
   idjemos-repo-ext/id
   urlhttp://jemoslinux:8081/artifactory/repo/url
 /repository
   /repositories
   iddefault/id
 /profile
/profiles
activeProfiles
 activeProfiledefault/activeProfile
/activeProfiles
pluginGroups
 pluginGroupuk.co.jemos.maven.plugins/pluginGroup
/pluginGroups

Please note that the dependency I'm referring can be seen both from 
jemos-repo and jemos-repo-ext (if you want to verify, just replace 
jemoslinux:8081 with http://www.jemos.co.uk


However it appears that Maven tries to download the plugin from central 
only and then it fails (rather than trying on all other repositories). 
This is the exception message I get:


[INFO] 

Downloading: 
http://repo1.maven.org/maven2/uk/co/jemos/maven/plugins/jeco-plugin/1.0.
1/jeco-plugin-1.0.1.jar 

[INFO] 


[ERROR] BUILD FAILURE
[INFO] 

[INFO] A required plugin was not found: Plugin could not be found - 
check that the goal name is correct: Unable to download the artifact 
from any repository


Try downloading the file manually from the project website.

Then, install it using the command:
   mvn install:install-file -DgroupId=uk.co.jemos.maven.plugins 
-DartifactId=jeco-plugin -Dversion=1.0.1 -Dpackaging=maven-plugin 
-Dfile=/path/to/file


Alternatively, if you host your own repository you can deploy the file 
there:
   mvn deploy:deploy-file -DgroupId=uk.co.jemos.maven.plugins 
-DartifactId=jeco-plugin -Dversion=1.0.1 -Dpackaging=maven-plugin 
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]



 uk.co.jemos.maven.plugins:jeco-plugin:maven-plugin:1.0.1

from the specified remote repositories:
 central (http://repo1.maven.org/maven2)

 uk.co.jemos.maven.plugins:jeco-plugin:maven-plugin:1.0.1

from the specified remote repositories:
 central (http://repo1.maven.org/maven2)

[INFO] 


[INFO] For more information, run Maven with the -e switch
[INFO] 




But the jar is available at the following address (for instance):

http://www.jemos.co.uk/artifactory/repo/uk/co/jemos/maven/plugins/jeco-p
lugin/1.0.1/ 



Any idea as of why this is happening?

Regards,

M.








-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


  

Brilliant, that'll do it.

Thanks.

M.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Maven First installation on Windows Vista doesn't work as expected

2008-10-04 Thread Marco Tedone

Hi everybody,

I just installed Maven on a new laptop running Windows Vista (don't 
worry, this is not my production box :-) ). The problem is that when 
building a project a certain dependency is not downloaded from the 
artifactory. Running an help on the build I get:


profiles
profile
  activation
activeByDefaulttrue/activeByDefault
  /activation
  repositories
repository
  idrepo1/id
  urlhttp://repo1.maven.org/maven2/url
/repository
repository
  idcodehaus-snapshots/id
  urlhttp://snapshots.repository.codehaus.org/url
/repository
repository
  idjava.net.m2/id
  urlhttp://download.java.net/maven/2/url
/repository
repository
  idjava.net.m1/id
  urlhttp://download.java.net/maven/1/url
/repository
repository
  idjemos-repo/id
  urlhttp://jemoslinux:8081/artifactory/jemos-repo/url
/repository
repository
  idjemos-repo-ext/id
  urlhttp://jemoslinux:8081/artifactory/repo/url
/repository
  /repositories
  iddefault/id
/profile
/profiles
activeProfiles
activeProfiledefault/activeProfile
/activeProfiles
pluginGroups
pluginGroupuk.co.jemos.maven.plugins/pluginGroup
/pluginGroups

Please note that the dependency I'm referring can be seen both from 
jemos-repo and jemos-repo-ext (if you want to verify, just replace 
jemoslinux:8081 with http://www.jemos.co.uk


However it appears that Maven tries to download the plugin from central 
only and then it fails (rather than trying on all other repositories). 
This is the exception message I get:


[INFO] 

Downloading: 
http://repo1.maven.org/maven2/uk/co/jemos/maven/plugins/jeco-plugin/1.0.1/jeco-plugin-1.0.1.jar 

[INFO] 


[ERROR] BUILD FAILURE
[INFO] 

[INFO] A required plugin was not found: Plugin could not be found - 
check that the goal name is correct: Unable to download the artifact 
from any repository


Try downloading the file manually from the project website.

Then, install it using the command:
  mvn install:install-file -DgroupId=uk.co.jemos.maven.plugins 
-DartifactId=jeco-plugin -Dversion=1.0.1 -Dpackaging=maven-plugin 
-Dfile=/path/to/file


Alternatively, if you host your own repository you can deploy the file 
there:
  mvn deploy:deploy-file -DgroupId=uk.co.jemos.maven.plugins 
-DartifactId=jeco-plugin -Dversion=1.0.1 -Dpackaging=maven-plugin 
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]



uk.co.jemos.maven.plugins:jeco-plugin:maven-plugin:1.0.1

from the specified remote repositories:
central (http://repo1.maven.org/maven2)

uk.co.jemos.maven.plugins:jeco-plugin:maven-plugin:1.0.1

from the specified remote repositories:
central (http://repo1.maven.org/maven2)

[INFO] 


[INFO] For more information, run Maven with the -e switch
[INFO] 




But the jar is available at the following address (for instance):

http://www.jemos.co.uk/artifactory/repo/uk/co/jemos/maven/plugins/jeco-plugin/1.0.1/ 



Any idea as of why this is happening?

Regards,

M.








-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Invoking maven from maven

2006-04-09 Thread Marco Tedone
Hi, I'm in the need of invoking Maven from withing a maven.xml. This is the 
scenario:


Folder A contains project.xml and maven.xml
Folder B, subdirectory of A, contains the whole maven project which I want 
to build. I would need to invoke a goal in B from maven.xml in A.


I couldn't find anything out there which would let me obtain this. Could you 
recommend a solution?


Many thanks.

Marco 



---
[This E-mail has been scanned for viruses but it is your responsibility 
to maintain up to date anti virus software on the device that you are

currently using to read this email. ]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Invoking maven from maven

2006-04-09 Thread Marco Tedone
I found  a solution. I use the multiproject goal to invoke the build process 
on Folder B from Folder A.
- Original Message - 
From: Marco Tedone [EMAIL PROTECTED]

To: Maven-Users users@maven.apache.org
Sent: Sunday, April 09, 2006 4:09 PM
Subject: Invoking maven from maven


Hi, I'm in the need of invoking Maven from withing a maven.xml. This is 
the scenario:


Folder A contains project.xml and maven.xml
Folder B, subdirectory of A, contains the whole maven project which I want 
to build. I would need to invoke a goal in B from maven.xml in A.


I couldn't find anything out there which would let me obtain this. Could 
you recommend a solution?


Many thanks.

Marco

---
[This E-mail has been scanned for viruses but it is your responsibility to 
maintain up to date anti virus software on the device that you are

currently using to read this email. ]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---
[This E-mail has been scanned for viruses but it is your responsibility 
to maintain up to date anti virus software on the device that you are

currently using to read this email. ]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Invoking maven from maven

2006-04-09 Thread Marco Tedone

Thank you. That solved the problem brilliantly.
- Original Message - 
From: Arnaud HERITIER [EMAIL PROTECTED]

To: Maven Users List users@maven.apache.org
Sent: Sunday, April 09, 2006 10:42 PM
Subject: Re: Invoking maven from maven


You can use the maven tag
http://maven.apache.org/maven-1.x/tags.html#maven:maven

Arnaud

On 4/9/06, Marco Tedone [EMAIL PROTECTED] wrote:


Hi, I'm in the need of invoking Maven from withing a maven.xml. This is
the
scenario:

Folder A contains project.xml and maven.xml
Folder B, subdirectory of A, contains the whole maven project which I want
to build. I would need to invoke a goal in B from maven.xml in A.

I couldn't find anything out there which would let me obtain this. Could
you
recommend a solution?

Many thanks.

Marco


---
[This E-mail has been scanned for viruses but it is your responsibility
to maintain up to date anti virus software on the device that you are
currently using to read this email. ]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---
[This E-mail has been scanned for viruses but it is your responsibility 
to maintain up to date anti virus software on the device that you are

currently using to read this email. ]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Running strutsconfigxml subtask within the xdoclet:webdoclet from Maven

2004-09-09 Thread Marco Tedone
Hi, I've got the following pregoal in maven.xml


preGoal name=war:webapp
  attainGoal name=xdoclet:webdoclet/
 /preGoal

which, you know better than me, executes webdoclet before running the war
goal. The web.xml gets generated, ok. Now I want to generate also the
struts-related configuration files. From XDoclet I learn that there is a
nested element for webdoclet, strutsconfigxml that generates the
struts-related files.

How could I tell to Maven to run also the strutsconfigxml nested element
when running webdoclet? I had a look on the internet, and tried to specify
the following properties:

maven.xdoclet.webdoclet.strutsconfigxml.0=true
maven.xdoclet.webdoclet.strutsconfigxml.0.validatexml=true
maven.xdoclet.webdoclet.strutsconfigxml.0.version=1.1
maven.xdoclet.webdoclet.strutsconfigxml.0.mergeDir=src/merge/struts


But nothing happens.

I had a look also at the mailing list archives but I didn't find anything
which could help. Could anyone help?

Thanks,

Marco Tedone


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Running strutsconfigxml subtask within the xdoclet:webdoclet from Maven

2004-09-09 Thread Marco Tedone
Yes, I've changed them (still nothing) :(
- Original Message - 
From: M.-Leander Reimer [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]
Sent: Thursday, September 09, 2004 11:02 AM
Subject: Re: Running strutsconfigxml subtask within the xdoclet:webdoclet
from Maven


 And I think 2 of your properties are incorrect:

 maven.xdoclet.webdoclet.strutsconfigxml.0.validatexml=true
 maven.xdoclet.webdoclet.strutsconfigxml.0.version=1.1

 should be

 maven.xdoclet.webdoclet.strutsconfigxml.0.validateXML=true
 maven.xdoclet.webdoclet.strutsconfigxml.0.Version=1.1


 Leander


 Pierre-Yves Chauveau schrieb:

  Did you put the dependency of the apache xdoclet module in your
project.xml.
  If not, nothing happen and you won't know about that it's missing :-(
 
  Pierre-Yves.
  -Message d'origine-
  De : Marco Tedone [mailto:[EMAIL PROTECTED]
  Envoyé : jeudi 9 septembre 2004 11:26
  À : Maven-users
  Objet : Running strutsconfigxml subtask within the xdoclet:webdoclet
from Maven
 
  Hi, I've got the following pregoal in maven.xml
 
 
  preGoal name=war:webapp
attainGoal name=xdoclet:webdoclet/
   /preGoal
 
  which, you know better than me, executes webdoclet before running the
war
  goal. The web.xml gets generated, ok. Now I want to generate also the
  struts-related configuration files. From XDoclet I learn that there is a
  nested element for webdoclet, strutsconfigxml that generates the
  struts-related files.
 
  How could I tell to Maven to run also the strutsconfigxml nested
element
  when running webdoclet? I had a look on the internet, and tried to
specify
  the following properties:
 
  maven.xdoclet.webdoclet.strutsconfigxml.0=true
  maven.xdoclet.webdoclet.strutsconfigxml.0.validatexml=true
  maven.xdoclet.webdoclet.strutsconfigxml.0.version=1.1
  maven.xdoclet.webdoclet.strutsconfigxml.0.mergeDir=src/merge/struts
 
 
  But nothing happens.
 
  I had a look also at the mailing list archives but I didn't find
anything
  which could help. Could anyone help?
 
  Thanks,
 
  Marco Tedone
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Running strutsconfigxml subtask within the xdoclet:webdoclet from Maven

2004-09-09 Thread Marco Tedone
These are the xdoclet dependencies (declared in the parent project):

dependency
groupIdxdoclet/groupId
artifactIdxdoclet/artifactId
version1.2/version
/dependency


dependency
groupIdxdoclet/groupId
artifactIdxdoclet-ejb-module/artifactId
version1.2/version
urlhttp://xdoclet.sf.net//url
/dependency

dependency
groupIdxjavadoc/groupId
artifactIdxjavadoc/artifactId
version1.0.2/version
urlhttp://xdoclet.sf.net//url
/dependency

dependency
groupIdxdoclet/groupId
artifactIdxdoclet-jmx-module/artifactId
version1.2/version
urlhttp://xdoclet.sf.net//url
/dependency

dependency
groupIdxdoclet/groupId
artifactIdxdoclet-web-module/artifactId
version1.2/version
urlhttp://xdoclet.sf.net//url
/dependency

dependency
groupIdxdoclet/groupId
artifactIdxdoclet-jboss-module/artifactId
version1.2/version
urlhttp://xdoclet.sf.net//url
/dependency

dependency
groupIdxdoclet/groupId
artifactIdmaven-xdoclet-plugin/artifactId
version1.2/version
typeplugin/type
urlhttp://xdoclet.sf.net//url
/dependency


This is then declared in my 'war' subproject:

dependency
   groupIdstruts/groupId
   artifactIdstruts/artifactId
   version1.1/version
   properties
war.bundletrue/war.bundle
   /properties
  /dependency





- Original Message - 
From: Mark Lowe [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]
Sent: Thursday, September 09, 2004 11:02 AM
Subject: Re: Running strutsconfigxml subtask within the xdoclet:webdoclet
from Maven


 Have you included the xdoclet-apache-module stuff in your dependencies?


 On 9 Sep 2004, at 11:25, Marco Tedone wrote:

  Hi, I've got the following pregoal in maven.xml
 
 
  preGoal name=war:webapp
attainGoal name=xdoclet:webdoclet/
   /preGoal
 
  which, you know better than me, executes webdoclet before running the
  war
  goal. The web.xml gets generated, ok. Now I want to generate also the
  struts-related configuration files. From XDoclet I learn that there is
  a
  nested element for webdoclet, strutsconfigxml that generates the
  struts-related files.
 
  How could I tell to Maven to run also the strutsconfigxml nested
  element
  when running webdoclet? I had a look on the internet, and tried to
  specify
  the following properties:
 
  maven.xdoclet.webdoclet.strutsconfigxml.0=true
  maven.xdoclet.webdoclet.strutsconfigxml.0.validatexml=true
  maven.xdoclet.webdoclet.strutsconfigxml.0.version=1.1
  maven.xdoclet.webdoclet.strutsconfigxml.0.mergeDir=src/merge/struts
 
 
  But nothing happens.
 
  I had a look also at the mailing list archives but I didn't find
  anything
  which could help. Could anyone help?
 
  Thanks,
 
  Marco Tedone
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Running strutsconfigxml subtask within the xdoclet:webdoclet from Maven

2004-09-09 Thread Marco Tedone
Yes! I added the dependency and it works. However, Pierre, for your
reference, on ibiblio the 1.2.1 version is not there. I've used 1.2 and it
seems it works nicely


- Original Message - 
From: Pierre-Yves Chauveau [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]
Sent: Thursday, September 09, 2004 11:13 AM
Subject: RE: Running strutsconfigxml subtask within the xdoclet:webdoclet
from Maven


So you're missing the apache module one :
  dependency
groupIdxdoclet/groupId
artifactIdxdoclet-apache-module/artifactId
version1.2.1/version
urlhttp://xdoclet.sourceforge.net/url
/dependency


-Message d'origine-
De : Marco Tedone [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 9 septembre 2004 12:11
À : Maven Users List
Objet : Re: Running strutsconfigxml subtask within the xdoclet:webdoclet
from Maven

These are the xdoclet dependencies (declared in the parent project):

dependency
groupIdxdoclet/groupId
artifactIdxdoclet/artifactId
version1.2/version
/dependency


dependency
groupIdxdoclet/groupId
artifactIdxdoclet-ejb-module/artifactId
version1.2/version
urlhttp://xdoclet.sf.net//url
/dependency

dependency
groupIdxjavadoc/groupId
artifactIdxjavadoc/artifactId
version1.0.2/version
urlhttp://xdoclet.sf.net//url
/dependency

dependency
groupIdxdoclet/groupId
artifactIdxdoclet-jmx-module/artifactId
version1.2/version
urlhttp://xdoclet.sf.net//url
/dependency

dependency
groupIdxdoclet/groupId
artifactIdxdoclet-web-module/artifactId
version1.2/version
urlhttp://xdoclet.sf.net//url
/dependency

dependency
groupIdxdoclet/groupId
artifactIdxdoclet-jboss-module/artifactId
version1.2/version
urlhttp://xdoclet.sf.net//url
/dependency

dependency
groupIdxdoclet/groupId
artifactIdmaven-xdoclet-plugin/artifactId
version1.2/version
typeplugin/type
urlhttp://xdoclet.sf.net//url
/dependency


This is then declared in my 'war' subproject:

dependency
   groupIdstruts/groupId
   artifactIdstruts/artifactId
   version1.1/version
   properties
war.bundletrue/war.bundle
   /properties
  /dependency





- Original Message - 
From: Mark Lowe [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]
Sent: Thursday, September 09, 2004 11:02 AM
Subject: Re: Running strutsconfigxml subtask within the xdoclet:webdoclet
from Maven


 Have you included the xdoclet-apache-module stuff in your dependencies?


 On 9 Sep 2004, at 11:25, Marco Tedone wrote:

  Hi, I've got the following pregoal in maven.xml
 
 
  preGoal name=war:webapp
attainGoal name=xdoclet:webdoclet/
   /preGoal
 
  which, you know better than me, executes webdoclet before running the
  war
  goal. The web.xml gets generated, ok. Now I want to generate also the
  struts-related configuration files. From XDoclet I learn that there is
  a
  nested element for webdoclet, strutsconfigxml that generates the
  struts-related files.
 
  How could I tell to Maven to run also the strutsconfigxml nested
  element
  when running webdoclet? I had a look on the internet, and tried to
  specify
  the following properties:
 
  maven.xdoclet.webdoclet.strutsconfigxml.0=true
  maven.xdoclet.webdoclet.strutsconfigxml.0.validatexml=true
  maven.xdoclet.webdoclet.strutsconfigxml.0.version=1.1
  maven.xdoclet.webdoclet.strutsconfigxml.0.mergeDir=src/merge/struts
 
 
  But nothing happens.
 
  I had a look also at the mailing list archives but I didn't find
  anything
  which could help. Could anyone help?
 
  Thanks,
 
  Marco Tedone
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Dependency of type property

2004-09-09 Thread Marco Tedone
Hi, is there a way to declare a dependency of type 'property'? The reason is
that it would be usefull to have a dependency of type property when using
Struts (and I think not only) for MessageResource bundles. Basically a
company may want to use always the same type of labels (already
internationalized) for all its sites. Instead of copying the same every
time, it would be nice to be able to declare a dependency and include it in
the war artifact.

Marco


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: properties and values in maven.xml

2004-03-30 Thread Marco Tedone
Maybe they are immutable??

JAT,

Marco
- Original Message - 
From: Sri Sankaran [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]
Sent: Tuesday, March 30, 2004 10:18 PM
Subject: RE: properties and values in maven.xml


Have you tried something like

j:parse text=pom.setSiteDirectory('whatever')/

Sri

-Original Message-
From: Rob Shepherd [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 30, 2004 1:36 PM
To: Maven Users List
Subject: properties and values in maven.xml

I'm having trouble getting to grips with the scripting.  I'm proficient at
ant so it should take me too long to grasp :)

in project.properties i define

...
robtest.message=hello world
...

in maven.xml i have this target sorryGoal ;)

...
goal name=robtest
  ant:echo message=${robtest.message}/
  ant:echo message=Changing property/
  j:set var=robtest.message value=hello rob /
  ant:echo message=${robtest.message}/ /goal ...

running 'maven robtest' i get expected results.

robtest:
 [echo] hello world
 [echo] Changing property
 [echo] hello rob
BUILD SUCCESSFUL

However!! i wish to apply the same goal to the variable ${pom.siteDirectory}

which will allow me to do a fsdeploy to a local directory then a sshdeploy
to a remote mirror.

To acomplish this i do a fsdeploy then change pom.siteDirectory then do a
sshdeploy with the new value.

the values after
j:set var=pom.siteAddress value=www.mywebserver.invalid / j:set
var=pom.siteDirectory value=/var/www/html/ /

is

site:fsdeploy:
 [echo]
   siteAddress =
   siteDirectory =

(they are both originally defined in project.xml.)

How do i refer to them with jelly?

Many thanks for any help i may receive.


Rob

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Does maven have something like ant calls?

2004-03-25 Thread Marco Tedone
You may want to see at the reactor and/or the multiproject plugin. With
Maven, you can define subprojects (each subproject is defined by a
project.xml), although a very high granularity (i.e. a project per package)
is descouraged.

Maven is also considered as a wrapper around Ant. All you need to do when
you want to use Ant, is to define something like that in your maven.xml
file:

ant:copy todir=..
ant:delete
..
HTH,

Marco


- Original Message - 
From: Los Morales [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 26, 2004 7:27 AM
Subject: Does maven have something like ant calls?


 Hi,

 I'm new to maven and would like to know if there is a way of creating one
 main project.xml that calls other project.xml files to do the work.  For
 example, suppose I have 3 projects set up--P1, P2 and P3.  P1 is
designated
 as the main project file.  Running P1 initializes itself, calls P2 to do
its
 thing which includes jarring itself into the local repository, and finally
 calls P3 to do its thing which depends on P2's jar to complete.  I've
looked
 at the pom inheritance but its more of inheriting the super pom's
 properties rather than delegating calls to sub poms.  The only other way
I
 can think is to create a maven.xml file which embodies ant calls to do the
 job.  I'm not sure how this would work though since I do not see any ant
 tasks specifiic in invoking maven tasks.  Any help would be appreciated.
 Thanks!

 -los

 _
 Find a broadband plan that fits. Great local deals on high-speed Internet
 access.
 https://broadband.msn.com/?pgmarket=en-us/go/onm00200360ave/direct/01/


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Plugin as dependency

2004-03-21 Thread Marco Tedone
Hi, I tried to define the following in my project.xml file:

dependency
groupIdmaven-jemos-plugin/groupId
artifactIdmaven-jemos-plugin/artifactId
version1.0/version
url${maven.plugin.dir}/url
typeplugin/type
/dependency

But I receive the following exception:

Attempting to download maven-jemos-plugin-1.0.jar.
WARNING: Failed to download maven-jemos-plugin-1.0.jar.
The build cannot continue because of the following unsatisfied dependency:

maven-jemos-plugin-1.0.jar (no download url specified)

I verified, and under ${maven.plugin.dir} there is a
maven-jemos-plugin-1.0.jar file.

Is there a way I could get out of it?

Marco




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Maven and James

2004-03-21 Thread Marco Tedone
Thank you Mark. I think is Stephen McConnell from apache. It's not urgent,
but when it will come the right time, I'll ask him.

Thanks you for your time.

Marco
- Original Message - 
From: Mark R. Diggory [EMAIL PROTECTED]
To: Marco Tedone [EMAIL PROTECTED]
Cc: Maven Users List [EMAIL PROTECTED]
Sent: Sunday, March 21, 2004 4:54 PM
Subject: Re: Maven and James


 No, I am not. I am a developer working on organizing some of the
 migration to the repository spec which the Repository Apache group has
 defined. I am working on the ASF Repository contents which are mirrored
 into www.ibiblio.org/maven. I am working to not be responsible for any
 projects content specifically, it is up to that project to maintain its
 content in the repository. I'm trying to act only in an advisory
 position.

 I am not familiar with which version of James or the mailet api you need
 to use to develop your own Mailet, I have not used that api, you'll need
 to review the documentation with the James folks specifically and ask
 this question in that context irrespective of what jars are actually in
 the repository. Once you have determined what you need, we can work with
 the James folks to get it available in the ibiblio repository so that it
 can be used with Maven.

 Currently I notice that the repository has 1.0 and 3.0, but that the
 current release is 2.1.3, you might check with them concerning if 3.0 is
 appropriate to work with. In which case it is already available to you
 via ibiblio.

 Cheers,
 -Mark

 On Sun, 2004-03-21 at 01:58, Marco Tedone wrote:
  Mark, are you in charge of the mirroring? Do you know which jars shall I
use
  to build a custom mailet/matcher? The guys at James don't support the
  mirroring and don't give information as well.
 
  Thanks,
 
  Marco
  - Original Message - 
  From: Mark R. Diggory [EMAIL PROTECTED]
  To: Maven Users List [EMAIL PROTECTED]
  Cc: Marco Tedone [EMAIL PROTECTED]
  Sent: Saturday, March 20, 2004 5:39 PM
  Subject: Re: Maven and James
 
 
   Yes, James is mirrored into ibiblio. If you need a different version
   than what is there, it would be best to have the James Release Manager
   contact with the [EMAIL PROTECTED] folks to assist in getting it
   published.
  
   The currently existing versions are:
   http://www.apache.org/dist/java-repository/james/jars/
  
   -Mark Diggory
  
   Emmanuel Venisse wrote:
James team can do it via a mirroring directory between Apache and
  Ibiblio.
If they doesn't know how to do, they can contact us.
   
Emmanuel
   
- Original Message - 
From: Marco Tedone [EMAIL PROTECTED]
To: Maven-users [EMAIL PROTECTED]
Sent: Saturday, March 20, 2004 2:03 PM
Subject: Maven and James
   
   
   
   Hi, who is maintaining the James repository at
www.ibiblio.org/maven?
   
   Suppose I would like to write my own Mailet/Matcher, which
dependency
   
shall
   
   I declare?
   
   Thanks,
   
   Marco
   
  
   -- 
   Mark Diggory
   Software Developer
   Harvard MIT Data Center
   http://www.hmdc.harvard.edu
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 -- 
 Mark R. Diggory
 Software Developer - VDC Project
 Harvard MIT Data Center
 http://www.hmdc.harvard.edu


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Plugin as dependency

2004-03-21 Thread Marco Tedone
Done it. Nothing has changed. I still get:

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

Attempting to download maven-jemos-plugin-1.0.jar.
WARNING: Failed to download maven-jemos-plugin-1.0.jar.
The build cannot continue because of the following unsatisfied dependency:

maven-jemos-plugin-1.0.jar (no download url specified)

Total time: 2 seconds
Finished at: Sun Mar 21 23:14:25 GMT 2004


- Original Message - 
From: [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]
Sent: Sunday, March 21, 2004 11:00 PM
Subject: Re: Plugin as dependency


 Marco Tedone [EMAIL PROTECTED] wrote on 22/03/2004 07:53:19 AM:
 
  Hi, I tried to define the following in my project.xml file:
  
  dependency
  groupIdmaven-jemos-plugin/groupId
  artifactIdmaven-jemos-plugin/artifactId
  version1.0/version
  url${maven.plugin.dir}/url
  typeplugin/type
  /dependency
  
  But I receive the following exception:
  
  Attempting to download maven-jemos-plugin-1.0.jar.
  WARNING: Failed to download maven-jemos-plugin-1.0.jar.
  The build cannot continue because of the following unsatisfied 
 dependency:
  
  maven-jemos-plugin-1.0.jar (no download url specified)
  
  I verified, and under ${maven.plugin.dir} there is a
  maven-jemos-plugin-1.0.jar file.
  
  Is there a way I could get out of it?
 
 Install the plugin in your local repo (maven plugin:install).
 
 The URL of the dependency element is NOT used for downloads.
 --
 dIon Gillard, Multitask Consulting
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Maven and James

2004-03-20 Thread Marco Tedone
Hi, who is maintaining the James repository at www.ibiblio.org/maven?

Suppose I would like to write my own Mailet/Matcher, which dependency shall
I declare?

Thanks,

Marco




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How to include a jar dependency in my jar

2004-03-20 Thread Marco Tedone
Hi, how could I include a jar declared as a dependency in the jar being
created for my project? I would like to distribute for a demo my project
jar, but I would need also the jar on which this project relies on.

Thanks,

Marco




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Maven and James

2004-03-20 Thread Marco Tedone
Mark, are you in charge of the mirroring? Do you know which jars shall I use
to build a custom mailet/matcher? The guys at James don't support the
mirroring and don't give information as well.

Thanks,

Marco
- Original Message - 
From: Mark R. Diggory [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]
Cc: Marco Tedone [EMAIL PROTECTED]
Sent: Saturday, March 20, 2004 5:39 PM
Subject: Re: Maven and James


 Yes, James is mirrored into ibiblio. If you need a different version
 than what is there, it would be best to have the James Release Manager
 contact with the [EMAIL PROTECTED] folks to assist in getting it
 published.

 The currently existing versions are:
 http://www.apache.org/dist/java-repository/james/jars/

 -Mark Diggory

 Emmanuel Venisse wrote:
  James team can do it via a mirroring directory between Apache and
Ibiblio.
  If they doesn't know how to do, they can contact us.
 
  Emmanuel
 
  - Original Message - 
  From: Marco Tedone [EMAIL PROTECTED]
  To: Maven-users [EMAIL PROTECTED]
  Sent: Saturday, March 20, 2004 2:03 PM
  Subject: Maven and James
 
 
 
 Hi, who is maintaining the James repository at www.ibiblio.org/maven?
 
 Suppose I would like to write my own Mailet/Matcher, which dependency
 
  shall
 
 I declare?
 
 Thanks,
 
 Marco
 

 -- 
 Mark Diggory
 Software Developer
 Harvard MIT Data Center
 http://www.hmdc.harvard.edu

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



About sourceModifications

2004-03-18 Thread Marco Tedone
Does sourceModification exclude classes or sources? Here for classes I mean .class. 
In my experience, this element excludes the sources completely. Therefore these won't 
never get compiled and included in the jar. If so, the example in the descriptor 
documentation page could change.


Marco

Re: More visual project descriptor documentation

2004-03-17 Thread Marco Tedone
Would it be possible to add concrete but simple examples of the possible
different uses of sourceModifications and resources?


- Original Message - 
From: [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]
Sent: Thursday, March 18, 2004 7:22 AM
Subject: Re: More visual project descriptor documentation


 I just updated it again
 --
 dIon Gillard, Multitask Consulting



 Marco Tedone [EMAIL PROTECTED] wrote on 18/03/2004 06:06:53 PM:

  I can't see the build element in there. Am I missing something?
 
  - Original Message - 
  From: Incze Lajos [EMAIL PROTECTED]
  To: Maven Users List [EMAIL PROTECTED]
  Sent: Thursday, March 18, 2004 2:50 AM
  Subject: Re: More visual project descriptor documentation
 
 
   
  http://maven.apache.org/~dion/maven.apache.org/reference/project-
  descriptor.html
   
Better?
--
dIon Gillard, Multitask Consulting
  
   Seems pretty usable.
  
   incze
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problems creating ejb jar

2004-03-16 Thread Marco Tedone
Sorry, I think I didn't understand you properly.

I use ejbdoclet in ${basedir}/maven.xml to create the EJBs interfaces.

Marco
- Original Message - 
From: thorsten maus [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]
Sent: Tuesday, March 16, 2004 9:57 AM
Subject: Re: Problems creating ejb jar



 did you include the
 ejbdoclet as well as the webdoclet in your project.xml ???

 without the webdoclet maven will not create the ejb parts properly ..



 Marco Tedone wrote:
  Hi, I'm trying to create an ejb-jar for my project.
 
  Following the documentation for the EJB plugin, I declared the following
  properties:
 
  #Sources to include in the ejb
 
maven.ejb.src=${maven.xdoclet.ejbdoclet.srcDir}/org/jemos/xmlop/ejbs/**/*.ja
  va
 
  #Includes the deployment descriptors
  maven.ejb.includes=${maven.xdoclet.ejbdoclet.destDir}/META-INF/*.xml
 
  However my jar file ends without classes or deployment descriptors in
it.
 
  In /src/project.xml I specified the following:
 
  project default=driver
 
  goal name=driver
attainGoal name=jar:install /
attainGoal name=ejb /
  /goal
 
  /project
 
  If I comment out attainGoal name=ejb / the jar is created with all
the
  classes.
 
  I tried also to use ejbjar from ant, but I get an error dependency on
  bcel, although I declared it as a dependency.
 
  Thanks for any help,
 
  Marco
 
 
 
 
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 


 -- 
 Thorsten Maus ( IT Architect )
 [EMAIL PROTECTED]
 mobile: +49-173-644-1988
 www.pirack.com
 it's teamwork


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problems creating ejb jar

2004-03-16 Thread Marco Tedone
Did you solve the bcel dependency problems?

Marco
- Original Message - 
From: Webb Morris [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]
Sent: Tuesday, March 16, 2004 2:19 PM
Subject: Re: Problems creating ejb jar


 --- Arto Pastinen [EMAIL PROTECTED] wrote:
#Sources to include in the ejb
   
maven.ejb.src=${maven.xdoclet.ejbdoclet.srcDir}/org/jemos/xmlop/ejbs/**/*.ja
va
   
#Includes the deployment descriptors
maven.ejb.includes=${maven.xdoclet.ejbdoclet.destDir}/META-INF/*.xml
   
However my jar file ends without classes or deployment descriptors
in it.

 The maven.ejb.src is actually meant to be pointed at the information you
have listed for
 maven.ejb.includes.  The documentation is lacking there.  I found the
ejbjar plugin to be
 sufficiently lacking that I wrote my own using the ejbjar Ant task (more
specific for what my
 company needs).  However, I also get the bcel dependency problem.

 Hope this helps,

 WM

 __
 Do you Yahoo!?
 Yahoo! Mail - More reliable, more storage, less spam
 http://mail.yahoo.com

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problems creating ejb jar

2004-03-16 Thread Marco Tedone
Dion, could you please send me a code example?

Thanks,

Marco
- Original Message - 
From: [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]
Sent: Tuesday, March 16, 2004 11:39 PM
Subject: Re: Problems creating ejb jar


 Webb Morris [EMAIL PROTECTED] wrote on 17/03/2004 01:19:34 AM:

  The maven.ejb.src is actually meant to be pointed at the information
  you have listed for
  maven.ejb.includes.  The documentation is lacking there.  I found
  the ejbjar plugin to be
  sufficiently lacking that I wrote my own using the ejbjar Ant task
  (more specific for what my
  company needs).  However, I also get the bcel dependency problem.
 
  Hope this helps,

 I simply don't use the convoluted property of the ejb jar plugin and
 simply use resources. This works so much better.

 EAR projects (as of 1.5 of the ear plugin) have support for resources now
 too.
 --
 dIon Gillard, Multitask Consulting





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problems creating ejb jar

2004-03-16 Thread Marco Tedone
Thank you Dion,

I solved my problem, also because I realized I had the resources elements defined 
only for the test, and not for the source. Maven now builds a jar file that contain 
also ejb-jar.xml and jboss.xml and it gets deployed correctly under Jboss. The only 
problem I've got is that the jar contains all the files, not only the ejbs. Because 
I've got two separate modules, war and ejb, I duplicate the classes. 

I suppose I could solve the problem by creating a ear, can't I?

Marco

- Original Message - 
  From: [EMAIL PROTECTED] 
  To: Marco Tedone 
  Sent: Wednesday, March 17, 2004 12:23 AM
  Subject: Re: Problems creating ejb jar




  The only ejb property i have in project.properties for that jar is 

  maven.ejb.excludes=**/*.java 

  which is probably not needed. 
  --
  dIon Gillard, Multitask Consulting



  Marco Tedone [EMAIL PROTECTED] wrote on 17/03/2004 10:37:29 AM:

   Dion, could you please send me a code example?
   
   Thanks,
   
   Marco
   - Original Message - 
   From: [EMAIL PROTECTED]
   To: Maven Users List [EMAIL PROTECTED]
   Sent: Tuesday, March 16, 2004 11:39 PM
   Subject: Re: Problems creating ejb jar
   
   
Webb Morris [EMAIL PROTECTED] wrote on 17/03/2004 01:19:34 AM:
   
 The maven.ejb.src is actually meant to be pointed at the information
 you have listed for
 maven.ejb.includes.  The documentation is lacking there.  I found
 the ejbjar plugin to be
 sufficiently lacking that I wrote my own using the ejbjar Ant task
 (more specific for what my
 company needs).  However, I also get the bcel dependency problem.

 Hope this helps,
   
I simply don't use the convoluted property of the ejb jar plugin and
simply use resources. This works so much better.
   
EAR projects (as of 1.5 of the ear plugin) have support for resources now
too.
--
dIon Gillard, Multitask Consulting
   
   
   
   
   
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
   


Re: What does the XDoclet plugin expects?

2004-03-15 Thread Marco Tedone
I've defined your same properties, defined ejbdoclet as pregoal and I'm
obtaining the following error:

ant:javac srcdir
D:\Projects\jemos-xmlop-1.0\src\target\xdoclet\ejbdoclet does not exist!

The ejbdoclet goal is looking for a src/target/xdoclet/ejbdoclet folder that
doesn't exists. Shall I create it?

I've got the following package:

/src
  |
  java (src folder)
|
org (package begins)
  |
  --jemos
  |
  --xmlop
  |
  OneNormalClass.java
  SecondNormalClass.java
  FirstEJB.java (Entity)
  FirstBeanSession.java  (Session)

In the following property I declared  the following:

maven.xdoclet.xdoclet.fileset.0.include=**/*EJB.java, **/*Bean.java

Is it ok? (I mean the use of the comma).

Is there a standard directory structure I could follow when creating EJBs
with Maven?

Many thanks,

Marco

- Original Message - 
From: Konstantin Priblouda [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]; Marco Tedone
[EMAIL PROTECTED]
Sent: Monday, March 15, 2004 7:26 PM
Subject: Re: What does the XDoclet plugin expects?



 --- Marco Tedone [EMAIL PROTECTED] wrote:
  Hi, I'm reading the documentation on the XDoclet
  website about the Maven
  plugin. However, I don't know what the
  xdoclet:ejbdoclet goal expects in
  the maven.xml file. I've got a folder /src under
  which java, webapp, etc.
  are stored. When I point my cursor to /src and type
  maven
  xdoclet:ejbdoclet nothing happens.
 

 you will need some properties and dependencies to
 activate subtasks

 Like this:

 ---%-
 #message bundles
 maven.xdoclet.xdoclet.destDir=${basedir}/target/xdoclet/xdoclet
 maven.xdoclet.xdoclet.externalizer.0=true
 maven.xdoclet.xdoclet.externalizer.0.destinationFile={0}{1}.properties

 maven.xdoclet.xdoclet.propertiestranslator.0=true
 maven.xdoclet.xdoclet.fileset.0=true
 maven.xdoclet.xdoclet.fileset.0.include=**/*.java
 ---%-

 Here I activate 2 subtasks ( externalizer / properties
 translator ) ,
 specify  fileset for eintire xdoclet invocation, and
 some task specific
 settings ( for example name pattern for generated
 properties  )

 then I need to specify desired task ( xdoclet:xdoclet
 ) as pregoal,
 and possibly tune my project xml so  that generated
 artifacts are packaged , or included in classpath of
 unit tests.

 regards,




 =
 [ Konstantin Pribluda ( ko5tik ) ]
 Zu Verstärkung meines Teams suche ich ab Sofort einen
 Softwareentwickler[In] für die Festanstellung.
 Arbeitsort: Mainz
 Skills:  Programieren, Kentnisse in OpenSource-Bereich
 [ http://www.pribluda.de ]

 __
 Do you Yahoo!?
 Yahoo! Mail - More reliable, more storage, less spam
 http://mail.yahoo.com





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Generating EJBs with XDoclet plugin

2004-03-14 Thread Marco Tedone
Hi, I'm just starting to use the Maven plugin to build the EJBs.

I declared the xdoclet plugin as follows:

dependency
groupIdxdoclet/groupId
artifactIdmaven-xdoclet-plugin/artifactId
version1.2/version
typeplugin/type
urlhttp://xdoclet.sourceforge.net//url
/dependency

I've got also the following dependencies in my project:

dependency
groupIdxdoclet/groupId
artifactIdxdoclet/artifactId
version1.2/version
urlhttp://xdoclet.sourceforge.net//url
/dependency
dependency
groupIdxdoclet/groupId
artifactIdxdoclet-ejb-module/artifactId
version1.2/version
urlhttp://xdoclet.sourceforge.net//url
/dependency
dependency
groupIdxdoclet/groupId
artifactIdxdoclet-jboss-module/artifactId
version1.2/version
urlhttp://xdoclet.sourceforge.net//url
/dependency
dependency
groupIdxdoclet/groupId
artifactIdxdoclet-jmx-module/artifactId
version1.2/version
urlhttp://xdoclet.sourceforge.net//url
/dependency

However, when I run

maven xdoclet:ejbdoclet I obtain the following exception:

BUILD FAILED
File.. file:/C:/Documents and
Settings/mtedone/.maven/plugins/maven-xdoclet-plugin-1.2/
Element... taskdef
Line.. 5746
Column 81
taskdef class xdoclet.modules.ejb.EjbDocletTask cannot be found
Total time: 4 seconds
Finished at: Sun Mar 14 19:26:09 GMT 2004

Obviously the EjbDocletTask class is not in the classpath, although I
declared it as a dependency. How could I solve this problem?

Many thanks,

Marco



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Problem while downloading dependency?

2004-03-13 Thread Marco Tedone
Hi, I specified XDoclet 1.2 as dependency in my project with the following
element:

dependency
 groupIdxdoclet/groupId
 artifactIdxdoclet/artifactId
 version1.2/version
 urlhttp://xdoclet.sourceforge.net//url
   /dependency

When executing Maven, I obtain the following message from the console:

Attempting to download xdoclet-1.2.jar.
.
.
Error retrieving artifact from [d:\Program Files\Apache Software
Foundation\Maven 1.0-rc1/plugins/xdoclet/jars/xdoc
let-1.2.jar]: java.net.MalformedURLException: unknown protocol: d

The application continues without particular problems. Shall I worry about
it?

Thanks for any reply,

Marco




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Including jars in our projects (Web and not)

2004-03-02 Thread Marco Tedone
Hi, I'm using the war plugin for the first time. Let's say that my web
application depends on a jar and that this jar should be available only to
my web application (and it's application specific). Is there a way to
include it automatically under WEB-INF/lib?

Also related to this issue, there is another issue: in a general
application, if I need to include a jar in the project artifact jar, is
there an automatic way to do it, without using the ant:copy target?

Marco




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Developer TZ offset and timezone

2004-02-29 Thread Marco Tedone
Exactly, for me is the same. I Live in London too,

Marco


- Original Message - 
From: Sean Radford [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]
Sent: Saturday, February 28, 2004 1:29 PM
Subject: Developer TZ offset and timezone


 All,

 Anyone know what the pom.developers.developer.timezone value actually
 relates to?

 In the documentation it says that it should be a value from -14 to +14.
 This sounds all well and good, but on my project site the times for each
 developer bear no correct relation to their true times.

 For instance I am in London, UK - therefore at TZ 0 (I am on GMT), but
 the time on the site for me is 20 hours in the past!

 Anyone have any ideas how this is meant to work or mean? Is it just the
 javascript function to calculate it is just plain wrong?


 Regards,

 Sean


 On Fri, 2004-02-20 at 13:08, Rich wrote:
  Does Maven support the sar multiproject type? I don't see a sar
plug-in,
  so my guess is that it doesn't. Is this something specific to Jboss?
 -- 
 Dr. Sean Radford, MBBS, MSc
 [EMAIL PROTECTED]
 http://bladesys.demon.co.uk/


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Unit testing question

2004-02-17 Thread Marco Tedone
Please find in the attached picture the architecture of my unit testings.
Basically, I created two unit test classes which extend and AbstractTest
class which, in turn, extends the JUnit TestCase class.

Both classes retrieve a logger from a class implemented as Singleton
(therefore only one instance should be created). I put a log message in the
the constructor to see how many times the constructor gets invoked (and
actually it is invoked twice while it should be invoked only once as this is
a singleton).

Attached you will find the unit test classes, logger factory and a PDF with
the dump of the unit test activity, showing the message logged from the
Singleton constructor. For simplicity, the diagram doesn't show the package
hierarchy, which is available on request.

If you really want to run the application, you may want to download it and
the logging framework, following the instructions at the following site:

http://www.jemos.org

Best Regards,

Marco

- Original Message - 
From: Charles Daniels 
To: Maven-users [EMAIL PROTECTED]
Sent: Tuesday, February 17, 2004 7:21 AM
Subject: Re: Unit testing question


 This sounds more like a problem with the way you have implemented your
unit tests, not a problem
 with Maven.  Can you provide more details on how you have written your
test classes?

 --- Marco Tedone [EMAIL PROTECTED] wrote:
  Hi, I build my projects using maven. Maven executes automatically junit
tests. I've got more
  than one test. Both of those tests use the services offered by a class,
which I've implemented
  as a Singleton. The class is created after each test class has
completed, thus my singleton is
  like as it doesn't exist.
 
  Is there a solution to this problem?
 
  Marco


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Unit testing question

2004-02-17 Thread Marco Tedone
I obviously already went for the first, but I was wondering what will it
happen when my application will grow significantly. On the other hand, I
tried the second one, with fork=true, and:

1) First of all I must admit that I don't know what the impact of this
change will be on the effective application (therefore I won't be able to
solve further bugs)
2) The unit tests fail because the AbstractTest from which they inherit can
find a property file (and because of point 1 I don't know the reason)

Marco
- Original Message - 
From: Sebastien Sahuc [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]
Sent: Tuesday, February 17, 2004 9:34 PM
Subject: Re: Unit testing question


 I'm not surprised to hear your singleton class is being instanciated
 more than once. This is due to the fact the maven create a separate
 classloader for each TestCase it finds and executes. There is two way
 to quickly solve your problem. First would be to aggregate all test
 cases that use the singleton service into a single test suite and have
 maven run only the test suite and rule out all independent test cases.
 The second solution is simply to fork the junit JVM with the property
 maven.junit.fork=true.

 Sebastien

 On Feb 17, 2004, at 1:16 PM, Marco Tedone wrote:

  Please find in the attached picture the architecture of my unit
  testings.
  Basically, I created two unit test classes which extend and
  AbstractTest
  class which, in turn, extends the JUnit TestCase class.
 
  Both classes retrieve a logger from a class implemented as Singleton
  (therefore only one instance should be created). I put a log message
  in the
  the constructor to see how many times the constructor gets invoked (and
  actually it is invoked twice while it should be invoked only once as
  this is
  a singleton).
 
  Attached you will find the unit test classes, logger factory and a PDF
  with
  the dump of the unit test activity, showing the message logged from the
  Singleton constructor. For simplicity, the diagram doesn't show the
  package
  hierarchy, which is available on request.
 
  If you really want to run the application, you may want to download it
  and
  the logging framework, following the instructions at the following
  site:
 
  http://www.jemos.org
 
  Best Regards,
 
  Marco
 
  - Original Message -
  From: Charles Daniels 
  To: Maven-users [EMAIL PROTECTED]
  Sent: Tuesday, February 17, 2004 7:21 AM
  Subject: Re: Unit testing question
 
 
  This sounds more like a problem with the way you have implemented your
  unit tests, not a problem
  with Maven.  Can you provide more details on how you have written your
  test classes?
 
  --- Marco Tedone [EMAIL PROTECTED] wrote:
  Hi, I build my projects using maven. Maven executes automatically
  junit
  tests. I've got more
  than one test. Both of those tests use the services offered by a
  class,
  which I've implemented
  as a Singleton. The class is created after each test class has
  completed, thus my singleton is
  like as it doesn't exist.
 
  Is there a solution to this problem?
 
  Marco
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Unit testing question - typo

2004-02-17 Thread Marco Tedone

[snip]
 2) The unit tests fail because the AbstractTest from which they inherit
can
 find a property file (and because of point 1 I don't know the reason)

[/snip]

Please read:

2) The unit tests failed because the AbstractTest from which they inherit
can't find a property file (and because of point 1 I don't know the reason)


Sorry for the typo.

Marco




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Unit testing question

2004-02-16 Thread Marco Tedone
Hi, I build my projects using maven. Maven executes automatically junit tests. I've 
got more than one test. Both of those tests use the services offered by a class, which 
I've implemented as a Singleton. The class is created after each test class has 
completed, thus my singleton is like as it doesn't exist.

Is there a solution to this problem?

Marco

Re: How to upload to SourceForge

2004-02-09 Thread Marco Tedone
I'm having difficulties using the plugin. Is there any other way?
- Original Message - 
From: Emmanuel Venisse [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]; Marco Tedone
[EMAIL PROTECTED]
Sent: Monday, February 09, 2004 9:19 AM
Subject: Re: How to upload to SourceForge


 You can use sourceforge plugin host by maven-plugins project on
sourceforge
 :

 http://maven-plugins.sourceforge.net

 Emmanuel

 - Original Message - 
 From: Marco Tedone [EMAIL PROTECTED]
 To: Maven-users [EMAIL PROTECTED]
 Sent: Sunday, February 08, 2004 3:22 PM
 Subject: How to upload to SourceForge


  Hi, how could I deploy something to SourceForge?
 
  Marco
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How to upload to SourceForge

2004-02-08 Thread Marco Tedone
Hi, how could I deploy something to SourceForge?

Marco



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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

2004-01-29 Thread Marco Tedone
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How to upload to Sourceforge from Maven

2004-01-28 Thread Marco Tedone
Hi, my project gets built succesfully. How do I upload the source distribution to 
sourceforge. 

With Ant, I used the ftp task (which required NetComponents.jar). How do I 
accomplish the same feature with Maven? I had a look at the SourceForge plugin but it 
doesn't seem to work very well, and it's not neither core nor standard. 

Thanks for any tips,

Marco

Re: [FOURTH TIME] Cannot run the site goal

2004-01-27 Thread Marco Tedone
Already done.
- Original Message - 
From: Brett Porter [EMAIL PROTECTED]
To: 'Marco Tedone' [EMAIL PROTECTED]; Maven Users List
[EMAIL PROTECTED]
Sent: Monday, January 26, 2004 10:00 PM
Subject: RE: [FOURTH TIME] Cannot run the site goal


You are using a clean released version of Maven 1.0 RC1?

IF so, can you run with -X and post to JIRA with a small sample application
that replicates it.

Thanks,
- Brett

 -Original Message-
 From: Marco Tedone [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, 27 January 2004 8:59 AM
 To: Maven Users List
 Cc: Brett Porter
 Subject: Re: [FOURTH TIME] Cannot run the site goal


 Yes, I confirm I've got the the following goal in plugin.jelly:

 goal name=maven-license-plugin:register
 doc:registerReport
   name=Project License
   pluginName=maven-license-plugin
   link=license
   description=Displays the primary license for the project./
   /goal

 Marco
 - Original Message - 
 From: Brett Porter [EMAIL PROTECTED]
 To: 'Maven Users List' [EMAIL PROTECTED]
 Sent: Monday, January 26, 2004 9:37 PM
 Subject: RE: [FOURTH TIME] Cannot run the site goal


 Are you SURE you have the license plugin?

 Check the contents of C:/Documents and
 Settings/mtedone/.maven/plugins for maven-license-plugin-X.X,
 then open plugin.jelly and see whether that goal is in there.

 You should also confirm that you really are using that plugin
 directory - if it gets deleted, and the contents reappear
 after running maven, you should be fine.

 - Brett

  -Original Message-
  From: Marco Tedone [mailto:[EMAIL PROTECTED]
  Sent: Monday, 26 January 2004 11:18 AM
  To: Maven Users List
  Subject: Re: [FOURTH TIME] Cannot run the site goal
 
 
  Yes, I just tried to delete the plugin folder and I get the same
  error.
 
  Marco
  - Original Message -
  From: Arnaud Heritier [EMAIL PROTECTED]
  To: 'Maven Users List' [EMAIL PROTECTED]; 'Marco
  Tedone' [EMAIL PROTECTED]
  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:[EMAIL PROTECTED]
   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_templatemaven 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
  
   reportmaven-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: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [FOURTH TIME] Cannot run the site goal

2004-01-27 Thread Marco Tedone
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 [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]
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 [EMAIL PROTECTED]
 To: 'Maven Users List' [EMAIL PROTECTED]; 'Marco Tedone'
 [EMAIL PROTECTED]
 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:[EMAIL PROTECTED]
  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_templatemaven 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
 
  reportmaven-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: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [FOURTH TIME] Cannot run the site goal

2004-01-26 Thread Marco Tedone
Yes, I confirm I've got the the following goal in plugin.jelly:

goal name=maven-license-plugin:register
doc:registerReport
  name=Project License
  pluginName=maven-license-plugin
  link=license
  description=Displays the primary license for the project./
  /goal

Marco
- Original Message - 
From: Brett Porter [EMAIL PROTECTED]
To: 'Maven Users List' [EMAIL PROTECTED]
Sent: Monday, January 26, 2004 9:37 PM
Subject: RE: [FOURTH TIME] Cannot run the site goal


Are you SURE you have the license plugin?

Check the contents of C:/Documents and Settings/mtedone/.maven/plugins
for maven-license-plugin-X.X, then open plugin.jelly and see whether that
goal is in there.

You should also confirm that you really are using that plugin directory - if
it gets deleted, and the contents reappear after running maven, you should
be fine.

- Brett

 -Original Message-
 From: Marco Tedone [mailto:[EMAIL PROTECTED]
 Sent: Monday, 26 January 2004 11:18 AM
 To: Maven Users List
 Subject: Re: [FOURTH TIME] Cannot run the site goal


 Yes, I just tried to delete the plugin folder and I get the
 same error.

 Marco
 - Original Message - 
 From: Arnaud Heritier [EMAIL PROTECTED]
 To: 'Maven Users List' [EMAIL PROTECTED]; 'Marco
 Tedone' [EMAIL PROTECTED]
 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:[EMAIL PROTECTED]
  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_templatemaven 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
 
  reportmaven-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: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Failing while building Maven from CVS

2004-01-26 Thread Marco Tedone
Hi, I just downloaded the latest CVS version from Maven. I put the CVS rep
under D:\Projects so that %MAVEN_HOME% is D:\Projects\maven.

Following the instructions on the website (FAQ section), I started the build
process and I obtain the following (after the build process downloads the
repository):

snip

 [echo]
 [echo]
+--+
 [echo] |
|
 [echo] | C O M P I L I N G  M A V E N  S O U R C E S  U S I N G  A N T
|
 [echo] |
|
 [echo]
+--+
[mkdir] Created dir: D:\Projects\maven\bootstrap\phase1-classes
[javac] Compiling 93 source files to
D:\Projects\maven\bootstrap\phase1-classes
[javac] Note:
D:\Projects\maven\src\java\org\apache\maven\jelly\tags\maven\ReactorTag.java
or overrides a deprecated API.
[javac] Note: Recompile with -deprecation for details.
 [copy] Copying 4 files to D:\Projects\maven\bootstrap\phase1-classes
 [copy] Copying 10 files to
D:\Projects\maven\bootstrap\phase1-classes\org\apache\maven\me

 [echo]
 [echo]
+--+
 [echo] |
|
 [echo] | C R E A T I N G  M A V E N  J A R  W I T H  A N T
|
 [echo] |
|
 [echo]
+--+
  [jar] Building jar: D:\Projects\maven\bootstrap\maven.jar
 [echo]
 [echo]
+--+
 [echo] |
|
 [echo] | C R E A T I N G  P H A S E  1  I N S T A L L
|
 [echo] |
|
 [echo]
+--+
[mkdir] Created dir: D:\Projects\maven\bootstrap\install-phase1
[mkdir] Created dir: D:\Projects\maven\bootstrap\install-phase1\bin
[mkdir] Created dir: D:\Projects\maven\bootstrap\install-phase1\lib
[mkdir] Created dir: D:\Projects\maven\bootstrap\install-phase1\plugins
 [copy] Copying 5 files to
D:\Projects\maven\bootstrap\install-phase1\bin
 [copy] Copying 26 files to
D:\Projects\maven\bootstrap\install-phase1\lib
[mkdir] Created dir:
D:\Projects\maven\bootstrap\install-phase1\lib\endorsed
 [move] Moving 2 files to
D:\Projects\maven\bootstrap\install-phase1\lib\endorsed
 [copy] Copying 1 file to D:\Projects\maven\bootstrap\install-phase1\lib
 [copy] Copying 1 file to C:\Documents and
Settings\mtedone\.maven\repository\maven\jars
 [copy] Copying 1 file to C:\Documents and
Settings\mtedone\.maven\repository\maven\jars

BUILD FAILED
file:D:/Projects/maven/build-bootstrap.xml:210: D:\Projects\maven-plugins
not found.

Total time: 4 minutes 8 seconds
D:\Projects\maven

snip


I had a look at the project.properties file and there is one property:

maven.plugins.directory = ${basedir}/../maven-plugins

that points to that location that corresponds to D:\Projects\maven-plugins
(see error message above).

Where shall this property point to?

Thanks, Marco




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[FOURTH TIME] Cannot run the site goal

2004-01-25 Thread Marco Tedone
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_templatemaven 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

reportmaven-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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [FOURTH TIME] Cannot run the site goal

2004-01-25 Thread Marco Tedone
Yes, I just tried to delete the plugin folder and I get the same error.

Marco
- Original Message - 
From: Arnaud Heritier [EMAIL PROTECTED]
To: 'Maven Users List' [EMAIL PROTECTED]; 'Marco Tedone'
[EMAIL PROTECTED]
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:[EMAIL PROTECTED]
 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_templatemaven 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

 reportmaven-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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Making plugins a dependency

2004-01-23 Thread Marco Tedone
Could you please be a bit more detailed with an example?

Cheers,

Marco
- Original Message - 
From: [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]
Sent: Friday, January 23, 2004 7:33 AM
Subject: Re: Making plugins a dependency


 Use repository:copy-artifact
 --
 dIon Gillard, Multitask Consulting
 Blog:  http://blogs.codehaus.org/people/dion/



 Mark R. Diggory [EMAIL PROTECTED] wrote on 23/01/2004
 08:58:47 AM:

  But, more specifically, for project external to maven, isn't this just
  the same process as getting your artifacts published?
 
  http://maven.apache.org/repository-upload.html
 
  goals corresponding to this
  dist:deploy
  jar:deploy
 
  ...
 
  but plugin:deploy ... doesn't exacty do the same thing, now does it?
 
  -Mark
 
  Mark R. Diggory wrote:
 
   http://maven.apache.org/reference/developers/releasing-plugins.html
  
   Alex Vollmer wrote:
  
   The 'plugin:install' goal installs the JAR in the local repository, I
   want a goal that installs the JAR in the remote repository.
  
   --Alex V.
  
   On Thu, 2004-01-22 at 12:58, Incze Lajos wrote:
  
  
   On Thu, Jan 22, 2004 at 11:48:46AM -0800, Alex Vollmer wrote:
  
   What Maven goal will allow me to deploy my plugin to our repository
 the
   same way I would deploy any other kind of artifact? Basically the
   normal
   'jar:deploy' puts the JAR file in the 'jars' sub-directory and I
   want it
   to go into the 'plugins' sub-directory.
  
   Thanks in advance.
  
   --Alex V.
  
  
   plugin:install
  
   incze
  
  
 -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
   Alex Vollmer
  
   [EMAIL PROTECTED]
  
   Software Engineer
   Tenzing Communications, Inc.
   705 Fifth Avenue South, Suite 700
   Seattle, WA 98104 USA
  
   T:  +1 206.607.2869
  
   Bring your laptop and try inflight email on your next United,
   Continental or Cathay Pacific flight. All you need is your laptop,
 user
   ID, password, and email server URL. Tenzing Communications, Inc.
   provides inflight email systems that help airborne travelers stay in
   touch.
  
  
 
  -- 
  Mark Diggory
  Software Developer
  Harvard MIT Data Center
  http://www.hmdc.harvard.edu
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Réf. : RE: Making plugins a dependency

2004-01-22 Thread Marco Tedone
I've wrote the following plugin (that has been installed under
${maven.plugin.unpacked.dir}:

maven-jemodist-plugin

I tried to specify the following in my project.xml:

dependencies
dependency
groupIdmaven-jemodist-plugin/groupId
artifactIdmaven-jemodist-plugin/artifactId
version1.0/version
url${maven.plugin.unpacked.dir}/url
typeplugin/type
/dependency
/dependencies

But it doesn't work. What shall I specify in the project.xml file in order
to include my plugin in the project?

Thanks,

Marco
- Original Message - 
From: [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 11:08 AM
Subject: Réf. : RE: Making plugins a dependency


Xdoclet dependancies are not plugin dependancies but jar dependancies.
To make maven-xdoclet-plugin works you only need to declare this jar
dependance and not a plugin one.

Declare them with :
dependency
  groupIdxdoclet/groupId
  artifactIdxjavadoc/artifactId
  version1.0.2/version
/dependency

Nicolas





Jörg Schaible [EMAIL PROTECTED]
22/01/2004 10:55
Veuillez répondre à Maven Users List


Pour :  Maven Users List [EMAIL PROTECTED]
cc :
Objet : RE: Making plugins a dependency


Eric Pugh wrote on Thursday, January 22, 2004 10:37 AM:

 Does this work with RC1 of Maven?  Or is this something added
 after RC1, and I should wait for RC2 before using heavily?

 Eric

I try it currently with RC2, but it does not work either:

 === snip===
 !-- XDoclet dependencies --
 dependency
 groupIdxdoclet/groupId
 artifactIdxjavadoc/artifactId
 version1.0.2/version
 urlhttp://xdoclet.sourceforge.net/url
 typeplugin/type
 /dependency
 dependency
 groupIdxdoclet/groupId
 artifactIdxdoclet/artifactId
 version1.2/version
 urlhttp://xdoclet.sourceforge.net/url
 typeplugin/type
 /dependency
 [...]
 === snap===

get:

 === snip===
 $ maven multiproject:site
  __  __
 |  \/  |__ _Apache__ ___
 | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
 |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc2-SNAPSHOT

 You are working offline so the build will continue, but
maven-junit-report-plugin-1.4-SNAPSHOT.jar may be out of date!
 Attempting to download xjavadoc-1.0.2.jar.
 WARNING: Failed to download xjavadoc-1.0.2.jar.
 Attempting to download xdoclet-1.2.jar.
 WARNING: Failed to download xdoclet-1.2.jar.
 Attempting to download xdoclet-xdoclet-module-1.2.jar.
 WARNING: Failed to download xdoclet-xdoclet-module-1.2.jar.
 Attempting to download xdoclet-ejb-module-1.2.jar.
 WARNING: Failed to download xdoclet-ejb-module-1.2.jar.
 [...]
 === snap===

Regards,
Jörg

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Question about dependency

2004-01-19 Thread Marco Tedone
How do I put it in the local-repo?

Marco
- Original Message - 
From: [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]
Sent: Monday, January 19, 2004 12:25 AM
Subject: Re: Question about dependency


 If it's a dependency, it must be in the local repo.
 --
 dIon Gillard, Multitask Consulting
 Blog:  http://blogs.codehaus.org/people/dion/



 Marco Tedone [EMAIL PROTECTED] wrote on 19/01/2004 02:47:22 AM:

  The file now is under ${maven.plugin.dir} (which points to
  %MAVEN_HOME%/plugins.
  - Original Message - 
  From: [EMAIL PROTECTED]
  To: Maven Users List [EMAIL PROTECTED]
  Sent: Sunday, January 18, 2004 3:31 PM
  Subject: Re: Question about dependency
 
 
   Is the file in your local or remote repo at m
   aven-jemodist-plugins/plugins/maven-jemodist-plugins-1.0.jar ?
   --
   dIon Gillard, Multitask Consulting
   Blog:  http://blogs.codehaus.org/people/dion/
  
  
  
   Marco Tedone [EMAIL PROTECTED] wrote on 18/01/2004 08:55:03 PM:
  
Hi, I developed my own plugin that is installed under Maven.
   
One of my project uses this plugin to build itself. I've got a
 couple of
questions:
   
1) Shall I indicate in the project file that the project depends on
 this
plugin?
   
2) How shall I do it? I tried to specify the following in the
   project.xml
file:
   
   
dependency
groupIdmaven-jemodist-plugin/groupId
artifactIdmaven-jemodist-plugin/artifactId
version1.0/version
   
 urlhttp://www.jemos.org/projects/plugins/maven-jemodist-plugins//url
properties
classloaderroot.maven/classloader
/properties
/dependency
   
but without success. I obtain the following:
   
D:\Projects\jemos-loggingmaven jemos:site
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
   
Attempting to download maven-jemodist-plugin-1.0.jar.
WARNING: Failed to download maven-jemodist-plugin-1.0.jar.
The build cannot continue because of the following unsatisfied
   dependency:
   
maven-jemodist-plugin-1.0.jar (try downloading from
http://www.jemos.org/projects/plugins/maven-jemodist-plugins/)
   
Total time: 1 seconds
Finished at: Sun Jan 18 09:50:22 GMT 2004
   
I had a look at the documentation but I cannot find anything.
   
Marco
   
   
   
   
   
 -
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
 
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Question about dependency

2004-01-19 Thread Marco Tedone
If my local repo is ~/.maven/repository I've got already the files there.

Marco
- Original Message - 
From: [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]
Sent: Tuesday, January 20, 2004 12:42 AM
Subject: Re: Question about dependency


 Copy the file there.
 --
 dIon Gillard, Multitask Consulting
 Blog:  http://blogs.codehaus.org/people/dion/



 Marco Tedone [EMAIL PROTECTED] wrote on 19/01/2004 06:07:06 PM:

  How do I put it in the local-repo?
 
  Marco
  - Original Message - 
  From: [EMAIL PROTECTED]
  To: Maven Users List [EMAIL PROTECTED]
  Sent: Monday, January 19, 2004 12:25 AM
  Subject: Re: Question about dependency
 
 
   If it's a dependency, it must be in the local repo.
   --
   dIon Gillard, Multitask Consulting
   Blog:  http://blogs.codehaus.org/people/dion/
  
  
  
   Marco Tedone [EMAIL PROTECTED] wrote on 19/01/2004 02:47:22 AM:
  
The file now is under ${maven.plugin.dir} (which points to
%MAVEN_HOME%/plugins.
- Original Message - 
From: [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]
Sent: Sunday, January 18, 2004 3:31 PM
Subject: Re: Question about dependency
   
   
 Is the file in your local or remote repo at m
 aven-jemodist-plugins/plugins/maven-jemodist-plugins-1.0.jar ?
 --
 dIon Gillard, Multitask Consulting
 Blog:  http://blogs.codehaus.org/people/dion/



 Marco Tedone [EMAIL PROTECTED] wrote on 18/01/2004 08:55:03
 PM:

  Hi, I developed my own plugin that is installed under Maven.
 
  One of my project uses this plugin to build itself. I've got a
   couple of
  questions:
 
  1) Shall I indicate in the project file that the project depends
 on
   this
  plugin?
 
  2) How shall I do it? I tried to specify the following in the
 project.xml
  file:
 
 
  dependency
  groupIdmaven-jemodist-plugin/groupId
  artifactIdmaven-jemodist-plugin/artifactId
  version1.0/version
 
  
 urlhttp://www.jemos.org/projects/plugins/maven-jemodist-plugins//url
  properties
  classloaderroot.maven/classloader
  /properties
  /dependency
 
  but without success. I obtain the following:
 
  D:\Projects\jemos-loggingmaven jemos:site
   __  __
  |  \/  |__ _Apache__ ___
  | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
  |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
 
  Attempting to download maven-jemodist-plugin-1.0.jar.
  WARNING: Failed to download maven-jemodist-plugin-1.0.jar.
  The build cannot continue because of the following unsatisfied
 dependency:
 
  maven-jemodist-plugin-1.0.jar (try downloading from
  http://www.jemos.org/projects/plugins/maven-jemodist-plugins/)
 
  Total time: 1 seconds
  Finished at: Sun Jan 18 09:50:22 GMT 2004
 
  I had a look at the documentation but I cannot find anything.
 
  Marco
 
 
 
 
 
   -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

   
   
   
   
   
 -
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
 
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Question about dependency

2004-01-18 Thread Marco Tedone
Hi, I developed my own plugin that is installed under Maven.

One of my project uses this plugin to build itself. I've got a couple of
questions:

1) Shall I indicate in the project file that the project depends on this
plugin?

2) How shall I do it? I tried to specify the following in the project.xml
file:


dependency
groupIdmaven-jemodist-plugin/groupId
artifactIdmaven-jemodist-plugin/artifactId
version1.0/version
urlhttp://www.jemos.org/projects/plugins/maven-jemodist-plugins//url
properties
classloaderroot.maven/classloader
/properties
/dependency

but without success. I obtain the following:

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

Attempting to download maven-jemodist-plugin-1.0.jar.
WARNING: Failed to download maven-jemodist-plugin-1.0.jar.
The build cannot continue because of the following unsatisfied dependency:

maven-jemodist-plugin-1.0.jar (try downloading from
http://www.jemos.org/projects/plugins/maven-jemodist-plugins/)

Total time: 1 seconds
Finished at: Sun Jan 18 09:50:22 GMT 2004

I had a look at the documentation but I cannot find anything.

Marco




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Question about dependency

2004-01-18 Thread Marco Tedone
The file now is under ${maven.plugin.dir} (which points to
%MAVEN_HOME%/plugins.
- Original Message - 
From: [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]
Sent: Sunday, January 18, 2004 3:31 PM
Subject: Re: Question about dependency


 Is the file in your local or remote repo at m
 aven-jemodist-plugins/plugins/maven-jemodist-plugins-1.0.jar ?
 --
 dIon Gillard, Multitask Consulting
 Blog:  http://blogs.codehaus.org/people/dion/



 Marco Tedone [EMAIL PROTECTED] wrote on 18/01/2004 08:55:03 PM:

  Hi, I developed my own plugin that is installed under Maven.
 
  One of my project uses this plugin to build itself. I've got a couple of
  questions:
 
  1) Shall I indicate in the project file that the project depends on this
  plugin?
 
  2) How shall I do it? I tried to specify the following in the
 project.xml
  file:
 
 
  dependency
  groupIdmaven-jemodist-plugin/groupId
  artifactIdmaven-jemodist-plugin/artifactId
  version1.0/version
  urlhttp://www.jemos.org/projects/plugins/maven-jemodist-plugins//url
  properties
  classloaderroot.maven/classloader
  /properties
  /dependency
 
  but without success. I obtain the following:
 
  D:\Projects\jemos-loggingmaven jemos:site
   __  __
  |  \/  |__ _Apache__ ___
  | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
  |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
 
  Attempting to download maven-jemodist-plugin-1.0.jar.
  WARNING: Failed to download maven-jemodist-plugin-1.0.jar.
  The build cannot continue because of the following unsatisfied
 dependency:
 
  maven-jemodist-plugin-1.0.jar (try downloading from
  http://www.jemos.org/projects/plugins/maven-jemodist-plugins/)
 
  Total time: 1 seconds
  Finished at: Sun Jan 18 09:50:22 GMT 2004
 
  I had a look at the documentation but I cannot find anything.
 
  Marco
 
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How can I intercept artifact downloading

2004-01-18 Thread Marco Tedone
If you have a project that depends on some dependencies, then I think you
should indicate those dependencies in one of the project files.

Marco

- Original Message - 
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, January 18, 2004 3:21 PM
Subject: How can I intercept artifact downloading


 Hi,

 I have a special kind of project (Eclipse PDE project) which require some
 dependencies I can't put in my maven repository so I want to use a special
 plugin to retrieve these dependencies. Is it possible to intercept the
Maven
 bootstrap which download the dependencies ?

 In fact I want to resolve these kind of dependecies before Maven :

 Tentative de tÚlÚchargement de org.eclipse.core.resources-.jar.
 ATTENTION: Impossible de tÚlÚcharger org.eclipse.core.resources-.jar.
 Tentative de tÚlÚchargement de org.eclipse.ui-.jar.
 ATTENTION: Impossible de tÚlÚcharger org.eclipse.ui-.jar.
 Tentative de tÚlÚchargement de org.eclipse.jdt.core-.jar.
 ATTENTION: Impossible de tÚlÚcharger org.eclipse.jdt.core-.jar.
 Le processus ne peut continuer Ó cause des dÚpendances manquantes
suivantes:


 Thx,
 -emmanuel

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Problems with xdoc

2004-01-18 Thread Marco Tedone
Hi, I tried quite everything but still I get the same error:

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: 7 seconds
Finished at: Sun Jan 18 20:07:59 GMT 2004

I defined several reports for my projects and the one that fails is the
following:

reportmaven-license-plugin/report

If I comment this report all the others are generated without problems. When
I uncomment (or leave the reports element empty) the above error occurs.

I define a project.properties file with the following property:

maven.license.licenseFile = LICENSE.txt

A copy of the LICENSE.txt file is available if needed.

Marco




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



HELP! Getting an error from the maven-license-plugin:register goal

2004-01-12 Thread Marco Tedone
I receive the following error:

BUILD FAILED
File.. file:/C:/Documents and
Settings/mtedone/.maven/plugins/maven-xdoc-plugin-1.4/
Element... attainGoal
Line.. 575
Column 48
No goal [maven-license-plugin:register]

I've got this report within the reports:

reportmaven-license-plugin/report

If I remove this report, the build process goes fine. If I run the build
process without reports elements, I get the same error as above.

I tried to figure why but I couldn't.

Regards,

Marco




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Dist plugin doesn't include .properties file in the project root [WAS Re: Deploy plugin doesn't include .properties file in the project root]

2004-01-08 Thread Marco Tedone
Sorry, it is the dist plugin, not the deploy one.

- Original Message - 
From: Marco Tedone [EMAIL PROTECTED]
To: Maven-users [EMAIL PROTECTED]
Sent: Thursday, January 08, 2004 8:37 PM
Subject: Deploy plugin doesn't include .properties file in the project root


 Hi, I'm using the deploy plugin for my project. The src distribution is
 created but it doesn't contain a .properties file I've got under
${basedir}.

 My goal looks like the following:

 goal name=jemos:deploy prereqs=jemos:clean
 attainGoal name=dist:build-src/
 /goal

 How could I tell the deploy plugin to include also the .properties file?

 Thanks in advance,

 Marco




 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[NEWBIE] Javadocs

2004-01-05 Thread Marco Tedone
I am new to Maven. My problem is that I have several packages under a
project I'm using for experiments and I want to create the maven site for
only one of those packages. Even if in the project.xml I specified only the
package I am interested in with the package element, the javadoc generated
by Maven includes all the packages.

How do I specify to Maven that the documentation I'm interested in regards
only one specific package?

Thanks,

Marco





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]