I'd recommend contacting the izpack mailing list with this issue.
Maybe someone already has a decent pom of an up to date version,
which can be pushed to the central maven repo.
PS: there is also an issue of an izpack maven2 plugin in
mojo.codehaus.org's JIRA. Also for maven1 I wrote one at
mav
Using those versions together with no problems.
- Original message -
From: "jallen" <[EMAIL PROTECTED]>
To: users@maven.apache.org
Date: Sun, 29 Jul 2007 13:00:27 -0700 (PDT)
Subject: Hibernate and 2.0.7
Has anyone else experienced issues with 2.0.7 and hibernate 3.2.4.ga?
It's
not my p
Hi,
We currently have the following process for our releases:
Walk the DAG of our modules in a breadth-first traversal [1] and for
each module being released:
1) Create a branch in Subversion.
2) Check out the branch
3) Update the POMs so that no SNAPSHOT dependencies are stil in the
POMs and co
Hi
I have a different configurations (spring, Text files and so on). I really
tried hard to figure out how I should handle those runtime configurations with
maven. Has anybody done such a thing so far?
My problem is: If I put the configuration into the src/main/resources directory
and therefo
Use profiles to define 2 profiles, each having it's own repository. You can
then say mvn deploy:deploy -P repo1
- Original Message
From: Piotr Oktaba <[EMAIL PROTECTED]>
To: Maven Users List
Sent: Monday, July 30, 2007 8:31:30 AM
Subject: deploying to two repositories and two snapshots
(I have not subscribed to users alias, so please copy a reply directly
to my email)
Hi,
I get /javax.xml.parsers.FactoryConfigurationError: Provider
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl could
not be instantiated: java.lang.NullPointerException/ when I call an Ant
Hi
I have a different configurations (spring, Text files and so on). I really
tried hard to figure out how I should handle those runtime configurations
with maven. Has anybody done such a thing so far?
My problem is: If I put the configuration into the src/main/resources
directory and therefore d
Hi...
In my poms I have some plugins configured without the version in order
to use the latest one, but in my settings.xml file I need to have some
snapshot-repositories.
So in the builds maven will use the latest version available witch is a
snapshot version, and that is not my intension.
Is
On 30/07/07, Rodrigo Gonçalves <[EMAIL PROTECTED]> wrote:
> Hi...
>
> In my poms I have some plugins configured without the version in order
> to use the latest one, but in my settings.xml file I need to have some
> snapshot-repositories.
> So in the builds maven will use the latest version availab
Hi Stuart !
Thx for your response...
I've tried to use your suggestion but it does not work for every
artifacts. For example:
when I use:
org.apache.maven.plugins
maven-release-plugin
RELEASE
...
Hello there!
I have some (strange?) requirement:
there is a web application, let's say projectA. This application contains some
classes, required libraries, images, javascript/jsp files etc.
now I have application (projectB), which depends on projectA. To resolve such
dependency, I need to have
On 30/07/07, Rodrigo Gonçalves <[EMAIL PROTECTED]> wrote:
> Hi Stuart !
>
> Thx for your response...
>
> I've tried to use your suggestion but it does not work for every
> artifacts. For example:
> when I use:
>
>
> org.apache.maven.plugins
> maven-relea
To answer your original question, it is not currently possible to tell
Maven to use the latest non-snapshot of a dependency. Something along
these lines has been under discussion on the Dev list in the last
month, though.
Your best bet is to simply specify the exact version you want, or
remove the
Maven2 supports this already. It is called WAR overlaying.
http://maven.apache.org/plugins/maven-war-plugin/examples/war-overlay.html
Wayne
On 7/30/07, Eugeny N Dzhurinsky <[EMAIL PROTECTED]> wrote:
> Hello there!
>
> I have some (strange?) requirement:
>
> there is a web application, let's say p
You can use the release plugin on a multi-module project, and it will
it walk the module graph for you. You can also run release:prepare
with -B (batch mode) so that all defaults will be used automatically.
On 7/30/07, James Abley <[EMAIL PROTECTED]> wrote:
> Hi,
>
> We currently have the followin
On 30/07/07, Wayne Fay <[EMAIL PROTECTED]> wrote:
> To answer your original question, it is not currently possible to tell
> Maven to use the latest non-snapshot of a dependency. Something along
> these lines has been under discussion on the Dev list in the last
> month, though.
that's weird, we'v
Hello !
I'd like to talk about the behaviour of the dependency:copy-depedencies
plugin, when I add some include/exclude scopes parameters.
I noticed that these parameters' types were just Strings, which means you
can set only one include scope and one exclude scope in the config tag.
After a few
As far as I understand it, this works fine so long as you are only
connecting to non-snapshot repos.
As Rodrigo mentioned, he has snapshot repos configured in his pom, and
as such the RELEASE tag will not work as desired.
Wayne
On 7/30/07, Stuart McCulloch <[EMAIL PROTECTED]> wrote:
> On 30/07/0
On 30/07/07, Tom Huybrechts <[EMAIL PROTECTED]> wrote:
> You can use the release plugin on a multi-module project, and it will
> it walk the module graph for you.
That's what I doing currently. Nearly all of our SVN modules are
Maven2 multi-module projects; there's an unfortunate overloading of
th
On 31/07/07, Wayne Fay <[EMAIL PROTECTED]> wrote:
> As far as I understand it, this works fine so long as you are only
> connecting to non-snapshot repos.
>
> As Rodrigo mentioned, he has snapshot repos configured in his pom, and
> as such the RELEASE tag will not work as desired.
ah, ok - good to
Hi Everyone,
How do you pass system environment variables like system date or system time
to maven. I'm running maven on a windows machine.
Thanks,
David
I don't believe "all but test" as a possible scope makes much sense
when you're thinking about valid use/business cases. Can you think of
such a real-life situation?
Also, it might be helpful to review the Maven Dependency Scope section
on this page:
http://maven.apache.org/guides/introduction/int
Correct me if I'm wrong Maarten, but you'd still need to call deploy
twice, once for -P repo1 and again for -P repo2.
The original question was asking if it was possible to do 2 deploys
with a single call of mvn deploy -- my general response would be no.
But I've never needed to do this, so there'
Hi DavidThose are all already available in the Java environment running Maven.
If the property your are looking for is not in the system default, you pass
them in the command line using the -D option.Hope it helps.Eric.- Message
d'origine -De: David Williams <[EMAIL PROTECTED]>Date: Lund
David Williams wrote:
How do you pass system environment variables like system date or system time
to maven. I'm running maven on a windows machine.
You can access environment variables by using maven variables of the
form ${env.VARIABLE}.
So ${env.PATH} would be your path, for example.
A
I don't believe you should put environment specific, such as TEST-db
connection params vs PROD-db connection params in the binary. Put that
information in a file which can be edited outside your artifact (jar, war,
ear). As long as this config file is in your classpath, then you can access
it fro
Hi all,
I'm running into a pretty big issue with the ear plugin. I'm creating an
ear for JBoss with an existing jboss-app.xml file. I need to have special
classloading directives, and they're not available in the file that's
generated by the plugin. Whenever the plugin runs, it never packages
In that case, you will need to change pom.xml everytime right?
As long as you're using snapshots: No.
You only have to change your pom.xml if you decide that the code is
stable enough to be called a new release.
Or, we can have profile defined in profiles.xml or settings.xml to
avoid
pom
src/main/resources is not the correct (default) directory to use for
EARs resources.
As stated on [1], the correct directory is src/main/application.
Try that and report back!
[1] http://maven.apache.org/plugins/maven-ear-plugin/ear-mojo.html
Wayne
On 7/30/07, Todd Nine <[EMAIL PROTECTED]> wro
I am currently writing a Windows Powershell script which calls the maven
bat file to trigger a build as part of its functionality. It seems that
regardless of sucess or failure an exit code of 0 is returned. I have
found this closed JIRA issue (http://jira.codehaus.org/browse/MNG-2127)
which offe
Seems I posted a bit prematurely. It works in a standard command
prompt just not in powershell. It seems it's not picking up the
environmental variable MAVEN_TERMINATE_CMD. If you define it again in
your powershell script in the env namespace
($ENV:MAVEN_TERMINATE_CMD="on") it starts working.
Hello,
Maven 2.0.7
I have a project that encompases different projects, so I have a
parent pom with children. I created a JUnit test called
InternalDAOTest.java. In my pom, I have the following:
org.apache.maven.plugins
maven-surefire-plugin
*
Your missing test from the end of your class name, see [1]
mvn -Dtest=com.xxx..InternalDAOtest test
[1]
http://maven.apache.org/plugins/maven-surefire-plugin/examples/single-test.html
On 7/30/07, Scott Purcell <[EMAIL PROTECTED]> wrote:
> Hello,
> Maven 2.0.7
>
> I have a project that en
*mvn -Dtest=com.xxx..InternalDAOTest test
On 7/30/07, ben short <[EMAIL PROTECTED]> wrote:
> Your missing test from the end of your class name, see [1]
>
> mvn -Dtest=com.xxx..InternalDAOtest test
>
>
> [1]
> http://maven.apache.org/plugins/maven-surefire-plugin/examples/single-test.html
Thanks Ben that was it.
I got screwed up because the docs say the following:
"The value for the test parameter is the name of the test class
(without the extension)."
so I assumed the extension was Test and so I kept leaving it off.
Thanks,
Mondays.
On 7/30/07, ben short <[EMAIL PROTECTED
Hi guys,
I have the following situation: I have configured the assembl plugin so that
it produces an archive that contains
the content of another two archives. My assembly descriptor is this one:
jar
false
/
false
Check your assembly descriptor for A:B and A:C, make sure you've set the
includeBaseDirectory property for them to false.
Andrew
> -Original Message-
> From: Petar Tahchiev [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 30, 2007 5:43 PM
> To: Maven Users List
> Subject: Assembly plugin in
Hi Wayne,
I'm not familiar to JDev and Maven integration too, so then I'm using both
separetly.
Well, I fixed my issue putting my project folder in the same volume as maven
folder. I was completly unwarned of it. I think this is some kind of problem
in the engine of Jdev plugin.
However I do n
Andrew hi,
and thank you for the swift response. As I have listed I have set
false
so I don't think this is the problem. The A:B and A:C artifacts doesn't have
the B.jar and C.jar directories in their archives.
Any other ideas?
2007/7/31, Andrew Boyer <[EMAIL PROTECTED]>:
>
> Check your assembl
The dependency plugin uses the same code as core to determine the scope.
Specifically, it calls a method (going by memory here) isScope(scope).
The test scope includes everything, so if used to exclude, you would get
nothing. You can use the copy goal to name specific dependencies if you
need to, o
With Eclipse 3.3, the temptation to use the osgi plugin framework is huge,
and we would really like to utilize the osgi framework within our web app.
Differences exist between the classic layout of a web app and where the osgi
bundles exist (the Eclipse plugin jars existing under WEB-INF/eclipse
in
I will be out of the office starting 16.05.2007 and will not return until
08.01.2008.
I'm on maternity leave till January 2008.
In case of Canon Consumable business, please contact Mikhail Popov, in case
of Paper business - Maria Bondarenko.
I would stick to -D options. "env" variables are going away in Maven soon.
Eric
On 7/30/07, Graham Leggett <[EMAIL PROTECTED]> wrote:
>
> David Williams wrote:
>
> > How do you pass system environment variables like system date or system
> time
> > to maven. I'm running maven on a windows machin
Hi,
In the parent POM I have the following:
[...]
http://localhost/repos/repo/${groupId}/${artifactId}/trunk
${scmConnection}
${scmConnection}
[...]
The child POM has nothing expect mandatory elements and the reference to the
parent POM. Both the child and the parent ar
I am relatively new to Maven and my project is including a number of
.jars which I believe are only needed by Maven at build time into my
.war. How do I stop them from being included?
maven-artifact-20.0.jar
maven-artifact-manager-2.0.jar
maven-model-2.0.jar
maven-plugin-api-2.0.jar
maven-prof
Assuming the servletbridge jar is in your repo and dependency list, try
something like this:
maven-dependency-plugin
process-resources
copy-dependencies
servletbridge
${project.build.directory}/${
project.build.finalName}/WEB-INF/eclips
I have also noticed the same behavior with the project url, the sit url and
the scm url even if in the effective the corresponding properties are
correct (without the artifactId appended).
On 7/30/07, Oscar Picasso <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> In the parent POM I have the following:
> [.
By default Maven attempts to locate a dependecies artifact using the
follloing process: 1-st generate path to the artifact in local repositiory.
etc
How we can change Maven configuration that instead having to add the Spring
framework jar to every project - change just from one common configura
Show us your pom. You must be doing something wrong -- I've never seen
any of those jars including in any wars I've ever constructed.
Wayne
On 7/30/07, Frederick N. Brier <[EMAIL PROTECTED]> wrote:
> I am relatively new to Maven and my project is including a number of
> .jars which I believe are
When we run maven JUnits - and ensure that testing is successful. - run mvn
test
but its through out exception and looks like it did not run properly JUnit
in project.
How the first step to check where is error in configuration / setting sof
maven and fix this error
thanks,
DT
www.ejinz.com
S
On 7/20/07, Tawfik, Sameh E <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm using the following code:
>
>
> connector
> connector 1_0
> system
>
> ${Build_base}/ma-jdm-tck/lib/connector_1_0.jar
>
>
> This code is working fine, but it requires everyone to define the
> "Bui
First off, I think you probably should avoid doing this. I think you
will run into troubles down the line if/when changes in Spring cause
your older projects to break, so suddenly you can't use the latest
Spring in all your projects, etc.
Having said that, you could create a single Super Parent PO
we changed configuration using Coherent Dependency - Maven conf but it did
not work. Any advices about how to use coherent dependecies?
4.0.0
com.mycompany.app
AdvertiseFreeModule
jar
1.1-SNAPSHOT
junit
junit
3.8.1
test
thanks,
DT
www.ejinz.com Search Shopping Engine
Here it is:
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";>
4.0.0
org.apache.struts
struts2-apps
2.0.9
com.mycompany.po
We are suing common case which requires no changes to the POM project -
the packaging
of resources into a JAR file. Maven again uses for this task the standard
directory layout.
This means that by adopting Maven's standard conventions, we can package
resources within JARs, simply by placing
On 7/30/07, Frederick N. Brier <[EMAIL PROTECTED]> wrote:
>
> org.apache.struts
> struts2-apps
> 2.0.9
>
Using a pom from some else's project as your parent is unusual. I'd
remove that and leave the dependencies on the struts jars. You may
want to establish a 'struts.ve
On 7/30/07, Dmitry <[EMAIL PROTECTED]> wrote:
> This means that by adopting Maven's standard conventions, we can package
> resources within JARs, simply by placing those resources in a standard
> directory structure. But when we put resources in standard directory we get
> nothing -what we did wro
What "didn't work"? What happened vs what did you expect to happen? We
need more details to be able to help.
And what is a "coherent dependency"?
Wayne
On 7/30/07, Dmitry <[EMAIL PROTECTED]> wrote:
>
> we changed configuration using Coherent Dependency - Maven conf but it did
> not work. Any ad
I was building off of the struts2-portlet-2.0.x.war example. So I guess
that means I need to travel up the pom parents tree and merge all the
dependencies and other elements into my own pom? I will try and attempt
not to break anything. Thank you. Do you happen to know why all those
.jars a
I'd assume this is happening because some parent (or grandparent, or
grand-grandparent, etc) of your pom is including those jars as a
dependency. And so your own project is bringing them in as a
dependency, so they are included in your war.
You could try "mvn -X package" and then search the text-t
On 7/30/07, Frederick N. Brier <[EMAIL PROTECTED]> wrote:
> I was building off of the struts2-portlet-2.0.x.war example. So I guess
> that means I need to travel up the pom parents tree and merge all the
> dependencies and other elements into my own pom?
No, you should just declare dependencies
hi
i want to deploy war file to webapps folder under tomcat automatically after
running mvn install like in ant .can u please help
--
View this message in context:
http://www.nabble.com/deploying-war-automatically-to--tomcat-tf4191146s177.html#a11918830
Sent from the Maven - Users mailing list
62 matches
Mail list logo