Any help regarding remote deployment it urget

2006-08-02 Thread neeraj daffodil

hi all
i am useing  tomcate plugin to deploy the war file in remote server
but when ever i gave any command it give the following error


war:init:

tomcat:init:
   [echo] Found context file
C:\workcruise\googlemultiprojectcheckoutnew\GWTFrameworkNewTestMaven\framework_gwtMaven\framwork_g
   [echo]  "message
[EMAIL PROTECTED]: name
file:/C:/workcruise/googlemultiprojectcheckou

   [echo] found /framework_GWT in context file

BUILD FAILED
File.. C:\Documents and
Settings\harvinder.bhutani.HARVINDER\.maven\cache\maven-
tomcat-plugin-1.2.1\plugin.jelly
Element... start
Line.. 204
Column 30
org/apache/tools/ant/taskdefs/Redirector
Total time: 20 seconds
Finished at: Thu Aug 03 12:14:01 GMT+05:30 2006



i think it is version problem i am using tomcate 5.0

i downloaded this plugin from
http://www.codeczar.com/products/maven-tomcat-plugin/scenarios.html

2)i tried another solution to deploy in remote server i used ftp and i am
able to deploy in remote server

but it deploy in maven structure i mean repository
applicationanme/war/mywar.war

but i need in this order application/mywar



if any one have any solution regarding above two problem then please help

Regards

Neeraj Singh Bisht


RE: Maven downloading wrong JARS

2006-08-02 Thread Roald Bankras
Probably you have another dependency which still depends on 1.0.b2.
Try running with the -X option

Roald Bankras
Software Engineer
JTeam b.v.

-Original Message-
From: Pintu Kumar [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 03, 2006 7:21 AM
To: Maven Users List
Subject: Maven downloading wrong JARS

Hi 

I have changed the version of xml-apis.jar from 1.0.b2 to 1.3.02 in my 
project.xml. When I run maven it downloads 1.3.02 and 1.0.b2 both. Can anyone 
help me why it is happening and how can I fix it.


Thanks

Pintu

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.5/405 - Release Date: 8/1/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.5/405 - Release Date: 8/1/2006
 

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



RE: svn check-in history report

2006-08-02 Thread Roald Bankras
Take a look at the maven changelog plugin

Roald Bankras
Software Engineer
JTeam b.v.
-Original Message-
From: Sanjiv Jivan [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 03, 2006 1:19 AM
To: Maven Users List
Subject: svn check-in history report

Is there a report that lists the recent checkins into SVN along with date /
author info?

Thanks,
Sanjiv


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.5/405 - Release Date: 8/1/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.5/405 - Release Date: 8/1/2006
 

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



Maven downloading wrong JARS

2006-08-02 Thread Pintu Kumar
Hi 

I have changed the version of xml-apis.jar from 1.0.b2 to 1.3.02 in my 
project.xml. When I run maven it downloads 1.3.02 and 1.0.b2 both. Can anyone 
help me why it is happening and how can I fix it.


Thanks

Pintu

Re: Hibernate plugin not binding?

2006-08-02 Thread GoPokes64

I'm having the same issue.  Is there a way to override the execution of the
hibernate goals default phase of compile?  I need to run the generation in
the generate-sources and then have the compile run.

Thanks
-- 
View this message in context: 
http://www.nabble.com/Hibernate-plugin-not-binding--tf1550494.html#a5626709
Sent from the Maven - Users forum at Nabble.com.


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



code obfuscation plugin?

2006-08-02 Thread Kapil Gupta\(CT\)
Hi,

I would like to obfuscate my java code after compiling. Is there any
Maven plugin available that does this?

Thanks,

Kapil



Re: Descriptions of Stock Archetypes?

2006-08-02 Thread franz see

Hi Jamie,

You can try and check this out,
http://people.apache.org/~oching/maven-archetype-plugin/ .

This is a documentation of the maven-archetype-plugin, however, this has not
yet been released. It is still being reviewed. But nonetheless, this might
contain some information that you are looking for such as the list of
available archetypes provided by Apache's Maven 2, and some examples as to
how to use them.

Furthermore, if you have some comments regarding the documentation, your
inputs are more than welcomed ^_^ 

- Franz
-- 
View this message in context: 
http://www.nabble.com/Descriptions-of-Stock-Archetypes--tf2040504.html#a5626094
Sent from the Maven - Users forum at Nabble.com.


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



[M2] Executing a single lifecycle phase

2006-08-02 Thread Mark Hansen
When I do "mvn integration-test" - all the previous lifecycles phases 
(e.g., validate, compile, test, etc.) are executed first.  Is there a 
workaround that I can use to only run the integration-test lifecycle 
phase - without all the precursor phases getting invoked?


Thanks,

Mark

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



Re: maven2 surefire haltOnFailure

2006-08-02 Thread Edwin Punzalan
Maybe its just you... I've never experienced surefire to default 
haltOnFailure to false.


Dennis Klavans wrote:

My test execution does not seem to stop on a failure. Essentially, I need the 
JUnit haltOnFailure/haltOnError functionality. Researching snippets on the web 
seems to suggest that should be the default behavior. No-one else seems to have 
complained about this. I found that this was fixed in 1.8 so I would view this 
as somewhat of a backwards compatibility issue even though the plugin is new to 
2.x. Does anyone know if this is just me?

Thanks




___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!



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



DistributionManagement, maven adds to the url

2006-08-02 Thread kvpetrov

I have a parent pom that has the following snippet in it:


agia-repository

scp://maven/home/maven/root/sites/${project.artifactId}/${project.version}



when I check the effective pom I get:

  agia-repository
   
  
scp://maven/home/maven/root/sites/convertnsave/1.0/convertnsave


As you see maven added name of the project at the end of the URL. Why does
it do so? Can i disable such a behavior? Because of that, in each of my
project i have to explicitly provide the location of the site, though this
information is already available in the parent pom.

thanks,

Kirill

-- 
View this message in context: 
http://www.nabble.com/DistributionManagement%2C-maven-adds-to-the-url-tf2043104.html#a5625002
Sent from the Maven - Users forum at Nabble.com.


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



Re: accessing artifacts in local repository from pom expressions or antrun scripts

2006-08-02 Thread J. Matthew Pryor
Ok Thanks John.

Any hints on where to look for a reasonably simple example of dependency
resolution Java/Mojo code that will help me on my way?

Cheers,
Matthew

John Casey wrote:
> I'd suggest writing a custom maven plugin to handle this. You can lookup
> files in the local repository from inside a custom plugin pretty
> easily, and
> in any case you're still going to need some way to fire off your merge
> app.
>
> -j
>
> On 8/2/06, J. Matthew Pryor <[EMAIL PROTECTED]> wrote:
>>
>> I am using the native-maven-plugin to compile C source for the
>> ATmelplatform
>> This produces two binary/object files as artifacts from sibling
>> modules. I
>> need to be able to pass the path names of these 2 files to a
>> Java program we have written that merges the 2 object files together
>>
>> Thanks for any further assistance
>> Matthew
>>
>>
>>
>>
>> Denis Cabasson wrote:
>> > Merging 2 artifacts
>> >
>> > Looks like a task for maven-assembly-plugin:
>> > http://maven.apache.org/plugins/maven-assembly-plugin/unpack-mojo.html
>> >
>> > It can unpack jar/zip dependencies to an assembly directory and
>> package
>> them
>> > as you need.
>> >
>> > I'm afraid I can't help any futher without more informations about the
>> > artifacts you want to merge, and what you want to produce.
>> >
>> > Denis.
>> >
>> >
>> > J. Matthew Pryor wrote:
>> >
>> >> I am migrating a maven 1 project to a maven 2 project.
>> >> I have one module that creates its artifact by merging together 2
>> >> artifacts created by dependent modules
>> >> At the moment, I am trying to do it all with the antrun plugin,
>> rather
>> >> than writing Mojos.
>> >>
>> >> In the maven 1 version I did somethign like this:
>> >>
>> >> ${maven.repo.local}/${pom.artifactDirectory}/the-file-i-want.exe
>> >>
>> >> Is there any way I can get installed artifacts from the local
>> repository
>> >> via antrun or pom.xml expressions?
>> >>
>> >> Thanks,
>> >> Matthew
>> >>
>> >> -
>> >> 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]



svn check-in history report

2006-08-02 Thread Sanjiv Jivan

Is there a report that lists the recent checkins into SVN along with date /
author info?

Thanks,
Sanjiv


Re: How do I add a directory to the classpath visible to a Maven plugin?

2006-08-02 Thread Barrie Treloar

Specifically, I am trying to use BEA Kodo 4, the enhancer, and it
appears to require that the directory containing the license.bea file be
on the classpath.



From my understanding stuff on the classpath is treated the same,

regardless of whether it came from a jar or a directory.

So if you put the license.bea inside a jar file so that it was at the
root directory of the archive it should be the same as attaching a
directory.

Then you could install that archive into your repository as

 com.beakodo
 license


and then users of your plugin would need to have installed into their
local repository (or their company internal repository) the license
jar.

I'm guessing that you might even be able to check that this dependency
exists and provide a reasomable error message from your plugin if it
doesn't.

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



Re: How do I add a directory to the classpath visible to a Maven plugin?

2006-08-02 Thread David J. M. Karlsen

Bryan Loofbourrow wrote:

Sorry if this is an elementary question, I am learning about Maven (2),
but I've certainly tried to do my homework.

I have a need to add a directory to the classpath that's visible to a
plugin I'm writing, and I don't see how to do it. All I see is stuff
that seems to assume:

- Maven controls the classpath, which it constructs from artifacts on
which you depend.
- You can make your own artifact types, and specify that they be added
to the classpath
- It appears that an artifact is assumed to be a file.
- That's the only way to get something onto the classpath.
  
You could add it as a resource, but you may not want it to end in the 
jar archive, see

http://www.nabble.com/-discussion-idea--resource-scoping-tf2042404.html

where I reference an extension to the surefire plugin.
(Just realised the patch isn't right, so I'll fix that tomorrow.)

--
David J. M. Karlsen - +47 90 68 22 43
http://www.davidkarlsen.com
http://mp3.davidkarlsen.com



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



RE: XML-RPC client - getting build state by BuildId/BuildDefinition

2006-08-02 Thread Baron.Reznik
I'm using continuum 1.0.3, and also the continuum-rpc-client v1.0.3.

Sorry for not including that originally.


Also, I noticed that project.getState() will return the state that shows on the 
Continuum Projects page, which, has a bug and isn't always correct. 

Thanks,
Baron

-Original Message-
From: Andrew Williams [mailto:[EMAIL PROTECTED]
Sent: Wed 8/2/2006 4:38 PM
To: continuum-users@maven.apache.org
Subject: Re: XML-RPC client - getting build state by BuildId/BuildDefinition
 
what version of continuum are you using?
XML-RPC has more in SVN that in 1.0.3

I have not yet updated the ProjectsReader to reflect, however.

Andy

On Wed, 2006-08-02 at 14:05 -0500, [EMAIL PROTECTED] wrote:
> I tried playing with the java XML-RPC client for continuum, and had a couple 
> questions. 
> 
> - For a given project, I would like to query the state of the most recent 
> build for each build definition. Is this possible? 
> - For a given project, what is contained in the list returned by 
> project.getBuildResults() ? I always seem to get an empty list returned.
> - For the ProjectsReader, is the only way to get refreshProject() to work by 
> giving it a project with its ID set? Or are there other members that could be 
> set instead? I tried setting group/artifactId, which I figured would be 
> unique, but I got a NPE instead.
> - Are javadocs published online anywhere for the XML-RPC client, let alone 
> the rest of continuum? I had trouble finding them.
> 
> The reason I'm interested in this is because if you have a project with 
> multiple build definitions, continuum doesn't handle the notifications too 
> well. If one definition constantly results in a successful build, and the 
> other in a failed/error build, you will continously get notifications of 
> "build success" and "build failure" since the build state is constantly 
> switching. It would be nice to be able to group a number of build definitions 
> together as a 'single build' for the purpose of build state. Until that's 
> possible, I was hoping to grab the right information and come to the proper 
> conclusion using the xml-rpc client if possible.
> 
> Thanks,
> Baron
> 




Re: XML-RPC client - getting build state by BuildId/BuildDefinition

2006-08-02 Thread Andrew Williams
what version of continuum are you using?
XML-RPC has more in SVN that in 1.0.3

I have not yet updated the ProjectsReader to reflect, however.

Andy

On Wed, 2006-08-02 at 14:05 -0500, [EMAIL PROTECTED] wrote:
> I tried playing with the java XML-RPC client for continuum, and had a couple 
> questions. 
> 
> - For a given project, I would like to query the state of the most recent 
> build for each build definition. Is this possible? 
> - For a given project, what is contained in the list returned by 
> project.getBuildResults() ? I always seem to get an empty list returned.
> - For the ProjectsReader, is the only way to get refreshProject() to work by 
> giving it a project with its ID set? Or are there other members that could be 
> set instead? I tried setting group/artifactId, which I figured would be 
> unique, but I got a NPE instead.
> - Are javadocs published online anywhere for the XML-RPC client, let alone 
> the rest of continuum? I had trouble finding them.
> 
> The reason I'm interested in this is because if you have a project with 
> multiple build definitions, continuum doesn't handle the notifications too 
> well. If one definition constantly results in a successful build, and the 
> other in a failed/error build, you will continously get notifications of 
> "build success" and "build failure" since the build state is constantly 
> switching. It would be nice to be able to group a number of build definitions 
> together as a 'single build' for the purpose of build state. Until that's 
> possible, I was hoping to grab the right information and come to the proper 
> conclusion using the xml-rpc client if possible.
> 
> Thanks,
> Baron
> 



Re: [m1.1] artifactId or id?

2006-08-02 Thread Dion Gillard

Sounds like a bug in the pom plugin.

On 8/3/06, Dennis Lundberg <[EMAIL PROTECTED]> wrote:

Well, it's supposed to be deprecated, see MAVEN-1410. But if I use
Maven-1.1-beta-3 and do

   maven pom:validate

on a project.xml file that does not have an id, the validation will
fail. Add an id to project.xml and it validates.

--
Dennis Lundberg

Arnaud HERITIER wrote:
> If my memory is good...
>
> If Id is a simple name, id is used as a shotcut if groupId=artifactId thus
> groupId=id and artifactId=id
> If id is a compound name id=foo:bar, maven must understand that groupId=foo
> and artifact=bar.
>
> Id should be deprecated and is just here to maintain the backward
> compatibility.
>
> Open the issue, we'll take a look at it (it will be resolved for the RC1 if
> we can't do it for the beta 3).
>
> Arnaud
>
> On 7/31/06, Daniel Beland <[EMAIL PROTECTED]> wrote:
>>
>> I am using the build of 2006-07-23. Whenever I do jar:install or
>> jar:deploy
>> or war:install or war:deploy it does it.
>> Same thing for struts-module plugin or other custom plugins I developed.
>>
>> It seems to come directly from the maven code as it is common to all
>> plugins
>> I've tried.
>>
>> If I have the following code in the POM:
>>
>>   id
>>   group
>>   artifact
>>   2.11-beta2
>>
>>
>> Here is the trace:
>>
>>
>> __  __
>> |  \/  |__ _Apache__ ___
>> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
>> |_|  |_\__,_|\_/\___|_||_|  v. 1.1-beta-3-SNAPSHOT
>>
>> build:start:
>>
>> java:prepare-filesystem:
>>
>> java:compile:
>> xdoclet:hibernatedoclet:
>>
>> fix-foreign-keys:
>>
>> [echo] Compiling to c:\eclipse\workspace\DBInterface/target/classes
>> [echo]
>> ==
>>
>>   WARNING:  maven.compile.target is not set:
>> using the default value which depends on your JVM
>>
>> ==
>>
>>
>> java:jar-resources:
>> copy-hbm-files:
>>
>>
>> test:test:
>>
>> jar:jar:
>>
>> jar:install:
>> [echo] Installing...
>> Uploading to group/jars/id-2.11-beta2.jar:
>>  (467K)
>> Uploading to group/poms/id-2.11-beta2.pom:
>>  (16K)
>> BUILD SUCCESSFUL
>> Total time   : 12 seconds
>> Finished at  : Monday, July 31, 2006 10:02:49 BST AM
>>
>> I'll open a bug in jira
>>
>> On 7/29/06, Lukas Theussl <[EMAIL PROTECTED]> wrote:
>> >
>> > Where did you read that in maven 1.1  is used instead of
>> > ? It should be just the other way round, we have replaced
>> >  by the combination . However, there are
>> > probably still some inconsistencies (see eg [1]), so it would be
>> good to
>> > know where you ran into problems with this?
>> >
>> > Cheers,
>> > -Lukas
>> >
>> > [1] http://jira.codehaus.org/browse/MAVEN-1704
>> >
>> >
>> > Daniel Beland wrote:
>> > > Hi,
>> > >
>> > >
>> > > in maven 1.0.2, when I install or deploy an artifact, it is put in
>> the
>> > >  directory under s and the artifact is named
>> > > .
>> > >
>> > > Now in maven 1.1, the artifact is named  instead of .
>> I
>> > was
>> > > not using this tag previously I think Mevenide defaults it to
>> > > : so obviously it causes problems because it is
>> not
>> > > named as before and it is not deployed at all (I think the colon is
>> not
>> > > supported in the file name).
>> > >
>> > >
>> > > On the web site it says this:
>> > > id  The short name of the project. This value is used when naming
>> > > jarsand
>> > > distribution
>> > > files .
>> > > groupId The short name of the project group. This value is used to
>> > > group all jars
>> > > for a project in one directory. For more info look at the user
>> > > guide.
>> > >  artifactId  The short name of the project. This value is used in
>> > > conjunction with groupId when naming
>> > > jarsand
>> > > distribution
>> > > files .
>> > >
>> > > I don't mind updating all my project files, I just want to make sure
>> it
>> > is
>> > > the expected behaviour from now on before I do it?
>> > >
>> > >
>> > > Thanks,
>> > > Daniel
>> > >
>> >
>> > -
>> > 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]





--
http://www.multitask.com.au/people/dion/
"If you even dream of beating me you'd better wake up and apologize" -
Muhammad Ali

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

How do I add a directory to the classpath visible to a Maven plugin?

2006-08-02 Thread Bryan Loofbourrow
Sorry if this is an elementary question, I am learning about Maven (2),
but I've certainly tried to do my homework.

I have a need to add a directory to the classpath that's visible to a
plugin I'm writing, and I don't see how to do it. All I see is stuff
that seems to assume:

- Maven controls the classpath, which it constructs from artifacts on
which you depend.
- You can make your own artifact types, and specify that they be added
to the classpath
- It appears that an artifact is assumed to be a file.
- That's the only way to get something onto the classpath.

I am hoping, of course, that at least one of these statements is false,
and that there's a way to add a directory (not a file) to a classpath.

Specifically, I am trying to use BEA Kodo 4, the enhancer, and it
appears to require that the directory containing the license.bea file be
on the classpath.

I grant that I could do this by hacking up a ClassLoader and invoking
the enhancer with that, or invoking the enhancer in a different JVM so
that I gain control over that classpath, but those approaches have other
difficulties, and certainly doesn't seem like the Maven Way. I figure
there's a right way to do this; I just haven't discovered it in the
documentation.

Thanks for any help or guidance.





Re: Maven Presentation

2006-08-02 Thread Brett Porter

I'd consider taking a look at Jetty6.

- Brett

On 03/08/06, John Casey <[EMAIL PROTECTED]> wrote:

Depending on what sort of software your company builds, you might consider
using the Maven project itself as an example. It has multiple levels of
hierarchy in places, with modules specified at each level. It also has
examples of an organizational POM (at least, in the 2.1, or trunk, SVN),
along with both dependencyManagement and pluginManagement sections.

The SVN URL for the main Maven 2 project is:

http://svn.apache.org/repos/asf/maven/components/trunk

...but there are other Maven-family projects hosted there, too, under:

http://svn.apache.org/repos/asf/maven/**

HTH,

john

On 8/2/06, Hilco Wijbenga <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I've been asked to do a presentation about Maven. It's the familiar
> story: we have an Ant build but are interested in moving to Maven.
>
> I am looking for an Open Source project that uses Maven2 that shows
> most of the interesting features. I was hoping to find a medium
> complexity Maven2 build so that I can easily understand what's going
> on but still show some of the power of Maven, specifically modules.
>
> Does anyone know of such a project that I could use as an example for
> this presentation?
>
> Cheers,
> Hilco
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>





--
Apache Maven - http://maven.apache.org
"Better Builds with Maven" book - http://library.mergere.com/

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



Re: Profiles.xml

2006-08-02 Thread Alexis Midon

many htanks for your answer John.

The website mentions this restriction:

http://maven.apache.org/guides/introduction/introduction-to-profiles.html

"Profiles specified in external files (i.e in settings.xml or profiles.xml)
are not portable in the strictest sense. (...) Therefore, you will only be
able to modify the *repositories* and *pluginRepositories* sections, plus an
extra *properties* section."

But the book is confusing: check out the page 63

Thanks again John.

Alexis



On 8/2/06, John Casey <[EMAIL PROTECTED]> wrote:


Well, it's giving you the correct feedback in that error message. In fact,
there are two distinct types of profile in Maven. Those which are embedded
in the POM have access to many more configuration points, since they will
always travel with the POM (traversing a remote deployment, for example),
and therefore don't constitute a portability issue. On the other hand,
profiles which are declared in either the settings.xml or a
project-specific
profiles.xml will not be distributed with a project's artifact when it's
deployed to the remote repository. Therefore, to keep these external
profiles from affecting the build configuration represented by the
project's
POM, they are not allowed to do anything more than specify properties,
pluginRepositories, and repositories.

The short answer is that you cannot specify a  section in an
external profile. If the book doesn't make mention of this, it should be
corrected.

HTH,

-john

On 8/2/06, Alexis Midon <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> can some one tell me what's wrong with my Profiles.xml file?
> I always get the following root error:
>
> Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException:
> Unrecognised tag: 'build' (position: START_TAG seen ...\r\n
> ... @5:20)
> at
> org.apache.maven.profiles.io.xpp3.ProfilesXpp3Reader.parseProfile(
> ProfilesXpp3Reader.java:620)
> at
> org.apache.maven.profiles.io.xpp3.ProfilesXpp3Reader.parseProfilesRoot(
> ProfilesXpp3Reader.java:664)
> at org.apache.maven.profiles.io.xpp3.ProfilesXpp3Reader.read(
> ProfilesXpp3Reader.java:1190)
> at org.apache.maven.profiles.io.xpp3.ProfilesXpp3Reader.read(
> ProfilesXpp3Reader.java:1201)
> at
> org.apache.maven.profiles.DefaultMavenProfilesBuilder.buildProfiles (
> DefaultMavenProfilesBuilder.java:74)
> at
>
org.apache.maven.project.DefaultMavenProjectBuilder.loadProjectExternalProfiles
> (DefaultMavenProjectBuilder.java:1229)
> ... 18 more
>
>
> It drives me crazy!
> I check the BetterBuild... Book and my file seems valid (see attchament
or
> below)
>
> I only have a tiny doubt about the  tag, it comes from the
> book but doesn't appear on the website.
> Quite confusing.
>
> Thanks for your help
>
> Alexis
>
>
> 
> 
> 
> idea
> 
> 
> 
> org.apache.maven.plugins
> maven-idea-plugin
> 
> 
> java version "1.4.2_08"
>
> true
> 
> 
> 
> 
> 
> 
> 
> idea
> 
> 
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>




Re: [m1.1] artifactId or id?

2006-08-02 Thread Dennis Lundberg
Well, it's supposed to be deprecated, see MAVEN-1410. But if I use 
Maven-1.1-beta-3 and do


  maven pom:validate

on a project.xml file that does not have an id, the validation will 
fail. Add an id to project.xml and it validates.


--
Dennis Lundberg

Arnaud HERITIER wrote:

If my memory is good...

If Id is a simple name, id is used as a shotcut if groupId=artifactId thus
groupId=id and artifactId=id
If id is a compound name id=foo:bar, maven must understand that groupId=foo
and artifact=bar.

Id should be deprecated and is just here to maintain the backward
compatibility.

Open the issue, we'll take a look at it (it will be resolved for the RC1 if
we can't do it for the beta 3).

Arnaud

On 7/31/06, Daniel Beland <[EMAIL PROTECTED]> wrote:


I am using the build of 2006-07-23. Whenever I do jar:install or
jar:deploy
or war:install or war:deploy it does it.
Same thing for struts-module plugin or other custom plugins I developed.

It seems to come directly from the maven code as it is common to all
plugins
I've tried.

If I have the following code in the POM:

  id
  group
  artifact
  2.11-beta2


Here is the trace:


__  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.1-beta-3-SNAPSHOT

build:start:

java:prepare-filesystem:

java:compile:
xdoclet:hibernatedoclet:

fix-foreign-keys:

[echo] Compiling to c:\eclipse\workspace\DBInterface/target/classes
[echo]
==

  WARNING:  maven.compile.target is not set:
using the default value which depends on your JVM

==


java:jar-resources:
copy-hbm-files:


test:test:

jar:jar:

jar:install:
[echo] Installing...
Uploading to group/jars/id-2.11-beta2.jar:
 (467K)
Uploading to group/poms/id-2.11-beta2.pom:
 (16K)
BUILD SUCCESSFUL
Total time   : 12 seconds
Finished at  : Monday, July 31, 2006 10:02:49 BST AM

I'll open a bug in jira

On 7/29/06, Lukas Theussl <[EMAIL PROTECTED]> wrote:
>
> Where did you read that in maven 1.1  is used instead of
> ? It should be just the other way round, we have replaced
>  by the combination . However, there are
> probably still some inconsistencies (see eg [1]), so it would be 
good to

> know where you ran into problems with this?
>
> Cheers,
> -Lukas
>
> [1] http://jira.codehaus.org/browse/MAVEN-1704
>
>
> Daniel Beland wrote:
> > Hi,
> >
> >
> > in maven 1.0.2, when I install or deploy an artifact, it is put in 
the

> >  directory under s and the artifact is named
> > .
> >
> > Now in maven 1.1, the artifact is named  instead of .
I
> was
> > not using this tag previously I think Mevenide defaults it to
> > : so obviously it causes problems because it is
not
> > named as before and it is not deployed at all (I think the colon is
not
> > supported in the file name).
> >
> >
> > On the web site it says this:
> > id  The short name of the project. This value is used when naming
> > jarsand
> > distribution
> > files .
> > groupId The short name of the project group. This value is used to
> > group all jars
> > for a project in one directory. For more info look at the user
> > guide.
> >  artifactId  The short name of the project. This value is used in
> > conjunction with groupId when naming
> > jarsand
> > distribution
> > files .
> >
> > I don't mind updating all my project files, I just want to make sure
it
> is
> > the expected behaviour from now on before I do it?
> >
> >
> > Thanks,
> > Daniel
> >
>
> -
> 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]



