Re: bad JSF rendering when using mvn jetty:run

2007-12-13 Thread Christofer Jennings
-- FIXED --
Turned out that a dependency in my Maven POM caused the trouble. I had
this...
dependency
groupIdjsf-impl/groupId
artifactIdjsf-impl/artifactId
version1.2.04/version
scopecompile/scope
/dependency
and for some reason taking it out fixed my problem.

A bizarre side note is that I was the only one on my team that saw the bad
behavior. I never figured out what else could have been causing my system to
act differently than others'. Oh well.

All's well that ends well.

,chris


On Dec 13, 2007 10:21 AM, Christofer Jennings [EMAIL PROTECTED] wrote:

 I'm not sure where to post this question. It might be a JSF thing but the
 problem I have only happens when I run mvn jetty:run.

 For some reason when I use mvn jetty:run my JSF pages render wierd. The
 JSF components render outside the html tag. If I build a war and deploy it
 to jetty or tomcat the page renders as expected. ... Any ideas would be much
 appreciated.

 Here's the JSP. The bad output is below.
 - JSP ---
 %@ taglib uri= http://java.sun.com/jsf/html; prefix=h %
 %@ taglib uri= http://java.sun.com/jsf/core; prefix=f %
 %@ taglib uri= http://myfaces.apache.org/tomahawk; prefix=t %

 html
 head
 titleUser Registration/title
 link rel=stylesheet href=styles/keys.css type=text/css
 media=screen/
 /head
 body
 f:view
 h2h:outputText value=User Registration//h2
 h:outputText value=Modify/Update the information for users in the
 text field boxes
 and click the OK button./
 br/
 h:form id=userRegistrationForm

 h:messages/

 h:panelGrid columns=4
 h:outputText value=*First Name:/
 h:inputText value=#{
 userRegistrationController.user.firstName}
  id=firstNameEntry required=true/
 h:outputText value=*Last Name:/
 h:inputText value=#{userRegistrationController.user.lastName
 }
  id=lastNameEntry required=true/
 /h:panelGrid

 h:commandButton action=success
  actionListener=#{
 userRegistrationController.registerUser } value=OK/
 h:commandButton value=Reset type=reset/

 /h:form
 /f:view
 /body
 /html
 -

  resulting html 

 h2User Registration/
 h2
 Modify/Update the information for users in the text field boxes
 and click the OK button.
 br
 /

 form id=userRegistrationForm name=userRegistrationForm method=post 
 action=
 /keys/test.jsf enctype=application/x-www-form-urlencoded
 input
  type=hidden name=userRegistrationForm value
 =userRegistrationForm /
 table
 tbody
 tr
 td*First Name:/td
 td
 input id=userRegistrationForm:firstNameEntry type=text 
 name=userRegistrationForm:firstNameEntry //
 td
 td*Last Name:/td

 td
 input id=userRegistrationForm:lastNameEntry type=text 
 name=userRegistrationForm:lastNameEntry //
 td
 /tr
 /tbody
 /table
 input
  type=submit name=userRegistrationForm:j_id_id35 value=OK /input type=
 reset name=userRegistrationForm:j_id_id37 value=Reset /input 
 type=hidden
 name=javax.faces.ViewState id=javax.faces.ViewState
 value=mUUiAHpX4mUz1jbTQWsYDgwwdlJk7EbLXyoxRcBOJTyVRjIL0WRyGneQ+kw29gFT43aXwg3YtZj3aAZs/tOIhW+zzgXIS9kt7dDDaTf+/sY=
  /
 /form



 html
 head
 titleUser Registration/title
 link rel=stylesheet href
 =styles/keys.css type=text/css media=
 screen/
 /head

 
 body

 !-- MYFACES JAVASCRIPT --

 /body
 /html

 -




bad JSF rendering when using mvn jetty:run

2007-12-13 Thread Christofer Jennings
I'm not sure where to post this question. It might be a JSF thing but the
problem I have only happens when I run mvn jetty:run.

For some reason when I use mvn jetty:run my JSF pages render wierd. The JSF
components render outside the html tag. If I build a war and deploy it to
jetty or tomcat the page renders as expected. ... Any ideas would be much
appreciated.

Here's the JSP. The bad output is below.
- JSP ---
%@ taglib uri=http://java.sun.com/jsf/html; prefix=h %
%@ taglib uri=http://java.sun.com/jsf/core; prefix=f %
%@ taglib uri=http://myfaces.apache.org/tomahawk; prefix=t %

html
head
titleUser Registration/title
link rel=stylesheet href=styles/keys.css type=text/css
media=screen/
/head
body
f:view
h2h:outputText value=User Registration//h2
h:outputText value=Modify/Update the information for users in the text
field boxes
and click the OK button./
br/
h:form id=userRegistrationForm

h:messages/

h:panelGrid columns=4
h:outputText value=*First Name:/
h:inputText value=#{userRegistrationController.user.firstName
}
 id=firstNameEntry required=true/
h:outputText value=*Last Name:/
h:inputText value=#{userRegistrationController.user.lastName}
 id=lastNameEntry required=true/
/h:panelGrid

h:commandButton action=success
 actionListener=#{
userRegistrationController.registerUser} value=OK/
h:commandButton value=Reset type=reset/

/h:form
/f:view
/body
/html
-

 resulting html 

h2User Registration/h2
Modify/Update the information for users in the text field boxes
and click the OK button.
br/

form id=userRegistrationForm name=userRegistrationForm
method=post action=/keys/test.jsf
enctype=application/x-www-form-urlencoded
input type=hidden name=userRegistrationForm value=userRegistrationForm /
table
tbody
tr
td*First Name:/td
tdinput id=userRegistrationForm:firstNameEntry type=text
name=userRegistrationForm:firstNameEntry //td
td*Last Name:/td

