Re: incorrect war file structure

2006-08-12 Thread Pete Marvin King

Hello Jeff,

Sorry about that, can you try this

1. svn co https://svn.apache.org/repos/asf/maven/plugins/trunk plugins
2. cd plugins/maven-war-plugin
3. mvn install

the steps above should do it.


pete marvin


Jeff Mutonho wrote:
> On 8/9/06, Pete Marvin King <[EMAIL PROTECTED]> wrote:
>>
>> Hello Jeff,
>>
>> Sorry about the example, the correct one should be
>>
>>
>>   
>>  [...]
>>  
>>configurations
>>
>>WEB-INF
>>
>>true
>>
>>   **/properties
>>
>>  
>>   
>> 
>>
>> it's webResources/resource. So far I can only assure you that the
>> targetPath configuration
>> will only work in 2.1-SNAPSHOT. I'm not sure if the targetPath patch was
>> applied to the
>> 2.0 series.
>>
>> If you have the time you can get the source and built the latest war
>> plugin from the trunk.
>>
>> ---
>> svn co
>> https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-war-plugin
>> cd maven-war-plugin
>> mvn install
>> ---
>>
>> hope this helps,
>> pete marvin
>>
> I checked out the maven-war-plugin project and tried to build it by
> running  "mvn install" , but got stumped by the error :
>
>
> D:\jeff\workspace\maven2\maven-war-plugin\maven-war-plugin>mvn install
> [INFO] Scanning for projects...
> [INFO]
> -
> ---
> [ERROR] FATAL ERROR
> [INFO]
> -
> ---
> [INFO] Failed to resolve artifact.
>
> GroupId: org.apache.maven.plugins
> ArtifactId: maven-plugins
> Version: 2-SNAPSHOT
>
> Reason: Unable to download the artifact from any repository
>
>  org.apache.maven.plugins:maven-plugins:pom:2-SNAPSHOT
>
> from the specified remote repositories:
>  central (http://repo1.maven.org/maven2)
>
>
> [INFO]
> -
> ---
> [INFO] Trace
> org.apache.maven.reactor.MavenExecutionException: POM
> 'org.apache.maven.plugins:
> maven-plugins' not found in repository: Unable to download the
> artifact from any
> repository
>
>  org.apache.maven.plugins:maven-plugins:pom:2-SNAPSHOT
>
>
> This makes sense since the pom.xml has :
>
> 
>maven-plugins
>org.apache.maven.plugins
>2-SNAPSHOT
>  
>
>
> Pete , what do I need to get this to build?
>
> Jeff  Mutonho
>
> GoogleTalk : ejbengine
> Skype: ejbengine
> Registered Linux user number 366042
>
> -
> 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: Java EE

2006-08-12 Thread Srepfler Srgjan

Markus Wolf wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

  

http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html

Convention is to use the java package for java APIs as groupId.
So for example, the java connector API (jca) has groupId
"javax.resources". You can ask SUN and the JCA JSR members why the did
not use javax.jca or javax.connector as package name.



This does not hold for JSR-220 as far as I know.
Use groupId javax.persistence and artifactId ejb for JSR-220.
I mentioned already that javax.ejb would be a better groupId.

  
Actually the the Java Persistence API is just loosely coupled with the 
EJB spec so that people can use it even outside of EJB containers.

So putting it outside the ejb namespace makes perfect sense.
Srgjan

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



Re: multi module site generation - module links not showing in index.html

2006-08-12 Thread Jonathan S. Anderson

Seconded.

mvn site:stage generates a site where the submodule links work, but all
the javadoc/jxr reports have blank index.html

mvn site:deploy generates a site where the submodules are listed with
 tags, but no links, around them, however the actual submodule
site content is properly generated.

JA

--
Jonathan S. Anderson -- [EMAIL PROTECTED]
tel: 540.961.0229 (H)  540.818.2896 (C)
www: http://andersoj.org/oddments
pgp key: http://andersoj.org/personal/0xF0BE7EF8-pub.asc

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



Re: Codehaus

2006-08-12 Thread ben short

http://mojo.codehaus.org/

On 8/11/06, Douglas Ferguson <[EMAIL PROTECTED]> wrote:

Where can I find documentation on the codehaus plugins?



I stumbled upon the codehaus dependency plugin when the apache one didn't
seem to work.



__


Douglas W. Ferguson

EPSIIA - Another Fiserv Connection

Development

Office Phone: 512-329-0081 ext. 3309

Dial Toll Free: 800-415-5946

Mobile Phone: 512-293-7279

Fax: 512-329-0086

[EMAIL PROTECTED]

www.epsiia.com 

__







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



Re: .har file

2006-08-12 Thread Stephane Nicoll

Please ask such questions on the user list!

AFAIK, there is no .har plugin for m1 but it's not really difficult to
build one (based on current plugins for other artifact's types). If
you need help on this, let us know.

Stéphane

On 8/12/06, neeraj bisht <[EMAIL PROTECTED]> wrote:

hi all
There is any plugin availabe by which i can make .har file for j2ee
application
i mean to say i want to deploy my application in jboss server and for that i
need one .har file and i want to make that .har file through maven
i am using maven1.0

Regards
Neeraj Singh Bisht





--
.::You're welcome ::.

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



Re: Resource Plugin

2006-08-12 Thread franz see



Douglas Ferguson wrote:
> 
> I can't find any documentation on how to change the default location of
> the
> resources plugin.
> 
>  
> 
> I checked out the code and it declares ${project.resources}.
> But this is a list of resource objects. I'd like to just change the
> directory from ${basedir}/src/main/resources ->
> ${basedir}/${someotherdir}/src/main/resources
> 
>  
> 
>  
> 
> __
> 
> 
> Douglas W. Ferguson
> 
> EPSIIA - Another Fiserv Connection
> 
> Development
> 
> Office Phone: 512-329-0081 ext. 3309
> 
> Dial Toll Free: 800-415-5946
> 
> Mobile Phone: 512-293-7279
> 
> Fax: 512-329-0086
> 
> [EMAIL PROTECTED]
> 
> www.epsiia.com  
> 
> __
> 
>  
> 
> 
> 


Good day to you Douglas,

You can try out [1] for more info regarding maven-resources-plugin. That
documentation is still being reviewed and is still not final, but it's good
enough (i think).

Anyway, to answer your question add the following to your pom:


  [...]
  

  [..a resource directory...]
  [..another resource directory...]

  
  [...]


Also, if you have some comments regarding the documentation, it would be
greatly appreciated ^_^ 

Thanks a bunch and goodluck to you
- Franz

Ref:
[1] http://people.apache.org/~aramirez/maven-resources-plugin/
-- 
View this message in context: 
http://www.nabble.com/Resource-Plugin-tf2092205.html#a5774084
Sent from the Maven - Users forum at Nabble.com.


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



RE: Optional Goals & Dependencies

2006-08-12 Thread Dave Syer

> I still need to be able to have compile/test compile/test/jar/assemble 
> all use a subdirectory based on a property. 

I think the "maven" way to do this might be to make your subdirectories into
separate projects with their own pom and artifact.
-- 
View this message in context: 
http://www.nabble.com/Optional-Goals---Dependencies-tf2081628.html#a5773604
Sent from the Maven - Users forum at Nabble.com.


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