RE: [MavenBook] Using a public/private key scheme for site deployment

2005-08-16 Thread Aleksandr Shneyderman

Agreed, SSH stuff is probably the creepiest stuff to set up. Once figured
out works pretty well though. The problem I think is that instructions are
pretty much dependent on the exact combination of server/client ssh stuff
you run. Here is what worked for me with pointers where your actions might
diverge:

1. Create a pair of keys public/private on your server that you are trying
to connect to. Tell your key generating program to set a passphrase (say
yours is secret). A pitfall I got caught up in this step, is that I was
trying to generate the keys on one server while trying to connect to
another. Well not all keys are created equals as it turned out, so try to be
consistent.   

2. Grab your private key and move it to the development/automation box from
where you are going to do the deployments. You can place it in
${source.box.user.home}/.ssh. Say we generate RSA key and the file the
generating script generates is named id_rsa. So you will have
${source.box.user.home}/.ssh/id_rsa

3. Place your public key in the directory where your SSH server will
actually find it. You might need to dig the SSH's docs to see where it is.
In my case I assumed it was in ${target.box.user.home}/.ssh directory while
the server, our admin runs, actually looks for the file in
${target.box.user.home}/.ssh2. So make sure you are placing your public key
to where it matters.

4. Now configure your project to use SCP, using your private key and a
passphrase to connect to the target server. Place the following lines in
project.properties:

maven.repo.R1=scp://my.target.server.com
maven.repo.R1.directory=/my/deployment/dir/on/target/server
maven.repo.R1.group=group to set on files copied to the target server
maven.repo.R1.compress=false
maven.repo.R1.privatekey=${source.box.user.home}/.ssh/id_rsa

In your ${source.box.user.home}/build.properties files specify the following
maven.repo.R1.username=username
maven.repo.R1.passphrase=secret

One more pitfall to avoid is to make sure that the user with username
connecting to the remote server has the rights to create/copy/move/chgrp on
the remote server.

Now you are ready to run your deploy commands. I am not sure if there is any
difference between site:deploy or jar:deploy accept for the fact 