tdinput id=userRegistrationForm:lastNameEntry type=text
name=userRegistrationForm:lastNameEntry //td
/tr
/tbody
/table
input type=submit name=userRegistrationForm:j_id_id35 value=OK
/input type=reset name=userRegistrationForm:j_id_id37
value=Reset /input type=hidden name=javax.faces.ViewState
id=javax.faces.ViewState
value=mUUiAHpX4mUz1jbTQWsYDgwwdlJk7EbLXyoxRcBOJTyVRjIL0WRyGneQ+kw29gFT43aXwg3YtZj3aAZs/tOIhW+zzgXIS9kt7dDDaTf+/sY=
/
/form



html
head
titleUser Registration/title
link rel=stylesheet href=styles/keys.css type=text/css
media=screen/
/head

body

!-- MYFACES JAVASCRIPT --

/body
/html

-


Re: trouble adding Maven 2.0 pom

2007-11-15 Thread Christofer Jennings
I got SVN installed locally and set up my POM to use its repository.
Continuum can now get the files and build but I get an error about compiling
with generics. I says use -source 5 or higher to enable generics but I
don't know where to put -source 5  hmmm

progress! :)
,chris

On Nov 15, 2007 12:35 PM, Emmanuel Venisse [EMAIL PROTECTED] wrote:

 1. you need a real scm defined in your pom, Continuum use it to
 checkout/update the working copy and to build the project
 2. if your scm is svn, svn must be in your PATH

 Emmanuel

 Christofer Jennings a écrit :
  I take it back. Continuum is not happy. Each build results in ...
  pre
 
  Provider message: The svn command failed.
  Command output:
 
 ---
  'svn' is not recognized as an internal or external command,
  operable program or batch file.
 
 ---
 
  /pre
 
  So I guess I need a real SCM to run Continuum.
 
  ,chris
 
  On Nov 15, 2007 12:00 PM, Christofer Jennings [EMAIL PROTECTED] wrote:
 
  Thanks Emmanuel,
 
  Ah, the FAQ. But of course :) ... sorry for that.
 
  The app I'm trying continuum has no SCM. I know. Bad Idea. But it's
 just a
  little thing for messing around in.  So, for what it's worth, I
 copied
  the SCM settings verbatim from here:
 http://maven.apache.org/pom.html#SCMand continuum is happy now.
 
  ,chris
 
 
  On Nov 15, 2007 11:44 AM, Emmanuel Venisse  [EMAIL PROTECTED]
 wrote:
 
 
  Christofer Jennings a écrit :
  Hi,
 
  I'm trying continuum-1.1-beta-4 and having trouble adding a maven
  2.0.7 pom.
 
  I haven't used continuum for a while, so I'm basically a newbee.
 
  If I put in a pom url like this:
   file:///C:/wicket/wickety/pom.xml
  I get this message:
   The specified resource isn't a file or the protocol used isn't
  allowed.
 
  file protocol isn't allowed by default. Activation is explain in FAQs
 (
  http://maven.apache.org/continuum/faqs.html)
 
  If I try to upload a pom with a path like this:
   C:\wicket\wickety\pom.xml
  I get this message:
Missing 'scm' element in the POM.
  You must add the scm part in your pom.
 
  The pom is a single module project. And I didn't change any other
  fields
  from their defaults.
 
  Any ideas?
 
  Thanks in advance,
  chris
 
 
 




trouble adding Maven 2.0 pom

2007-11-15 Thread Christofer Jennings
Hi,

I'm trying continuum-1.1-beta-4 and having trouble adding a maven 2.0.7 pom.


I haven't used continuum for a while, so I'm basically a newbee.

If I put in a pom url like this:
 file:///C:/wicket/wickety/pom.xml
I get this message:
 The specified resource isn't a file or the protocol used isn't allowed.

If I try to upload a pom with a path like this:
 C:\wicket\wickety\pom.xml
I get this message:
  Missing 'scm' element in the POM.

The pom is a single module project. And I didn't change any other fields
from their defaults.

Any ideas?

Thanks in advance,
chris


Re: trouble adding Maven 2.0 pom

2007-11-15 Thread Christofer Jennings
I take it back. Continuum is not happy. Each build results in ...
pre

Provider message: The svn command failed.
Command output:
---
'svn' is not recognized as an internal or external command,
operable program or batch file.
---

/pre

So I guess I need a real SCM to run Continuum.

,chris

On Nov 15, 2007 12:00 PM, Christofer Jennings [EMAIL PROTECTED] wrote:

 Thanks Emmanuel,

 Ah, the FAQ. But of course :) ... sorry for that.

 The app I'm trying continuum has no SCM. I know. Bad Idea. But it's just a
 little thing for messing around in.  So, for what it's worth, I copied
 the SCM settings verbatim from here: http://maven.apache.org/pom.html#SCMand 
 continuum is happy now.

 ,chris


 On Nov 15, 2007 11:44 AM, Emmanuel Venisse  [EMAIL PROTECTED] wrote:

 
 
  Christofer Jennings a écrit :
   Hi,
  
   I'm trying continuum-1.1-beta-4 and having trouble adding a maven
  2.0.7 pom.
  
  
   I haven't used continuum for a while, so I'm basically a newbee.
  
   If I put in a pom url like this:
file:///C:/wicket/wickety/pom.xml
   I get this message:
The specified resource isn't a file or the protocol used isn't
  allowed.
 
  file protocol isn't allowed by default. Activation is explain in FAQs (
  http://maven.apache.org/continuum/faqs.html)
 
  
   If I try to upload a pom with a path like this:
C:\wicket\wickety\pom.xml
   I get this message:
 Missing 'scm' element in the POM.
 
  You must add the scm part in your pom.
 
  
   The pom is a single module project. And I didn't change any other
  fields
   from their defaults.
  
   Any ideas?
  
   Thanks in advance,
   chris
  
 
 



Re: trouble adding Maven 2.0 pom

2007-11-15 Thread Christofer Jennings
Thanks Emmanuel,

Ah, the FAQ. But of course :) ... sorry for that.

The app I'm trying continuum has no SCM. I know. Bad Idea. But it's just a
little thing for messing around in.  So, for what it's worth, I copied
the SCM settings verbatim from here:
http://maven.apache.org/pom.html#SCMand continuum is happy now.