Doxia module

2006-08-02 Thread Arnaud Bailly
Hi to all,
Not sure this is the right place to asx, but I would like to add a new
module to doxia/site plugin. I chked out doxia from apache and copied
the twiki files of interest but how do I tell doxia/site plugin/maven
to handle my custom format.

thx,

-- 
OQube < software engineering \ génie logiciel >
Arnaud Bailly, Dr.
\web> http://www.oqube.com


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



resource file overriding/excluding for unit testing

2006-08-02 Thread fagfa

Hi,

I'd like use different resource file (eg, persistence.xml for ejb3) for unit
testing and the problem is that "maven-surefire-plugin" always include
"target/classes" in the classpath and its sub dir "MATA-INF" contains my
resource file, which overrides the same file in "target/test-classes", which
is the one I'd like to use during unit testing. I could not find a way to
skip this recource file copying during test phase. Any advice? Thanks,

fagfa
-- 
View this message in context: 
http://www.nabble.com/resource-file-overriding-excluding-for-unit-testing-tf2041898.html#a5621014
Sent from the Maven - Users forum at Nabble.com.


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



Re: accessing artifacts in local repository from pom expressions or antrun scripts

2006-08-02 Thread John Casey

I'd suggest writing a custom maven plugin to handle this. You can lookup
files in the local repository from inside a custom plugin pretty easily, and
in any case you're still going to need some way to fire off your merge app.

-j

On 8/2/06, J. Matthew Pryor <[EMAIL PROTECTED]> wrote:


I am using the native-maven-plugin to compile C source for the
ATmelplatform
This produces two binary/object files as artifacts from sibling modules. I
need to be able to pass the path names of these 2 files to a
Java program we have written that merges the 2 object files together

Thanks for any further assistance
Matthew




Denis Cabasson wrote:
> Merging 2 artifacts
>
> Looks like a task for maven-assembly-plugin:
> http://maven.apache.org/plugins/maven-assembly-plugin/unpack-mojo.html
>
> It can unpack jar/zip dependencies to an assembly directory and package
them
> as you need.
>
> I'm afraid I can't help any futher without more informations about the
> artifacts you want to merge, and what you want to produce.
>
> Denis.
>
>
> J. Matthew Pryor wrote:
>
>> I am migrating a maven 1 project to a maven 2 project.
>> I have one module that creates its artifact by merging together 2
>> artifacts created by dependent modules
>> At the moment, I am trying to do it all with the antrun plugin, rather
>> than writing Mojos.
>>
>> In the maven 1 version I did somethign like this:
>>
>> ${maven.repo.local}/${pom.artifactDirectory}/the-file-i-want.exe
>>
>> Is there any way I can get installed artifacts from the local
repository
>> via antrun or pom.xml expressions?
>>
>> Thanks,
>> Matthew
>>
>> -
>> 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: settings.xml file "inheritance" (for lack of a better word)

2006-08-02 Thread John Casey

Yes, everything is inherited, and the local settings take precedence. If you
have questions about how the inheritance is computed, try:

mvn help:effective-settings


HTH,

john

On 8/2/06, Thomas Van Buskirk <[EMAIL PROTECTED]> wrote:


Hello,

My group is working in an NFS mounted environment.  I would like to have
everyone running maven from a central location, with a centrally located
settings.xml file in the conf directory, rather than everyone having their
own settings.xml file in their $HOME/.m2 directories.

That way, if a change is made to the settings.xml file, it will propogate
to all people, rather than having to send out an email to each person
telling them to modify their $HOME/.m2/settings.xml file with the change.

My concern is that people may individually want to modify certain parts of
the settings.xml file for their specific projects (add variables, etc.)
that may not apply to other projects, or may have different values than for
other projects.

Now, my question:

If an individual has a settings.xml file in their $HOME/.m2   ** AND **
in their $MAVEN_HOME/conf, does the .m2 version take precedence over the
conf version?  Does it "inherit" from the conf version?  If so, what fields
are inherited?

Thanks in advance!

Tom

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




Re: Maven Presentation

2006-08-02 Thread John Casey

Depending on what sort of software your company builds, you might consider
using the Maven project itself as an example. It has multiple levels of
hierarchy in places, with modules specified at each level. It also has
examples of an organizational POM (at least, in the 2.1, or trunk, SVN),
along with both dependencyManagement and pluginManagement sections.

The SVN URL for the main Maven 2 project is:

http://svn.apache.org/repos/asf/maven/components/trunk

...but there are other Maven-family projects hosted there, too, under:

http://svn.apache.org/repos/asf/maven/**

HTH,

john

On 8/2/06, Hilco Wijbenga <[EMAIL PROTECTED]> wrote:


Hi all,

I've been asked to do a presentation about Maven. It's the familiar
story: we have an Ant build but are interested in moving to Maven.

I am looking for an Open Source project that uses Maven2 that shows
most of the interesting features. I was hoping to find a medium
complexity Maven2 build so that I can easily understand what's going
on but still show some of the power of Maven, specifically modules.

Does anyone know of such a project that I could use as an example for
this presentation?

Cheers,
Hilco

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




Re: Profiles.xml

2006-08-02 Thread John Casey

Well, it's giving you the correct feedback in that error message. In fact,
there are two distinct types of profile in Maven. Those which are embedded
in the POM have access to many more configuration points, since they will
always travel with the POM (traversing a remote deployment, for example),
and therefore don't constitute a portability issue. On the other hand,
profiles which are declared in either the settings.xml or a project-specific
profiles.xml will not be distributed with a project's artifact when it's
deployed to the remote repository. Therefore, to keep these external
profiles from affecting the build configuration represented by the project's
POM, they are not allowed to do anything more than specify properties,
pluginRepositories, and repositories.

The short answer is that you cannot specify a  section in an
external profile. If the book doesn't make mention of this, it should be
corrected.

HTH,

-john

On 8/2/06, Alexis Midon <[EMAIL PROTECTED]> wrote:


Hi all,

can some one tell me what's wrong with my Profiles.xml file?
I always get the following root error:

Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException:
Unrecognised tag: 'build' (position: START_TAG seen ...\r\n
... @5:20)
at
org.apache.maven.profiles.io.xpp3.ProfilesXpp3Reader.parseProfile(
ProfilesXpp3Reader.java:620)
at
org.apache.maven.profiles.io.xpp3.ProfilesXpp3Reader.parseProfilesRoot(
ProfilesXpp3Reader.java:664)
at org.apache.maven.profiles.io.xpp3.ProfilesXpp3Reader.read(
ProfilesXpp3Reader.java:1190)
at org.apache.maven.profiles.io.xpp3.ProfilesXpp3Reader.read(
ProfilesXpp3Reader.java:1201)
at
org.apache.maven.profiles.DefaultMavenProfilesBuilder.buildProfiles (
DefaultMavenProfilesBuilder.java:74)
at
org.apache.maven.project.DefaultMavenProjectBuilder.loadProjectExternalProfiles
(DefaultMavenProjectBuilder.java:1229)
... 18 more