-Original Message-
From: Sébastien Arbogast [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 16, 2005 9:53 AM
To: users@maven.apache.org
Subject: [MavenBook] Using a public/private key scheme for site deployment

Hi,

First of all I'd like to thank and congratulate Vincent Massol and Tim
O'Brien for this excellent book I'm reading right now (Maven, A Developer's
Notebook). It's really excellent and enables me to use Maven at full
capacity.

But I have a problem with one of the tips concerning site deployment
(Chapter 4, page 124) which recommends to use a public/private key scheme
for SSH when deploying the site. The problem is that I've just installed
Cygwin and it's OpenSSH port on my windows box, but I don't know how to
configure it to use that scheme. It works great using password for artifact
deployment, but for site deployment, it hangs because of authentication
failure.

I'm aware of the fact that this question may be a little off topic, but as
it deals with a book about Maven, someone who has already solved that issue
could give me a link to a tutorial or give me a few guidelines here. Why not
a tip that could be added to MavenBook website...?

Thanks in advance.

--
Sébastien Arbogast
The Epseelon Project : http://www.epseelon.org
 


-
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: jcoverage.ser file: purpose clean impact?

2005-06-02 Thread Aleksandr Shneyderman
I do not know what the purpose of jcoverage.ser file but you can tell
maven to instruct jcoverage to place it in your target by using
maven.jcoverage.merge.outputDir property, so when you do clean it will
remove the jcoverage.ser file too.

Alex.

 -Original Message-
 From: Jeff Jensen [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, June 02, 2005 1:59 PM
 To: Maven Users List
 Subject: jcoverage.ser file: purpose  clean impact?
 
 
 What is the jcoverage.ser file for, and why does clean not 
 delete it?
 
 It was the entire cause of the JCoverage problems I've been 
 looking at for 2 weeks...
 
 -
 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 update local repo?

2005-04-19 Thread Aleksandr Shneyderman
I usually run maven console and quit.

 -Original Message-
 From: Alexander Rupsch [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, April 19, 2005 3:30 PM
 To: Maven Users List
 Subject: how update local repo?
 
 
 Hi,
 
 is there a goal I can use to let maven update an artifact in 
 the local repository?
 
 The background is the following: If one developer puts a new 
 version of a artifact into the company repo and into its 
 local repo and then updates the eclipse .classpath and checks 
 in, other developers need to update there local repos for 
 building within eclipse.
 
 regards.
 
 -- 
 Alexander Rupsch
 http://www.dreinhalb.de
 
 -
 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: Disable certain goal dependencies?

2005-02-22 Thread Aleksandr Shneyderman
Set 

maven.test.skip=true

somewhere or if it is temprary provide it as -D option

 -Original Message-
 From: Guy Davis [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, February 22, 2005 4:58 PM
 To: Maven Users List
 Subject: Disable certain goal dependencies?
 
 
 Hi there,
 
 We recently started using the Jar goal to create our jar.  
 However, the 
 Test goal seems to be dependency for this goal.  Is it possible to 
 disable the need to run the unit tests before the jar goal is 
 run?  If 
 so, how?
 
 Thanks,
 Guy
 
 
 -
 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]



Jar:deploy and directory group ownership

2005-02-15 Thread Aleksandr Shneyderman

I am trying to deploy my jars and while the group ownership is set
allright the directories that are created to place the jar file into are
not well group owned. They are basically set group not writable, which
prevents anyone trying to deploy artifact after me into the same
directory.

Any ideas on how to fix this? (I use scp deploy method and set group
ownership in properties file)

Thanks,
Alex.


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



RE: Repository http://www.ibiblio.org/maven/

2004-12-15 Thread Aleksandr Shneyderman
Denmark, but the link is not working for me at least.

 -Original Message-
 From: dan tran [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, December 15, 2004 12:19 PM
 To: Maven Users List
 Subject: Re: Repository http://www.ibiblio.org/maven/
 
 
 where is 'dk'? US? 
 
 -D
 
 
 On Wed, 15 Dec 2004 17:13:08 +0100, Christian Mouttet 
 [EMAIL PROTECTED] wrote:
  Thank's!
  
  On Wednesday 15 December 2004 15:06, Haile, Mussie wrote:
   I think we all have being having problems connecting to 
   ibiblio.org/maven.. I found another site you all might 
 want to point 
   too.. http://mirror.sunsite.dk/maven
  
   -Original Message-
   From: Christian Mouttet 
 [mailto:[EMAIL PROTECTED]
   Sent: 
 Wednesday, December 15, 2004 3:23 AM
   To: [EMAIL PROTECTED]
   Subject: Repository http://www.ibiblio.org/maven/
  
  
   is the central repository hosted by ibiblio currently reachable?
  
   
 
   -
   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: Creating a hibernate archive (HAR)

2004-12-15 Thread Aleksandr Shneyderman

LOL,

What the heck is HAR?

for renaming use ant:copy

 I'm relatively new to Maven, and I'm trying to use some of 
 the built in 
 utilities to build a HAR (hibernate archive).  My problem 
 stems from a 
 lack of knowledge of maven in general.  I am having 
 difficulties getting 
 a config file copied to the META-INF folder of the archive 
 file.  How do 
 I go about doing this?  Second question, I am using the jar 
 plugin but 
 once the jar process is complete I would like to rename the file 
 extension to .har instead of .jar.  Thirdly I would like to create a 
 folder in my local repository called hars and deploy the 
 newly created 
 har file there. 


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



RE: Multiproject -- not from top directory?

2004-12-15 Thread Aleksandr Shneyderman
Dan, thanks!

 
 First, make sure to add maven.multiproject.type to all 
 submodules If a a module depends on another module, add the 
 dependetn module to its list (ie, the finaly module, should 
 have the dependencies list to include all other modules)
 
 
 Then from root, call maven multiproject:install
 
 maven will traverse to all sub module and execute 
 ${maven.multiproject.type}:install
 which must depsosite its artifact to the local repository.
 
 The last module will need to retreive all built artifact from 
 local repo.
 
 good luck.
 
 


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


More of multiproject questions

2004-12-15 Thread Aleksandr Shneyderman

I started to think in terms of multiprojects lately and can not 
think of a good way to handle the following situation:

I have business tier (BT) that relies on spring, that in turn 
relies on hibernate to do my ORM stuff. So BT declares the 
dependency on hibernate.

Then I have a web presentation (PL) that depends on BL. It is 
a separate module.

Now when I build my war I am forced to specify that PL depends on 
hibernate since its jars have to be included in the WAR.
Presentation layer however could care less about hibernate. 

Does anyone have any good suggestions on how to configure my 
presentation layer so it does not declare an explicit dependency 
on hibernate? I am only talking about hibernate but I guess 
I can safely generalize here about many other scenarios.

Thanks,
Alex.


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


Multiproject -- not from top directory?

2004-12-14 Thread Aleksandr Shneyderman

I have a project that consists of multiple submodules
All of the modules are on the same level. One module is
the one that assembles the final app.

How do I tell multiproject to look for dependent modules
in ${basedir}/../dep-mod-A, ${basedir}/../dep-mod-B
and so on?

Thanks,
Alex.


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



RE: German translation

2004-11-11 Thread Aleksandr Shneyderman
Try altavista they are the language translation experts, but thye only
have limited selection of languages to translate to. I guess German is
one of the languages on the list

-Original Message-
From: Daniel Frey [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 11, 2004 6:23 PM
To: 'Maven Users List'
Subject: German translation


Is there a way to translate automatically generated documentation titles
like Project documentation into another language?
 
Thanks
Daniel


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



RE: automated eclipse projects

2004-08-27 Thread Aleksandr Shneyderman

Use Multiproject import plugin.
So you would run maven -Dgoal=eclipse multiproject:goal
This will create .classpath and .project files

Then use mutiproject plugin to import projects in bulk.
Here is the link to the plugin:

http://eclipse-plugins.2y.net/eclipse/plugin_details.jsp?id=599

Alex.

-Original Message-
From: Adam Fisk [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 26, 2004 9:40 PM
To: [EMAIL PROTECTED]
Subject: automated eclipse projects


Does anyone know if any of the eclipse related plugins will allow you to

actually add the projects to Eclipse without having to manually go in 
and create each one using File-New-Project?  I love the way you can 
just do, for example:

maven -Dgoal=eclipse multiproject:goal

I'd also like, however, if there was a similar command that would 
actually add those projects to Eclipse using the generated .project and 
.classpath files from the above command.  This way, all the projects 
would just be sitting there the next time you started Eclipse.  This 
would be something like:

maven -Dgoal=eclipse:add-project multiproject:goal

Does such a thing exist?

Thanks so much.

-Adam

-
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: Building Webapps

2004-08-12 Thread Aleksandr Shneyderman

Write appropriate filter not to include tons of stuff

**/* 

is just one example which obviously is not what you need.

-Original Message-
From: David Erickson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 12, 2004 3:47 PM
To: Maven Users List; [EMAIL PROTECTED]
Subject: Re: Building Webapps


But then that will include tons of stuff I dont want that is within my
src directory, ie i dont want my .java files going along with it.. nor
my test resources etc etc.. -David
- Original Message - 
From: Alex Shneyderman [EMAIL PROTECTED]
To: 'Maven Users List' [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Thursday, August 12, 2004 1:44 PM
Subject: RE: Building Webapps


 Sorry, of course no targetPath element

  -Original Message-
  From: Alex Shneyderman [mailto:[EMAIL PROTECTED]
  Sent: Thursday, August 12, 2004 3:43 PM
  To: 'Maven Users List'
  Subject: RE: Building Webapps
 
 
  You can change it to
 
resource
  directory${basedir}/src/directory
  targetPathresources/targetPath
  includes
include**/*/include
  /includes
/resource
 
  to achieve that.
 
  Alex.
 
   -Original Message-
   From: David Erickson [mailto:[EMAIL PROTECTED]
   Sent: Thursday, August 12, 2004 3:39 PM
   To: Maven Users List; [EMAIL PROTECTED]
   Subject: Re: Building Webapps
  
   Eric is it possible to specify the target location for the 
   resource
 to
  be
   included at?  I guess thats kinda vague, but an example is:
 resource
   directory${basedir}/src/resources/directory
   targetPathresources/targetPath
   includes
 include*/include
   /includes
 /resource
  
   so everything within src/resources gets put into /resources on the

   classpath -David
  
   - Original Message -
   From: Eric Pugh [EMAIL PROTECTED]
   To: Maven Users List [EMAIL PROTECTED]
   Sent: Thursday, August 12, 2004 1:25 PM
   Subject: RE: Building Webapps
  
  
The solution is simple!
   
From
  http://maven.apache.org/reference/plugins/eclipse/properties.html:
maven.eclipse.classpath.include=src\resources
   
Eric
   
 -Original Message-
 From: David Erickson [mailto:[EMAIL PROTECTED]
 Sent: Thursday, August 12, 2004 9:16 PM
 To: Maven User List
 Subject: Building Webapps


 Hey everyone I have been having a difficult time figuring out
 the
  best
 process to work with maven when building webapps.  Here is how

 I
   started:
 Eclipse 3, with myEclipseIDE and of course maven.  I had my
 webapp
   project
 and another non-webapp project.  This was working pretty well,

 I had eclipse set the nonwebapp project as dependent to my 
 webapp, so whenever i deployed
 it would jar up the classes and chuck them into my web-inf/lib
  folder
   and
 everything was great.  All up until I found that I needed a 
 resource from my webapp to be placed on the class path, so 
 something like \src\resources\myContext.xml (Spring) needed to

 be sitting in \WEB-INF\classes, or the root of my classes jar 
 file.  Well
 maven
   handles
 this easily by including it in the jar resources section.
 However
   Eclipse
 the only way to do this (as far as I am aware) is to put it 
 into
  my
 \src\java directory and have it copy it in with my classes.  
 And
 I
  DO
   NOT
 like doing that because basically its just a hack.  Ideally 
 I'd like to have maven rebuild stuff anytime there are 
 changes, kind of like
  eclipse's
   auto
 build, however I don't know if thats feasible?  It just seems
 like
   your
 fighting two battles using maven and an IDE, the first battle 
 is
  to
   get
 maven to work correctly in the commandline, and the second
 battle
  is
   to
 attempt to have your ide do what maven does for includes and 
 stuff.  I know you can execute maven targets from within 
 eclipse, and I've
 tried
 that, but
 it gets annoying having to constantly click the targets every
 time
  you
 change anything so you can see how it looks in your 
 webbrowser.

 Anyway I guess that was a lot of random thoughts put 
 together..
 I
 guess I'm
 just curious how everyone else is doing this, I'm open to
  switching to
 IntelliJ if i has a lot better support for this kind of 
 thing.. eclipse has been driving me nuts lately.
 Thanks all,
 David



  
  -
 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 

RE: IntelliJ (or any IDE) classpath

2004-05-08 Thread Aleksandr Shneyderman

I am not sure how IntelliJ does it but in Eclipse
I configure a variable to point to my local maven 
Repository and mount relevant jars for the project
Using the variable. All of my prjects use realtively
Small amount of jars, so it is feasible in my case.
Also, make sure to run maven for the first time, so
It can cache the jars in its local repository and you 
Will be able to find them.

This only solves the problem of IDE seeing the needed
Jars you will still need to run the builds manually
I have an extra command line open so I can rebuild when
I have to.

Just to note: there are also plugins available, that can help
You within your IDE I just never used them. I know for sure
Eclipse has one, not sure of IntelliJ.

Alex.

-Original Message-
From: Sean Muse [mailto:[EMAIL PROTECTED] 
Sent: Saturday, May 08, 2004 12:40 PM
To: [EMAIL PROTECTED]
Subject: IntelliJ (or any IDE) classpath


OK.  After hearing people talk about Maven and how
great it is, I finally decided to give it a whirl. 
Unfortunately, I am already running into problems.  I
am hoping someone here can help me.

I am using IntelliJ as an IDE.  Given that all my
library dependencies should be pulled from a
repository, how do I setup my IDE to use these files?


/Sean




__
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 

-
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]



Building optinal plugins - problem

2004-03-25 Thread Aleksandr Shneyderman

I checked out CVS sources of optional plugins and was trying to build them. 
It builds the first few and then chokes on appserver plugin; at this point 
maven kick me out, saying build failed. I append the output of a sample run.

Couple of questions though. If appserver is the first offending plugin, why 
does maven stop building the rest of the plugins. I see few reasons either 
the rest of the plugins depend on appserver (which I doubt is the case), 
there is a limitation to multiproject plugin where it can not for one reson 
or another determine the skippable builds or multiproject has a bug (should 
it be reported?)

Thanks,
Alex

Script started on Thu Mar 25 08:55:28 2004
bash-2.05b$ ls -l [47@ maven -Dgoal=clean,plugin:install 
multiproject:goal
bash-2.05b$ script maven-build.output
bash-2.05b$  
maven -Dgoal=clean,plugin:install multiproject:goal
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.1-SNAPSHOT

Starting the reactor...
Our processing order:
Maven Announcement plugin
Maven Ant Plug-in
Maven Antlr Plugin
Maven Appserver Plugin
Maven Artifact Plug-in
Maven Ashkelon Plug-in
Maven AspectJ Plug-in
Maven AspectWerkz Plug-in
Maven Caller Plugin
Maven Castor Plug-in
Maven Changelog Plug-in
Maven Changes Plug-in
Maven Checkstyle Plug-in
Maven Clean Plug-in
Maven Clover Plug-in
Maven CodeSwitcher Plugin
Maven Console Plug-in
Maven Cruise Control Plug-in
Maven JUnit Report Plug-in
Maven Dashboard Plugin
Maven Deploy Plug-in
Maven Developer Activity Plug-in
Maven Distribution Plug-in
Maven DocBook Plug-in
Maven EAR Plugin
Maven Eclipse Plug-in
Maven EJB Plugin
Maven example projects
Maven FAQ Plug-in
Maven File Activity Plug-in
Maven Genapp Plugin
Maven Gump Plug-in
Maven Hibernate Plug-in
Maven Html2XDoc Plug-in
Maven IDEA Plug-in
Maven J2EE Plugin
Maven Jalopy Plugin
Maven Jar Plug-in
Maven Java Plug-in
Maven Javacc Plugin
Maven Javadoc Plug-in
Maven JBoss Plug-in
Maven JBuilder Plug-in
Maven JCoverage plugin
Maven JDEE Plug-in
Maven JDepend Plugin
Maven JDeveloper Plug-in
Maven JDiff Plugin
Maven JellyDoc Plug-in
Maven Jetty plugin
Maven JIRA Plug-in
Maven JNLP Plug-in
Maven JUnitDoclet Plug-in
Maven JXR Plug-in
Maven Latex Plug-in
Maven Latka Plug-in
Maven License Plug-in
Maven LinkCheck Plug-in
Maven MultiChanges plugin
Maven Multi-Project Plug-in
Maven Native Plug-in
Maven NSIS Plug-in
Maven PDF Plug-in
Maven Perforce Plugin
Maven Plugin Plugin
Maven PMD Plug-in
Maven POM Plugin
Maven Release Plug-in
Maven Repository Plug-in
Maven Source Control Management Plug-in
Maven Shell Plug-in
Maven Simian Plugin
Maven Site Plugin
Maven StatCvs Plug-in
Maven Struts Plugin
Maven Tasklist Plug-in
Maven Test Plug-in
Maven TJDO plugin
Maven Touchstone Plug-in
Maven Touchstone Partner Plug-in
Maven Uberjar Plugin
Maven VDoclet Plug-in
Maven WAR Plugin
Maven Webserver Plugin
Maven Wizard Plug-in
Maven XDoc Plug-in
+
| Executing clean,plugin:install Maven Announcement plugin
| Memory: 5M/9M
+
build:start:

multiproject:goal:
build:start:

clean:clean:
[delete] Deleting directory /home/alex/maven-plugins/announcement/target

clean:

plugin:
java:prepare-filesystem:
[mkdir] Created dir: /home/alex/maven-plugins/announcement/target/classes

java:compile:
[echo] Compiling to /home/alex/maven-plugins/announcement/target/classes
[javac] Compiling 1 source file to 
/home/alex/maven-plugins/announcement/target/classes

java:jar-resources:
Copying 1 file to 
/home/alex/maven-plugins/announcement/target/classes/META-INF
Copying 1 file to 
/home/alex/maven-plugins/announcement/target/classes/plugin-resources
Copying 4 files to /home/alex/maven-plugins/announcement/target/classes

test:prepare-filesystem:
[mkdir] Created dir: 
/home/alex/maven-plugins/announcement/target/test-classes
[mkdir] Created dir: 
/home/alex/maven-plugins/announcement/target/test-reports

test:test-resources:

test:compile:
[echo] No test source files to compile.

test:test:
[echo] No tests to run.

jar:jar:
[jar] Building jar: 
/home/alex/maven-plugins/announcement/target/maven-announcement-plugin-1.0.jar
aspectj:init:


[copy] Copying 1 file to /home/alex/.maven/repository/maven/plugins

plugin:install:
[delete] Deleting 1 files from /usr/local/maven/plugins
[delete] Deleting 14 files from /home/alex/.maven/plugins
[delete] Deleted 7 directories from /home/alex/.maven/plugins
[copy] Copying 1 file to /usr/local/maven/plugins
+
| Executing clean,plugin:install Maven Ant Plug-in
| Memory: 11M/14M
+

build:end:

build:start:

clean:clean:
[delete] Deleting directory /home/alex/maven-plugins/ant/target

clean:

plugin:
java:prepare-filesystem:
[mkdir] Created dir: /home/alex/maven-plugins/ant/target/classes

java:compile:
[echo] Compiling to 

Re: XDoclet plugin strange behavior

2004-01-04 Thread Aleksandr Shneyderman
Konstantin Priblouda wrote:

Well, if yoyu use gourpid, you have to call your
xjavadoc 
xdoclet-xjavadoc.whatever.jar

According to the documentation the files are located according to the
following pattern:
${repo}/${groupId}/${type}s/${artifactId}-${version}.${type}

So if my dependency looks something like the following:
  dependency
  artifactIdxjavadoc/artifactId
  groupIdxdoclet/groupId
  version1.0.2/version
  typejar/type
  /dependency
Should not I expcet maven to find the jar if the file at location
${repo}/xdoclet/jars/xjavadoc-1.0.2.jar does exists?
Thanks,
Alex.




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


XDoclet plugin strange behavior

2004-01-03 Thread Aleksandr Shneyderman
As you have probably noticed for the last couple of days I was 
struggling with XDoclet plugin.
What I did is I downloaded their 1.2 version, created xdoclet/jars 
directory in my local repository,
copied over the jars that come with the xdoclet. I then copied xdoclet's 
maven-plugin jar to my plugins
directory. 

I created project.xml and maven.xml (they are both pasted at the end of 
this message). The problem
I am having has something to do with the  xjavadoc dependency. Right now 
xjavadoc-1.0.2.jar is
in my ${maven.repo.local}/xdoclet/jars/ directory and when I run maven I 
am getting an error saying
that xjavadoc-1.0.2 can not be resolved. When I move the jar to 
${maven.repo.local}/xjavadoc/jars/
directory I am able to build nicely. Basically it is no big deal I just 
hate to keep xjavadoc separately
from xdoclet. Does anyone know where I might need to start looking, to 
fix this?

my project.xml
project default=java:compile
   idgls-model/id
   currentVersion1.0/currentVersion
   build
   sourceDirectory
   ${basedir}/src/java
   /sourceDirectory
   /build
   dependencies
   dependency
   artifactIdxdoclet-hibernate-module/artifactId
   groupIdxdoclet/groupId
   version1.2/version
   typejar/type
   /dependency   
   dependency
   artifactIdxdoclet/artifactId
   groupIdxdoclet/groupId
   version1.2/version
   typejar/type
   /dependency
   dependency
   artifactIdxjavadoc/artifactId
   groupIdxdoclet/groupId
   version1.0.2/version
   typejar/type
   /dependency   
   /dependencies
/project

my maven.xml:
project default=java:compile
   preGoal name=java:compile
   attainGoal name=xdoclet:hibernatedoclet/
   /preGoal
/project


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


Re: Maven Xdoclet problem

2004-01-02 Thread Aleksandr Shneyderman


dependency
artifactIdxdoclet-hibernate-module/artifactId
groupIdxdoclet/groupId
version1.2b4/version
typejar/type
/dependency
I have:

   dependencies
  dependency
  idxdoclet+hibernate-module/id
  version1.2/version
   /dependency
   /dependencies
I am not quite sure what this means exactly, but I snaged it from some 
other script and thought it would do the trick.
I tried your suggestion (except 1.2b4 - I have 1.2) but it did not help, 
I have the same error.

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


Re: Maven Xdoclet problem

2004-01-02 Thread Aleksandr Shneyderman
Ahh, I figured it out. Besides the need for xdoclet-hibernate-module I 
also need xdoclet and xjavadoc
dependency.

Which, leads me to another question. How do you specify dependency on 
the whole package
rather than a jar file.

Suppose I use a pcakge that has its own dependencies. Package I use say 
A (version 1.0). A contains
a-1.0.jar and depends on package B (version 2.0). B contains b-2.0.jar

Suppose now depvelopers of A decide to release A (version 2.0), that is 
dependent on B (version 3.0)

If I want to try version 2.0 of A on my projet. I would need to know 
that A developers now depend
on version 3.0 of B pacakge.

It seems a bit awkward to chase the dependencies. I was wondering how 
would I depend on package
rather than jar files?

Thanks,
Alex.
Aleksandr Shneyderman wrote:



dependency
artifactIdxdoclet-hibernate-module/artifactId
groupIdxdoclet/groupId
version1.2b4/version
typejar/type
/dependency
I have:

   dependencies
  dependency
  idxdoclet+hibernate-module/id
  version1.2/version
   /dependency
   /dependencies
I am not quite sure what this means exactly, but I snaged it from some 
other script and thought it would do the trick.
I tried your suggestion (except 1.2b4 - I have 1.2) but it did not 
help, I have the same error.

Thakns,
Alex.
-
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]