,chris

On Nov 15, 2007 11:44 AM, Emmanuel Venisse [EMAIL PROTECTED] wrote:



 Christofer Jennings a écrit :
  Hi,
 
  I'm trying continuum-1.1-beta-4 and having trouble adding a maven 2.0.7pom.
 
 
  I haven't used continuum for a while, so I'm basically a newbee.
 
  If I put in a pom url like this:
   file:///C:/wicket/wickety/pom.xml
  I get this message:
   The specified resource isn't a file or the protocol used isn't
 allowed.

 file protocol isn't allowed by default. Activation is explain in FAQs (
 http://maven.apache.org/continuum/faqs.html)

 
  If I try to upload a pom with a path like this:
   C:\wicket\wickety\pom.xml
  I get this message:
Missing 'scm' element in the POM.

 You must add the scm part in your pom.

 
  The pom is a single module project. And I didn't change any other fields
  from their defaults.
 
  Any ideas?
 
  Thanks in advance,
  chris
 




Re: trouble adding Maven 2.0 pom

2007-11-15 Thread Christofer Jennings
Thanks Wendy!

That did the trick. No complaints about the javadoc plugin that I see so
far.

Thanks all for your guidance.

,chris

On Nov 15, 2007 1:57 PM, Wendy Smoak [EMAIL PROTECTED] wrote:

 On Nov 15, 2007 2:49 PM, Christofer Jennings [EMAIL PROTECTED] wrote:
  I got SVN installed locally and set up my POM to use its repository.
  Continuum can now get the files and build but I get an error about
 compiling
  with generics. I says use -source 5 or higher to enable generics but I
  don't know where to put -source 5  hmmm

 See if this helps...

 http://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html

 (You may also need to configure the Javadoc plugin.)

 --
 Wendy



nested pom custom webresources ?

2007-02-14 Thread Christofer Jennings

How do I use a custom webresource in a nested pom?

My setup looks like this... [] means it's a folder

  - [MyApp]
 - pom.xml
 - [domain]
- pom.xml
 - [webgui]
- pom.xml
- [src]
   - [main]
  - [webapp]
  - [webresources_development]
 - fileA
  - [webresources_production]
 - fileB

I want to choose the webresource at build-time using a profile so I
modified my webapp pom.xml like this...

project xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd;
 parent
   groupIdMyApp/groupId
   artifactIdMyWebapp/artifactId
   version0.1.0-SNAPSHOT/version
 /parent
 modelVersion4.0.0/modelVersion
 artifactIdwebgui/artifactId
 version0.1.0-SNAPSHOT/version
 nameMyWebapp/name
 packagingwar/packaging
 dependencies
   dependency
 groupIdMyApp/groupId
 artifactIddomain/artifactId
 version0.1.0-SNAPSHOT/version
   /dependency
 /dependencies
 build
   finalNameMyWebapp/finalName
   plugins
 plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-war-plugin/artifactId
   version2.0.1/version
   configuration
 webResources
   resource
 !-- this is relative to the pom.xml directory --
 directorysrc/main/webresources_production/directory
   /resource
 /webResources
   /configuration
 /plugin
   /plugins
 /build
 profiles
   profile
 iddev/id
 activation
   property
 namedev/name
   /property
 /activation
 build
   plugins
 plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-war-plugin/artifactId
   version2.0.1/version
   configuration
 webResources
   resource
 !-- this is relative to the pom.xml directory --
 directorysrc/main/webresources_development/directory
   /resource
 /webResources
   /configuration
 /plugin
   /plugins
 /build
   /profile
 /profiles
/project

This works if I build from the webgui directory, but if I build from
the parent directory I have to change add webgui to the path (eg,
directorywebgui/src/main/webresources_development/directory).

How can I make the path work from both locations without having to
modify my pom each time?

???
,chris

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



multi-file APT ?

2006-11-30 Thread Christofer Jennings

Hi All,

How do you split a long APT file into mulitple smaller files?

The APT Format page generated by default with mvn site says...

A short APT document is contained in a single text file. A longer document
may be contained in a ordered list of text files. For instance, first text
file contains section 1, second text file contains section 2, and so on.

...but I can't figure out how it works. I can't find any more documentation
explaining how to use the feature.

help help,
chris


site:run not showing some apt pages

2006-11-30 Thread Christofer Jennings

I have a number of apt pages that get properly generated with mvn site but
give an http 404 error whe I run mvn site:run

Any ideas?

???
,chris


Re: site:run not showing some apt pages

2006-11-30 Thread Christofer Jennings

Thanks Wendy, [response inlined]

On 11/30/06, Wendy Smoak [EMAIL PROTECTED] wrote:


On 11/30/06, Christofer Jennings [EMAIL PROTECTED] wrote:
 I have a number of apt pages that get properly generated with mvn site
but
 give an http 404 error whe I run mvn site:run

Not really, without seeing an example.  I've seen blank pages
before, but they're usually associated with a stack trace in the
console that points out the formatting error.

Does anything show in the console where Jetty is running?



No.

What is the filename of the apt file, where is it in your project

structure, and what URL are you using to preview it?



Files...
 Works: build-webapp-maven.apt
 Breaks: build-collaborationAuthServices.apt

URLs...
 Works: http://localhost:8080/build-webapp-maven.html
 Breaks: http://localhost:8080/build-collaborationAuthServices.html

Is capitalization important?

Thanks again,
,chris


Re: site:run not showing some apt pages

2006-11-30 Thread Christofer Jennings

Sorry. I just noticed ...

[ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2 got 0
[ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0

... happen when I go to http://localhost:8080/

Also I tried making the apt name lowercase and it worked Is that how
it's supposed to be?

?
,chris

On 11/30/06, Christofer Jennings [EMAIL PROTECTED] wrote:


Thanks Wendy, [response inlined]

On 11/30/06, Wendy Smoak [EMAIL PROTECTED] wrote:

 On 11/30/06, Christofer Jennings [EMAIL PROTECTED] wrote:
  I have a number of apt pages that get properly generated with mvn
 site but
  give an http 404 error whe I run mvn site:run

 Not really, without seeing an example.  I've seen blank pages
 before, but they're usually associated with a stack trace in the
 console that points out the formatting error.

 Does anything show in the console where Jetty is running?


No.

What is the filename of the apt file, where is it in your project
 structure, and what URL are you using to preview it?


Files...
  Works: build-webapp-maven.apt
  Breaks: build-collaborationAuthServices.apt

URLs...
  Works: http://localhost:8080/build-webapp-maven.html
  Breaks: http://localhost:8080/build-collaborationAuthServices.html

Is capitalization important?

Thanks again,
,chris




Re: site:run not showing some apt pages

2006-11-30 Thread Christofer Jennings

Looks like it! Thanks!

On 11/30/06, Wendy Smoak [EMAIL PROTECTED] wrote:


On 11/30/06, Christofer Jennings [EMAIL PROTECTED] wrote:
 Sorry. I just noticed ...

 [ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2
got 0
 [ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0

 ... happen when I go to http://localhost:8080/

Ignore it, it's just Velocity being noisy.

 Also I tried making the apt name lowercase and it worked Is that how
 it's supposed to be?

No.  You're probably running into MSITE-155.  (It's fixed, but not yet
released.)

http://jira.codehaus.org/browse/MSITE-155

--
Wendy

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




Re: build war for jboss, exclude log4j

2006-11-27 Thread Christofer Jennings

Thanks Chris,

I also want to be able to run the web-app with mvn jetty:run so I had to
set it up like this...

=== in my top-level pom ===
dependency
  groupIdlog4j/groupId
  artifactIdlog4j/artifactId
  version1.2.13/version
  scopeprovided/scope
/dependency

=== in my web-app's pom ===
build
...
plugin
  groupIdorg.mortbay.jetty/groupId
  artifactIdmaven-jetty-plugin/artifactId
  configuration
 scanIntervalSeconds5/scanIntervalSeconds
 webDefaultXmlsrc/main/resources/jetty/webdefault.xml/webDefaultXml
  /configuration
  dependencies
 dependency
groupIdlog4j/groupId
artifactIdlog4j/artifactId
version1.2.13/version
 /dependency
  /dependencies
/plugin
/build

===

,chris
On 11/18/06, Chris Michiels [EMAIL PROTECTED] wrote:


Hi Chris,

Simple, just use :

dependency
  groupIdlog4j/groupId
  artifactIdlog4j/artifactId
  version1.2.9/version
  scopeprovided/scope
/dependency

Chris

2006/11/18, Christofer Jennings [EMAIL PROTECTED]:

 Hi All,

 How can I exclude log4j stuff from a war?

 The log4j stuff is conflicting with jboss.

 Thanks!
 ,chris

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




run maven from ant

2006-11-27 Thread Christofer Jennings

What is the simplest / preferred way to run maven from ant?

My maven project is being integrated with a larger project that uses
ant. I want the process to be painless to ant lovers, if possible.

Thanks in advance
,chris

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



Re: run maven from ant

2006-11-27 Thread Christofer Jennings

So far, using the exec task seems to work.

target name=install
  exec dir=. executable=C:/java/maven-2.0.4/bin/mvn.bat
 arg line=install /
  /exec
/target

This is in a build.xml next to my pom.

,chris



On 11/27/06, Christofer Jennings [EMAIL PROTECTED] wrote:


What is the simplest / preferred way to run maven from ant?

My maven project is being integrated with a larger project that uses
ant. I want the process to be painless to ant lovers, if possible.

Thanks in advance
,chris



build war for jboss, exclude log4j

2006-11-17 Thread Christofer Jennings

Hi All,

How can I exclude log4j stuff from a war?

The log4j stuff is conflicting with jboss.

Thanks!
,chris

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



Re: How to upload 3rd party source jars to external repository

2006-11-15 Thread Christofer Jennings

I'm having trouble using deploy:deploy-file to upload sources and javadoc
too. I've set up an internal repository via SCP and have uploaded DWR
version 2.0m4 to it. When I use the mvn command below for either the javadoc
or sources jar, I get the NullPointerException.

Am I using the command correctly?

Thanks in advance!
,chris


mvn deploy:deploy-file \
  -DgroupId=dwr \
  -DartifactId=dwr \
  -Dversion=2.0m4 \
  -Dpackaging=jar \
  -DgeneratePom=false \
  -Dclassifier=javadoc \
  -Dfile=dwr-2.0m4-javadoc.jar \
  -DrepositoryId=my.org-repository \
  -Durl=scp://my.org/repository



=
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'deploy'.
[INFO]

[INFO] Building Maven Default Project
[INFO]task-segment: [deploy:deploy-file] (aggregator-style)
[INFO]

[INFO] [deploy:deploy-file]
Uploading: scp://my.org/repository/dwr/dwr/2.0m4/dwr-2.0m4-javadoc.jar
1134K uploaded
[INFO] Retrieving previous metadata from my.org-repository
[INFO]

[ERROR] FATAL ERROR
[INFO]

[INFO] null
[INFO]

[INFO] Trace
java.lang.NullPointerException
   at java.io.FileInputStream.init(FileInputStream.java:103)
   at java.io.FileReader.init(FileReader.java:55)
   at
org.apache.maven.project.artifact.ProjectArtifactMetadata.storeInLocalRepository(
ProjectArtifactMetadata.java:89)
   at
org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.deploy
(DefaultRepositoryMetadataManager.java:420)
   at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(
DefaultArtifactDeployer.java:83)
   at org.apache.maven.plugin.deploy.DeployFileMojo.execute(
DeployFileMojo.java:236)
   at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java :412)
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:534)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(
DefaultLifecycleExecutor.java :488)
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
DefaultLifecycleExecutor.java:458)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java :306)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:219)
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
DefaultLifecycleExecutor.java :140)
   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
   at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
   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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java