It drives me crazy!
I check the BetterBuild... Book and my file seems valid (see attchament or
below)

I only have a tiny doubt about the  tag, it comes from the
book but doesn't appear on the website.
Quite confusing.

Thanks for your help

Alexis





idea



org.apache.maven.plugins
maven-idea-plugin


java version "1.4.2_08"

true







idea



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





M2-Release:prepare

2006-08-02 Thread Matilda Robert
Hi all,

 

I have been working on the release:prepare command line for a few days now
and can't get it to work.  I added the link in my pom.xml to perform the
release, after making a copy of the trunk and created a branch in svn.  I
ran both the mvn release:prepare and the mvn release: prepare with the
-Dproject.scm.developerConnection and -DtagBase commands with the links to
go with them and the first part builds successfully but the second parts
gives me an working copy build error.  I made sure that my path was correct
and even made some modifications in the pom to make sure that my code was
correct but I still get the same error.  I tried deleting the path and
rechecking out the directory on several occasions and I keep getting the
same error.  

 

I guess my question is did anyone get the command to work yet in svn?  It
looks like even thought I am getting an error on the second part my target
directory is green like it is checked into svn; the target directory
shouldn't be checked into svn.  I am just a little confused and need a
little help getting over this hurdle.  Any help would be greatly
appreciated.  The book wasn't very helpful because at the time the book was
written the Release command wasn't completed yet.  I found some helpful
information online and this is as far as I got.

 

Please help,

 

Matilda 




-
Attention:
Any views expressed in this message are those of the individual
sender, except where the message states otherwise and the sender is
authorized to state them to be the views of any such entity. The
information contained in this message and or attachments is
intended only for the person or entity to which it is addressed and
may contain confidential and/or privileged material.  If you
received this in error, please contact the sender and delete the
material from any system and destroy any copies.


Profiles.xml

2006-08-02 Thread Alexis Midon
Hi all,can some one tell me what's wrong with my Profiles.xml file?I always get the following root error:Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException: Unrecognised tag: 'build' (position: START_TAG seen ...\r\n    ... @5:20)
    at org.apache.maven.profiles.io.xpp3.ProfilesXpp3Reader.parseProfile(ProfilesXpp3Reader.java:620)    at org.apache.maven.profiles.io.xpp3.ProfilesXpp3Reader.parseProfilesRoot(ProfilesXpp3Reader.java:664)
    at org.apache.maven.profiles.io.xpp3.ProfilesXpp3Reader.read(ProfilesXpp3Reader.java:1190)    at org.apache.maven.profiles.io.xpp3.ProfilesXpp3Reader.read(ProfilesXpp3Reader.java:1201)    at org.apache.maven.profiles.DefaultMavenProfilesBuilder.buildProfiles
(DefaultMavenProfilesBuilder.java:74)    at org.apache.maven.project.DefaultMavenProjectBuilder.loadProjectExternalProfiles(DefaultMavenProjectBuilder.java:1229)    ... 18 moreIt drives me crazy!
I check the BetterBuild... Book and my file seems valid (see attchament or below)I only have a tiny doubt about the  tag, it comes from the book but doesn't appear on the website.Quite confusing.
Thanks for your helpAlexis
        
    idea    
    
        org.apache.maven.plugins
    maven-idea-plugin
        
    java version "1.4.2_08"
    true    
    
        
        
        idea
    



idea



org.apache.maven.plugins
maven-idea-plugin


java version "1.4.2_08"
true







idea


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

XML-RPC client - getting build state by BuildId/BuildDefinition

2006-08-02 Thread Baron.Reznik
I tried playing with the java XML-RPC client for continuum, and had a couple 
questions. 

- For a given project, I would like to query the state of the most recent build 
for each build definition. Is this possible? 
- For a given project, what is contained in the list returned by 
project.getBuildResults() ? I always seem to get an empty list returned.
- For the ProjectsReader, is the only way to get refreshProject() to work by 
giving it a project with its ID set? Or are there other members that could be 
set instead? I tried setting group/artifactId, which I figured would be unique, 
but I got a NPE instead.
- Are javadocs published online anywhere for the XML-RPC client, let alone the 
rest of continuum? I had trouble finding them.

The reason I'm interested in this is because if you have a project with 
multiple build definitions, continuum doesn't handle the notifications too 
well. If one definition constantly results in a successful build, and the other 
in a failed/error build, you will continously get notifications of "build 
success" and "build failure" since the build state is constantly switching. It 
would be nice to be able to group a number of build definitions together as a 
'single build' for the purpose of build state. Until that's possible, I was 
hoping to grab the right information and come to the proper conclusion using 
the xml-rpc client if possible.

Thanks,
Baron


Maven Presentation

2006-08-02 Thread Hilco Wijbenga

Hi all,

I've been asked to do a presentation about Maven. It's the familiar
story: we have an Ant build but are interested in moving to Maven.

I am looking for an Open Source project that uses Maven2 that shows
most of the interesting features. I was hoping to find a medium
complexity Maven2 build so that I can easily understand what's going
on but still show some of the power of Maven, specifically modules.

Does anyone know of such a project that I could use as an example for
this presentation?

Cheers,
Hilco

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



Re: Unable to deploy to remote repository

2006-08-02 Thread neeraj daffodil

we also understand that we canot deploy directly in webapps but i want to
know than why tomcat and jboss plugin is there?

On 8/2/06, Arnaud HERITIER <[EMAIL PROTECTED]> wrote:


Even if it's urgent for you, it's not the case for me. And it's the
problem
of the OSS.
In theory you'll have a better support if you join the users on the list
instead of me directly.

For your reply :
You can't deploy directly to a web application. In HTTP you can only read
data.
You have to install on your remote server a ftp server, a ssh server, a
webdav server, ... something that will allow you to push your artefacts on
it.

Arnaud


On 8/2/06, sharmishta.kaul <[EMAIL PROTECTED]> wrote:
>
> Thanks for your help. I have been able to upload to the repository. I
had
> missed out the maven-artifact-plugin. Now I want to deploy remotely to
the
> tomcat's webapps. What plugin should I use. This is required urgently
>
> Arnaud HERITIER wrote ..
> > Sharmishta
> >
> >   I you want to use ftp to deploy locally your settings must be :
> >
> > maven.repo.list=R1
> > maven.repo.R1=ftp://localhost
> > maven.repo.R1.directory=/ROOT/repository
> > maven.repo.R1.username=sharmishta
> > maven.repo.R1.password=hrhk
> >
> > http://maven.apache.org/maven-1.x/plugins/artifact/examples.html
> >
> > Arnaud
> >
> > On 8/2/06, sharmishta.kaul <[EMAIL PROTECTED]> wrote:
> > >
> > > I'm using maven1.0. I want to deploy to the remote repository.
> > > I have used the following code in project.properties
> > >
> > > maven.repo.list=R1
> > > maven.repo.R1 = ftp://localhost:21/ROOT/repository
> > > maven.repo.R1.directory=http://localhost:8080/ROOT/repository
> > > maven.repo.R1.username=sharmishta
> > > maven.repo.R1.password=hrhk
> > >
> > > When i give the command maven jar:deploy, i get thr following
> exception
> > >
> > > jar:deploy:
> > > [echo] maven.repo.list is set - using artifact deploy mode
> > > Will deploy to 1 repository(ies): R1
> > > Deploying to repository: R1
> > > Failed to deploy to: R1 Reason: Could not connect to server.
> > >
> > > BUILD FAILED
> > > File.. C:\Documents and
Settings\Administrator\.maven\cache\maven-
> > > artifact-plugin-1.4.1\plugin.jelly
> > > Element... artifact:artifact-deploy
> > > Line.. 94
> > > Column 13
> > > Unable to deploy to any repositories
> > >
> > > Please tell me what I'm missing. Do I have to use some plugin for
> that.
> > If
> > > yes then how.Please help. I've not worked in maven before
> > >
> > >
> > >
> > >
> > >
>
>




Re: Getting the ear plugin to recognise har files

2006-08-02 Thread Doug Douglass

Ian,

The goal of the jboss-packaging-maven-plugin is to consume the existing
functionality of the jboss-sar-maven-plugin and extend it to support as many
packagings as JBoss supports and users request. My initial need was for
JBoss Spring packagings (.spring files) for use with the JBoss Spring
Deployer[1].

Since all of the various JBoss packagings are just JARs with a specific
deployment descriptor it didn't seem entirely correct to extend the
jboss-sar-maven-plugin to build HARs, PARs, etc. Much of this was discussed
on the mojo-dev list approx. a month ago.

FYI, the mojo site [2] is out-of-date. Also, there is currently a fairly
significant bug[3] that blocks most usage -- I'm trying to find time and
hints to fix this. It's probably an easy fix but I'm very confused by the
fact that maven generates the artifact with the correct name, but deploys it
with a different name.

I see you added a JIRA issue[4] for your use case. In the mean time, could
you not use/configure the maven-dependency-plugin to copy the required
dependencies into the appropriate location (e.g,. target/classes/lib) prior
to the packaging phase? Just a quick thought.

Doug

[1] http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossSpringIntegration

[2] http://mojo.codehaus.org/jboss-packaging-maven-plugin/

[3] http://jira.codehaus.org/browse/MOJO-449

[4] http://jira.codehaus.org/browse/MOJO-469

On 8/2/06, Ian Springer <[EMAIL PROTECTED]> wrote:


Doug,

Does jboss-packaging-maven-plugin have any relation to
jboss-sar-maven-plugin [1], or are these just two competing plugins for
creating SARs? One feature which I require which doesn't seem to be
provided by either plugin is the ability to have jar/war/ear/etc.
dependencies packaged within the SAR for nested deployment. Is this
something on the roadmap for jboss-packaging-maven-plugin?

Thanks,
Ian

[1] http://mojo.codehaus.org/jboss-sar-maven-plugin/

| -Original Message-
| From: Doug Douglass [mailto:[EMAIL PROTECTED]
| Sent: Tuesday, August 01, 2006 6:58 PM
| To: Maven Users List
| Subject: Re: Getting the ear plugin to recognise har files
|
| Graham,
|
| There have been some recent discussions over on the mojo-dev
| list regarding
| JBoss packagings and how best to implement them in the
| jboss-packaging-maven-plugin. Specifically, the very issue
| you note (name
| clashing) did come up, thought dismissed as a very unlikely use case.
|
| One thought that surfaced is to use classifiers in situations
| where the file
| extension is insufficient. eg., bar-artifact-1.0.0-ejb.jar or
| foo-artifact-1.0.0-jboss.har, just like the sources plugin does.
|
| I'm working on some patches to the
| jboss-packaging-maven-plugin, so chime in
| if you have any suggestions.
|
| Doug
|
|
| On 8/1/06, Graham Leggett <[EMAIL PROTECTED]> wrote:
| >
| > Stephane Nicoll wrote:
| >
| > >> Embedded error: Unknown artifact type[har]
| > >>
| > >> Looking in the docs, the configuration option
| "artifactTypeMappings"
| > >> seems
| > >> to offer a clue, but apart from the text
| "PlexusConfiguration", there
| > is
| > >> no indication what needs to be done to get this to work,
| or whether
| > this
| > >> option does I what I think it might do.
| > >
| > > Well, it does [1].
| > >
| > >   
| > >  
| > >
| > >  
| > >
| >
| > This option won't work for us, as the project that creates
| the har file,
| > already creates an ejb mapped to a jar file, which creates
| a filename
| > clash.
| >
| > Ideally the ear plugin shouldn't try to know about every single file
| > extension ever made, because invariably someone (in this case JBoss)
| > invents a new one, and the ear plugin stops working.
| >
| > A sane default would be to assume the suffix maps to the
| type for files
| > that are not recognised.
| >
| > Regards,
| > Graham
| > --
| >
| >
| >
|

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




Re: Re: maven2 xdoclet2 plugin

2006-08-02 Thread Grégory Joseph

Sure, no worries :)

g

On 01/08/06, Marco Mistroni <[EMAIL PROTECTED]> wrote:

Hello Gregory,
 thx for mail.. no i m still on XDoclet1.. i m trying to move my whole
environment to eclipse + maven2 + xdoclet..
i got xdoclet1 working with maven2.. i'll try to get eclipse in then i'll
try to move to xd2
and i'll let you know of result
dont expect any mail from me soon thoug :), i m reallly busy @ work and this
maven/xdoclet issue is what i do in spare time

will get back to you as soon as i can

thanx and regards
 marco

On 8/1/06, Grégory Joseph <[EMAIL PROTECTED]> wrote:
>
> Marco,
>
> Sorry for the late reply.. Were you able to move on this?
> I think your mistake was that you did not declare the
> dist.codehaus.org repository as being of
> layout:legacy(legacy in your 
> declaration)
>
> The XDoclet2 project and plugins are still partly built with m1, which
> is why we still deploy everything on the legacy repository.
>
> Let me know if you still need help.
>
> Cheers,
>
> g
>
> On 05/07/06, Marco Mistroni <[EMAIL PROTECTED]> wrote:
> > hi all,,
> >   can anyone point me in the right direction for using maven2 xdoclet2
> > plugin?
> >
> > i followed this link
> >
> > http://xdoclet.codehaus.org/Maven2+plugin
> >
> > to try, i wrote a simple pom.xml like in the example
> >
> > 
> >4.0.0
> >Backend
> >jar
> >1.0
> >Backend
> >
> >   TestJSFAppM2
> >   TestJSFAppM2
> >   1.0
> >
> >
> >
> >
> >   
> >aspectj
> >aspectjrt
> >1.5.0
> >  
> >  
> >jasperreports
> >jasperreports
> >1.2.4
> >  
> >  
> >commons-digester
> >commons-digester
> >1.7
> >  
> >  
> >log4j
> >log4j
> >1.2.9
> >  
> >  
> >castor
> >castor
> >1.0M4
> >  
> >  
> > javax.servlet
> >servlet-api
> >2.4
> >  
> >
> >  
> >TestJSFAppM2
> >Commons
> >1.0
> >  
> >
> >
> >
> >
> >   
> > 
> >   xdoclet
> >   maven2-xdoclet2-plugin
> >   
> > 
> >   
> >   
> >   org.xdoclet.plugin.web.TaglibPlugin
> >   
> >   
> >   2.0
> >   ${basedir}/target/xdoclet/META-INF
> > 
> >   
> >   
> >
> >  
> >  
> >
> >  
> >xdoclet
> >  
> >
> >  
> >
> >
> >
> > 
> >
> >!-- The following two sections should be unnecessary shortly.
> > surefire-2.2 is due for release yesterday. -->
> >   
> > 
> >   apache.snapshots
> >   http://cvs.apache.org/maven-snapshot-repository
> >   
> > true
> >   
> > 
> >   
> >   
> >   
> >  apache.snapshots
> >  http://cvs.apache.org/maven-snapshot-repository
> >   
> >   
> >   codehaus-plugins
> >   http://dist.codehaus.org/
> >   
> >true
> >   
> >   
> >   true
> >   
> >   
> >
> >
> >
> >
> >
> >
> > 
> >
> >
> >
> > when i run mvn:compile   i got following error
> >
> > [ERROR] BUILD ERROR
> > [INFO]
> > 
> > [INFO] The plugin 'xdoclet:maven2-xdoclet2-plugin' does not exist or no
> > valid ve
> > rsion could be found
> > [INFO]
> > 
> >
> >
> >
> >
> > and when i run mvn xdoclet:xdoclet i  got this
> >
> >
> > [INFO] The plugin 'org.apache.maven.plugins:maven-xdoclet-plugin' does
> not
> > exist
> >  or no valid version could be found
> >
> >
> > can anyone help me out on how to start? i got plugins working fine for
> > maven1, btu now i have
> > moved to maven2 ...
> >
> > thx and regards
> >  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: Problem with scm:changelog

2006-08-02 Thread neeraj daffodil

use scm:checkout-project goal to checkout and also define scm.cvs.module="your
module name in your repository" write in ur project.properties file



On 8/2/06, eman forever <[EMAIL PROTECTED]> wrote:


Hi everyone ..

I am a newbie to maven ..
I've been using the scm api and it seems that it's working properly except
when I execute the scm:changelog goal I get this error

[INFO] [scm:changelog]
[INFO] Executing: cvs -z3 -f -d :pserver:[EMAIL PROTECTED]:repository -q
log
[INFO] Working directory: C:\Documents and Settings\Administrator
[ERROR] Provider message:
[ERROR] The cvs command failed.
[ERROR] Command output:
[ERROR] cvs log: in directory .:
cvs [log aborted]: there is no version here; run 'cvs checkout' first

