Re: Maven X-Docs Generation Failed

2003-12-24 Thread Ben Walding
I really must question the sanity of having package names with cedilla 
characters in them.

In any event, you're going to have to narrow down which plugin fails in 
xdoc generation.

Verma, Nitin (GECP, OTHER, 529706) wrote:

I have a package called "façade" ... only and only if I remove this 
package X-Docs Generation works!
Can someone "give some pointer" or guidance to fix this?



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


Small Maven Question

2003-12-24 Thread Verma, Nitin (GECP, OTHER, 529706)
Title: Small Maven Question






$ maven jnlp:generate-keystore 


jnlp:generate-keystore:
    [delete] Directory /opt/GEinet/neo/projects_tasadd/tasdesign cannot be removed using the file attribute.  Use dir instead.

    [genkey] Generating Key for tasdesign
    [genkey] keytool error: java.lang.Exception: Key password must be at least 6 characters


Gives me an error ! How to make a keystrore using maven?



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

Some Maven Questions?

2003-12-24 Thread conradwt
Hi, I have the following maven questions:

1)  How does one create a maven remote repository?

2)  How does one properly add a 3rd party jar(s) to the maven remote repository?

3)  Where should one store generated jar(s), war(s), and ear(s) prior to deployment?
 After deployment?

Thanks in advance,

-Conrad


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



Some Maven Questions?

2003-12-24 Thread conradwt
Hi, I have the following maven questions:

1)  How does one create a maven remote repository?

2)  How does one properly add a 3rd party jar(s) to the maven remote repository?

3)  Where should one store generated jar(s), war(s), and ear(s) prior to deployment?
 After deployment?

Thanks in advance,

-Conrad


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




Maven X-Docs Generation Failed

2003-12-24 Thread Verma, Nitin (GECP, OTHER, 529706)
Title: Maven X-Docs Generation Failed






I have a package called "façade" ... only and only if I remove this package X-Docs Generation works!
Can someone "give some pointer" or guidance to fix this?



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

Re: chicken and egg

2003-12-24 Thread Jefferson K. French
Charles,

>From one of your earlier messages in this thread, you said you need
the jar to package into a war and/or ear. It sounds like either you
are:

  1. trying to build multiple artifacts in the same project or
  2. using subprojects, but putting your dependencies at the parent
 level.

If #1 is true, you should build each artifact in a separate
subproject. See:

  o the Wiki on building a webapp
