I will be out of the office starting 23/07/2008 and will not return until
24/07/2008.
I will be checking email sporadically and will not be checking voicemail.
For WMS/SIS/IAM/GWIS-related production support issues, please contact Dan
Hou at (604) 643-6673.
For GWIS-related project issues,
I will be out of the office starting 23/07/2008 and will not return until
24/07/2008.
I will be checking email sporadically and will not be checking voicemail.
For WMS/SIS/IAM/GWIS-related production support issues, please contact Dan
Hou at (604) 643-6673.
For GWIS-related project issues,
Hello,
I'm wondering if anybody has experience setting up a war/ear project in a
multimodule pom and then having this run on WebSphere Application
Developer's Test Server environment.
Did you have to fiddle around with any of the settings? I know WSAD
expects code in the web module to be in a
In my web project, I have the following:
src
main
java
-com/my/package/MyServlet
webapp
*.jsp
WEB-INF
In the WAR file that is generated, MyServlet ends up in a folder called
imported_classes. It cannot be reference after I deploy my WAR as
Hi all,
Just had a new user who started new/clean on maven 2.0.4 but when he tried
to do a mvn install on the project and was pulling things down from the
repositories, he got an error indicating maven-artifact-manager could
not be downloaded. I have it in my local repository and resolved it
Sorry, that doesn't work. I created a file called
mainResources.properties inside /src/main/resources/ and it only shows
up in /target/classes/ and not in /target/test-classes/
-j
---
Justin Fung
[EMAIL PROTECTED]
Sr. Analyst, Business Systems
IT
Hi Raphael,
You are correct... I just verified for myself.
Thanks for ther tip!
-j
---
Justin Fung
[EMAIL PROTECTED]
Sr. Analyst, Business Systems
IT Banking Systems, e-Business
HSBC Bank Canada
http://www.hsbc.ca
p: (604) 643-6605
f: (604)
I have two XML configuration files for Castor JDO inside
src/main/resources/
One is mapping.xml which specifies the mappings from XML messages to
fields in the Java objects
The other is jdo-conf.xml which specifies the behaviour of JDO including
how a connection is requested.
In the main
Hi guys gals,
I am using the eclipse:eclipse task to create my Eclipse workspace in WSAD
5.1. Since WSAD uses IBM's version of JDK v1.3 and we are using JDK 1.4.1.
When we initially create the workspace, it always picks JRE System Library
eclipse which is version 1.3.1. I have changed the
Have a look into dbunit:
http://dbunit.sourceforge.net
We have similar issues with classes relying on stuff from a database and
we dynamically pick a different implementation to point at data access
object implementations picking up dummy data
You should also define a TestSuite and pass it
I seem to keep getting an error getting this plugin when I run site:site
site:deploy.
I have removed
Downloading:
http://snapshots.maven.codehaus.org/maven2/org/apache/maven/doxia/d
oxia/1.0-alpha-8/doxia-1.0-alpha-8.pom
[INFO]
Should it just go under developerproperty/property/developer and
if so, how can I make use of this?
Ideally the site goal output would also spit out the phone #. I realize
this isn't a big deal for an open source project, but in a corporate
environment it may really help.
Thanks,
-j
Any chance a similar plugin will be made for maven 2?
-j
---
Justin Fung
[EMAIL PROTECTED]
Sr. Analyst, Business Systems
IT Banking Systems, e-Business
HSBC Bank Canada
http://www.hsbc.ca
p: (604) 643-6605
f: (604) 643-6727
Lukas Theussl
I checked my application.xml and I did uncomment the section that allows
file protocol:
allowedSchemefile/allowedScheme
This would be filed as a Continuum issue or Maven? I'm guessing it's
Continuum?
Thanks,
-j
---
Justin Fung
[EMAIL
Sorry, I re-read your email. Like you said, it is an issue with Maven SCM.
I will open an issue there.
Thanks,
-j
---
Justin Fung
[EMAIL PROTECTED]
Sr. Analyst, Business Systems
IT Banking Systems, e-Business
HSBC Bank Canada
http://www.hsbc.ca
I typically just run the test case in my IDE... as much as I love Maven,
it doesn't seem like the kind of thing you'd want Maven to be doing for
you.
-j
---
Justin Fung
[EMAIL PROTECTED]
Sr. Analyst, Business Systems
IT Banking Systems,
Well the interesting thing is, I'm running continuum on the same machine
as the one that I did the command from the command prompt: mvn clean
install --batch-mode --non-recursive
The command prompt works just fine..
Here is the output running from Continuum with the -e flag set.
file://* works just fine. I'm using that right now.
Just remember to add an extra slash to indicate it is on the same machine
(i.e. file:/// instead of file://)
-j
---
Justin Fung
[EMAIL PROTECTED]
Sr. Analyst, Business Systems
IT Banking
Thanks, this was the response I was looking for.
Just a quick note to anybody reading this... that if you put things into
/resources/ it will place it at the root level of the project site. I've
placed my documentation under /src/site/resources/docs/ and it works
great.
-j
Is there a standard folder for documentation in a Maven project?
e.g. /src/docs?
We usually have documentation (MS Word files, class diagrams *.dnx, Visio
diagrams and whatnot) that I'd like to include so they could potentially
one day be linked off the project website.
-j
Thank you. That is correct.
I actually resolved the issue by grabbing from the apache snapshots
repository, but I forgot to add a repository entry to the (stable) apache
repository which contained the dependencies that the surefire report
plugin required.
-j
Thread.currentThread().getContextClassLoader().getResourceAsStream() seems to
work for me
-j
---
Justin Fung
[EMAIL PROTECTED]
Sr. Analyst, Business Systems
IT Banking Systems, e-Business
HSBC Bank Canada
http://www.hsbc.ca
p: (604) 643-6605
Except that
WSAD is base on Eclipse 2.1 so it does not have the ability to specify
multiple output paths for compiled classes, but RAD does. This is
necessary is you want it to compile the to both the classes and
test-classes directories in the target folder.
I beg to disagree. In WSAD 5.1.0, you
Sorry to beat a dead horse. I added this as a snapshot repository but I
get a bunch of problems with dependent projects not being found.
If I dont' define a version number I get the following error when I run
site:site
plugin
groupIdorg.apache.maven.plugins/groupId
I've found that the eclipse:eclipse task works very nicely at setting up
your workspace as WSAD is built upon Eclipse. I would imagine RAD is no
different but I have no exposure to RAD.
The only other things you'll need to do are:
Add a Java - classpath variable in your settings to M2_REPO
I think you've got a couple options here.
You could define a new JRE System library in your workspace and switch to
that for the project
or you could manually install the necessary JARs using mvn
install:install-file (see the maven site for docs) and then define these
dependencies on your
I'm not quite sure I follow.
Between eclipse:eclipse, install:install-file, the maven dependencies
plugin and the various options you have with the POM, I haevn't had a
reason to code a custom eclipse plugin.
Every one of my dependencies is managed inside the POM.xml file and I am
using WSAD
Hi Wayne,
I've copied all those into my settings.xml and no dice.. I'd like to have
as many automated reports as possible... Any other suggestions? I suppose
I could grab the jars manually and install?
I also noticed you have the legacy ibiblio repository in your settings. Is
there a reason
No space after the -P??
mvn process-resources -Pfoxboro,model-base
-j
---
Justin Fung
[EMAIL PROTECTED]
Sr. Analyst, Business Systems
IT Banking Systems, e-Business
HSBC Bank Canada
http://www.hsbc.ca
p: (604) 643-6605
f: (604) 643-6727
EJ
I've tried using this both as a report plugin for the mvn site:site goal
and also from the command line. It fails for both of these...
Any ideas? Looking at the stack trace and the debug info doesn't give me
much additional info.
Thanks!
C:\maventest\IPS-Mainmvn taglist:taglist
I noticed when there are test failures in the surefire report plugin, that
it gives a build error and kicks out without finishing up and generating
the remaining reports. Is there a way to have it continue even though the
surefire test fails? Or am I missing the point?
I tried this, but it
Checkstyle is OK, but the default config has a ton of extra stuff
(especially if you use tabs!!) and the signal-to-noise ratio is a bit
high, but it does point out all the missing javadoc comments.
-j
---
Justin Fung
[EMAIL PROTECTED]
Sr.
Use eclipse:eclipse to set up your project files with the correct path to
the repository for your lib files.
External jars, you should add to your local repository using mvn
install:install-file.
You should never need to extract to a directory the jars your project
needs, although if you need
Hi Carlos,
Thanks I've found the relevant JIRA:
http://jira.codehaus.org/browse/MSUREFIREREP-6
Are there plans to update this? I'd far rather grab from a repository or
snapshot repository than get code from svn and compile myself... Please
forgive me if my understanding of how issues/bug
I define the following :
profile
idjustin-local/id
repositories
repository
idlocal/id
nameJustin's Local Repository/name
urlfile:///T:/maven/repository//url
I'd love to automatically have all this stuff show up on my project site.
Currently I do the following:
mvn site:site
mvn pmd:pmd -Dformat=html
mvn pmd:cpd -Dformat=html
mvn cobertura:cobertura -Dformat=html
mvn jdepend:generate
mvn site:deploy
I know I'm nitpicking, but is there some way to
Wayne,
Thanks, this was what I was looking for...
Just wondering where I can pick up findbugs, javancss and taglist
plugins.. I didn't see it on the mojo svn repository.
Thanks,
-j
---
Justin Fung
[EMAIL PROTECTED]
Sr. Analyst, Business
You can specify filter property files:
I set up 3 profiles in my pom.xml that allow me to define separate filter
properties for each build I do to different environments
build
resources
resource
directorysrc/main/resources/directory
includes
I feel your pain. I went through the exact same set of problems and gave
up on trying to make it try to check a local mirror first before going out
to central. From what I can tell, the link to central is hard-coded into
the Maven code as I have found no mention of any way to disable going to
The plug-ins list and matrix are invaluable too:
http://maven.apache.org/plugins/index.html
http://docs.codehaus.org/display/MAVEN/Maven+Plugin+Matrix
The biggest jump from going from ant to maven is that sense of control
that you get in ant being able to put code and files wherever you like.
Unfortunately mvn help:describe -Dpluginname doesn't work for many plugins
as it has not been implemented for a lot of plugins (especially some of
the more standard ones like install and compile!!)
I get a null pointer exception when I run it for those two. Being
relatively new to the whole
I'm not sure, but this works for me in my settings.xml
profile
idlocalRepository/id
repositories
repository
idlocal/id
nameLocal Repository/name
urlfile://some/file/on/a/server/url
Agreed, I am very interested to know what the plan is here, or even to
contribute.
-j
---
Justin Fung
[EMAIL PROTECTED]
Sr. Analyst, Business Systems
IT Banking Systems, e-Business
HSBC Bank Canada
http://www.hsbc.ca
p: (604) 643-6605
f: (604)
Try this instead
settings
activeProfiles
activeProfiletomcat-local/activeProfile
/activeProfiles
/settings
-j
---
Justin Fung
[EMAIL PROTECTED]
Sr. Analyst, Business Systems
IT Banking Systems, e-Business
HSBC Bank Canada
Don't forget that after you upgrade to Maven 2.0.3 to update your
settings.xml file!
-j
---
Justin Fung
[EMAIL PROTECTED]
Sr. Analyst, Business Systems
IT Banking Systems, e-Business
HSBC Bank Canada
http://www.hsbc.ca
p: (604) 643-6605
f: (604)
I have some legacy JAR files that I am porting over from an existing
application. They do not exist in the central Maven repository and ideally
I would like to avoid having to manually create pom.xml files and dropping
them into my company's local repository.
What is the best practice for
46 matches
Mail list logo