[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Command failed.The cvs command failed.
[INFO]

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

[INFO] Total time: 4 seconds
[INFO] Finished at: Tue Aug 01 19:48:09 PDT 2006
[INFO] Final Memory: 4M/7M
[INFO]


I've executed the checkout goal and it successfully build
I've versioned my project
and I also tried to execute the  cvs -z3 -f -d
:pserver:[EMAIL PROTECTED]:repository -q
log command , but I got the following error:

: No such file or directory /repository/test
cvs log: skipping directory

Any help will be really appreciated..

_
Don't just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


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




settings.xml file "inheritance" (for lack of a better word)

2006-08-02 Thread Thomas Van Buskirk
Hello,

My group is working in an NFS mounted environment.  I would like to have 
everyone running maven from a central location, with a centrally located 
settings.xml file in the conf directory, rather than everyone having their own 
settings.xml file in their $HOME/.m2 directories.  

That way, if a change is made to the settings.xml file, it will propogate to 
all people, rather than having to send out an email to each person telling them 
to modify their $HOME/.m2/settings.xml file with the change.

My concern is that people may individually want to modify certain parts of the 
settings.xml file for their specific projects (add variables, etc.) that may 
not apply to other projects, or may have different values than for other 
projects.

Now, my question:

If an individual has a settings.xml file in their $HOME/.m2   ** AND **   in 
their $MAVEN_HOME/conf, does the .m2 version take precedence over the conf 
version?  Does it "inherit" from the conf version?  If so, what fields are 
inherited?

Thanks in advance!

Tom

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



RE: Getting the ear plugin to recognise har files

2006-08-02 Thread Ian Springer
Doug,

Does jboss-packaging-maven-plugin have any relation to
jboss-sar-maven-plugin [1], or are these just two competing plugins for
creating SARs? One feature which I require which doesn't seem to be
provided by either plugin is the ability to have jar/war/ear/etc.
dependencies packaged within the SAR for nested deployment. Is this
something on the roadmap for jboss-packaging-maven-plugin?

Thanks,
Ian

[1] http://mojo.codehaus.org/jboss-sar-maven-plugin/

| -Original Message-
| From: Doug Douglass [mailto:[EMAIL PROTECTED] 
| Sent: Tuesday, August 01, 2006 6:58 PM
| To: Maven Users List
| Subject: Re: Getting the ear plugin to recognise har files
| 
| Graham,
| 
| There have been some recent discussions over on the mojo-dev 
| list regarding
| JBoss packagings and how best to implement them in the
| jboss-packaging-maven-plugin. Specifically, the very issue 
| you note (name
| clashing) did come up, thought dismissed as a very unlikely use case.
| 
| One thought that surfaced is to use classifiers in situations 
| where the file
| extension is insufficient. eg., bar-artifact-1.0.0-ejb.jar or
| foo-artifact-1.0.0-jboss.har, just like the sources plugin does.
| 
| I'm working on some patches to the 
| jboss-packaging-maven-plugin, so chime in
| if you have any suggestions.
| 
| Doug
| 
| 
| On 8/1/06, Graham Leggett <[EMAIL PROTECTED]> wrote:
| >
| > Stephane Nicoll wrote:
| >
| > >> Embedded error: Unknown artifact type[har]
| > >>
| > >> Looking in the docs, the configuration option 
| "artifactTypeMappings"
| > >> seems
| > >> to offer a clue, but apart from the text 
| "PlexusConfiguration", there
| > is
| > >> no indication what needs to be done to get this to work, 
| or whether
| > this
| > >> option does I what I think it might do.
| > >
| > > Well, it does [1].
| > >
| > >   
| > >  
| > >
| > >  
| > >
| >
| > This option won't work for us, as the project that creates 
| the har file,
| > already creates an ejb mapped to a jar file, which creates 
| a filename
| > clash.
| >
| > Ideally the ear plugin shouldn't try to know about every single file
| > extension ever made, because invariably someone (in this case JBoss)
| > invents a new one, and the ear plugin stops working.
| >
| > A sane default would be to assume the suffix maps to the 
| type for files
| > that are not recognised.
| >
| > Regards,
| > Graham
| > --
| >
| >
| >
| 

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



maven2 surefire haltOnFailure

2006-08-02 Thread Dennis Klavans

My test execution does not seem to stop on a failure. Essentially, I need the 
JUnit haltOnFailure/haltOnError functionality. Researching snippets on the web 
seems to suggest that should be the default behavior. No-one else seems to have 
complained about this. I found that this was fixed in 1.8 so I would view this 
as somewhat of a backwards compatibility issue even though the plugin is new to 
2.x. Does anyone know if this is just me?

Thanks




___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!



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



Re: SVN Revision Number in the name of a snapshot artifact

2006-08-02 Thread Binil Thomas

The discussion at
http://mail-archives.apache.org/mod_mbox/maven-users/200602.mbox/[EMAIL 
PROTECTED]
useful in this context.

Thanks,
Binil

On 8/2/06, Binil Thomas <[EMAIL PROTECTED]> wrote:


Thanks for replying!

I think I understand this better now. In my build logs, I have

[INFO] [deploy:deploy]
[INFO] Retrieving previous build number from artifacts
Uploading: /path/to/shared/repo/project/mymodule/1.0-SNAPSHOT/mymodule-
1.0-20060802.093051-13.jar
71K uploaded

So, it looks like Maven looks at the shared repository, and figures out a
version qualifier & build number. The qualifier is the timestamp and build
number is figured out by incrementing the last build number. In my case, I
guess, since I started from a clean repository and no build has failed yet,
the build number corresponds to Continuum build number (which mislead me
into thinking that Continuum decides the build number).

I will try the Maven user list.

Thanks,
Binil


On 8/2/06, Jesse McConnell <[EMAIL PROTECTED] > wrote:
>
> ah I see where your going, have you tried the maven users list?  that
> is very much something that would be configured directly in maven, if
> it can be done like you are shooting for, which I am not to confident
> would be supported without adding some custom artifact resolvers.
>
> cheers!
>
> On 8/2/06, Binil Thomas <[EMAIL PROTECTED]> wrote:
> > Hi Jesse,
> >
> > Thanks for the reply.
> >
> > I am using SNAPSHOT dependencies between modules. Continuum does
> generate
> > the SNAPSHOT binaries with a timestamp, and Maven 2 lets developers
> depend
> > on the latest SNAPSHOT automatically. All that functionality you
> mention
> > works fine for me.
> >
> > Since the SCM I am using - SVN - does version the repository by
> revision
> > numbers, I am interested in making the artifact's name also to contain
> it.
> >
> > Right now, Continuum generates artifacts named like, say,
> > artifact-1.0-20060801.123409-10.jar. Here, the number 10, I think, is
> the
> > build number. Instead of this, I was hoping that I can get the
> revision
> > number from SVN. This way, looking at the artifact name I can know
> precisely
> > where it came from. SVN does a great job of ensuring atomic commits
> and
> > maintaining revision numbers for the whole repository; it would be a
> shame
> > not to make use of that.
> >
> > To summarize, I am fine with the way SNAPSHOT builds work in general.
> All I
> > am looking for is a way to make use of the SVN revision number within
> the
> > SNAPSHOT version number. Note that for non-SNAPSHOT binaries, I *want*
> > version numbers exactly as mentioned in the POM. :-)
> >
> > Thanks,
> > Binil
> >
> > On 8/1/06, Jesse McConnell < [EMAIL PROTECTED]> wrote:
> > >
> > > I don't really know of a simple way to do that, there are a couple
> of
> > > factors at play here..
> > >
> > > the  tag in the pom.xml is what governs the version that is
> > > appended to the artifact for storage in the repository, and that
> > > version doesn't change with scm version numbers anyway that I know
> of
> > > (of course I could be wrong, there might be a way).
> > >
> > > If you need functionality that can map a version in a repository to
> a
> > > particular snapshot in time of the scm then I would recommend using
> > > the SNAPSHOTs setup.  In these the version of your pom would be
> > > something like 1.0-SNAPSHOT and then whenever continuum deployed the
> > > snapshot it would replace that version with a timestamp.  That
> > > timestamp could be turn be converted into a date that could you pass
> > > into subversion and get the checkout of source corresponding to that
> > > point in time.
> > >
> > > that is nice also in that developers using your continuum published
> > > repository don't have to do anything to get the latest releases of
> > > code into thier development environment, maven will download the
> > > latest snapshot for them.
> > >
> > > anyway, good luck!
> > >
> > > On 8/1/06, Binil Thomas <[EMAIL PROTECTED]> wrote:
> > > > Hi all,
> > > >
> > > > I am using Continuum 1.0.3, Maven 2.0.4 & SVN . I have configured
> > > Continuum
> > > > to publish the artifacts it build into a shared repository, as
> described
> > > in
> > > > the 'Better Builds With Maven' book. I would like the revision
> number of
> > > the
> > > > SVN repository to be part of the version number of artifacts
> generated
> > > by
> > > > Continuum. Is there a simple way to achieve this?
> > > >
> > > > Thanks,
> > > > Binil
> > > >
> > > > PS: I am unsure if this question had been asked here before; I
> tried
> > > > searching the list archives and could not find the answer.
> > > >
> > > >
> > >
> > >
> > > --
> > > jesse mcconnell
> > > [EMAIL PROTECTED]
> > >
> >
> >
>
>
> --
> jesse mcconnell
> [EMAIL PROTECTED]
>




Re: SVN Revision Number in the name of a snapshot artifact

2006-08-02 Thread Binil Thomas

Thanks for replying!

I think I understand this better now. In my build logs, I have

[INFO] [deploy:deploy]
[INFO] Retrieving previous build number from artifacts
Uploading: 
/path/to/shared/repo/project/mymodule/1.0-SNAPSHOT/mymodule-1.0-20060802.093051-13.jar
71K uploaded

So, it looks like Maven looks at the shared repository, and figures out a
version qualifier & build number. The qualifier is the timestamp and build
number is figured out by incrementing the last build number. In my case, I
guess, since I started from a clean repository and no build has failed yet,
the build number corresponds to Continuum build number (which mislead me
into thinking that Continuum decides the build number).

I will try the Maven user list.

Thanks,
Binil

On 8/2/06, Jesse McConnell <[EMAIL PROTECTED]> wrote:


ah I see where your going, have you tried the maven users list?  that
is very much something that would be configured directly in maven, if
it can be done like you are shooting for, which I am not to confident
would be supported without adding some custom artifact resolvers.

cheers!

On 8/2/06, Binil Thomas <[EMAIL PROTECTED]> wrote:
> Hi Jesse,
>
> Thanks for the reply.
>
> I am using SNAPSHOT dependencies between modules. Continuum does
generate
> the SNAPSHOT binaries with a timestamp, and Maven 2 lets developers
depend
> on the latest SNAPSHOT automatically. All that functionality you mention
> works fine for me.
>
> Since the SCM I am using - SVN - does version the repository by revision
> numbers, I am interested in making the artifact's name also to contain
it.
>
> Right now, Continuum generates artifacts named like, say,
> artifact-1.0-20060801.123409-10.jar. Here, the number 10, I think, is
the
> build number. Instead of this, I was hoping that I can get the revision
> number from SVN. This way, looking at the artifact name I can know
precisely
> where it came from. SVN does a great job of ensuring atomic commits and
> maintaining revision numbers for the whole repository; it would be a
shame
> not to make use of that.
>
> To summarize, I am fine with the way SNAPSHOT builds work in general.
All I
> am looking for is a way to make use of the SVN revision number within
the
> SNAPSHOT version number. Note that for non-SNAPSHOT binaries, I *want*
> version numbers exactly as mentioned in the POM. :-)
>
> Thanks,
> Binil
>
> On 8/1/06, Jesse McConnell <[EMAIL PROTECTED]> wrote:
> >
> > I don't really know of a simple way to do that, there are a couple of
> > factors at play here..
> >
> > the  tag in the pom.xml is what governs the version that is
> > appended to the artifact for storage in the repository, and that
> > version doesn't change with scm version numbers anyway that I know of
> > (of course I could be wrong, there might be a way).
> >
> > If you need functionality that can map a version in a repository to a
> > particular snapshot in time of the scm then I would recommend using
> > the SNAPSHOTs setup.  In these the version of your pom would be
> > something like 1.0-SNAPSHOT and then whenever continuum deployed the
> > snapshot it would replace that version with a timestamp.  That
> > timestamp could be turn be converted into a date that could you pass
> > into subversion and get the checkout of source corresponding to that
> > point in time.
> >
> > that is nice also in that developers using your continuum published
> > repository don't have to do anything to get the latest releases of
> > code into thier development environment, maven will download the
> > latest snapshot for them.
> >
> > anyway, good luck!
> >
> > On 8/1/06, Binil Thomas <[EMAIL PROTECTED]> wrote:
> > > Hi all,
> > >
> > > I am using Continuum 1.0.3, Maven 2.0.4 & SVN . I have configured
> > Continuum
> > > to publish the artifacts it build into a shared repository, as
described
> > in
> > > the 'Better Builds With Maven' book. I would like the revision
number of
> > the
> > > SVN repository to be part of the version number of artifacts
generated
> > by
> > > Continuum. Is there a simple way to achieve this?
> > >
> > > Thanks,
> > > Binil
> > >
> > > PS: I am unsure if this question had been asked here before; I tried
> > > searching the list archives and could not find the answer.
> > >
> > >
> >
> >
> > --
> > jesse mcconnell
> > [EMAIL PROTECTED]
> >
>
>


--
jesse mcconnell
[EMAIL PROTECTED]



Re: m2/eclipse/wtp configuration + tapestry

2006-08-02 Thread Borut Bolčina

Hello Kev,