(http://wiki.codehaus.org/maven/CreatingWebApplications)
  o a Maven J2EE tutorial
(http://www.theserverside.com/resources/article.jsp?l=MavenMagic)
  o the multiproject plugin
(http://maven.apache.org/reference/plugins/multiproject/)

If #2 is true, move your dependencies down to the appropriate
subproject's project.xml file. At least move dependencies on anything
you create in this project down to the WAR or EAR subproject.

  Jeff

On Wed, 24 Dec 2003, at 14:49:32 [GMT -0500] Charles Tassoni wrote:

> < I'm trying to compile a set of source code X that will be packaged into 
> jar X.  If I don't have an old version of jar X in the classpath, no 
> problem.  If I have old jar X in the classpath, then occasionaly source x 
> will not compile.
> Here's a way to duplicate this problem:  Focus on some classes that your 
> project makes into a jar. In your source tree take one of those classes and 
> move it to a different package.  Make sure that methods of the class are 
> still called elsewhere in your code, although of course you've changed the 
> import statements in your code to reflect the class's new package.
>Now  maven will be unable to compile your source, even though ant, your 
> ide, and every other compilation method known to man will have no trouble 
> with it.  The reason is that your classpath is befouled with outdated 
> information about your classes.  You now have to work around that, and 
> suddenly your build is far from the automatic whiz-bang you told your 
> project manager about.
>And right about then you want to know how to reference a jar in maven, 
> and yet not have it be used in the classpath when compiling your code.

> _
> Take advantage of our limited-time introductory offer for dial-up Internet 
> access. http://join.msn.com/?page=dept/dialup


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

-- 
mailto:[EMAIL PROTECTED]



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



RE: chicken and egg

2003-12-24 Thread Charles Tassoni
<

   I'm trying to compile a set of source code X that will be packaged into 
jar X.  If I don't have an old version of jar X in the classpath, no 
problem.  If I have old jar X in the classpath, then occasionaly source x 
will not compile.
   Here's a way to duplicate this problem:  Focus on some classes that your 
project makes into a jar. In your source tree take one of those classes and 
move it to a different package.  Make sure that methods of the class are 
still called elsewhere in your code, although of course you've changed the 
import statements in your code to reflect the class's new package.
  Now  maven will be unable to compile your source, even though ant, your 
ide, and every other compilation method known to man will have no trouble 
with it.  The reason is that your classpath is befouled with outdated 
information about your classes.  You now have to work around that, and 
suddenly your build is far from the automatic whiz-bang you told your 
project manager about.
  And right about then you want to know how to reference a jar in maven, 
and yet not have it be used in the classpath when compiling your code.

_
Take advantage of our limited-time introductory offer for dial-up Internet 
access. http://join.msn.com/?page=dept/dialup

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


Compiler problem

2003-12-24 Thread Mostashfi, Ali
Hi,

Does anyone know why my project runs perfectly when compiled and executed
via eclipse, but not through maven.  The OS is Redhat Linux 8, with the Java
SE build 1.4.0_01-b03.

The error is:

/home/autobuilder/ali/skope/src/com/sra/skope/userinterface/template/Templat
eExplorer.java:31: interface expected here
public class TemplateExplorer extends JTabbedPane implements ModelListener {
 ^ (this one
sits under the name ModelListener)

/home/autobuilder/ali/skope/src/com/sra/skope/userinterface/template/Templat
eExplorer.java:118: removeModelListener(com.sra.skope.event.ModelListener)
in com.sra.skope.businesslogic.template.TemplateModel cannot be applied to
(com.sra.skope.userinterface.template.TemplateExplorer)
this.templateModel.removeModelListener(this);
^

/home/autobuilder/ali/skope/src/com/sra/skope/userinterface/template/Templat
eExplorer.java:123: addModelListener(com.sra.skope.event.ModelListener) in
com.sra.skope.businesslogic.template.TemplateModel cannot be applied to
(com.sra.skope.userinterface.template.TemplateExplorer)
this.templateModel.addModelListener(this);
^
3 errors

BUILD FAILED
File.. file:/home/autobuilder/.maven/plugins/maven-java-plugin-1.3/
 
Element... ant:javac
Line.. 34
Column 48
Compile failed; see the compiler error output for details.


Re: issues in viewing generated docs in maven

2003-12-24 Thread Moritz Petersen
This is a question regarding your webserver configuration, so it is not 
easy to answer without knowing your machine's specs.

Another way is to change the location of transformed xdocs. Create a 
file called 'project.properties' in your project root and add the 
property 'maven.docs.dest=C:\deepak\deepak\'. This should do it. More 
information can be found here: 
http://maven.apache.org/reference/plugins/xdoc/

-Mo.

Am 24.12.2003 um 14:25 Uhr schrieb Deepak Sable:



Hi

"Merry Christmas and happy New Year to all"

I have a project called deepak and is located in machine name deepak at

c:\deepak

when i run maven ,the target is created inside deepak
as c:\deepak\target\
and other folders

so now when i want to access the docs that are generated i have to 
access them as

http://deepak/index.html

but i want to view the docs at

http://deepak/deepak/index.html

how is it possible that way 

help needed...

Thanks in advance



Deepak









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


issues in viewing generated docs in maven

2003-12-24 Thread Deepak Sable


Hi 


"Merry Christmas and happy New Year to all"

I have a project called deepak and is located in machine name deepak at 

c:\deepak

when i run maven ,the target is created inside deepak 
as c:\deepak\target\

and other folders

so now when i want to access the docs that are generated i have to access them as 

http://deepak/index.html 


but i want to view the docs at 


http://deepak/deepak/index.html


how is it possible that way 


help needed...


Thanks in advance



Deepak 









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



developer activity not shown in maven

2003-12-24 Thread Deepak Sable
hi ,

I am able to generate docs using  Maven 

But what is missing are the developer activity docs.
I am getting the file activity reports and change log reports 
but no developer activity reports

Also the cvs-usage.html i.e, Source Repository page is also blank.

The cvs access is done properly with no issues as I am getting the 
latest development in the file activity reports 


What is that i need to have on cvs-usage.html


Thanks in advance


Deepak



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



error with war in Maven

2003-12-24 Thread Deepak Sable
Hi Nicholas,

I put 
 xmlns:ant="jelly:ant" in the maven.xml.The error disappeared.
But what i wanted is to copy the war into webapps directory.for that I have 
added 
 

 

IN THE MAVEN.XML

But the .war is not copied.Also the 2nd imp Question is 

why are my .jsp files not included in the .war file.
and also in the direcotry of webapps.

beacuse there are no jsp files i cannot access the pages from 
http://localhost:8080/

Thanks in advance


Deepak




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 24, 2003 6:13 PM
To: Maven Users List
Subject: Réf. : error with war in Maven


In your maven.xml add the ant namespace : 


Nicolas,





"Deepak Sable" <[EMAIL PROTECTED]>
24/12/2003 13:36
Veuillez répondre à "Maven Users List"

 
Pour :  "Maven Users List" <[EMAIL PROTECTED]>
cc :<[EMAIL PROTECTED]>
Objet : error with  war in Maven



hi ,

I have created a .war file but i want it to be copied to the webapps 
directory .
but while doing it gives an error as below


C:\Radar>maven
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT

Fatal Error [line 6, row 87]: The prefix "ant" for element "ant:copy" is 
not bound.
An XML error occurred parsing the file 'C:\Radar\maven.xml' plugin
org.xml.sax.SAXParseException: The prefix "ant" for element "ant:copy" is 
not bound.
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown 
Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at 
org.apache.maven.plugin.PluginCacheManager.parse(PluginCacheManager.java:365)
at 
org.apache.maven.plugin.PluginManager.loadJellyScript(PluginManager.java:481)
at 
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:398)
at 
org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
at org.apache.maven.cli.App.doMain(App.java:543)
at org.apache.maven.cli.App.main(App.java:1109)
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:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
org.xml.sax.SAXParseException: The prefix "ant" for element "ant:copy" is 
not bound.
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown 
Source)
at 
org.apache.commons.jelly.parser.XMLParser.parse(XMLParser.java:320)
at 
org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:209)
at 
org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:175)
at 
org.apache.maven.jelly.JellyUtils.runScript(JellyUtils.java:112)
at 
org.apache.maven.jelly.JellyUtils.runScript(JellyUtils.java:140)
at 
org.apache.maven.plugin.PluginManager.loadJellyScript(PluginManager.java:491)
at 
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:398)
at 
org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
at org.apache.maven.cli.App.doMain(App.java:543)
at org.apache.maven.cli.App.main(App.java:1109)
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:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Total time: 2 seconds
Finished at: Wed Dec 24 17:27:14 GMT+05:30 2003