:315)
   at org.codehaus.classworlds.Launcher.launch (Launcher.java:255)
   at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java
:430)
   at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]

[INFO] Total time: 9 seconds
[INFO] Finished at: Mon Oct 09 16:48:17 PDT 2006
[INFO] Final Memory: 3M/5M
[INFO]



Re: How to upload 3rd party source jars to external repository

2006-11-15 Thread Christofer Jennings

It seems to work if I set -DgeneratePom=true

On 11/15/06, Christofer Jennings [EMAIL PROTECTED] wrote:


I'm having trouble using deploy:deploy-file to upload sources and javadoc
too. I've set up an internal repository via SCP and have uploaded DWR
version 2.0m4 to it. When I use the mvn command below for either the
javadoc or sources jar, I get the NullPointerException.

Am I using the command correctly?

Thanks in advance!
,chris


mvn deploy:deploy-file \
   -DgroupId=dwr \
   -DartifactId=dwr \
   -Dversion=2.0m4 \
   -Dpackaging=jar \
   -DgeneratePom=false \
   -Dclassifier=javadoc \
   -Dfile=dwr-2.0m4-javadoc.jar \
   -DrepositoryId=my.org-repository \
   -Durl=scp://my.org/repository



=
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'deploy'.
[INFO]

[INFO] Building Maven Default Project
[INFO]task-segment: [deploy:deploy-file] (aggregator-style)
[INFO]

[INFO] [deploy:deploy-file]
Uploading: scp://my.org/repository/dwr/dwr/2.0m4/dwr-2.0m4-javadoc.jar
1134K uploaded
[INFO] Retrieving previous metadata from my.org-repository
[INFO]

[ERROR] FATAL ERROR
[INFO]

[INFO] null
[INFO]

[INFO] Trace
java.lang.NullPointerException
at java.io.FileInputStream.init(FileInputStream.java:103)
at java.io.FileReader.init(FileReader.java:55)
at
org.apache.maven.project.artifact.ProjectArtifactMetadata.storeInLocalRepository(
ProjectArtifactMetadata.java:89)
at
org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.deploy(
DefaultRepositoryMetadataManager.java:420)
at
org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy (
DefaultArtifactDeployer.java:83)
at org.apache.maven.plugin.deploy.DeployFileMojo.execute (
DeployFileMojo.java:236)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java :412)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java :534)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(
DefaultLifecycleExecutor.java :488)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
(DefaultLifecycleExecutor.java :458)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java :306)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments (
DefaultLifecycleExecutor.java:219)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
DefaultLifecycleExecutor.java :140)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java
:315)
at org.codehaus.classworlds.Launcher.launch (Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode (
Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]

[INFO] Total time: 9 seconds
[INFO] Finished at: Mon Oct 09 16:48:17 PDT 2006
[INFO] Final Memory: 3M/5M
[INFO]




Re: scp a war to remote location

2006-10-26 Thread Christofer Jennings

Thanks Wendy!,

Do you deploy to a remote Tomcat? Could you post the part of your pom that
does it?

,chris

On 10/25/06, Wendy Smoak [EMAIL PROTECTED] wrote:


On 10/25/06, Christofer Jennings [EMAIL PROTECTED] wrote:

 How do you scp a war to a remote location in maven2?

 I have a webapp project that produces a war. I'd like to deploy it to a
 remote server running jboss. I think all I need is to scp the war and
let
 jboss hot deploy. But I can't figure out what to do in maven to make it
 happen.

Definitely take a look at Cargo, which claims support for remote
deployment to JBoss.  (I use Cargo with Tomcat.)

Alternately... it seems like I saw 'run a script' on the Continuum
menu, so that might well be easier if you know that's all it will
take.

--
Wendy

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




Re: scp a war to remote location

2006-10-26 Thread Christofer Jennings

That's funny :) the link goes to a page that says There is currently no
description associated with this project. :) ...

Thanks for the lead, I'll look at it. Just had to enjoy the humor while it
was fresh :)


On 10/26/06, ben short [EMAIL PROTECTED] wrote:


Hi Chris,

Take a look at the tomcat plugin

http://mojo.codehaus.org/tomcat-maven-plugin/

The documentation is pretty good.

Ben

On 10/26/06, Christofer Jennings [EMAIL PROTECTED] wrote:
 Thanks Wendy!,

 Do you deploy to a remote Tomcat? Could you post the part of your pom
that
 does it?

 ,chris

 On 10/25/06, Wendy Smoak [EMAIL PROTECTED] wrote:
 
  On 10/25/06, Christofer Jennings [EMAIL PROTECTED] wrote:
 
   How do you scp a war to a remote location in maven2?
  
   I have a webapp project that produces a war. I'd like to deploy it
to a
   remote server running jboss. I think all I need is to scp the war
and
  let
   jboss hot deploy. But I can't figure out what to do in maven to make
it
   happen.
 
  Definitely take a look at Cargo, which claims support for remote
  deployment to JBoss.  (I use Cargo with Tomcat.)
 
  Alternately... it seems like I saw 'run a script' on the Continuum
  menu, so that might well be easier if you know that's all it will
  take.
 
  --
  Wendy
 
  -
  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]




scp a war to remote location

2006-10-25 Thread Christofer Jennings

How do you scp a war to a remote location in maven2?

I have a webapp project that produces a war. I'd like to deploy it to a
remote server running jboss. I think all I need is to scp the war and let
jboss hot deploy. But I can't figure out what to do in maven to make it
happen.

I already have continuum doing builds. Ideally I'd like to have continuum do
the remote deploy each day at 1am. I think I either need the scp action to
happen because of a profile or a specific plugin goal. But, again, I can't
figure it out.

Seems like wagon or cargo ... ??

help?

sincerely,
,chris (I, dummy esq.)


assertions with jetty plugin?

2006-10-21 Thread Christofer Jennings

Hi All,

How do you enable assertions for the jetty plugin?

Are they enabled by default?