I configured Eclipse 3.2, WTP 1.5 and Maven 2.0.4 to play in the same 
band. Here is how I prepared my environment for developing Tapestry web 
applications:


  1. Create new Dynamic Web project with Eclipse. Enter src/main/webapp
 for Content Directory. Enter src/main/java for Java Source Directory.
  2. Install Eclipse plugin via Help/Software Updates/Find and Install
 (http://m2eclipse.codehaus.org/).
  3. Install Eclipse plugin for synchronizing WTP Web App Libraries
 with Maven dependencies (http://adam.kruszewski.name/eclipse/)
 also with Software Updates. See
 http://jira.codehaus.org/browse/MNGECLIPSE-105?page=all for more
 on this sync issue.
  4. Enable your project for Maven2 by right clicking on project and
 choosing Maven2/Enable. Enter POM values, don't forget to set war
 for Packaging. The icon indicating that your project is a WTP
 project will be replaced my small red letter m. Also Maven2
 Dependencies library will show up (empty).
  5. Right click on your project in Package Explorer (I work in Java 
 Perspective) and choose Properties. Find  LibCopy properties in

 the list and  check the only checkbox and be sure that Local
 folder points to src/main/webapp/WEB-INF/lib.
  6. Add dependent library  (say Tapestry) by right clicking the
 project and then Maven2/Add  Dependency. In the dialog type
 tapestry which will show up a list of possible artifacts. Choose
 version 4.0.2 and wait for all jars to download (there should be
 10). Maven2 Dependency library in Package Explorer should now
 contain references to jars in your local maven repository. Also
 Web App Libraries should contain white jar icons with a small
 arrow in the lower right corner.
  7. Configure Tomcat (or any other container) in
 Preferences/Server/Installed Runtime and then attach your project
 to this server instance.
  8. Specific instructions for Tapestry can be found at
 http://wiki.apache.org/tapestry/HowToSetupEclipseWtp

You can now change HTML _and_ Java source files without copying anything 
anywhere. This is as rapid as it gets in pro/large web app development 
as far as I can tell. Having HTML designer doing page mockups with 
Dreamweaver _in parallel_ with Tapestry coder, both using Subversion, is 
a winning game but this is already off-topic.


I hope this recipe will get you up to speed.

Cheers,
Borut Bolčina

Kev D'Arcy pravi:

Hi,

I'm trying to set-up a dynamic web project in eclipse 3.2 using wtp 1.5
and maven. I have everything in my project compiling correctly but the
runtime classpath is missing all the dependencies that are defined
in my pom.xml. Do they need to be defined in the .classpath file as well
as in the pom.xml?

Kev



This document is strictly confidential and is intended for use by
 the addressee unless otherwise indicated.

This email has been scanned by an external Email Security System.

Allied Irish Banks



-
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: Descriptions of Stock Archetypes?

2006-08-02 Thread Jamie Jackson

Hmm, I saw that, but didn't get a lot out of it. I guess the only way to get
any more detail is to try them...

Thanks,
Jamie

On 8/2/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:


On 8/2/06, Jamie Jackson <[EMAIL PROTECTED]> wrote:

> Are the stock archetypes documented somewhere? I'm wondering how one
> normally chooses an archetype for a given project.

   http://docs.codehaus.org/display/MAVENUSER/Archetypes+List

--
Wendy

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




Re: Descriptions of Stock Archetypes?

2006-08-02 Thread Wendy Smoak

On 8/2/06, Jamie Jackson <[EMAIL PROTECTED]> wrote:


Are the stock archetypes documented somewhere? I'm wondering how one
normally chooses an archetype for a given project.


  http://docs.codehaus.org/display/MAVENUSER/Archetypes+List

--
Wendy

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



Descriptions of Stock Archetypes?

2006-08-02 Thread Jamie Jackson

Hi,

Are the stock archetypes documented somewhere? I'm wondering how one
normally chooses an archetype for a given project.

Thanks,
Jamie


Problem with scm:changelog

2006-08-02 Thread eman forever

Hi everyone ..

I am a newbie to maven ..
I've been using the scm api and it seems that it's working properly except 
when I execute the scm:changelog goal I get this error


[INFO] [scm:changelog]
[INFO] Executing: cvs -z3 -f -d :pserver:[EMAIL PROTECTED]:repository -q
log
[INFO] Working directory: C:\Documents and Settings\Administrator
[ERROR] Provider message:
[ERROR] The cvs command failed.
[ERROR] Command output:
[ERROR] cvs log: in directory .:
cvs [log aborted]: there is no version here; run 'cvs checkout' first

[INFO] 


[ERROR] BUILD ERROR
[INFO] 


[INFO] Command failed.The cvs command failed.
[INFO] 


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


[INFO] Total time: 4 seconds
[INFO] Finished at: Tue Aug 01 19:48:09 PDT 2006
[INFO] Final Memory: 4M/7M
[INFO] 



I've executed the checkout goal and it successfully build
I've versioned my project
and I also tried to execute the  cvs -z3 -f -d 
:pserver:[EMAIL PROTECTED]:repository -q

log command , but I got the following error:

: No such file or directory /repository/test
cvs log: skipping directory

Any help will be really appreciated..

_
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/



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



Re: accessing artifacts in local repository from pom expressions or antrun scripts

2006-08-02 Thread J. Matthew Pryor

I am using the native-maven-plugin to compile C source for the ATmelplatform
This produces two binary/object files as artifacts from sibling modules. I need 
to be able to pass the path names of these 2 files to a
Java program we have written that merges the 2 object files together

Thanks for any further assistance
Matthew




Denis Cabasson wrote:

Merging 2 artifacts

Looks like a task for maven-assembly-plugin:
http://maven.apache.org/plugins/maven-assembly-plugin/unpack-mojo.html

It can unpack jar/zip dependencies to an assembly directory and package them
as you need.

I'm afraid I can't help any futher without more informations about the
artifacts you want to merge, and what you want to produce.

Denis.


J. Matthew Pryor wrote:
  

I am migrating a maven 1 project to a maven 2 project.
I have one module that creates its artifact by merging together 2 
artifacts created by dependent modules
At the moment, I am trying to do it all with the antrun plugin, rather 
than writing Mojos.


In the maven 1 version I did somethign like this:

${maven.repo.local}/${pom.artifactDirectory}/the-file-i-want.exe

Is there any way I can get installed artifacts from the local repository 
via antrun or pom.xml expressions?


Thanks,
Matthew

-
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: SVN Revision Number in the name of a snapshot artifact

2006-08-02 Thread Jesse McConnell

ah I see where your going, have you tried the maven users list?  that
is very much something that would be configured directly in maven, if
it can be done like you are shooting for, which I am not to confident
would be supported without adding some custom artifact resolvers.

cheers!

On 8/2/06, Binil Thomas <[EMAIL PROTECTED]> wrote:

Hi Jesse,

Thanks for the reply.

I am using SNAPSHOT dependencies between modules. Continuum does generate
the SNAPSHOT binaries with a timestamp, and Maven 2 lets developers depend
on the latest SNAPSHOT automatically. All that functionality you mention
works fine for me.

Since the SCM I am using - SVN - does version the repository by revision
numbers, I am interested in making the artifact's name also to contain it.

Right now, Continuum generates artifacts named like, say,
artifact-1.0-20060801.123409-10.jar. Here, the number 10, I think, is the
build number. Instead of this, I was hoping that I can get the revision
number from SVN. This way, looking at the artifact name I can know precisely
where it came from. SVN does a great job of ensuring atomic commits and
maintaining revision numbers for the whole repository; it would be a shame
not to make use of that.

To summarize, I am fine with the way SNAPSHOT builds work in general. All I
am looking for is a way to make use of the SVN revision number within the
SNAPSHOT version number. Note that for non-SNAPSHOT binaries, I *want*
version numbers exactly as mentioned in the POM. :-)

Thanks,
Binil

On 8/1/06, Jesse McConnell <[EMAIL PROTECTED]> wrote:
>
> I don't really know of a simple way to do that, there are a couple of
> factors at play here..
>
> the  tag in the pom.xml is what governs the version that is
> appended to the artifact for storage in the repository, and that
> version doesn't change with scm version numbers anyway that I know of
> (of course I could be wrong, there might be a way).
>
> If you need functionality that can map a version in a repository to a
> particular snapshot in time of the scm then I would recommend using
> the SNAPSHOTs setup.  In these the version of your pom would be
> something like 1.0-SNAPSHOT and then whenever continuum deployed the
> snapshot it would replace that version with a timestamp.  That
> timestamp could be turn be converted into a date that could you pass
> into subversion and get the checkout of source corresponding to that
> point in time.
>
> that is nice also in that developers using your continuum published
> repository don't have to do anything to get the latest releases of
> code into thier development environment, maven will download the
> latest snapshot for them.
>
> anyway, good luck!
>
> On 8/1/06, Binil Thomas <[EMAIL PROTECTED]> wrote:
> > Hi all,
> >
> > I am using Continuum 1.0.3, Maven 2.0.4 & SVN . I have configured
> Continuum
> > to publish the artifacts it build into a shared repository, as described
> in
> > the 'Better Builds With Maven' book. I would like the revision number of
> the
> > SVN repository to be part of the version number of artifacts generated
> by
> > Continuum. Is there a simple way to achieve this?
> >
> > Thanks,
> > Binil
> >
> > PS: I am unsure if this question had been asked here before; I tried
> > searching the list archives and could not find the answer.
> >
> >
>
>
> --
> jesse mcconnell
> [EMAIL PROTECTED]
>





--
jesse mcconnell
[EMAIL PROTECTED]


Re: accessing artifacts in local repository from pom expressions or antrun scripts

2006-08-02 Thread Denis Cabasson

Merging 2 artifacts

Looks like a task for maven-assembly-plugin:
http://maven.apache.org/plugins/maven-assembly-plugin/unpack-mojo.html

It can unpack jar/zip dependencies to an assembly directory and package them
as you need.

I'm afraid I can't help any futher without more informations about the
artifacts you want to merge, and what you want to produce.

Denis.


J. Matthew Pryor wrote:
> 
> I am migrating a maven 1 project to a maven 2 project.
> I have one module that creates its artifact by merging together 2 
> artifacts created by dependent modules
> At the moment, I am trying to do it all with the antrun plugin, rather 
> than writing Mojos.
> 
> In the maven 1 version I did somethign like this:
> 
> ${maven.repo.local}/${pom.artifactDirectory}/the-file-i-want.exe
> 
> Is there any way I can get installed artifacts from the local repository 
> via antrun or pom.xml expressions?
> 
> Thanks,
> Matthew
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/accessing-artifacts-in-local-repository-from-pom-expressions-or-antrun-scripts-tf2040042.html#a5614474
Sent from the Maven - Users forum at Nabble.com.


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



accessing artifacts in local repository from pom expressions or antrun scripts

2006-08-02 Thread J. Matthew Pryor

I am migrating a maven 1 project to a maven 2 project.
I have one module that creates its artifact by merging together 2 
artifacts created by dependent modules
At the moment, I am trying to do it all with the antrun plugin, rather 
than writing Mojos.


In the maven 1 version I did somethign like this:

${maven.repo.local}/${pom.artifactDirectory}/the-file-i-want.exe

Is there any way I can get installed artifacts from the local repository 
via antrun or pom.xml expressions?


Thanks,
Matthew

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



Re: Jabber notification message

2006-08-02 Thread Roland Kofler


 as Admin


 Continuum>General Configuration > Base URL




John Smart wrote:

Hi,
 
I've been trying to configure Jabber notification in Continuum 1.0.3. The notification works, but the message contains a reference to 'localhost', which is obviously not of much use to a developer on another machine:
 
[2:46 PM] continuum: BUILD FAILURE: Library Symbols Domain model API http://localhost:8080/continuum/servlet/continuum/target/ProjectBuild.vm/view/ProjectBuild/id/3/buildId/68
 
I assume this can be configured somewhere, but  even after studying the source code, I can't for the life of me work out where!
 
Any clues?
 
Thanks in advance,
 
John Smart.
 
John Smart

Business Consultant
Digital Solutions - Digital Innovation Services
National Library of New Zealand
[EMAIL PROTECTED]
Landline +64 4 474 3000  ext  8675  



  




Re: Getting the ear plugin to recognise har files

2006-08-02 Thread neeraj daffodil

hi
   can any one tell me from where i have got the tutorial in which i can
find how to deploy the war file in jboss server ,i already downloaded the
jboss plugin but i am unable to set the properties like jmx  and other
 same happen with tomcate i was able to deploy the war file in local srver
but unable to remote server using url
so if any one have link or eg.regarding how to deploy in remote server plz
mail to user list
 thanks in advance

Regards
Neeraj Singh Bisht



On 8/2/06, Doug Douglass <[EMAIL PROTECTED]> wrote:


Graham,

There have been some recent discussions over on the mojo-dev list
regarding
JBoss packagings and how best to implement them in the
jboss-packaging-maven-plugin. Specifically, the very issue you note (name
clashing) did come up, thought dismissed as a very unlikely use case.

One thought that surfaced is to use classifiers in situations where the
file
extension is insufficient. eg., bar-artifact-1.0.0-ejb.jar or
foo-artifact-1.0.0-jboss.har, just like the sources plugin does.

I'm working on some patches to the jboss-packaging-maven-plugin, so chime
in
if you have any suggestions.

Doug


On 8/1/06, Graham Leggett <[EMAIL PROTECTED]> wrote:
>
> Stephane Nicoll wrote:
>
> >> Embedded error: Unknown artifact type[har]
> >>
> >> Looking in the docs, the configuration option "artifactTypeMappings"
> >> seems
> >> to offer a clue, but apart from the text "PlexusConfiguration", there
> is
> >> no indication what needs to be done to get this to work, or whether
> this
> >> option does I what I think it might do.
> >
> > Well, it does [1].
> >
> >   
> >  
> >
> >  
> >
>
> This option won't work for us, as the project that creates the har file,
> already creates an ejb mapped to a jar file, which creates a filename
> clash.
>
> Ideally the ear plugin shouldn't try to know about every single file
> extension ever made, because invariably someone (in this case JBoss)
> invents a new one, and the ear plugin stops working.
>
> A sane default would be to assume the suffix maps to the type for files
> that are not recognised.
>
> Regards,
> Graham
> --
>
>
>




Re: Re: Re: m2/eclipse/wtp configuration

2006-08-02 Thread Stefan Magnus Landrø
Hi,

it should not be necessary to put the jars in the lib folder. maven should 
handle it automatically.

what happens if you try a mvn package? do the dependencies end up in the 
web-inf\lib folder then?

"Kev D'Arcy"  skrev 02.08.2006 15:25:53:

> Stefan,
> 
> Still no joy, the JSF libraries still aren't being picked up by the
> tomcat runtime:
> SEVERE: Error configuring application listener of class
> org.apache.myfaces.webapp.StartupServletContextListener
> java.lang.ClassNotFoundException:
> org.apache.myfaces.webapp.StartupServletContextListener
> 
> Should I be putting the jar files into the lib folder on my web app as 
well?
> 
> Kev
> 
> Stefan Magnus Landrø wrote:
> > Hi Kev,
> >
> > Try adding something like this to your pom:
> >
> >   
> > test-app
> > 
> >   
> > org.apache.maven.plugins
> > maven-eclipse-plugin
> > 
> >   1.0
> >   
> >   
> >   
> > 
> >   
> >
> > 
> >
> >
> > see plugin doc for more details.
> >
> > Stefan
> >
> > "Kev D'Arcy"  skrev 01.08.2006 11:16:13:
> >
> > 
> >> Stefan,
> >>
> >> The classpath does have the Maven2 Dependencies in it, but it's just 
not
> >> picking them up at runtime. I attached the 3 config files
> >>
> >> Kev
> >>
> >> 
> >> 
> >>
> >>
> >> >> kind="src" path="src/main/resources"/>
> >> >> 
> > path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
> > 
> >>
> >>
> >>
> >> >> 
> > path="src/main/webapp/WEB-INF/classes"/>
> > 
> >> 
> >>
> >> 
> >> 
> >>Newport
> >>
> >>
> >>
> >>
> >>   
> >>  org.eclipse.jdt.core.javabuilder
> >>  
> >>  
> >>   
> >>   
> >> org.eclipse.wst.common.project.facet.core.builder
> >>  
> >>  
> >>   
> >>   
> >>  org.eclipse.wst.validation.validationbuilder
> >>  
> >>  
> >>   
> >>   
> >>  org.maven.ide.eclipse.maven2Builder
> >>  
> >>  
> >>   
> >>
> >>
> >>   org.maven.ide.eclipse.maven2Nature
> >> org.eclipse.wst.common.project.facet.core.nature
> >>   org.eclipse.jdt.core.javanature
> >> org.eclipse.wst.common.modulecore.ModuleCoreNature
> >>   org.eclipse.jem.workbench.JavaEMFNature
> >>
> >> 
> >>
> >> 
> >> 
> >>   4.0.0
> >>   aib.dos.app
> >>   test-app
> >>   war
> >>   Maven Webapp Archetype
> >>   0.1-SNAPSHOT
> >>   http://maven.apache.org
> >>   
> >> test-app
> >>   
> >>   
> >> 
> >>   junit
> >>   junit
> >>   4.0
> >>   test
> >> 
> >> 
> >>   commons-beanutils
> >>   commons-beanutils
> >>   1.7.0
> >> 
> >> 
> >>   commons-codec
> >>   commons-codec
> >>   1.3
> >> 
> >> 
> >>   commons-collections
> >>   commons-collections
> >>   3.1
> >> 
> >> 
> >>   commons-dbutils
> >>   commons-dbutils
> >>   1.0
> >> 
> >> 
> >>   commons-digester
> >>   commons-digester
> >>   1.6
> >> 
> >> 
> >>   commons-el
> >>   commons-el
> >>   1.0
> >> 
> >> 
> >>   commons-fileupload
> >>   commons-fileupload
> >>   1.0
> >> 
> >> 
> >>   commons-lang
> >>   commons-lang
> >>   2.1
> >> 
> >> 
> >>   commons-logging
> >>   commons-logging
> >>   1.0.4
> >> 
> >> 
> >>   jstl
> >>   jstl
> >>   1.1.0
> >> 
> >> 
> >>   myfaces
> >>   tomahawk
> >>   1.1.3
> >> 
> >> 
> >>   com.microsoft.jdbcdriver
> >>   msbase
> >>   2000.3
> >> 
> >> 
> >>   com.microsoft.jdbcdriver
> >>   msutil
> >>   2000.3
> >> 
> >> 
> >>   com.microsoft.jdbcdriver
> >>   mssqlserver
> >>   2000.3
> >> 
> >> 
> >>   myfaces
> >>   myfaces-api
> >>   1.1.3
> >> 
> >> 
> >>   myfaces
> >>   myfaces-impl
> >>   1.1.3
> >> 
> >>   
> >> 
> >>
> >> the classpath files should be generated automatically by the 
> >> 
> > maven-eclipse 
> > 
> >> plugin.
> >> Have you added a setting for wtp support in your pom? (see eclipse 
> >> 
> > plugin 
> > 
> >> for details)
> >>
> >> stefan
> >>
> >> "Kev D'Arcy"  skrev 31.07.2006 18:59:09:
> >>
> >> 
> >>> Hi,
> >>>
> >>> I'm trying to set-up a dynamic web project in eclipse 3.2 using wtp 
> >>> 
> > 1.5
> > 
> >>> and maven. I have everything in my project compiling correctly but 
the
> >>> runtime classpath is missing all the dependencies that are defined
> >>> in my pom.xml. Do they need to be defined in the .classpath file as 
> >>> 
> > well
> > 
> >>> as in the pom.xml?
> >>>
> >>> Kev
> >>> 
> >> 
> > 
> 

> > 
> >> This document is strictly confidential and is intended for use by
> >>  the addressee unless otherwise indicated.
> >>
> >> This email has been scanned by an external Email Security System

Re: Re: m2/eclipse/wtp configuration

2006-08-02 Thread Kev D'Arcy
Stefan,

Still no joy, the JSF libraries still aren't being picked up by the
tomcat runtime:
SEVERE: Error configuring application listener of class
org.apache.myfaces.webapp.StartupServletContextListener
java.lang.ClassNotFoundException:
org.apache.myfaces.webapp.StartupServletContextListener

Should I be putting the jar files into the lib folder on my web app as well?

Kev

Stefan Magnus Landrø wrote:
> Hi Kev,
>
> Try adding something like this to your pom:
>
>   
> test-app
> 
>   
> org.apache.maven.plugins
> maven-eclipse-plugin
> 
>   1.0
>   
>   
>   
> 
>   
>
> 
>
>
> see plugin doc for more details.
>
> Stefan
>
> "Kev D'Arcy"  skrev 01.08.2006 11:16:13:
>
>   
>> Stefan,
>>
>> The classpath does have the Maven2 Dependencies in it, but it's just not
>> picking them up at runtime. I attached the 3 config files
>>
>> Kev
>>
>> 
>> 
>>
>>
>>> kind="src" path="src/main/resources"/>
>>> 
> path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
>   
>>
>>
>>
>>> 
> path="src/main/webapp/WEB-INF/classes"/>
>   
>> 
>>
>> 
>> 
>>Newport
>>
>>
>>
>>
>>   
>>  org.eclipse.jdt.core.javabuilder
>>  
>>  
>>   
>>   
>>  org.eclipse.wst.common.project.facet.core.builder
>>  
>>  
>>   
>>   
>>  org.eclipse.wst.validation.validationbuilder
>>  
>>  
>>   
>>   
>>  org.maven.ide.eclipse.maven2Builder
>>  
>>  
>>   
>>
>>
>>   org.maven.ide.eclipse.maven2Nature
>>   org.eclipse.wst.common.project.facet.core.nature
>>   org.eclipse.jdt.core.javanature
>> org.eclipse.wst.common.modulecore.ModuleCoreNature
>>   org.eclipse.jem.workbench.JavaEMFNature
>>
>> 
>>
>> 
>> 
>>   4.0.0
>>   aib.dos.app
>>   test-app
>>   war
>>   Maven Webapp Archetype
>>   0.1-SNAPSHOT
>>   http://maven.apache.org
>>   
>> test-app
>>   
>>   
>> 
>>   junit
>>   junit
>>   4.0
>>   test
>> 
>> 
>>   commons-beanutils
>>   commons-beanutils
>>   1.7.0
>> 
>> 
>>   commons-codec
>>   commons-codec
>>   1.3
>> 
>> 
>>   commons-collections
>>   commons-collections
>>   3.1
>> 
>> 
>>   commons-dbutils
>>   commons-dbutils
>>   1.0
>> 
>> 
>>   commons-digester
>>   commons-digester
>>   1.6
>> 
>> 
>>   commons-el
>>   commons-el
>>   1.0
>> 
>> 
>>   commons-fileupload
>>   commons-fileupload
>>   1.0
>> 
>> 
>>   commons-lang
>>   commons-lang
>>   2.1
>> 
>> 
>>   commons-logging
>>   commons-logging
>>   1.0.4
>> 
>> 
>>   jstl
>>   jstl
>>   1.1.0
>> 
>> 
>>   myfaces
>>   tomahawk
>>   1.1.3
>> 
>> 
>>   com.microsoft.jdbcdriver
>>   msbase
>>   2000.3
>> 
>> 
>>   com.microsoft.jdbcdriver
>>   msutil
>>   2000.3
>> 
>> 
>>   com.microsoft.jdbcdriver
>>   mssqlserver
>>   2000.3
>> 
>> 
>>   myfaces
>>   myfaces-api
>>   1.1.3
>> 
>> 
>>   myfaces
>>   myfaces-impl
>>   1.1.3
>> 
>>   
>> 
>>
>> the classpath files should be generated automatically by the 
>> 
> maven-eclipse 
>   
>> plugin.
>> Have you added a setting for wtp support in your pom? (see eclipse 
>> 
> plugin 
>   
>> for details)
>>
>> stefan
>>
>> "Kev D'Arcy"  skrev 31.07.2006 18:59:09:
>>
>> 
>>> Hi,
>>>
>>> I'm trying to set-up a dynamic web project in eclipse 3.2 using wtp 
>>>   
> 1.5
>   
>>> and maven. I have everything in my project compiling correctly but the
>>> runtime classpath is missing all the dependencies that are defined
>>> in my pom.xml. Do they need to be defined in the .classpath file as 
>>>   
> well
>   
>>> as in the pom.xml?
>>>
>>> Kev
>>>   
>> 
> 
>   
>> This document is strictly confidential and is intended for use by
>>  the addressee unless otherwise indicated.
>>
>> This email has been scanned by an external Email Security System.
>>
>> Allied Irish Banks
>>
>> 
> 
>   
>> -
>> 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: Re: Eclipse tomcat maven upgrade

2006-08-02 Thread Stefan Magnus Landrø
I've used this approach myself. It works perfectly.

Denis McCarthy <[EMAIL PROTECTED]> skrev 02.08.2006 15:10:39:

> Stefan - I was actually in the process of investigating the approach 
> you've recommended. Thanks for confirming this is sensible.
> Denis
> 
> Stefan Magnus Landrø wrote:
> > Hi there,
> > 
> > I recommend using eclipse with wtp (seb tools platform). Setup tomcat 
as a 
> > server in eclipse, and add the maven project to the server 
configuration.
> > The libs will be deployed automaticallly.
> > 
> > Remember adding wtp support to your pom (config setting in the 
> > maven-eclipse-plugin) - see earlier post on this matter from today.
> > 
> > You don't need a particular tomcat plugin.
> > 
> > HTH
> > 
> > Denis McCarthy <[EMAIL PROTECTED]> skrev 02.08.2006 10:37:48:
> > 
> >> Hi,
> >> I'm looking at moving an ant based tomcat project to maven. I'm using 

> >> eclipse as the IDE. Currently I use the eclipse tomcat plugin to get 
the 
> > 
> >> project running in tomcat (I have a web/ dir in the project that 
holds 
> >> WEB-INF/ and all jsp's etc). I'd like to know how to handle this 
common 
> >> scenario using maven.
> >>
> >> As maven keeps jars in its own repository, how should I deploy the 
jars 
> >> required for the project to web/WEB-INF/lib? What's the recommended 
way 
> >> to manage such a project in maven? Should I use maven to manage the 
> >> tomcat integration entirely, and forget about the eclipse tomcat 
plugin? 
> > 
> >> (I've just moved to eclipse 3.2, so I'd have to reinstall the tomcat 
> >> plugin if I were to use it anyway)
> >> Thanks
> >> Denis
> >>
> >> -
> >> 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: Eclipse tomcat maven upgrade

2006-08-02 Thread Denis McCarthy
Stefan - I was actually in the process of investigating the approach 
you've recommended. Thanks for confirming this is sensible.

Denis

Stefan Magnus Landrø wrote:

Hi there,

I recommend using eclipse with wtp (seb tools platform). Setup tomcat as a 
server in eclipse, and add the maven project to the server configuration.

The libs will be deployed automaticallly.

Remember adding wtp support to your pom (config setting in the 
maven-eclipse-plugin) - see earlier post on this matter from today.


You don't need a particular tomcat plugin.

HTH

Denis McCarthy <[EMAIL PROTECTED]> skrev 02.08.2006 10:37:48:


Hi,
I'm looking at moving an ant based tomcat project to maven. I'm using 
eclipse as the IDE. Currently I use the eclipse tomcat plugin to get the 


project running in tomcat (I have a web/ dir in the project that holds 
WEB-INF/ and all jsp's etc). I'd like to know how to handle this common 
scenario using maven.


As maven keeps jars in its own repository, how should I deploy the jars 
required for the project to web/WEB-INF/lib? What's the recommended way 
to manage such a project in maven? Should I use maven to manage the 
tomcat integration entirely, and forget about the eclipse tomcat plugin? 


(I've just moved to eclipse 3.2, so I'd have to reinstall the tomcat 
plugin if I were to use it anyway)

Thanks
Denis

-
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: unable to deploy to tomcat

2006-08-02 Thread Arnaud HERITIER

Sharmishta is using maven 1 not m2. ;-)

Arnaud

On 8/2/06, devillina <[EMAIL PROTECTED]> wrote:



i'm deploying to tomcat using the tomcat-maven-plugin from codehaus


org.codehaus.mojo
tomcat-maven-plugin
1.0-SNAPSHOT


/target/dev/${artifactId}-${version}-dev.war




(you can just put it between the
.
tags)

Don't forget to also put the following in your pum otherwise he won't find
this plugin.




false


Maven Snapshots
http://snapshots.maven.codehaus.org/maven2/






false


Maven Snapshots
http://snapshots.maven.codehaus.org/maven2/




hope this helps!
--
View this message in context:
http://www.nabble.com/unable-to-deploy-to-tomcat-tf2039596.html#a5613246
Sent from the Maven - Users forum at Nabble.com.


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




Re: unable to deploy to tomcat

2006-08-02 Thread devillina

i'm deploying to tomcat using the tomcat-maven-plugin from codehaus


org.codehaus.mojo
tomcat-maven-plugin
1.0-SNAPSHOT


/target/dev/${artifactId}-${version}-dev.war




(you can just put it between the .
tags)

Don't forget to also put the following in your pum otherwise he won't find
this plugin.




false


Maven Snapshots
http://snapshots.maven.codehaus.org/maven2/





false


Maven Snapshots
http://snapshots.maven.codehaus.org/maven2/



hope this helps!
-- 
View this message in context: 
http://www.nabble.com/unable-to-deploy-to-tomcat-tf2039596.html#a5613246
Sent from the Maven - Users forum at Nabble.com.


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



Re: [M1] maven-stylus.css moved?

2006-08-02 Thread Arnaud HERITIER

The style is here : http://maven.apache.org/maven-1.x/style/maven-stylus.css
This style is bundle in the xdoc plugin.
Where did you see it when you run maven site ?

Arnaud

On 8/2/06, Benoit Xhenseval <[EMAIL PROTECTED]> wrote:


Hi *,

I was wondering if the CSS file has moved from:
http://maven.apache.org/style/maven-stylus.css

It is referred in the generated html when running "maven site"...

Where is it now? Has it been removed?

many thanks

Benoit





Re: test-classes in War

2006-08-02 Thread devillina

I really should get it done in one project, because i work with profiles and
in one profile
i want to include the test-classes in the war and in the other one i just
want to execute them.

thx for the help anyway :)

http://www.nabble.com/user-files/185/pom.xml pom.xml 
-- 
View this message in context: 
http://www.nabble.com/test-classes-in-War-tf2028156.html#a5613042
Sent from the Maven - Users forum at Nabble.com.


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



unable to deploy to tomcat

2006-08-02 Thread sharmishta.kaul
Thanks for your help. I have been able to upload to the repository. I had
> missed out the maven-artifact-plugin. Now I want to deploy remotely to the
> tomcat's webapps. What plugin should I use. I'm using FileZilla server

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

[M1] maven-stylus.css moved?

2006-08-02 Thread Benoit Xhenseval
Hi *,

I was wondering if the CSS file has moved from:
http://maven.apache.org/style/maven-stylus.css

It is referred in the generated html when running "maven site"...

Where is it now? Has it been removed?

many thanks

Benoit



Re: Unable to deploy to remote repository

2006-08-02 Thread Arnaud HERITIER

Even if it's urgent for you, it's not the case for me. And it's the problem
of the OSS.
In theory you'll have a better support if you join the users on the list
instead of me directly.

For your reply :
You can't deploy directly to a web application. In HTTP you can only read
data.
You have to install on your remote server a ftp server, a ssh server, a
webdav server, ... something that will allow you to push your artefacts on
it.

Arnaud


On 8/2/06, sharmishta.kaul <[EMAIL PROTECTED]> wrote:


Thanks for your help. I have been able to upload to the repository. I had
missed out the maven-artifact-plugin. Now I want to deploy remotely to the
tomcat's webapps. What plugin should I use. This is required urgently

Arnaud HERITIER wrote ..
> Sharmishta
>
>   I you want to use ftp to deploy locally your settings must be :
>
> maven.repo.list=R1
> maven.repo.R1=ftp://localhost
> maven.repo.R1.directory=/ROOT/repository
> maven.repo.R1.username=sharmishta
> maven.repo.R1.password=hrhk
>
> http://maven.apache.org/maven-1.x/plugins/artifact/examples.html
>
> Arnaud
>
> On 8/2/06, sharmishta.kaul <[EMAIL PROTECTED]> wrote:
> >
> > I'm using maven1.0. I want to deploy to the remote repository.
> > I have used the following code in project.properties
> >
> > maven.repo.list=R1
> > maven.repo.R1 = ftp://localhost:21/ROOT/repository
> > maven.repo.R1.directory=http://localhost:8080/ROOT/repository
> > maven.repo.R1.username=sharmishta
> > maven.repo.R1.password=hrhk
> >
> > When i give the command maven jar:deploy, i get thr following
exception
> >
> > jar:deploy:
> > [echo] maven.repo.list is set - using artifact deploy mode
> > Will deploy to 1 repository(ies): R1
> > Deploying to repository: R1
> > Failed to deploy to: R1 Reason: Could not connect to server.
> >
> > BUILD FAILED
> > File.. C:\Documents and Settings\Administrator\.maven\cache\maven-
> > artifact-plugin-1.4.1\plugin.jelly
> > Element... artifact:artifact-deploy
> > Line.. 94
> > Column 13
> > Unable to deploy to any repositories
> >
> > Please tell me what I'm missing. Do I have to use some plugin for
that.
> If
> > yes then how.Please help. I've not worked in maven before
> >
> >
> >
> >
> >




RE: Arbitrary Classpath Entry in MANIFEST.MF

2006-08-02 Thread michel . verbist
I'm having the same problem as Chas Douglass (2006/05/02)

I want to add '.' (the current directory) to the classpath.

The main reason for this is to be able to access files like
log4j.properties
hibernate.cfg.xml
...
outside the jar, so I don't have to rebuild my jar if, e.g., I want to increase
the log4j level for a particular class.
Or ask my client over the phone to increase the level and send me the log file.

Does anybody know a way of doing this?

The only thing I came up with was this (but perhaps this should be sent to the
dev-list):
current config of the manifest:

  
   
  true
  be.brail.b38c.loadtester.AppLoadTester
   
  


possible extension of manifest config

  
   
  true
 
  ./
  help/
  resources/
 
  be.brail.b38c.loadtester.AppLoadTester
   
  





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



Re: Surefire plugin

2006-08-02 Thread David J. M. Karlsen

Johan Lindquist wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,

I was wondering what the status of the surefire plugin is - was hoping
to be able to take advantage of the new redirect stdout to file.

Planning to release a new version soon?

Thanks,

Joahn


There are still some nasty issues which should be resolved:
-duplicate report-entries
-resources not included properly when forking
-ability to extend classpath

Bug-squashing party soon? :-)