C:\Radar>


I am getting the above error beacuse I have added 

 

 


in my maven.xml to move the copy of war.

--Imp ---
Also after  i copy the .war manually ...
 jsp  files are not included in the directory of webpps and in the .war 
file.
was wondering why am i not getting the jsp pages there.


Thanks in advance

Deepak

-Original Message-
From: Stephane Nicoll [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 24, 2003 5:11 PM
To: Maven Users List
Subject: RE: creatign war in Maven


Check the maven war plugin. 

in src creates a directory webapp/WEB-INF/ and put your web.xml in there.
Then type maven war and it will create your war. If you want to add
ressources or other libs, check the plugin documentation

(Well checking the plugin documentation would have given you all this 
without
asking)

http://maven.apache.org/reference/plugins/war/

(typing 'maven XXX plugin' in google is enough to get the XXX plugin's 
docs)

Regards,

Stephane


-Original Message-
From:Deepak Sab

Réf. : error with war in Maven

2003-12-24 Thread Nicolas . CHALUMEAU
In your maven.xml add the ant namespace : 


Nicolas,





"Deepak Sable" <[EMAIL PROTECTED]>
24/12/2003 13:36
Veuillez répondre à "Maven Users List"

 
Pour :  "Maven Users List" <[EMAIL PROTECTED]>
cc :<[EMAIL PROTECTED]>
Objet : error with  war in Maven



hi ,

I have created a .war file but i want it to be copied to the webapps 
directory .
but while doing it gives an error as below


C:\Radar>maven
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT

Fatal Error [line 6, row 87]: The prefix "ant" for element "ant:copy" is 
not bound.
An XML error occurred parsing the file 'C:\Radar\maven.xml' plugin
org.xml.sax.SAXParseException: The prefix "ant" for element "ant:copy" is 
not bound.
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown 
Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at 
org.apache.maven.plugin.PluginCacheManager.parse(PluginCacheManager.java:365)
at 
org.apache.maven.plugin.PluginManager.loadJellyScript(PluginManager.java:481)
at 
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:398)
at 
org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
at org.apache.maven.cli.App.doMain(App.java:543)
at org.apache.maven.cli.App.main(App.java:1109)
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:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
org.xml.sax.SAXParseException: The prefix "ant" for element "ant:copy" is 
not bound.
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown 
Source)
at 
org.apache.commons.jelly.parser.XMLParser.parse(XMLParser.java:320)
at 
org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:209)
at 
org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:175)
at 
org.apache.maven.jelly.JellyUtils.runScript(JellyUtils.java:112)
at 
org.apache.maven.jelly.JellyUtils.runScript(JellyUtils.java:140)
at 
org.apache.maven.plugin.PluginManager.loadJellyScript(PluginManager.java:491)
at 
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:398)
at 
org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
at org.apache.maven.cli.App.doMain(App.java:543)
at org.apache.maven.cli.App.main(App.java:1109)
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:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Total time: 2 seconds
Finished at: Wed Dec 24 17:27:14 GMT+05:30 2003