Thanks!
,chris

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



maven-proxy with https?

2006-10-10 Thread Christofer Jennings

Is there any documentation for setting up maven-proxy to use https?

,chris


Where is the superpom?

2006-10-09 Thread Christofer Jennings

Sorry if this is a dumb question, but I've looked and looked and can't seem
to find the real superpom.

???
,chris


Re: Where is the superpom?

2006-10-09 Thread Christofer Jennings

OK, Thanks. That one looks just like the one I found in
maven-project-2.0.4.jar The !-- START SNIPPET: superpom --  stuff
had me thinking it was just a snippet.

Thanks All!
,chris

On 10/9/06, Eric Redmond [EMAIL PROTECTED] wrote:




http://svn.apache.org/repos/asf/maven/components/trunk/maven-project/src/main/resources/org/apache/maven/project/pom-4.0.0.xml


Christofer Jennings-2 wrote:

 Sorry if this is a dumb question, but I've looked and looked and can't
 seem
 to find the real superpom.

 ???
 ,chris



--
View this message in context:
http://www.nabble.com/Where-is-the-superpom--tf2413225.html#a6727066
Sent from the Maven - Users mailing list archive at Nabble.com.


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




having trouble using deploy:deploy-file to upload sources and javadoc

2006-10-09 Thread Christofer Jennings

I'm having trouble using deploy:deploy-file to upload sources and javadoc.
I've set up an internal repository via SCP and have uploaded DWR version
2.0m4 to it. When I use the mvn command below for either the javadoc or
sources jar, I get the NullPointerException.

Am I using the command correctly?

Thanks in advance!
,chris
(My RSA key fingerprints don't seem to be remembered either, but I expect
that's unrelated.)


mvn deploy:deploy-file \
  -DgroupId=dwr \
  -DartifactId=dwr \
  -Dversion=2.0m4 \
  -Dpackaging=jar \
  -DgeneratePom=false \
  -Dclassifier=javadoc \
  -Dfile=dwr-2.0m4-javadoc.jar \
  -DrepositoryId=my.org-repository \
  -Durl=scp://my.org/repository



=
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'deploy'.
[INFO]

[INFO] Building Maven Default Project
[INFO]task-segment: [deploy:deploy-file] (aggregator-style)
[INFO]

[INFO] [deploy:deploy-file]
The authenticity of host 'my.org' can't be established.
RSA key fingerprint is 63:0c:30:95:81:ff:6c:ff:23:f6:73:71:c1:0e:fa:7b.
Are you sure you want to continue connecting? (yes/no): yes
Uploading: scp://my.org/repository/dwr/dwr/2.0m4/dwr-2.0m4-javadoc.jar
1134K uploaded
[INFO] Retrieving previous metadata from my.org-repository
The authenticity of host 'my.org' can't be established.
RSA key fingerprint is 63:0c:30:95:81:ff:6c:ff:23:f6:73:71:c1:0e:fa:7b.
Are you sure you want to continue connecting? (yes/no): yes
[INFO]

[ERROR] FATAL ERROR
[INFO]

[INFO] null
[INFO]

[INFO] Trace
java.lang.NullPointerException
   at java.io.FileInputStream.init(FileInputStream.java:103)
   at java.io.FileReader.init(FileReader.java:55)
   at
org.apache.maven.project.artifact.ProjectArtifactMetadata.storeInLocalRepository
(ProjectArtifactMetadata.java:89)
   at
org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.deploy
(DefaultRepositoryMetadataManager.java:420)
   at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy
(DefaultArtifactDeployer.java:83)
   at org.apache.maven.plugin.deploy.DeployFileMojo.execute(
DeployFileMojo.java:236)
   at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java:412)
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:534)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(
DefaultLifecycleExecutor.java:488)
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
DefaultLifecycleExecutor.java:458)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:306)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:219)
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
DefaultLifecycleExecutor.java:140)
   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
   at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
   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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java
:315)
   at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
   at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java
:430)
   at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]

[INFO] Total time: 9 seconds
[INFO] Finished at: Mon Oct 09 16:48:17 PDT 2006
[INFO] Final Memory: 3M/5M
[INFO]



authenticity and checksum warnings from internal repository using SCP

2006-10-06 Thread Christofer Jennings

Hi,

I'm getting authenticity and checksum warnings from my internal repository
using SCP. This is my first attempt setting up an internal repository and
I'm pretty new to SCP so any help would be appreciated.

Below are my settings and the CLI output. I need a special version of DWR (
2.0m3) in the repository. So far I've just manually set the DWR stuff in my
local repository. To move it to the internal repository, I just SCP'd the
files over.

Thanks in advance!
,chris


-- in settings.xml 
   server
 idmy.host-repository/id
 usernamemaven/username
 passwordpassword/password
   /server


-- in pom.xml -
 repositories
   repository
 idmy.host-repository/id
 name[EMAIL PROTECTED]/name
 urlscp://my.host/home/maven/maven-2.0.4/.m2/repository/url
   /repository
 /repositories


-- CLI output -
C:\mystuff\modules\myapp\webguimvn clean install
[INFO] Scanning for projects...
[INFO]

[INFO] Building MyApp - WebGUI
[INFO]task-segment: [clean, install]
[INFO]