--
David J. M. Karlsen - +47 90 68 22 43
http://www.davidkarlsen.com
http://mp3.davidkarlsen.com

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



please look in

2006-08-02 Thread manoj.kaushik
hi everybody
please describe how the decision can be made on the basis of test cases wether 
to deploy the current build on to tomcat server or not. i am operating on JUnit 
test cases using cruisecontol plugin of maven version 1.0 to configure whole 
process.

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

Surefire plugin

2006-08-02 Thread Johan Lindquist
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,

I was wondering what the status of the surefire plugin is - was hoping
to be able to take advantage of the new redirect stdout to file.

Planning to release a new version soon?

Thanks,

Joahn

- --
you too?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE0Ic61Tv8wj7aQ34RAlUUAJ9fIFlLBqDop/DH457HBhD41e6kzwCeN+ah
uRZFFzgBAIwhimFTXIDv1bU=
=Ox1N
-END PGP SIGNATURE-

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



[Problem web]

2006-08-02 Thread Francois Le Fevre

Dear Scm support team,

I am new to the communauty.
I have tried to have a look to the plugin web site 
http://maven.apache.org/scm/plugins/introduction.html

but every link are broken - or link to no pages found.

Has the web site move to another adress?
Thanks

Francois

--
Francois Le Fevre
Bioinformatics Engineer
Computational Biology Group
Genoscope
Tél. : (+33) 1 60 87 45 83
Web : http://www.genoscope.cns.fr/bioinfo



Re: Eclipse tomcat maven upgrade

2006-08-02 Thread Stefan Magnus Landrø
Hi there,

I recommend using eclipse with wtp (seb tools platform). Setup tomcat as a 
server in eclipse, and add the maven project to the server configuration.
The libs will be deployed automaticallly.

Remember adding wtp support to your pom (config setting in the 
maven-eclipse-plugin) - see earlier post on this matter from today.

You don't need a particular tomcat plugin.

HTH

Denis McCarthy <[EMAIL PROTECTED]> skrev 02.08.2006 10:37:48:

> Hi,
> I'm looking at moving an ant based tomcat project to maven. I'm using 
> eclipse as the IDE. Currently I use the eclipse tomcat plugin to get the 

