RE: mvn idea bundles "provided" libraries

2006-07-30 Thread Roald Bankras
That’s a “bug” is the idea plugin. You can configure IDEA to not package the 
library on compilation. 


Roald Bankras
Software Engineer
JTeam b.v.

-Original Message-
From: Sanjiv Jivan [mailto:[EMAIL PROTECTED] 
Sent: Saturday, July 29, 2006 7:57 AM
To: Maven Users List
Subject: mvn idea bundles "provided" libraries

I have a web module in which the servlet API jar is declared with scope
"provided". When I generate an IDEA project file, "provided" scoped
libraries are also included as a library to be deployed by the web module.
"provided" modules should not be packaged by the web module. I'm using the
2.0 version of the idea plugin. Is there a way to exclude provided libraries
from being packaged but present during compile?

Thanks,
Sanjiv


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

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

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



RE: Dependencies not getting resolved even after install

2006-07-30 Thread Kapil Gupta\(CT\)
Thanks for your explanation Wayne.

I had to install commons-logging-api because its pom is not available at
maven central repository though its jar for version 1.1 is available.

Regards,
Kapil

-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED] 
Sent: Saturday, July 29, 2006 8:50 PM
To: Maven Users List
Subject: Re: Dependencies not getting resolved even after install

Maven uses poms to tell it information about an artifact -- its
version, dependencies, etc. So Maven "always" needs a pom for all
artifacts.

Installing a third-party artifact with install-file will *only* copy
the jar file to the proper directory in your local Maven repo. Then
when you run Maven the next time and reference that jar, Maven will
look at the poms in its local repo, see that it does not have a pom
for the artifact, and go out to the Internet to find it. It does this
*before* it even looks to see if it has the jar in its repo. Only once
it resolves all the poms for all direct and transitional dependencies
does Maven start looking at the jars themselves in the repo, to decide
what else needs to be downloaded etc.

Thus, when installing third-party artifacts, you should use
generatePom unless you already have a pom for the artifact which you
will copy to the local repo. Maven will generate an "empty" pom for
the file and it will not bother looking out on the Internet for it the
next time you reference the artifact.

