ez wrote:
>
> instead i get this:
> log4j:WARN No appenders could be found for logger
> (com.i18n.Excel2Properties).
> log4j:WARN Please initialize the log4j system properly.
>
The warning is because the log4j.properties or log4j.xml is not present in
the classpath. Where have you placed it?
Varini H.P. wrote:
>
>
> GroupId: org.apache.maven.plugins
> ArtifactId: maven-compiler-plugin
> Version: 2.0.2
>
> Reason: Unable to download the artifact from any repository
>
> org.apache.maven.plugins:maven-compiler-plugin:pom:2.0.2
>
> from the specified remote repositories:
> cent
Being discussed here
http://www.nabble.com/Passing-system-properties-to-JUnit-tests-using-%22-D%22-on-Linux-td21593651.html
--
View this message in context:
http://www.nabble.com/Passing-system-properties-to-JUnit-using-%22-D%22-on-Linux-tp21593649p21598861.html
Sent from the Maven - Users maili
Being discussed in your other post here
http://www.nabble.com/Passing-system-properties-to-JUnit-tests-using-%22-D%22-on-Linux-td21593651.html
--
View this message in context:
http://www.nabble.com/Passing-system-properties-to-JUnit-using-%22-D%22-on-Linux-tp21593647p21598856.html
Sent from the
james_d wrote:
>
> However, I noticed that when I run my build on Linux that the properties
> are not available. Specifically, calling System.getProperty("key1")
> returns null. What's going on? I'm using maven 2.0.9 for both.
>
The OS shouldn't matter, it should have worked. Please post th
Jean-Philippe Steinmetz-3 wrote:
>
> The odd thing about this is that I have a persistence.xml at the path
> src/main/java/META-INF/persistence.xml.
I guess you should place it in src/main/resources/META-INF/persistence.xml
--
View this message in context:
http://www.nabble.com/hibernate3-
David, Tim and Dan - extremely sorry about this delayed reply. I actually
read these replies immediately when you posted but since it was too late in
the night, i just rushed home with replying and forgot about this until
today :)
David and Tim, thanks for explaining the licenses to me - that hel
Don't mean to interrupt but mine is using pom packaging and inheritance does
not work with 2.0.9. Is this a known issue?
FYI - I'm basically using Michael Yuan's seam parent example located here:
http://www.michaelyuan.com/blog/2007/10/09/jboss-seam-project-setup-with-maven-%E2%80%94-part-2-ear-
This is not at all urgent for me as I don't get an error if I just
execute each goal separately, but I thought this might be something the
developers would want to know about.
$ mvn -v
/usr/lib/jvm/java
Maven version: 2.0.7
Java version: 1.6.0_03
OS name: "linux" version: "2.6.18-92.1.6.el5" arch:
Hello,
I am using the site plugin to publish the reports for my
project to a local web server. I am able to get it to deploy correctly, but I
noticed that it does not deploy cleanly.
1) It does not clean out what was already there. I found maven 1.x had a
maven.site.de
Would referencing it as a in your POM and allowing it to bind by
default to the generate-sources phase work, rather than running the
individual mojo?
Brett
On Thu, Jan 22, 2009 at 4:49 PM, arve wrote:
>
> hi,
> I run a maven task mvn appfuse:gen -Dentity=Pojo name.
> if i have 100 pojos in a f
hi,
I run a maven task mvn appfuse:gen -Dentity=Pojo name.
if i have 100 pojos in a folder i have to run the same command 100 times.
Instead is there some plugin/trick whcih could iterate the same command with
different pojo names with a single command?
--
View this message in context:
http://w
+1 for the display of a good release process.
On Wed, Jan 21, 2009 at 3:07 PM, Siegfried Goeschl
wrote:
> Shows that your release process is properly set up ... ;-)
>
> Siegfried Goeschl
>
> da...@davidkarlsen.com wrote:
>>
>> Sorry for spamming you all - I ran this on the top level artifact and
Hi,
I am aware that I can get Maven to build me a dependency tree for a given
project of mine and that is fine. Is there any way to get help with
generating the broader dependency tree? Let me clarify. In my organization
we have a lot of multi module applications. Some applications refer to each
o
When I compile/test my software on Windows any -D system properties I
specify on the command line (e.g., mvn clean install -Dkey1=value1) are
available inside my JUnit tests by calling the System.getProperty() method
(e.g., System.getProperty("key1") returns "value1").
However, I noticed that
When I compile/test my software on Windows any -D system properties I
specify on the command line (e.g., mvn clean install -Dkey1=value1) are
available inside my JUnit tests by calling the System.getProperty() method
(e.g., System.getProperty("key1") returns "value1").
However, I noticed that
When I compile/test my software on Windows any -D system properties I
specify on the command line (e.g., mvn clean install -Dkey1=value1) are
available inside my JUnit tests by calling the System.getProperty() method
(e.g., System.getProperty("key1") returns "value1").
However, I noticed that
Shows that your release process is properly set up ... ;-)
Siegfried Goeschl
da...@davidkarlsen.com wrote:
>
> Sorry for spamming you all - I ran this on the top level artifact and
> should of course only have done that on the plugin.
>
> Sorry - here's my 4th mail to you on the subject today. :-
When I define a dependency do I really need to arduously and decoratively
exclude each of it's dependencies? Naturally I'd rather just say don't
include any dependencies except these...
Thanks
--
View this message in context:
http://www.nabble.com/Configuration-by-exception--tp21592144p2159214
I wonder if OSGi would help (for example, Apache Felix)? It might help at
runtime, but I don't know if it would help with the maven builds. Perhaps the
Apache Felix documentation offers suggestions when using maven.
Martin Kacer wrote:
Simple but not always true.
First, the fact that EXTEN
Sorry for spamming you all - I ran this on the top level artifact and
should of course only have done that on the plugin.
Sorry - here's my 4th mail to you on the subject today. :-I
--
David J. M. Karlsen - +47 90 68 22 43
http://www.davidkarlsen.com
http://mp3.davidkarlsen.com
-
The Hibernate3 Maven Plugin team is pleased to announce the
hibernate3-maven-plugin-2.2 release!
Maven plugin based on the hibernate-tools project.
Changes in this version include:
Fixed Bugs:
o slf4j exception on build Issue: MHIBERNATE-88.
o Generated sources not compiling Issue: MHIBERNA
The Maven Hibernate3 Implementation - JDK15 team is pleased to announce the
maven-hibernate3-jdk15-2.2 release!
Hibernate 3 Maven 2 Integration.
Changes in this version include:
Fixed Bugs:
o slf4j exception on build Issue: MHIBERNATE-88.
o Generated sources not compiling Issue: MHIBERNATE-
The Maven Hibernate3 Implementation - JDK14 team is pleased to announce the
maven-hibernate3-jdk14-2.2 release!
Hibernate 3 Maven 2 Integration.
Changes in this version include:
Fixed Bugs:
o slf4j exception on build Issue: MHIBERNATE-88.
o Generated sources not compiling Issue: MHIBERNATE-
The Maven Hibernate3 Components team is pleased to announce the
maven-hibernate3-components-2.2 release!
Hibernate 3 Maven 2 Integration.
Changes in this version include:
Fixed Bugs:
o slf4j exception on build Issue: MHIBERNATE-88.
o Generated sources not compiling Issue: MHIBERNATE-86.
o
The Maven Hibernate3 API team is pleased to announce the
maven-hibernate3-api-2.2 release!
Hibernate 3 Maven 2 Integration.
Changes in this version include:
Fixed Bugs:
o slf4j exception on build Issue: MHIBERNATE-88.
o Generated sources not compiling Issue: MHIBERNATE-86.
o Duplicate/Unwa
The Hibernate 3 Maven 2 Integration team is pleased to announce the
maven-hibernate3-2.2 release!
Hibernate 3 Maven 2 Integration.
Changes in this version include:
Fixed Bugs:
o slf4j exception on build Issue: MHIBERNATE-88.
o Generated sources not compiling Issue: MHIBERNATE-86.
o Duplica
Addendum: I know that we can turn WTP off by overriding the
configuration. I was just wondering if there is a way to exclude the
plugin in the child pom to prevent any other compatibility issues that
may arise.
-Original Message-
From: Hoover, William [mailto:whoo...@nemours.org]
Sent: W
You have to send an email to users-unsubscr...@maven.apache.org to
unsubscribe
Shahzad Qureshi
Systems Analyst/Programmer
Applications Directorate, CIOB
Environment Canada
shahzad.qure...@ec.gc.ca
-Original Message-
From: Durbha, Praveen (GE Healthcare) [mailto:praveen.dur...@ge.com]
S
Hello list - we have a profile in one of our war projects that copies
over (only) any web content to the unpacked location.
So if a developer tweaks a jsp or html or what have you, they can run
mvn process-resources -P and that moves things over for
them.
Is there a way to see what's being copi
Is there a way to Exclude a plugin dependency declared in a parent pom?
We have an enterprise level pom that turns WTP capabilities by default:
org.apache.maven.plugins
maven-eclipse-plugin
true
true
2.0
The prob
For those who are interested: I have added a wiki page with a brief list of steps
explaining how to test Doxia-1.1-SNAPSHOT and the sandbox pdf plugin [1].
Currently you have to build and use a local version of Maven 2.1.0-M2-SNAPSHOT,
but we plan to switch 2.1.0-M3 over to Doxia-1.1 as soon
One of the last things I added to the m1 pdf plugin was an option to move the
table of contents to the end of the pdf. This removes the page-number forward
references and solved some reported memory problems, see
http://jira.codehaus.org/browse/MPPDF-62.
So if this is an option for you, you
Simple but not always true.
First, the fact that EXTENDED depends on BASIC is an internal issue of
the EXTENDED library. Future versions may not depend on it and top-level
projects should not be aware of the dependency.
Second, the conflict may also occur between projects (libraries) without
a
This approach is ok too and sometimes required. Checkstyle can read its
config from the classpath so unpack isn't needed, but this isn't true for
all tools. In that case, dependency unpack is the best alternative.
On 1/21/09 7:47 AM, "jie...@gmail.com" wrote:
> Just thought I would chime in wit
Hi Kent!
I think Sigi is right.
Try to use
export MAVEN_OPTS="-Xmx640m -XX:MaxPermSize=256m"
in your /etc/mavenrc or where ever it is on your installation.
This btw also helps if the JavaDoc process crashes with OutOfMemoryErrors.
LieGrue,
strub
--- Siegfried Goeschl schrieb am Mi, 21.1.20
Hi Kent,
I do not know the current incarnation of the plugin but worked with
DocBook before - the transformation takes a lot of memory since it
requires the PDF to be generated completely in-memory to resolve all the
page numbers and cross-references. I think with M1 it took more than 1GB
to gener
Just thought I would chime in with yet another alternative approach, I
employ a solution slightly different than Brian's assembly solution.
It is possibly not to be considered clean by the Maven crocodiles. :-)
My top level enterprise parent pom has a few support modules
immediately in its SCM hie
When I try to build some of our project using the docbkx docbook plugin, I
get the following out of memory exception:
INFO] Trace
java.lang.OutOfMemoryError: Java heap space
at org.apache.fop.image.ImageIOImage.loadBitmap(ImageIOImage.java:183)
at org.apache.fop.image.ImageIOImage.loadDimensions(I
Hi Chris!
The classpath to the compiled classes can be injected into your Java Mojo:
/**
* List of all class path elements that will be searched for...
*
* @parameter expression="${project.compileClasspathElements}"
* @required
* @readonly
*/
protected List
Hi all.
Using the ant-run plugin, you can get properties, like this:
What I'd like to do it to get access to the same classpath entries but from
a normal (ie not an ant-run derivative) plugin.
Ideally, I'd like to use something like this:
${maven.compile.
If EXTENDED depends on BASIC, then your POM user should only declare
EXTENDED as a dependency and not BASIC.
Jeff MAURY
On Tue, Jan 20, 2009 at 9:02 PM, Martin Kacer wrote:
> Hi there,
>
> I am wondering whether it is possible to specify that some existing JAR
> version will NOT work with my ar
I have the same problem but I'm not able to make it work.
Assume I have to add to CLASSPATH about 10 jars all coming from other
products of my society.
for the moment all this products are not built using maven, so I have to use
them in a quite "ANT" fashion adding these jars to the classpath tak
Our build on Linux (redhat) has more than doubled in time since we upgraded
the assembly plugin from 2.2-beta-1 to 2.2-beta-3.
I did some testing with a tiny project for different versions of the
assembly plugin:
2.2-beta-1: 9 seconds
2.2-beta-2: 17 seconds
2.2-beta-3: 30 seconds
The project
hallo
i encounter a very strange situation with the maven release plugin. we
have done quite some releases but for some reason a release:perform
fails to compile test classes depending on another module.
the setup looks like this:
pom.xml (parent pom)
- module1
- module2 (with test2.jar)
- mo
Hi,
My project structure is as follows.
parent/implementation/folder1/pom.xml
--- parent/implementation/framework/pom.xml
--- parent/implementation/framework/client/pom.xml
--- parent/implementation/framework/server/pom.xml
--- child1/implementation/pom.xml
--- child1/im
Hi,
For a multiple module project, if I want to only build one module, I
have to go to the root of that module to build it. Could I only build it
in the parent root of that module?
Thanks
Guofeng
I'm not really clear on your setup. is the 3rd party platform app in
your repository, or you only have the installation somewhere?
if you have the 3.0-SNAPSHOT version of the plugin, the the only
meaningful project to start debugging is the one with nbm-application
packaging, using the http://
Thanks for the clearing Brian,
i have read your tutorial and it seems a good approach, however i thought
about an alternative aproach maybe you can give me your opinion about it.
What i want to archive is simply that i fetch every duplicate configuration
within my projects make a parent pom and
On Wednesday 21 January 2009 keepfocusing wrote:
> I want to set the local repository position with this expression
> "~/m2/repo", which is also used as an example in settings.xml. But it
> seems not working unless I change it into absolute path such as
> "/home/abc/m2/repo".
>
> 1) Is it a bug of
Hi Richard!
You have to be online to pull in updates of third-party artifacts, but you
don't want updates of your own artefacts?
Well, I'd say there is only one solution to this: use snapshot versions for
the artifacts you want updates for and define non-snapshot versions for all
others.
Rega
The Maven Axis Tools Plugin team is pleased to announce the
axistools-maven-plugin-1.3 release!
This plugin supports the wsdl2java and java2wsdl tools from the Apache Axis (1)
project.
Changes in this version include:
Fixed Bugs:
o subPackageByFileName creates classes with a "file/\(sourceDir
Hi,
I am very new to Maven.
I need to generate java classes from the attached WSDL file.
I installed Maven and set environment variable.
When I run mvn generate-sources command I get following errors.
C:\workspace\customerservice>mvn generate-sources
[INFO] Scanning for projects...
[INFO] --
Hello all,
I'm having some trouble with the hibernate3-maven-plugin. I keep getting
the following error message whenever I run mvn hibernate3:hbm2ddl...
Org.hibernate.ejb.Ejb3Configuration - Could not find any
META-INF/persistence.xml file in the classpath.
The odd thing about this is t
I am very new to Maven.
I need to generate java classes from the attached WSDL file.
I installed Maven and set environment variable.
When I run mvn generate-sources command I get following errors.
C:\workspace\customerservice>mvn generate-sources [INFO] Scanning for
projects...
[INFO]
--
Hi there,
I am wondering whether it is possible to specify that some existing JAR
version will NOT work with my artifact (library), though it is not my
own dependency.
Let me illustrate the problem by a very simplified example:
We have two libraries, both managed by Maven: Library 1 is called
SHAILJA schrieb:
Hi,
Hi,
I have directory strucute like this
a/b
a/c
a/d.java
a/e.java
Understood.
I have one pom.xml under "a" directory .. Having code for compilation and
redirecting directories from there
Like
m
4.0.0
a
1.0
57 matches
Mail list logo