[INFO] [clean:clean]
[INFO] Deleting directory C:\mystuff\modules\myapp\webgui\target
[INFO] Deleting directory C:\mystuff\modules\myapp\webgui\target\classes
[INFO] Deleting directory
C:\mystuff\modules\myapp\webgui\target\test-classes
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
The authenticity of host 'my.host' can't be established.
RSA key fingerprint is 63:0c:30:95:81:ff:cc:ff:23:f6:23:71:c1:1e:fa:7b.
Are you sure you want to continue connecting? (yes/no): yes
Downloading: scp://my.host/home/maven/maven-2.0.4
/.m2/repository/dwr/dwr/2.0m3/dwr-2.0m3.pom
178b downloaded
[WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for
dwr/dwr/2.0m3/dwr-2.0m3.pom - IGNORING
[INFO] snapshot mystuff.myapp:myappDomain:0.1.0-SNAPSHOT: checking for
updates from my.host-repository
The authenticity of host 'my.host' can't be established.
RSA key fingerprint is 63:0c:30:95:81:ff:cc:ff:23:f6:23:71:c1:1e:fa:7b.
Are you sure you want to continue connecting? (yes/no): yes
[INFO] snapshot mystuff.myapp:myapp:0.1.0-SNAPSHOT: checking for updates
from my.host-repository
The authenticity of host 'my.host' can't be established.
RSA key fingerprint is 63:0c:30:95:81:ff:cc:ff:23:f6:23:71:c1:1e:fa:7b.
Are you sure you want to continue connecting? (yes/no): yes
The authenticity of host 'my.host' can't be established.
RSA key fingerprint is 63:0c:30:95:81:ff:cc:ff:23:f6:23:71:c1:1e:fa:7b.
Are you sure you want to continue connecting? (yes/no): yes
Downloading: scp://my.host/home/maven/maven-2.0.4
/.m2/repository/dwr/dwr/2.0m3/dwr-2.0m3.jar
352K downloaded
[WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for
dwr/dwr/2.0m3/dwr-2.0m3.jar - IGNORING
[INFO] [compiler:compile]
Compiling 32 source files to C:\mystuff\modules\myapp\webgui\target\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
Compiling 10 source files to
C:\mystuff\modules\myapp\webgui\target\test-classes
[INFO] [surefire:test]
...


Re: authenticity and checksum warnings from internal repository using SCP

2006-10-06 Thread Christofer Jennings

Thanks Wayne!

I got past the checksum warnings and I geuss I need to set up the keys
somewhere.

,chris

On 10/6/06, Wayne Fay [EMAIL PROTECTED] wrote:


You need to generate the sha1 and md5 files manually on the server
when you simply copy files over to the repo like this.

Alternatively use mvn deploy and it will generate the files for you.

Wayne

On 10/6/06, Christofer Jennings [EMAIL PROTECTED] wrote:
 Hi,

 I'm getting authenticity and checksum warnings from my internal
repository
 using SCP. This is my first attempt setting up an internal repository
and
 I'm pretty new to SCP so any help would be appreciated.

 Below are my settings and the CLI output. I need a special version of
DWR (
 2.0m3) in the repository. So far I've just manually set the DWR stuff in
my
 local repository. To move it to the internal repository, I just SCP'd
the
 files over.

 Thanks in advance!
 ,chris


 -- in settings.xml 
server
  idmy.host-repository/id
  usernamemaven/username
  passwordpassword/password
/server


 -- in pom.xml -
  repositories
repository
  idmy.host-repository/id
  name[EMAIL PROTECTED]/name
  urlscp://my.host/home/maven/maven-2.0.4/.m2/repository/url
/repository
  /repositories


 -- CLI output -
 C:\mystuff\modules\myapp\webguimvn clean install
 [INFO] Scanning for projects...
 [INFO]


 [INFO] Building MyApp - WebGUI
 [INFO]task-segment: [clean, install]
 [INFO]


 [INFO] [clean:clean]
 [INFO] Deleting directory C:\mystuff\modules\myapp\webgui\target
 [INFO] Deleting directory C:\mystuff\modules\myapp\webgui\target\classes
 [INFO] Deleting directory
 C:\mystuff\modules\myapp\webgui\target\test-classes
 [INFO] [resources:resources]
 [INFO] Using default encoding to copy filtered resources.
 The authenticity of host 'my.host' can't be established.
 RSA key fingerprint is 63:0c:30:95:81:ff:cc:ff:23:f6:23:71:c1:1e:fa:7b.
 Are you sure you want to continue connecting? (yes/no): yes
 Downloading: scp://my.host/home/maven/maven-2.0.4
 /.m2/repository/dwr/dwr/2.0m3/dwr-2.0m3.pom
 178b downloaded
 [WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for
 dwr/dwr/2.0m3/dwr-2.0m3.pom - IGNORING
 [INFO] snapshot mystuff.myapp:myappDomain:0.1.0-SNAPSHOT: checking for
 updates from my.host-repository
 The authenticity of host 'my.host' can't be established.
 RSA key fingerprint is 63:0c:30:95:81:ff:cc:ff:23:f6:23:71:c1:1e:fa:7b.
 Are you sure you want to continue connecting? (yes/no): yes
 [INFO] snapshot mystuff.myapp:myapp:0.1.0-SNAPSHOT: checking for updates
 from my.host-repository
 The authenticity of host 'my.host' can't be established.
 RSA key fingerprint is 63:0c:30:95:81:ff:cc:ff:23:f6:23:71:c1:1e:fa:7b.
 Are you sure you want to continue connecting? (yes/no): yes
 The authenticity of host 'my.host' can't be established.
 RSA key fingerprint is 63:0c:30:95:81:ff:cc:ff:23:f6:23:71:c1:1e:fa:7b.
 Are you sure you want to continue connecting? (yes/no): yes
 Downloading: scp://my.host/home/maven/maven-2.0.4
 /.m2/repository/dwr/dwr/2.0m3/dwr-2.0m3.jar
 352K downloaded
 [WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for
 dwr/dwr/2.0m3/dwr-2.0m3.jar - IGNORING
 [INFO] [compiler:compile]
 Compiling 32 source files to
C:\mystuff\modules\myapp\webgui\target\classes
 [INFO] [resources:testResources]
 [INFO] Using default encoding to copy filtered resources.
 [INFO] [compiler:testCompile]
 Compiling 10 source files to
 C:\mystuff\modules\myapp\webgui\target\test-classes
 [INFO] [surefire:test]
 ...



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




Re: maven war plugin filter

2006-10-06 Thread Christofer Jennings

I'm trying to figure out the same thing. Have you seens this...
http://www.nabble.com/filtering-web.xml-with-profile-properties-tf2272626.html#a6309369

,chris

On 10/2/06, foamdino [EMAIL PROTECTED] wrote:



Hi,

I've been struggling with this for the whole morning and I'm at an
impasse.

I'm trying to use jspc + war plugin + filters (on the jspweb.xml or
web.xml)

The basic problem is that I need to filter in a context-param into my
web.xml which lands in the complete war file.

Right now I can get maven to filter in the property to the jspweb.xml, but
the web.xml file still has the unexpanded property, not the value.

I've created a simple test case so that I'm not dealing with lots of other
things (hibernate etc) and I just cannot see what I should be doing.

Here's my pom.xml (shortened test version):

http://www.nabble.com/file/239/pom.xml pom.xml

Here's the fabulous jspweb.xml output:

http://www.nabble.com/file/240/jspweb.xml jspweb.xml

And here's the not so fabulous web.xml output:

http://www.nabble.com/file/241/web.xml web.xml

As you can see the property appears in the jspweb.xml but not in the
web.xml.

Kev
--
View this message in context:
http://www.nabble.com/maven-war-plugin-filter-tf2368405.html#a6597896
Sent from the Maven - Users mailing list archive at Nabble.com.


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




running JSUnit tests without ant?

2006-09-08 Thread Christofer Jennings

Is there a way to run JSUnit tests without ant?

And as an aside, I wish I could manage javascript dependencies too. Wouldn't
that be cool?!

Thanks,
chris


jetty6 plugin and IntelliJ IDEA

2006-08-23 Thread Christofer Jennings

IDEA can't save files while I use jetty6:run.

I've tried with and without scanIntervalSeconds set. When
scanIntervalSeconds is set. I can save files a little while (less than a
minute) before I have trouble. But eventually IDEA says it can't save a
file. It seems like it works until I view one of my JSPs, then the error
message.

Any Ideas?

Here's my jetty6 plugin settings...
 plugin
   groupIdorg.mortbay.jetty/groupId
   artifactIdmaven-jetty-plugin/artifactId
   configuration
 scanIntervalSeconds5/scanIntervalSeconds
   /configuration
 /plugin


Thanks!
,chris


junit 4.1

2006-08-10 Thread Christofer Jennings

I have a dependency on junit 4.1 that fails. It looks like version 4.1
is in http://www.ibiblio.org/maven2/junit/junit/ but not in the
maven-metadata.xml...

metadata
 groupIdjunit/groupId
 artifactIdjunit/artifactId
 versioning
   release3.8.1/release
   versions
 version3.7/version
 version3.8/version
 version3.8.1/version
 version3.8.2/version
 version4.0/version
   /versions
 /versioning
/metadata

Can I update this or does someone else have to? (still a newbee!)

,chris

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



IDEA plugin up-to-date?

2006-08-10 Thread Christofer Jennings

The IntelliJ IDEA MavenPlugin
(http://www.intellij.org/twiki/bin/view/Main/MavenPlugin) looks like
it hasn't been updated in a while. Is it up-to-date? Does it work
well?

Thanks,
chris

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



Re: IDEA plugin up-to-date?

2006-08-10 Thread Christofer Jennings

On closer look, the plugin page says it only looks for project.xml
files now, so I guess that means it's not ready for maven 2 yet. Is
there a new version or other plugin around for IDEA 5.x and Maven 2?

,chris

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



Re: IDEA plugin up-to-date?

2006-08-10 Thread Christofer Jennings

I'm trying that mvn idea:idea out too. It's nice to get a project up
quickly, but it seems to clobber any previous settings (like adding library
src and javadoc) if I run it again. Also, I'd like to run the maven build
from IDEA.

I'm new to maven, so maybe I'm just using it wrong. But a nice IDEA plugin
would sure be ... nice. :)

,chris


Re: IDEA plugin up-to-date?

2006-08-10 Thread Christofer Jennings

+1

I assume you mean the 2.1-SNAPSHOT of the plugin? ... Can I get the source
and build it?

What takes so long for releases?

,chris

On 8/10/06, Dave Hoffer [EMAIL PROTECTED] wrote:


...


We made a snapshot build of 2.1-SNAPSHOT a while back that fixes these

problems.  It would be great if 2.1 could be released.

-dh




Re: RE: Re: RE: Weblogic plugin?

2006-08-06 Thread Christofer Jennings

If you've already got an ant build file for the weblogi stuff, is
there any good reason to use the plugin instead of just running the
ant target from maven? Does it add any value other than being all
maven?

thanks,
chris

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



Re: RE: Weblogic plugin?

2006-08-04 Thread Christofer Jennings

Thanks Scott,

If it were my choice I'd use xfire and jsr 181 too. But I'm not the
one writing the webservice. I'm trying to get my team to try Maven for
an isolated part of our project, but the person wirting the webservice
is using WL tools so it might block my effort.

I'll look into writing it up in Jira.

,chris

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



Re: Re: RE: Weblogic plugin?

2006-08-04 Thread Christofer Jennings

Scott,

btw: I noticed the fisheye link to the source didn't work.
http://svn.mojo.codehaus.org/trunk/mojo/mojo-sandbox/weblogic-maven-plugin

,chris

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



Re: Re: Re: RE: Weblogic plugin?

2006-08-04 Thread Christofer Jennings

Darn, svn checkout failed too.

svn checkout 
svn://svn.codehaus.org/mojo/scm/trunk/mojo/mojo-sandbox/weblogic-maven-plugin
weblogic-maven-plugin

got

subversion/libsvn_client/checkout.c:90: (apr_err=17)
svn: URL 
'svn://svn.codehaus.org/mojo/scm/trunk/mojo/mojo-sandbox/weblogic-maven-plugin'
doesn't exist

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



weblogic plugin?

2006-08-03 Thread Christofer Jennings

Is there a weblogic plugin that supports WL 9.1 sevicegen, clientgen etc.?

I found this in the mail archives, butit's pretty old.
http://www.mail-archive.com/users@maven.apache.org/msg03059.html

Thanks,
chris

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