> project running in tomcat (I have a web/ dir in the project that holds 
> WEB-INF/ and all jsp's etc). I'd like to know how to handle this common 
> scenario using maven.
> 
> As maven keeps jars in its own repository, how should I deploy the jars 
> required for the project to web/WEB-INF/lib? What's the recommended way 
> to manage such a project in maven? Should I use maven to manage the 
> tomcat integration entirely, and forget about the eclipse tomcat plugin? 

> (I've just moved to eclipse 3.2, so I'd have to reinstall the tomcat 
> plugin if I were to use it anyway)
> Thanks
> Denis
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


[ANN] Maven 1.1-beta-3 Released

2006-08-02 Thread Arnaud HERITIER

The Apache Maven team is pleased to announce the release of Maven 1.1-beta-3!


Download  [1] Maven
1.1-beta-3 and read the Installation
Instructions[2].

Maven is a project management and project comprehension tool. Maven is based
on the concept of a project object model: builds, documentation creation,
site publication, and distribution publication are all controlled from the
project object model. Maven also provides tools to create source metrics,
change logs based directly on source repository, and source
cross-references.

Compared to Maven 1.1 beta 2, this release focuses on the following
objectives:

  - Upgrade to later releases of dependencies, in particular Jelly,
  Dom4j and Jaxen,
  - Re-introduction of Xerces into the core dependencies (it was removed
  in previous betas),
  - Upgraded 
versions[3]
of almost all the bundled plugins,
  - Documentation updates,
  - Bugfixes.

For a full list of changes, please see
JIRA[4].

With just a few
exceptions[5],
Maven
1.1-beta-3 is backwards compatible with Maven 1.0. One notable issue is the
fact that you cannot use xml entities in project.xml, see
MAVEN-1755[6].

*Please note :* Maven 2.0.4  [7] is the latest
stable release of Maven and is recommended for all new projects, but is not
compatible with Maven 1.x. The release of Maven 1.1 is to improve the
performance and stability for those using Maven 1.0 for their builds.

We hope you enjoy using Maven! If you have any questions, please consult:

  - the FAQ [8]
  
  - the maven-user
[9] mailing list

*- The Apache Maven Team*

[1] http://maven.apache.org/maven-1.x/start/download.html
[2] http://maven.apache.org/maven-1.x/start/install.html
[3] http://maven.apache.org/maven-1.x/plugins/bundledHistory.html
[4]
http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10030&styleName=Html&version=11989
[5] http://maven.apache.org/maven-1.x/reference/backwards-compatibility.html
[6] http://jira.codehaus.org/browse/MAVEN-1755
[7] http://maven.apache.org/
[8] http://maven.apache.org/maven-1.x/faq.html
[9] http://maven.apache.org/maven-1.x/mail-lists.html


Re: Maven and Selenium?

2006-08-02 Thread Christophe DENEUX


Right, the 2.x website is not deployed yet.

jWebUnit is a young and promissing project.



Christophe DENEUX / Capgemini Sud / Méditerranée
Technical Leader
Tel: + 33 4 93 72 43 74 / www.capgemini.com
Fax: + 33 4 93 21 02 95
Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice

Join the Collaborative Business Experience




Wim Deblauwe a écrit :

I have no experience with other web test frameworks, but it looks nice
looking at the quick start. The link to the 2.x site does not work
currently, better fix this.

regards,

Wim

2006/8/2, Christophe DENEUX <[EMAIL PROTECTED]>:



Hi Daniel,

Some advantages of using jWebUnit to test a web application are:
- easier test case writing,
- faster test case running,
- No graphic server is needed with the engine "htmlunit", so the
integration into a continuous integration system is easier (no browser
is needed),
- Soon, you will use an engine for Selenium to run your tests
directly in your browser.

jWebUnit home: http://jwebunit.sourceforge.net


 



Christophe DENEUX / Capgemini Sud / Méditerranée
Technical Leader
Tel: + 33 4 93 72 43 74 / www.capgemini.com
Fax: + 33 4 93 21 02 95
Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice

Join the Collaborative Business Experience

 





Daniel Serodio a écrit :
> Christophe DENEUX wrote:
>
>> Hi ,
>>
>> A snapshot repository is available at: http://maven.openqa.org/
>>
>> Have you try jWebUnit (http://jwebunit.sourceforge.net/index.html)
>> instead of Selenium for your functional tests? With jWebUnit, you can
>> run your tests with different engines as htmlunit or Selenium (the
>> Selenium engine is available trough SVN). You will use the htmlunit
>> engine to execute your tests in a background mode (continuous
>> integration) and the selenium engine in a visual mode.
>>
> It's been a while since I looked at jWebUnit, and I'm currently using
> Selenium; what is the advantage of using jWebUnit as you describe
> instead of using Selenium directly? Do you have an URL with more 
info on

> the subject?
>
> TIA,
> Daniel Serodio
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


This message contains information that may be privileged or confidential
and is the property of the Capgemini Group. It is intended only for the
person to whom it is addressed. If you are not the intended 
recipient,  you
are not authorized to read, print, retain, copy, disseminate,  
distribute,

or use this message or any part thereof. If you receive this  message in
error, please notify the sender immediately and delete all  copies of 
this

message.



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







This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

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

Re: Writing plugins and dependencies on other software

2006-08-02 Thread Ole-Martin Mørk

How are things progressing with the macker plugin?

I am really interested in using it..

On 6/21/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Thx Jerome.

Andy

-Original Message-
From: jerome lacoste [mailto:[EMAIL PROTECTED]
Sent: 21 June 2006 10:43
To: Maven Users List
Subject: Re: Writing plugins and dependencies on other software

On 6/21/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am writing a plugin for a 3rd party piece of software (Macker
> http://innig.net/macker). To run with Mavne 2.x What should I do re
> either ensuring availability of that software or informing an end user

> that it is required to run ?

You plugin will probably declare a dependency on macker itself.

Make sure the macker libraries are found under the ibiblio repository,
if it's not already done.

see http://jira.codehaus.org/browse/MAVENUPLOAD

> The plugin already exists for Maven 1.x and I have been in contact
> with the author and he knows I intend writing the plugin.

Note: Macker is under the GPL so depending on how you wrap it, you might
need to make your plugin under the GPL as well. IANAL...

Jerome

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


Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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





--
Regards, Ole-Martin Mørk.

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



Re: Maven and Selenium?

2006-08-02 Thread Wim Deblauwe

I have no experience with other web test frameworks, but it looks nice
looking at the quick start. The link to the 2.x site does not work
currently, better fix this.

regards,

Wim

2006/8/2, Christophe DENEUX <[EMAIL PROTECTED]>:



Hi Daniel,

Some advantages of using jWebUnit to test a web application are:
- easier test case writing,
- faster test case running,
- No graphic server is needed with the engine "htmlunit", so the
integration into a continuous integration system is easier (no browser
is needed),
- Soon, you will use an engine for Selenium to run your tests
directly in your browser.

jWebUnit home: http://jwebunit.sourceforge.net




Christophe DENEUX / Capgemini Sud / Méditerranée
Technical Leader
Tel: + 33 4 93 72 43 74 / www.capgemini.com
Fax: + 33 4 93 21 02 95
Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice

Join the Collaborative Business Experience





Daniel Serodio a écrit :
> Christophe DENEUX wrote:
>
>> Hi ,
>>
>> A snapshot repository is available at: http://maven.openqa.org/
>>
>> Have you try jWebUnit (http://jwebunit.sourceforge.net/index.html)
>> instead of Selenium for your functional tests? With jWebUnit, you can
>> run your tests with different engines as htmlunit or Selenium (the
>> Selenium engine is available trough SVN). You will use the htmlunit
>> engine to execute your tests in a background mode (continuous
>> integration) and the selenium engine in a visual mode.
>>
> It's been a while since I looked at jWebUnit, and I'm currently using
> Selenium; what is the advantage of using jWebUnit as you describe
> instead of using Selenium directly? Do you have an URL with more info on
> the subject?
>
> TIA,
> Daniel Serodio
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


This message contains information that may be privileged or confidential
and is the property of the Capgemini Group. It is intended only for the
person to whom it is addressed. If you are not the intended recipient,  you
are not authorized to read, print, retain, copy, disseminate,  distribute,
or use this message or any part thereof. If you receive this  message in
error, please notify the sender immediately and delete all  copies of this
message.



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




Eclipse tomcat maven upgrade

2006-08-02 Thread Denis McCarthy

Hi,
I'm looking at moving an ant based tomcat project to maven. I'm using 
eclipse as the IDE. Currently I use the eclipse tomcat plugin to get the 
project running in tomcat (I have a web/ dir in the project that holds 
WEB-INF/ and all jsp's etc). I'd like to know how to handle this common 
scenario using maven.


As maven keeps jars in its own repository, how should I deploy the jars 
required for the project to web/WEB-INF/lib? What's the recommended way 
to manage such a project in maven? Should I use maven to manage the 
tomcat integration entirely, and forget about the eclipse tomcat plugin? 
(I've just moved to eclipse 3.2, so I'd have to reinstall the tomcat 
plugin if I were to use it anyway)

Thanks
Denis

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



Re: Unable to deploy to remote repository

2006-08-02 Thread Arnaud HERITIER

Sharmishta

 I you want to use ftp to deploy locally your settings must be :

maven.repo.list=R1
maven.repo.R1=ftp://localhost
maven.repo.R1.directory=/ROOT/repository
maven.repo.R1.username=sharmishta
maven.repo.R1.password=hrhk

http://maven.apache.org/maven-1.x/plugins/artifact/examples.html

Arnaud

On 8/2/06, sharmishta.kaul <[EMAIL PROTECTED]> wrote:


I'm using maven1.0. I want to deploy to the remote repository.
I have used the following code in project.properties

maven.repo.list=R1
maven.repo.R1 = ftp://localhost:21/ROOT/repository
maven.repo.R1.directory=http://localhost:8080/ROOT/repository
maven.repo.R1.username=sharmishta
maven.repo.R1.password=hrhk

When i give the command maven jar:deploy, i get thr following exception

jar:deploy:
[echo] maven.repo.list is set - using artifact deploy mode
Will deploy to 1 repository(ies): R1
Deploying to repository: R1
Failed to deploy to: R1 Reason: Could not connect to server.

BUILD FAILED
File.. C:\Documents and Settings\Administrator\.maven\cache\maven-
artifact-plugin-1.4.1\plugin.jelly
Element... artifact:artifact-deploy
Line.. 94
Column 13
Unable to deploy to any repositories

Please tell me what I'm missing. Do I have to use some plugin for that. If
yes then how.Please help. I've not worked in maven before







Re: problem in uploading to internal repository

2006-08-02 Thread Arnaud HERITIER

Hi sharmishta

 What you want to do is to deploy on your localhost ?
 In this case what you have to set is :

maven.repo.list=R1
maven.repo.R1=file://c:\\
maven.repo.R1.directory=repository

http://maven.apache.org/maven-1.x/plugins/artifact/examples.html

Arnaud


On 7/31/06, sharmishta.kaul <[EMAIL PROTECTED]> wrote:


I'm using maven1.0. I've not created special plugins for this. manually
logging to the given url takes me nowhere. however if I use http protocol,
the manual login is successful but maven gives the exception Unable to
connect to 'http:/localhost:8080/MavenRepository'. I've not worked in maven
before so I may be missing something. Please help

i'm usin the following code in project.properties
>maven.repo.list=R1
>maven.repo.R1= scp://localhost:8080/MavenRepository
>maven.repo.R1.directory=c:/repository
>
> when I give the cmd maven jar:deploy
> I get the following exception
>
> jar:deploy:
> [echo] maven.repo.list is set - using artifact deploy mode
> Will deploy to 1 repository(ies): R1
> Deploying to repository: R1
> java.net.UnknownHostException: /localhost:8080/MavenRepository
> at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
> at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
> at java.net.Socket.connect(Socket.java:507)
> at java.net.Socket.connect(Socket.java:457)
> at java.net.Socket.(Socket.java:365)
> at java.net.Socket.(Socket.java:178)
> at com.jcraft.jsch.Session.connect(Unknown Source)
> at org.apache.maven.deploy.deployers.GenericSshDeployer.init(
> GenericSshDeployer.java:181)
> at org.apache.maven.deploy.deployers.ScpDeployer.init(
> ScpDeployer.java:103)
> at org.apache.maven.deploy.DeployTool.deploy(DeployTool.java
:134)
> at
> org.apache.maven.artifact.deployer.DefaultArtifactDeployer.doDeploy
> (DefaultArtifactDeplo
> at
> org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy
> (DefaultArtifactDeploye
> at
> org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy
> (DefaultArtifactDeploye
> at org.apache.maven.artifact.deployer.DeployBean.deploy(
> DeployBean.java:144)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.commons.jelly.impl.DynamicBeanTag.doTag(
> DynamicBeanTag.java:230)
> at org.apache.commons.jelly.impl.StaticTagScript.run(
> StaticTagScript.java:145)
> at org.apache.commons.jelly.impl.ScriptBlock.run(
ScriptBlock.java
> :135)
> at org.apache.commons.jelly.TagSupport.invokeBody(
TagSupport.java
> :233)
> at org.apache.commons.jelly.tags.core.OtherwiseTag.doTag(
> OtherwiseTag.java:87)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java
:279)
> at org.apache.commons.jelly.impl.ScriptBlock.run(
ScriptBlock.java
> :135)
> at org.apache.commons.jelly.TagSupport.invokeBody(
TagSupport.java
> :233)
> at org.apache.commons.jelly.tags.core.ChooseTag.doTag(
> ChooseTag.java:84)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java
:279)
> at org.apache.commons.jelly.impl.ScriptBlock.run(
ScriptBlock.java
> :135)
> at org.apache.commons.jelly.impl.DynamicTag.doTag(
DynamicTag.java
> :125)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java
:279)
> at org.apache.commons.jelly.impl.ScriptBlock.run(
ScriptBlock.java
> :135)
> at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(
> MavenGoalTag.java:79)
> at
>
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction
> (MavenGoalTa
> at com.werken.werkz.Goal.fire(Goal.java:639)
> at com.werken.werkz.Goal.attain(Goal.java:575)
> at org.apache.maven.plugin.PluginManager.attainGoals(
> PluginManager.java:671)
> at org.apache.maven.MavenSession.attainGoals(MavenSession.java
> :263)
> at org.apache.maven.cli.App.doMain(App.java:488)
> at org.apache.maven.cli.App.main(App.java:1239)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at com.werken.forehead.Forehead.run(Forehead.java:551)
> at com.werken.forehead.Forehead.main(Forehead.java:581)
> Failed to deploy to: R1 Reason: Cannot connect. Reason: Session.connect:
> java.net.UnknownHostExcept
>
> BUILD FAILED
> File.. C:\Documents and Settings\Administrator\.maven\c

Re: Maven and Selenium?

2006-08-02 Thread Christophe DENEUX


Hi Daniel,

Some advantages of using jWebUnit to test a web application are:
   - easier test case writing,
   - faster test case running,
   - No graphic server is needed with the engine "htmlunit", so the 
integration into a continuous integration system is easier (no browser 
is needed),
   - Soon, you will use an engine for Selenium to run your tests 
directly in your browser.


jWebUnit home: http://jwebunit.sourceforge.net



Christophe DENEUX / Capgemini Sud / Méditerranée
Technical Leader
Tel: + 33 4 93 72 43 74 / www.capgemini.com
Fax: + 33 4 93 21 02 95
Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice

Join the Collaborative Business Experience




Daniel Serodio a écrit :

Christophe DENEUX wrote:
  

Hi ,

A snapshot repository is available at: http://maven.openqa.org/

Have you try jWebUnit (http://jwebunit.sourceforge.net/index.html)
instead of Selenium for your functional tests? With jWebUnit, you can
run your tests with different engines as htmlunit or Selenium (the
Selenium engine is available trough SVN). You will use the htmlunit
engine to execute your tests in a background mode (continuous
integration) and the selenium engine in a visual mode.


It's been a while since I looked at jWebUnit, and I'm currently using
Selenium; what is the advantage of using jWebUnit as you describe
instead of using Selenium directly? Do you have an URL with more info on
the subject?

TIA,
Daniel Serodio


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



This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

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

Re: questions on 'mvn site'

2006-08-02 Thread Denis Cabasson

For the documentation, good starting points should be:
http://maven.apache.org/guides/mini/guide-site.html
http://maven.apache.org/plugins/maven-site-plugin/howto.html

When adding reports to your site, I guess you have to provide a site.xml
file.
Either you take the default behaviour, or if you want to customize anything,
you have to provide the site.xml file

The 'About' section is AFAIK only a link to the index.html page. To create a
custom index.html page, you just have to provide a index.apt or a index Xdoc
file, which will be processed to an index.html page. See guide above for
more explanations.

For the order of reports, I guess you can't specify the order. A simple
workaround would be not to include the $report in you site.xml but instead
list each of your report in specific items.

Denis.

Laurie Harper wrote:
> 
> Playing with 'mvn site' I'm finding a few surprises and documentation 
> gaps. I'm hoping someone can explain some of these behaviours and answer 
> a couple of questions:
> 
> - 'mvn site' with no src/site or pom configuration generates a site 
> containing just the default set of reports; but as soon as I add 
>  to the pom, I don't get an index.html anymore, unless I 
> have a src/site/site.xml. Is that expected?
> 
> - the documentation for the project-info-reports plugin only tells me 
> how to specify some of the reports generated by default; specifically, 
> it doesn't show how to generate the 'About' or 'Project Summary' 
> reports. By experimentation, I've found that I can specify 
> 'summary' to get the 'Project Summary' report, but what 
> do I need to specify to get the 'About' section?
> 
> - finally, the order of the  elements within  seems 
> to have no effect; I'd like to be able not only to select which reports 
> are generated, but to specify the order the get listed in (both in the 
> navigation pane on the left of the site and in the 'Project Information' 
> summary page. Is that possible?
> 
> Thanks,
> 
> L.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/questions-on-%27mvn-site%27-tf2031906.html#a5609403
Sent from the Maven - Users forum at Nabble.com.


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



Re: [M2] Equivalent of ant dist in Maven

2006-08-02 Thread Denis Cabasson

mvn clean install

will do much of the trick for you (deleting everything under target, and
building a 'standard' jar out of your project).

If you want a different jar, you have to change the maven-jar-plugin
configuration.

If you want a more subtle bundling of your project (a jar including
dependencies, or source, a zip including documentation, or whatever), you
have to go to the maven-assembly-plugin (binding it to the install phase is
considered good practice).

Denis


Peter.Pilgrim wrote:
> 
> Hi All
> 
> You now I have reached the point in a project where I have no clue
> what is the equivalent of "ant dist" in Maven 2.0?
> 
> In other words I want to create a ZIP or JAR distribution of 
> my project. Clean it, remove all the target/** and another generated 
> source stuff from all folders, including sub folders.
> 
> 
> --
> Peter Pilgrim
> UBS Investment Bank, 
> PTS Portal / IT FIRC OPS LDN,
> 100 Liverpool Street, London EC2M 2RH, United Kingdom
> :: Java EE / E-Commerce / Enterprise Integration / Development ::
> 
> Visit our website at http://www.ubs.com
> 
> This message contains confidential information and is intended only
> for the individual named.  If you are not the named addressee you
> should not disseminate, distribute or copy this e-mail.  Please
> notify the sender immediately by e-mail if you have received this
> e-mail by mistake and delete this e-mail from your system.
> 
> E-mail transmission cannot be guaranteed to be secure or error-free
> as information could be intercepted, corrupted, lost, destroyed,
> arrive late or incomplete, or contain viruses.  The sender therefore
> does not accept liability for any errors or omissions in the contents
> of this message which arise as a result of e-mail transmission.  If
> verification is required please request a hard-copy version.  This
> message is provided for informational purposes and should not be
> construed as a solicitation or offer to buy or sell any securities or
> related financial instruments.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-M2--Equivalent-of-ant-dist-in-Maven-tf2034659.html#a5609181
Sent from the Maven - Users forum at Nabble.com.


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



Re: Problem with scm:changelog

2006-08-02 Thread Denis Cabasson

Your working directory looks weird to me. Shouldn't you be in the subdir
created by the checkout before executing the scm:changelog command?


Aryam Online wrote:
> 
> Hi everyone ..
> 
> I am a newbie to maven ..
> I've been using the scm api and it seems that it's working properly except 
> when I execute the scm:changelog goal I get this error
> 
> [INFO] [scm:changelog]
> [INFO] Executing: cvs -z3 -f -d :pserver:[EMAIL PROTECTED]:repository -q
> log
> [INFO] Working directory: C:\Documents and Settings\Administrator
> [ERROR] Provider message:
> [ERROR] The cvs command failed.
> [ERROR] Command output:
> [ERROR] cvs log: in directory .:
> cvs [log aborted]: there is no version here; run 'cvs checkout' first
> 
> [INFO] 
> 
> [ERROR] BUILD ERROR
> [INFO] 
> 
> [INFO] Command failed.The cvs command failed.
> [INFO] 
> 
> [INFO] For more information, run Maven with the -e switch
> [INFO] 
> 
> [INFO] Total time: 4 seconds
> [INFO] Finished at: Tue Aug 01 19:48:09 PDT 2006
> [INFO] Final Memory: 4M/7M
> [INFO] 
> 
> 
> I've executed the checkout goal and it successfully build
> I've versioned my project
> and I also tried to execute the  cvs -z3 -f -d 
> :pserver:[EMAIL PROTECTED]:repository -q
> log command , but I got the following error:
> 
> : No such file or directory /repository/test
> cvs log: skipping directory
> 
> Any help will be really appreciated..
> 
> _
> Express yourself instantly with MSN Messenger! Download today - it's FREE! 
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Problem-with-scm%3Achangelog-tf2036988.html#a5609151
Sent from the Maven - Users forum at Nabble.com.


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



RE: [M2] Surefire POJO / Inner class issue

2006-08-02 Thread Denis Cabasson

Guess this issue is related to:
http://jira.codehaus.org/browse/SUREFIRE-44

You can just vote for it, or better, find a way to fix it, if you feel like
it :)

Denis.


Chris Hilton-2 wrote:
> 
> I also ran into this issue and found this page with a workaround:
> 
> http://www.jroller.com/page/gridhaus?entry=maven2_testing_madness
> 
> Basically, just configure Surefire to exclude the problem classes, like
> this worked for me:
> 
>   
> maven-surefire-plugin
> 
>   
>   **/TestDevice.java
>   
> 
>   
> 
> Chris
> 
>> -Original Message-
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
>> Sent: Thursday, 27 July, 2006 11:49
>> To: Maven Users List
>> Subject: Re: [M2] Surefire POJO / Inner class issue
>> 
>> Hi Hal -
>> 
>> I'm running into a similar issue.. did you find a work-around?
>> 
>> thx,
>> -Russ
>> 
>> ([EMAIL PROTECTED])
>> 
>> At 4:05 PM -0700 7/14/06, Hal Hildebrand wrote:
>> >I'm running into a weird issue here.  It seems that the 
>> Maven surefire 
>> >plugin is trying to create POJO tests for inner classes 
>> which clearly 
>> >aren't tests.  I'm not even a surefire novice, so I'm not 
>> sure why on 
>> >earth this is happening - I'm just wondering how to stop it 
>> from happening.
>> >
>> >Anyone have any clues as to how to escape this?
>> >
>> >[INFO] Surefire report directory:
>> >/Users/hhildebrand/Projects/wadi/modules/core/target/surefire-reports
>> >org.apache.maven.surefire.booter.SurefireExecutionException: 
>> Unable to 
>> >instantiate POJO 'class 
>> >org.codehaus.wadi.sandbox.jcache.TestJCache$NoEvictionPolicy'
>> ; nested 
>> >exception is java.lang.InstantiationException:
>> >org.codehaus.wadi.sandbox.jcache.TestJCache$NoEvictionPolicy; nested 
>> >exception is 
>> org.apache.maven.surefire.testset.TestSetFailedException:
>> >Unable to instantiate POJO 'class
>> >org.codehaus.wadi.sandbox.jcache.TestJCache$NoEvictionPolicy'
>> ; nested 
>> >exception is java.lang.InstantiationException:
>> >org.codehaus.wadi.sandbox.jcache.TestJCache$NoEvictionPolicy
>> >org.apache.maven.surefire.testset.TestSetFailedException: Unable to 
>> >instantiate POJO 'class 
>> >org.codehaus.wadi.sandbox.jcache.TestJCache$NoEvictionPolicy'
>> ; nested 
>> >exception is java.lang.InstantiationException:
>> >org.codehaus.wadi.sandbox.jcache.TestJCache$NoEvictionPolicy
>> >java.lang.InstantiationException:
>> >org.codehaus.wadi.sandbox.jcache.TestJCache$NoEvictionPolicy
>> >at java.lang.Class.newInstance0(Class.java:335)
>> >at java.lang.Class.newInstance(Class.java:303)
>> >at
>> >org.apache.maven.surefire.testset.PojoTestSet.(PojoTest
>> Set.java:52)
>> >at
>> >org.apache.maven.surefire.junit.JUnitDirectoryTestSuite.creat
>> eTestSet(J
>> >UnitD
>> >irectoryTestSuite.java:61)
>> >at
>> >org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.lo
>> cateTestSe
>> >ts(Ab
>> >stractDirectoryTestSuite.java:93)
>> >at
>> >org.apache.maven.surefire.Surefire.createSuiteFromDefinition(
>> Surefire.j
>> >ava:1
>> >47)
>> >at org.apache.maven.surefire.Surefire.run(Surefire.java:108)
>> >at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> >at
>> >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
>> sorImpl.ja
>> >va:39
>> >)
>> >at
>> >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
>> hodAccesso
>> >rImpl
>> >.java:25)
>> >at java.lang.reflect.Method.invoke(Method.java:585)
>> >at
>> >org.apache.maven.surefire.booter.SurefireBooter.runSuitesInPr
>> ocess(Sure
>> >fireB
>> >ooter.java:225)
>> >at
>> >org.apache.maven.surefire.booter.SurefireBooter.main(Surefire
>> Booter.jav
>> >a:747)
>> 
>> 
>> -
>> 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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-M2---Surefire-POJO---Inner-class-issue-tf1945806.html#a5609134
Sent from the Maven - Users forum at Nabble.com.


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



Re: Re: Re: m2/eclipse/wtp configuration

2006-08-02 Thread Stefan Magnus Landrø
Hi Kev,

Try adding something like this to your pom:

  
test-app

  
org.apache.maven.plugins
maven-eclipse-plugin

  1.0
  
  
  

  
   



see plugin doc for more details.

Stefan

"Kev D'Arcy"  skrev 01.08.2006 11:16:13:

> Stefan,
> 
> The classpath does have the Maven2 Dependencies in it, but it's just not
> picking them up at runtime. I attached the 3 config files
> 
> Kev
> 
> 
> 
>
>
> kind="src" path="src/main/resources"/>
>
>
>
>
>
> 
> 
> 
> 
>Newport
>
>
>
>
>   
>  org.eclipse.jdt.core.javabuilder
>  
>  
>   
>   
>  org.eclipse.wst.common.project.facet.core.builder
>  
>  
>   
>   
>  org.eclipse.wst.validation.validationbuilder
>  
>  
>   
>   
>  org.maven.ide.eclipse.maven2Builder
>  
>  
>   
>
>
>   org.maven.ide.eclipse.maven2Nature
>   org.eclipse.wst.common.project.facet.core.nature
>   org.eclipse.jdt.core.javanature
> org.eclipse.wst.common.modulecore.ModuleCoreNature
>   org.eclipse.jem.workbench.JavaEMFNature
>
> 
> 
> 
> 
>   4.0.0
>   aib.dos.app
>   test-app
>   war
>   Maven Webapp Archetype
>   0.1-SNAPSHOT
>   http://maven.apache.org
>   
> test-app
>   
>   
> 
>   junit
>   junit
>   4.0
>   test
> 
> 
>   commons-beanutils
>   commons-beanutils
>   1.7.0
> 
> 
>   commons-codec
>   commons-codec
>   1.3
> 
> 
>   commons-collections
>   commons-collections
>   3.1
> 
> 
>   commons-dbutils
>   commons-dbutils
>   1.0
> 
> 
>   commons-digester
>   commons-digester
>   1.6
> 
> 
>   commons-el
>   commons-el
>   1.0
> 
> 
>   commons-fileupload
>   commons-fileupload
>   1.0
> 
> 
>   commons-lang
>   commons-lang
>   2.1
> 
> 
>   commons-logging
>   commons-logging
>   1.0.4
> 
> 
>   jstl
>   jstl
>   1.1.0
> 
> 
>   myfaces
>   tomahawk
>   1.1.3
> 
> 
>   com.microsoft.jdbcdriver
>   msbase
>   2000.3
> 
> 
>   com.microsoft.jdbcdriver
>   msutil
>   2000.3
> 
> 
>   com.microsoft.jdbcdriver
>   mssqlserver
>   2000.3
> 
> 
>   myfaces
>   myfaces-api
>   1.1.3
> 
> 
>   myfaces
>   myfaces-impl
>   1.1.3
> 
>   
> 
> 
> the classpath files should be generated automatically by the 
maven-eclipse 
> plugin.
> Have you added a setting for wtp support in your pom? (see eclipse 
plugin 
> for details)
> 
> stefan
> 
> "Kev D'Arcy"  skrev 31.07.2006 18:59:09:
> 
> > Hi,
> > 
> > I'm trying to set-up a dynamic web project in eclipse 3.2 using wtp 
1.5
> > and maven. I have everything in my project compiling correctly but the
> > runtime classpath is missing all the dependencies that are defined
> > in my pom.xml. Do they need to be defined in the .classpath file as 
well
> > as in the pom.xml?
> > 
> > Kev
> 
> 
> 
> 

> This document is strictly confidential and is intended for use by
>  the addressee unless otherwise indicated.
> 
> This email has been scanned by an external Email Security System.
> 
> Allied Irish Banks
> 

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


Re: maven site into Trac?

2006-08-02 Thread Denis Cabasson

That would indeed be nice, and I'd like to do the same thing for JIRA.
Problem is I don't know much about how this is taken care of (either in JIRA
or in TRAC). If anyone of you has a clear idea of this could be handled,
please post a JIRA issue for the maven-changes-plugin, and I'll have a look
at it.

Cheers!

Denis.


Doug Douglass-2 wrote:
> 
> On the other hand, it would be very nice to not have to write a
> changes.xmlfile at all and just use the Trac timeline RSS feed to
> create it completely
> on the fly.
> 
> Just some thoughts.
> 
> Doug
> 
> http://maven.apache.org/plugins/maven-changes-plugin/changes-report-mojo.html
> 
> On 8/1/06, Srepfler Srgjan <[EMAIL PROTECTED]> wrote:
>>
>> Andrew Williams wrote:
>> > I cannot say without seeing exactly what you want. I have not looked
>> > into the changes plugin much - what exactly are you looking for? Just a
>> > handler for Trac changes so the changes plugin outputs links that work
>> > inside MavenTrac?
>> >
>> > Andy
>> >
>> > On Tue, 2006-08-01 at 22:55 +0200, Srepfler Srgjan wrote:
>> >
>> >> Hi Andrew,
>> >> Do you feel you know trac/maven integration enough so that you could
>> add
>> >> support for it to the changes plugin so that we can use trac instead
>> of
>> >> jira as issue tracker?
>> >> Srgjan
>> >>
>> >> Andrew Williams wrote:
>> >>
>> >>> OK, OK so here it is - you can grab MavenTrac, the Trac plugin for
>> Maven
>> >>> sites here: http://dev.rectang.com/projects/maventrac/
>> >>> There are (what I think classify as) comprehensive instructions, but
>> let
>> >>> me know on the site or on email if you have any troubles using it.
>> >>> (Quite possible, as it is still early)
>> >>>
>> >>> Sorry it took a while, but I was working on "TraM" a Trac-Multi
>> wrapper
>> >>> which you can see in action on that site
>> >>> (http://dev.rectang.com/projects/). Thought it might interest some
>> folk
>> >>> here too...
>> >>>
>> >>> Andy
>> >>>
>> >>> p.s. why not check out ContinuTrac too ;)
>> >>> (http://dev.rectang.com/projects/continutrac/)
>> >>>
>> >>> p.p.s Sorry for the adverts!
>> >>>
>> >>> On Sun, 2006-07-30 at 14:10 -0700, Josh Long wrote:
>> >>>
>> >>>
>>  The clamoring masses have it..
>> 
>>  please release it
>> 
>>  On 7/30/06, Srepfler Srgjan <[EMAIL PROTECTED]> wrote:
>> 
>> 
>> > YES!
>> > :)
>> > Srgjan
>> >
>> > Andrew Williams wrote:
>> >
>> >
>> >> :)
>> >>
>> >> I am the dev behind dev.rectang.com and can tell you it is not
>> manually
>> >> done :)
>> >>
>> >> I have a trac plugin that is almost ready for a release that does
>> it
>> >> for me.
>> >>
>> >> step 1) install plugin, tell it where the site is generated to (on
>> the
>> >> filesystem)
>> >> step 2) set your site to use the maven-trac-skin (or whatever I
>> call it
>> >> when it is released) and deploy it into the expected area.
>> >>
>> >> Shall I announce here when it is ready perhaps?
>> >>
>> >> Andrew
>> >>
>> >> Valerio Schiavoni wrote:
>> >>
>> >>
>> >>> hello everyone,
>> >>> any one knows how to 'merge' the maven generated website within
>> Trac, as
>> >>> it's done here:
>> >>> http://dev.rectang.com/projects/javautil/maven/
>> >>>
>> >>> i think they did it 'manually'..but maybe not.
>> >>>
>> >>> thanks,
>> >>> valerio
>> >>>
>> >>>
>> >>>
>> >>
>> -
>> >> 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]
>> >
>> >
>> >
>> I unfortunately don't have a jira instance with which I can play with
>> but if you take a look at this page:
>> http://maven.apache.org/plugins/maven-changes-plugin/usage.html
>> you can see under How to generate a JIRA report how they declare they
>> want to use