C:\Radar>


I am getting the above error beacuse I have added 

 

 


in my maven.xml to move the copy of war.

--Imp ---
Also after  i copy the .war manually ...
 jsp  files are not included in the directory of webpps and in the .war 
file.
was wondering why am i not getting the jsp pages there.


Thanks in advance

Deepak

-Original Message-
From: Stephane Nicoll [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 24, 2003 5:11 PM
To: Maven Users List
Subject: RE: creatign war in Maven


Check the maven war plugin. 

in src creates a directory webapp/WEB-INF/ and put your web.xml in there.
Then type maven war and it will create your war. If you want to add
ressources or other libs, check the plugin documentation

(Well checking the plugin documentation would have given you all this 
without
asking)

http://maven.apache.org/reference/plugins/war/

(typing 'maven XXX plugin' in google is enough to get the XXX plugin's 
docs)

Regards,

Stephane


-Original Message-
From:Deepak Sable [mailto:[EMAIL PROTECTED]
Sent:Wed 12/24/2003 10:39
To:  [EMAIL PROTECTED]
Cc:  [EMAIL PROTECTED]; [EMAIL PROTECTED]; 
[EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: creatign war in Maven
hi ,

I want to build a war file from the project.

I have a porject called deepak 
c:\deepak 
so inside deepak a Target direcotry is create dby maven whcih creates all 
the
class and doc files.

Now i want to create a war file from this.

Help is needed

Thanks in advance



Deepak  Sable


-
To unsubscribe, e-mail:

error with war in Maven

2003-12-24 Thread Deepak Sable

hi ,

I have created a .war file but i want it to be copied to the webapps directory .
but while doing it gives an error as below


C:\Radar>maven
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT

Fatal Error [line 6, row 87]: The prefix "ant" for element "ant:copy" is not bound.
An XML error occurred parsing the file 'C:\Radar\maven.xml' plugin
org.xml.sax.SAXParseException: The prefix "ant" for element "ant:copy" is not bound.
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at 
org.apache.maven.plugin.PluginCacheManager.parse(PluginCacheManager.java:365)
at 
org.apache.maven.plugin.PluginManager.loadJellyScript(PluginManager.java:481)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:398)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
at org.apache.maven.cli.App.doMain(App.java:543)
at org.apache.maven.cli.App.main(App.java:1109)
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:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
org.xml.sax.SAXParseException: The prefix "ant" for element "ant:copy" is not bound.
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.jelly.parser.XMLParser.parse(XMLParser.java:320)
at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:209)
at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:175)
at org.apache.maven.jelly.JellyUtils.runScript(JellyUtils.java:112)
at org.apache.maven.jelly.JellyUtils.runScript(JellyUtils.java:140)
at 
org.apache.maven.plugin.PluginManager.loadJellyScript(PluginManager.java:491)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:398)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
at org.apache.maven.cli.App.doMain(App.java:543)
at org.apache.maven.cli.App.main(App.java:1109)
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:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Total time: 2 seconds
Finished at: Wed Dec 24 17:27:14 GMT+05:30 2003