Finally, I have to wonder why you're installing commons-logging-api
manually into your local repo. Isn't that already available in the
Central repo? (Perhaps not version 1.1, I don't know...)

Wayne

On 7/29/06, Kapil Gupta(CT) <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have installed my thirdparty jar files in maven local repository
using
> install:install-file goal.
>
> While compiling my module, I receive following errors
>
> [ERROR] BUILD ERROR
>
> [INFO]
>

>
> [INFO] Error building POM (may not be this project's POM).
>
>
>
>
>
> Project ID: commons-logging:commons-logging-api
>
>
>
> Reason: Error getting POM for 'commons-logging:commons-logging-api'
from
> the repository: Error transferring file
>
>  commons-logging:commons-logging-api:pom:1.1 from the specified remote
> repositories:  central (http://repo1.maven.org/maven2)
>
>
>
> The error goes if I Install my jar using -DgeneratePom=true
>
>
>
> As per the documentation, generatedPom flag is optional then why I
have
> to install jars using this flag?
>
>
>
> Thanks,
>
> Kapil
>
>
>

-
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: Including dependencies in final JAR

2006-07-30 Thread Barrie Treloar

On 7/31/06, Alex Turner <[EMAIL PROTECTED]> wrote:

A list of goals isn't really much of an 'about' the plugin.  It would be
more usefull to describe what the plugin can do and provide tutorials...


Err,
Did you check the Overview section on the left?
It reads:
   * Introduction
   * How to Use
   * Examples
   * Descriptor Format
   * Predefined Descriptors

Admittedly the docs are sometimes thin and assembly could use a bit
more in some places, but there is enough there to get started on.
It's only when you want to do more advanced things that you will need
more help and search on the archives to find it.

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



[ANN] Mevenide Maven2 Netbeans integration 2.2 released

2006-07-30 Thread Milos Kleint

The Mevenide team is proud to announce new release of Mevenide2
Netbeans 2.2.  It allows to open existing Maven2 projects in the IDE,
allows to create new projects,
helps with writing the Maven project files etc.

For download, installation instructions and tutorials:
http://mevenide.codehaus.org/m2-site

Noteworthy additions:
 Create new Maven projects from templates (archetypes)
 Hyperlinking in POMs (Project Object Model)
 Manually installing dependency artifacts, javadocs and sources.
 Dependency removal/transitive dependency exclusion from project view.

Bugs fixed
http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=true&&pid=10480&fixfor=12561

Feedback welcome.

Milos Kleint
[EMAIL PROTECTED]

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



Re: Including dependencies in final JAR

2006-07-30 Thread Alex Turner

A list of goals isn't really much of an 'about' the plugin.  It would be
more usefull to describe what the plugin can do and provide tutorials...

(I'm in the process of getting sorted out with a confluence id etc... I'll
be happy to help write some docs).

Alex.

On 7/30/06, Barrie Treloar <[EMAIL PROTECTED]> wrote:


On 7/31/06, Alex Turner <[EMAIL PROTECTED]> wrote:
> Not to ask a stupid question, but why should I have to use a plugin for
> this?  This is standard functionality that many projects
require.  Shouldn't
> this be part of the standard maven goals?

If you have a standalone app then you probably want to create an
binary assembly that would include your jar file (with correct
Class-Path in the Manifest file), any dependent libraries, and config
files, any documentation.

To do this you will want to use the
http://maven.apache.org/plugins/maven-assembly-plugin

Search the archives, there should be plenty of examples on this.
I tend not to use the built in descriptors as I find they don't meet my
needs.
It is very easy to write your assembly descriptors.

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




Re: Cargo Plugin

2006-07-30 Thread Alex Turner

Ok - my id is 'plexq'

Thanks,

Alex

On 7/30/06, Vincent Massol <[EMAIL PROTECTED]> wrote:


 Hi Alex,


  --

*From:* Alex Turner [mailto:[EMAIL PROTECTED]
*Sent:* dimanche 30 juillet 2006 22:12
*To:* [EMAIL PROTECTED]
*Cc:* Maven Users List
*Subject:* Re: Cargo Plugin



What can I do to help make this happen.  This is a priority for me, and I
have no problem helping to make it happen

Very cool J You mean helping on improving the documentation, right? If so,
give me your confluence id on http://docs.codehaus.org and I'll give you
access to the cargo wiki so that you can edit any page. The best is for us
to discuss all this on the cargo user or dev list.

Thanks
-Vincent

 PS: Moving this mail to the cargo dev list. Please follow me there to
continue the discussion.



Alex

On 7/29/06, *Vincent Massol* <[EMAIL PROTECTED]> wrote:

Hi Alex,


  --

*From:* Alex Turner [mailto:[EMAIL PROTECTED]
*Sent:* samedi 29 juillet 2006 21:03
*To:* Maven Users List; [EMAIL PROTECTED]
*Subject:* Re: Cargo Plugin



To make it easier, I might break it down into scenarios.  In a kind of how
do I? format.  How do I deploy a war file to a container?  How do I deploy a
war file exploded to a conatiner?  How do I restart a container?

This is what we have for the m2 plugin: testCreateCustomDeployable. We
don't have it in general though so I believe the problem is in generalizing
this to all the different APIs. That's a good idea. I've created a jira
issue for this: http://jira.codehaus.org/browse/CARGO-399


The other thing is, I haven't found a way to update my deployment.  I want
to just copy files that have changes and ask the container to redeploy the
web app.  This is something ant can do quite easily, and I can't figure out
how to do with maven/cargo.

Yep, I agree. It is undocumented for now. I have created a jira issue for
it: http://jira.codehaus.org/browse/CARGO-398

Now all we need are contributors to help us and speed this up.

Thanks for the feedback

-Vincent



Thanks for all the great support,

Alex.

On 7/29/06, *Vincent Massol* <[EMAIL PROTECTED]> wrote:

Hi Alex,

> -Original Message-
> From: Alex Turner [mailto: [EMAIL PROTECTED]
> Sent: samedi 29 juillet 2006 06:46
> To: Maven Users List
> Subject: Re: Cargo Plugin
>
> Thanks for the pointer - the documentation isn't the easiest to follow,
> but
> I figured it out.

What do you think would the single most important point to improve it?

[snip]

Thanks
-Vincent






___

D�couvrez un nouveau moyen de poser toutes vos questions quelque soit le
sujet !
Yahoo! Questions/R�ponses pour partager vos connaissances, vos opinions et
vos exp�riences.

http://fr.answers.yahoo.com


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







RE: Including dependencies in final JAR

2006-07-30 Thread Mike Perham
"Standard" plugins just use a naming convention so they don't need to
hard-coded anywhere.  The assembly plugin is a standard plugin.

-Original Message-
From: Alex Turner [mailto:[EMAIL PROTECTED] 
Sent: Sunday, July 30, 2006 8:48 PM
To: Maven Users List
Subject: Re: Including dependencies in final JAR

ok - but there are standard plugins (I assume defined in the super pom),
and
plugins that have to be detailed in the project's pom.xml.  This is
functionality that really should be in a standard plugin

Alex

On 7/30/06, Mike Perham <[EMAIL PROTECTED]> wrote:
>
> Maven has no standard goals.  _Everything_ is a plugin.
>
> -Original Message-
> From: Alex Turner [mailto:[EMAIL PROTECTED]
> Sent: Sunday, July 30, 2006 5:54 PM
> To: Maven Users List
> Subject: Re: Including dependencies in final JAR
>
> Not to ask a stupid question, but why should I have to use a plugin
for
> this?  This is standard functionality that many projects require.
> Shouldn't
> this be part of the standard maven goals?
>
> Alex
>
> On 7/30/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> >
> > Yes, it sounds like you want a Jar...
> >
> > Search the user list for assembly plugin plus jar-with-dependencies
> > parameter.
> >
> > Wayne
> >
> > On 7/30/06, Alex Turner <[EMAIL PROTECTED]> wrote:
> > > Looking at it now, I think what I want is a JAR not an EAR.  I
have
> a
> > stand
> > > alone app that is fired from cron.
> > >
> > > Alex
> > >
> > > On 7/30/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Depends entirely on what you're building...
> > > >
> > > > Do you want an EAR (for J2EE app) or a JAR (for various other
> types of
> > > > apps)?
> > > >
> > > > Wayne
> > > >
> > > > On 7/30/06, Alex Turner <[EMAIL PROTECTED]> wrote:
> > > > > Okay - I just realised something - maybe what I'm trying to do
> is
> > wrong
> > > > > here... do I really want an ear file instead?
> > > > >
> > > > > Alex
> > > > >
> > > > > On 7/30/06, Alex Turner <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > How do I tell maven to include my dependency jars in my
final
> jar
> > > > file?
> > > > > >
> > > > > > I am referencing
> > > >
> >
>
http://maven.apache.org/guides/introduction/introduction-to-dependency-m
> echanism.html
> > > > > > , but none of the scopes described seems to do that.
> > > > > >
> > > > > > Thanks,
> > > > > >
> > > > > > Alex.
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> -
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> >
> >
-
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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



How do I create documentation?

2006-07-30 Thread Stefan Sayk
Hi all,
 
I've a little probelm generating the maven site sources (src/site). If I try
it I always get the following Errror:
 
C:\say\Workspace\OSIS>mvn archetype:create -DgroupId=de.sayk.osis
-DartifactId=O
SIS -DarchetypeGroupId=org.apache.maven.archetypes
-DarchetypeArtifactId=maven-a
rchetype-site
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO]
-
---
[INFO] Building OSIS (open school information system)
[INFO]task-segment: [archetype:create] (aggregator-style)
[INFO]
-
---
[INFO] Setting property: classpath.resource.loader.class =>
'org.codehaus.plexus
.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] **
[INFO] Starting Jakarta Velocity v1.4
[INFO] RuntimeInstance initializing.
[INFO] Default Properties File:
org\apache\velocity\runtime\defaults\velocity.pr
operties
[INFO] Default ResourceManager initializing. (class
org.apache.velocity.runtime.
resource.ResourceManagerImpl)
[INFO] Resource Loader Instantiated:
org.codehaus.plexus.velocity.ContextClassLo
aderResourceLoader
[INFO] ClasspathResourceLoader : initialization starting.
[INFO] ClasspathResourceLoader : initialization complete.
[INFO] ResourceCache : initialized. (class
org.apache.velocity.runtime.resource.
ResourceCacheImpl)
[INFO] Default ResourceManager initialization complete.
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Literal
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Include
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Foreach
[INFO] Created: 20 parsers.
[INFO] Velocimacro : initialization starting.
[INFO] Velocimacro : adding VMs from VM library template :
VM_global_library.vm
[ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in
any
resource loader.
[INFO] Velocimacro : error using  VM library template VM_global_library.vm :
org
.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource 'V
M_global_library.vm'
[INFO] Velocimacro :  VM library template macro registration complete.
[INFO] Velocimacro : allowInline = true : VMs can be defined inline in
templates
 
[INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may
NOT
replace previous VM definitions
[INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be
glob
al in scope if allowed.
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.
[INFO] [archetype:create]
[INFO] Defaulting package to group ID: de.sayk.osis
[INFO]
-
---
[INFO] Using following parameters for creating Archetype:
maven-archetype-site:R
ELEASE
[INFO]
-
---
[INFO] Parameter: groupId, Value: de.sayk.osis
[INFO] Parameter: packageName, Value: de.sayk.osis
[INFO] Parameter: basedir, Value: C:\say\Workspace\OSIS
[INFO] Parameter: package, Value: de.sayk.osis
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] Parameter: artifactId, Value: OSIS
[INFO]
-
---
[ERROR] BUILD ERROR
[INFO]
-
---
[INFO] Error creating from archetype
 
Embedded error: Unable to add module to the current project as it is not of
pack
aging type 'pom'
[INFO]
-
---
[INFO] For more information, run Maven with the -e switch
[INFO]
-
---
[INFO] Total time: 2 seconds
[INFO] Finished at: Sat Jul 29 13:42:56 GMT+01:00 2006
[INFO] Final Memory: 4M/8M
[INFO]
-
---
 
C:\say\Workspace\OSIS>
 
 
Thanks,
 
Stefan


Re: Including dependencies in final JAR

2006-07-30 Thread Barrie Treloar

On 7/31/06, Alex Turner <[EMAIL PROTECTED]> wrote:

Not to ask a stupid question, but why should I have to use a plugin for
this?  This is standard functionality that many projects require.  Shouldn't
this be part of the standard maven goals?


If you have a standalone app then you probably want to create an
binary assembly that would include your jar file (with correct
Class-Path in the Manifest file), any dependent libraries, and config
files, any documentation.

To do this you will want to use the
http://maven.apache.org/plugins/maven-assembly-plugin

Search the archives, there should be plenty of examples on this.
I tend not to use the built in descriptors as I find they don't meet my needs.
It is very easy to write your assembly descriptors.

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



Re: Including dependencies in final JAR

2006-07-30 Thread Alex Turner

ok - but there are standard plugins (I assume defined in the super pom), and
plugins that have to be detailed in the project's pom.xml.  This is
functionality that really should be in a standard plugin

Alex

On 7/30/06, Mike Perham <[EMAIL PROTECTED]> wrote:


Maven has no standard goals.  _Everything_ is a plugin.

-Original Message-
From: Alex Turner [mailto:[EMAIL PROTECTED]
Sent: Sunday, July 30, 2006 5:54 PM
To: Maven Users List
Subject: Re: Including dependencies in final JAR

Not to ask a stupid question, but why should I have to use a plugin for
this?  This is standard functionality that many projects require.
Shouldn't
this be part of the standard maven goals?

Alex

On 7/30/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
>
> Yes, it sounds like you want a Jar...
>
> Search the user list for assembly plugin plus jar-with-dependencies
> parameter.
>
> Wayne
>
> On 7/30/06, Alex Turner <[EMAIL PROTECTED]> wrote:
> > Looking at it now, I think what I want is a JAR not an EAR.  I have
a
> stand
> > alone app that is fired from cron.
> >
> > Alex
> >
> > On 7/30/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> > >
> > > Depends entirely on what you're building...
> > >
> > > Do you want an EAR (for J2EE app) or a JAR (for various other
types of
> > > apps)?
> > >
> > > Wayne
> > >
> > > On 7/30/06, Alex Turner <[EMAIL PROTECTED]> wrote:
> > > > Okay - I just realised something - maybe what I'm trying to do
is
> wrong
> > > > here... do I really want an ear file instead?
> > > >
> > > > Alex
> > > >
> > > > On 7/30/06, Alex Turner <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > How do I tell maven to include my dependency jars in my final
jar
> > > file?
> > > > >
> > > > > I am referencing
> > >
>
http://maven.apache.org/guides/introduction/introduction-to-dependency-m
echanism.html
> > > > > , but none of the scopes described seems to do that.
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Alex.
> > > > >
> > > >
> > > >
> > >
> > >
-
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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




RE: Including dependencies in final JAR

2006-07-30 Thread Mike Perham
Maven has no standard goals.  _Everything_ is a plugin. 

-Original Message-
From: Alex Turner [mailto:[EMAIL PROTECTED] 
Sent: Sunday, July 30, 2006 5:54 PM
To: Maven Users List
Subject: Re: Including dependencies in final JAR

Not to ask a stupid question, but why should I have to use a plugin for
this?  This is standard functionality that many projects require.
Shouldn't
this be part of the standard maven goals?

Alex

On 7/30/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
>
> Yes, it sounds like you want a Jar...
>
> Search the user list for assembly plugin plus jar-with-dependencies
> parameter.
>
> Wayne
>
> On 7/30/06, Alex Turner <[EMAIL PROTECTED]> wrote:
> > Looking at it now, I think what I want is a JAR not an EAR.  I have
a
> stand
> > alone app that is fired from cron.
> >
> > Alex
> >
> > On 7/30/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> > >
> > > Depends entirely on what you're building...
> > >
> > > Do you want an EAR (for J2EE app) or a JAR (for various other
types of
> > > apps)?
> > >
> > > Wayne
> > >
> > > On 7/30/06, Alex Turner <[EMAIL PROTECTED]> wrote:
> > > > Okay - I just realised something - maybe what I'm trying to do
is
> wrong
> > > > here... do I really want an ear file instead?
> > > >
> > > > Alex
> > > >
> > > > On 7/30/06, Alex Turner <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > How do I tell maven to include my dependency jars in my final
jar
> > > file?
> > > > >
> > > > > I am referencing
> > >
>
http://maven.apache.org/guides/introduction/introduction-to-dependency-m
echanism.html
> > > > > , but none of the scopes described seems to do that.
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Alex.
> > > > >
> > > >
> > > >
> > >
> > >
-
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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



Re: [ANN] Archy - a simple frontend to archetypes

2006-07-30 Thread Brett Porter

Hi Don,

Thanks for this.

Would you consider contributing this as a patch to the archetype plugin itself?

BTW, Very shortly there will be a page available that automates
listing all archetypes in the repository that you will be able to use
instead.

- Brett

On 29/07/06, Don Brown <[EMAIL PROTECTED]> wrote:

In a fit of frustration trying to find a list of Maven archetypes, I
threw together a little command-line frontend to Maven's archetypes
that makes using them easier.

Archy is a simple, command-line frontend to Maven 2's archetypes. It
walks you through the process of creating a new project using these
project templates. This tool was inspired by megg [1].

The list of archetypes comes from two sources:

* An internal XML file that describes the archetype information
* An external Maven wiki page [2] that lists available archetypes

I hope someone else finds it useful, and for the love of pete, please
help fill out the list of archetypes in the Maven wiki [2].  Thanks :)

Archy home page: https://www.twdata.org/projects/archy

Don

[1] http://javanicus.com/megg/
[2] http://docs.codehaus.org/display/MAVENUSER/Archetypes+List

-
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: How to I unsubscribe?

2006-07-30 Thread Brett Porter

Removed.

On 29/07/06, Frank Russo <[EMAIL PROTECTED]> wrote:

I've a message 5 different times to the unsubscribe email address, but
it won't remove me. I've gotten no confirmation at all.

Thanks...





--
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: Including dependencies in final JAR

2006-07-30 Thread Alex Turner

Not to ask a stupid question, but why should I have to use a plugin for
this?  This is standard functionality that many projects require.  Shouldn't
this be part of the standard maven goals?

Alex

On 7/30/06, Wayne Fay <[EMAIL PROTECTED]> wrote:


Yes, it sounds like you want a Jar...

Search the user list for assembly plugin plus jar-with-dependencies
parameter.

Wayne

On 7/30/06, Alex Turner <[EMAIL PROTECTED]> wrote:
> Looking at it now, I think what I want is a JAR not an EAR.  I have a
stand
> alone app that is fired from cron.
>
> Alex
>
> On 7/30/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> >
> > Depends entirely on what you're building...
> >
> > Do you want an EAR (for J2EE app) or a JAR (for various other types of
> > apps)?
> >
> > Wayne
> >
> > On 7/30/06, Alex Turner <[EMAIL PROTECTED]> wrote:
> > > Okay - I just realised something - maybe what I'm trying to do is
wrong
> > > here... do I really want an ear file instead?
> > >
> > > Alex
> > >
> > > On 7/30/06, Alex Turner <[EMAIL PROTECTED]> wrote:
> > > >
> > > > How do I tell maven to include my dependency jars in my final jar
> > file?
> > > >
> > > > I am referencing
> >
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html
> > > > , but none of the scopes described seems to do that.
> > > >
> > > > Thanks,
> > > >
> > > > Alex.
> > > >
> > >
> > >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>

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




Re: Including dependencies in final JAR

2006-07-30 Thread Wayne Fay

Yes, it sounds like you want a Jar...

Search the user list for assembly plugin plus jar-with-dependencies parameter.

Wayne

On 7/30/06, Alex Turner <[EMAIL PROTECTED]> wrote:

Looking at it now, I think what I want is a JAR not an EAR.  I have a stand
alone app that is fired from cron.

Alex

On 7/30/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
>
> Depends entirely on what you're building...
>
> Do you want an EAR (for J2EE app) or a JAR (for various other types of
> apps)?
>
> Wayne
>
> On 7/30/06, Alex Turner <[EMAIL PROTECTED]> wrote:
> > Okay - I just realised something - maybe what I'm trying to do is wrong
> > here... do I really want an ear file instead?
> >
> > Alex
> >
> > On 7/30/06, Alex Turner <[EMAIL PROTECTED]> wrote:
> > >
> > > How do I tell maven to include my dependency jars in my final jar
> file?
> > >
> > > I am referencing
> 
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html
> > > , but none of the scopes described seems to do that.
> > >
> > > Thanks,
> > >
> > > Alex.
> > >
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>




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



Re: Including dependencies in final JAR

2006-07-30 Thread Alex Turner

Looking at it now, I think what I want is a JAR not an EAR.  I have a stand
alone app that is fired from cron.

Alex

On 7/30/06, Wayne Fay <[EMAIL PROTECTED]> wrote:


Depends entirely on what you're building...

Do you want an EAR (for J2EE app) or a JAR (for various other types of
apps)?

Wayne

On 7/30/06, Alex Turner <[EMAIL PROTECTED]> wrote:
> Okay - I just realised something - maybe what I'm trying to do is wrong
> here... do I really want an ear file instead?
>
> Alex
>
> On 7/30/06, Alex Turner <[EMAIL PROTECTED]> wrote:
> >
> > How do I tell maven to include my dependency jars in my final jar
file?
> >
> > I am referencing
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html
> > , but none of the scopes described seems to do that.
> >
> > Thanks,
> >
> > Alex.
> >
>
>

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




Re: Including dependencies in final JAR

2006-07-30 Thread Wayne Fay

Depends entirely on what you're building...

Do you want an EAR (for J2EE app) or a JAR (for various other types of apps)?

Wayne

On 7/30/06, Alex Turner <[EMAIL PROTECTED]> wrote:

Okay - I just realised something - maybe what I'm trying to do is wrong
here... do I really want an ear file instead?

Alex

On 7/30/06, Alex Turner <[EMAIL PROTECTED]> wrote:
>
> How do I tell maven to include my dependency jars in my final jar file?
>
> I am referencing 
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html
> , but none of the scopes described seems to do that.
>
> Thanks,
>
> Alex.
>




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



Re: maven site into Trac?

2006-07-30 Thread Josh Long

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]



Re: Cargo Plugin

2006-07-30 Thread Alex Turner

Vincent, I get an error trying to go to the mailing list page for cargo at
http://archive.codehaus.org/cargo/

If you could give me the subscribe addy, I'll sign up directly

Thanks,

Alex

On 7/30/06, Vincent Massol <[EMAIL PROTECTED]> wrote:


 Hi Alex,


  --

*From:* Alex Turner [mailto:[EMAIL PROTECTED]
*Sent:* dimanche 30 juillet 2006 22:12
*To:* [EMAIL PROTECTED]
*Cc:* Maven Users List
*Subject:* Re: Cargo Plugin



What can I do to help make this happen.  This is a priority for me, and I
have no problem helping to make it happen

Very cool J You mean helping on improving the documentation, right? If so,
give me your confluence id on http://docs.codehaus.org and I'll give you
access to the cargo wiki so that you can edit any page. The best is for us
to discuss all this on the cargo user or dev list.

Thanks
-Vincent

 PS: Moving this mail to the cargo dev list. Please follow me there to
continue the discussion.



Alex

On 7/29/06, *Vincent Massol* <[EMAIL PROTECTED]> wrote:

Hi Alex,


  --

*From:* Alex Turner [mailto:[EMAIL PROTECTED]
*Sent:* samedi 29 juillet 2006 21:03
*To:* Maven Users List; [EMAIL PROTECTED]
*Subject:* Re: Cargo Plugin



To make it easier, I might break it down into scenarios.  In a kind of how
do I? format.  How do I deploy a war file to a container?  How do I deploy a
war file exploded to a conatiner?  How do I restart a container?

This is what we have for the m2 plugin: testCreateCustomDeployable. We
don't have it in general though so I believe the problem is in generalizing
this to all the different APIs. That's a good idea. I've created a jira
issue for this: http://jira.codehaus.org/browse/CARGO-399


The other thing is, I haven't found a way to update my deployment.  I want
to just copy files that have changes and ask the container to redeploy the
web app.  This is something ant can do quite easily, and I can't figure out
how to do with maven/cargo.

Yep, I agree. It is undocumented for now. I have created a jira issue for
it: http://jira.codehaus.org/browse/CARGO-398

Now all we need are contributors to help us and speed this up.

Thanks for the feedback

-Vincent



Thanks for all the great support,

Alex.

On 7/29/06, *Vincent Massol* <[EMAIL PROTECTED]> wrote:

Hi Alex,

> -Original Message-
> From: Alex Turner [mailto: [EMAIL PROTECTED]
> Sent: samedi 29 juillet 2006 06:46
> To: Maven Users List
> Subject: Re: Cargo Plugin
>
> Thanks for the pointer - the documentation isn't the easiest to follow,
> but
> I figured it out.

What do you think would the single most important point to improve it?

[snip]

Thanks
-Vincent






___

D�couvrez un nouveau moyen de poser toutes vos questions quelque soit le
sujet !
Yahoo! Questions/R�ponses pour partager vos connaissances, vos opinions et
vos exp�riences.

http://fr.answers.yahoo.com


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







RE: Cargo Plugin

2006-07-30 Thread Vincent Massol
Hi Alex,

 

  _  

From: Alex Turner [mailto:[EMAIL PROTECTED] 
Sent: dimanche 30 juillet 2006 22:12
To: [EMAIL PROTECTED]
Cc: Maven Users List
Subject: Re: Cargo Plugin

 

What can I do to help make this happen.  This is a priority for me, and I
have no problem helping to make it happen

Very cool :-) You mean helping on improving the documentation, right? If so,
give me your confluence id on http://docs.codehaus.org
  and I’ll give you access to the cargo wiki so
that you can edit any page. The best is for us to discuss all this on the
cargo user or dev list. 

Thanks
-Vincent



PS: Moving this mail to the cargo dev list. Please follow me there to
continue the discussion.



Alex

On 7/29/06, Vincent Massol <[EMAIL PROTECTED]> wrote:

Hi Alex,

 

  _  

From: Alex Turner [mailto:[EMAIL PROTECTED] 
Sent: samedi 29 juillet 2006 21:03
To: Maven Users List; [EMAIL PROTECTED]
Subject: Re: Cargo Plugin

 

To make it easier, I might break it down into scenarios.  In a kind of how
do I? format.  How do I deploy a war file to a container?  How do I deploy a
war file exploded to a conatiner?  How do I restart a container?

This is what we have for the m2 plugin: testCreateCustomDeployable. We don't
have it in general though so I believe the problem is in generalizing this
to all the different APIs. That's a good idea. I've created a jira issue for
this: http://jira.codehaus.org/browse/CARGO-399


The other thing is, I haven't found a way to update my deployment.  I want
to just copy files that have changes and ask the container to redeploy the
web app.  This is something ant can do quite easily, and I can't figure out
how to do with maven/cargo. 

Yep, I agree. It is undocumented for now. I have created a jira issue for
it: http://jira.codehaus.org/browse/CARGO-398 

Now all we need are contributors to help us and speed this up.

Thanks for the feedback

-Vincent



Thanks for all the great support,

Alex.

On 7/29/06, Vincent Massol <[EMAIL PROTECTED]> wrote: 

Hi Alex,

> -Original Message-
> From: Alex Turner [mailto:   [EMAIL PROTECTED]
> Sent: samedi 29 juillet 2006 06:46
> To: Maven Users List
> Subject: Re: Cargo Plugin
>
> Thanks for the pointer - the documentation isn't the easiest to follow,
> but 
> I figured it out.

What do you think would the single most important point to improve it?

[snip]

Thanks
-Vincent






___ 
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le
sujet !
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et
vos expériences.
http://fr.answers.yahoo.com


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

 

 



Re: Cargo Plugin

2006-07-30 Thread Alex Turner

What can I do to help make this happen.  This is a priority for me, and I
have no problem helping to make it happen

Alex

On 7/29/06, Vincent Massol <[EMAIL PROTECTED]> wrote:


 Hi Alex,


  --

*From:* Alex Turner [mailto:[EMAIL PROTECTED]
*Sent:* samedi 29 juillet 2006 21:03
*To:* Maven Users List; [EMAIL PROTECTED]
*Subject:* Re: Cargo Plugin



To make it easier, I might break it down into scenarios.  In a kind of how
do I? format.  How do I deploy a war file to a container?  How do I deploy a
war file exploded to a conatiner?  How do I restart a container?

This is what we have for the m2 plugin: testCreateCustomDeployable. We
don't have it in general though so I believe the problem is in generalizing
this to all the different APIs. That's a good idea. I've created a jira
issue for this: http://jira.codehaus.org/browse/CARGO-399

The other thing is, I haven't found a way to update my deployment.  I want
to just copy files that have changes and ask the container to redeploy the
web app.  This is something ant can do quite easily, and I can't figure out
how to do with maven/cargo.

Yep, I agree. It is undocumented for now. I have created a jira issue for
it: http://jira.codehaus.org/browse/CARGO-398

Now all we need are contributors to help us and speed this up.

Thanks for the feedback
-Vincent


Thanks for all the great support,

Alex.

 On 7/29/06, *Vincent Massol* <[EMAIL PROTECTED]> wrote:

Hi Alex,

> -Original Message-
> From: Alex Turner [mailto: [EMAIL PROTECTED]
> Sent: samedi 29 juillet 2006 06:46
> To: Maven Users List
> Subject: Re: Cargo Plugin
>
> Thanks for the pointer - the documentation isn't the easiest to follow,
> but
> I figured it out.

What do you think would the single most important point to improve it?

[snip]

Thanks
-Vincent






___

Découvrez un nouveau moyen de poser toutes vos questions quelque soit le
sujet !
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et
vos expériences.
http://fr.answers.yahoo.com


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





Re: Including dependencies in final JAR

2006-07-30 Thread Alex Turner

Okay - I just realised something - maybe what I'm trying to do is wrong
here... do I really want an ear file instead?

Alex

On 7/30/06, Alex Turner <[EMAIL PROTECTED]> wrote:


How do I tell maven to include my dependency jars in my final jar file?

I am referencing 
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html
, but none of the scopes described seems to do that.

Thanks,

Alex.



Including dependencies in final JAR

2006-07-30 Thread Alex Turner

How do I tell maven to include my dependency jars in my final jar file?

I am referencing
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html,
but none of the scopes described seems to do that.

Thanks,

Alex.


Re: maven site into Trac?

2006-07-30 Thread Srepfler Srgjan

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]



uniqueVersion not inherited in child projects?

2006-07-30 Thread korebantic

My parent project defines the following:

 
   
 Yo
 Yo Repository
 scp://yo/home/maven/www
 false
   
 


When I run the following command in the child project:

mvn help:effective-pom

I get the following results:

 ...
 
   
 Yo
 Yo Repository
 scp://yo/home/maven/www
   
 
 ...

It looks like inheritence is ignoring the  element.
Shouldn't the child POM be inheriting that? Or am I doing something
wrong?

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