C:\Radar>


I am getting the above error beacuse I have added 

 

 


in my maven.xml to move the copy of war.

--Imp ---
Also after  i copy the .war manually ...
 jsp  files are not included in the directory of webpps and in the .war file.
was wondering why am i not getting the jsp pages there.


Thanks in advance

Deepak

-Original Message-
From: Stephane Nicoll [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 24, 2003 5:11 PM
To: Maven Users List
Subject: RE: creatign war in Maven


Check the maven war plugin. 

in src creates a directory webapp/WEB-INF/ and put your web.xml in there.
Then type maven war and it will create your war. If you want to add
ressources or other libs, check the plugin documentation

(Well checking the plugin documentation would have given you all this without
asking)

http://maven.apache.org/reference/plugins/war/

(typing 'maven XXX plugin' in google is enough to get the XXX plugin's docs)

Regards,

Stephane


-Original Message-
From:   Deepak Sable [mailto:[EMAIL PROTECTED]
Sent:   Wed 12/24/2003 10:39
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject:creatign war in Maven
hi ,

I want to build a war file from the project.

I have a porject called deepak 
c:\deepak 
so inside deepak a Target direcotry is create dby maven whcih creates all the
class and doc files.

Now i want to create a war file from this.

Help is needed

Thanks in advance



Deepak  Sable


-
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: creatign war in Maven

2003-12-24 Thread Stephane Nicoll
Check the maven war plugin. 

in src creates a directory webapp/WEB-INF/ and put your web.xml in there.
Then type maven war and it will create your war. If you want to add
ressources or other libs, check the plugin documentation

(Well checking the plugin documentation would have given you all this without
asking)

http://maven.apache.org/reference/plugins/war/

(typing 'maven XXX plugin' in google is enough to get the XXX plugin's docs)

Regards,

Stephane


-Original Message-
From:   Deepak Sable [mailto:[EMAIL PROTECTED]
Sent:   Wed 12/24/2003 10:39
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject:creatign war in Maven
hi ,

I want to build a war file from the project.

I have a porject called deepak 
c:\deepak 
so inside deepak a Target direcotry is create dby maven whcih creates all the
class and doc files.

Now i want to create a war file from this.

Help is needed

Thanks in advance



Deepak  Sable


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





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

Re: Running tests in another jvm than specified by JAVA_HOME

2003-12-24 Thread Michael . J . Brown

Start here:

 http://maven.apache.org/reference/plugins/java/properties.html

Change maven.compile.executable to your 1.3 JDK's javac and fork the
compilation and unit tests.  Can't say that will run the tests under 1.3
but will certainly compile them.

HTH,

 Mike



   
   
[EMAIL PROTECTED]  
  
.ch  To: [EMAIL PROTECTED] 
  
 cc:   
   
23/12/2003   Subject: Running tests in another jvm 
than specified by JAVA_HOME
13:39  
   
Please respond 
   
to users   
   
   
   
   
   




My JAVA_HOME point to a jdk 1.4.2 installation, but compilation and
tests should be run by the jdk1.3 jvm.

Is there a project specific property i can set to change the jvm?


Cheers,
simon

-
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 disable the linkcheck report

2003-12-24 Thread Nicolas . CHALUMEAU
This report has no utility in my company. And because we have a special 
network archictecture whitch make tha we don't have direct web acces, this 
report allways failed.

I see in the list a maven.linkcheck.enable=false but it seems to be deprecated. 

I try to set maven.mode.online to false it didn't have any impact. 

So how to disable linkcheck report ? 

Nicolas

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



creatign war in Maven

2003-12-24 Thread Deepak Sable
hi ,

I want to build a war file from the project.

I have a porject called deepak 
c:\deepak 
so inside deepak a Target direcotry is create dby maven whcih creates all the class 
and doc files.

Now i want to create a war file from this.

Help is needed

Thanks in advance



Deepak  Sable


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