Hello,
I'm running Continuum v1.0.3 on Ubuntu Linux with Maven
2.0.7 and Java 1.5.0_011. The web service comes up, I can login and
upload a POM but when I run it, all I end up with is Exception:
Null for the build status. I've increased the logging to DEBUG for all
the
Hi.
I have to deploy artifacts to two repositories (if snapshots, to two
snapshots repositories). I cannot define two repositories (and two
snapshots repositories) in section distributionManagement. Is any way to
do it without double calling goal deploy:deploy with argument
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
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
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
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
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 users@maven.apache.org
Sent: Monday, July 30, 2007 8:31:30 AM
Subject: deploying to two
(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
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
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 available
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:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-release-plugin/artifactId
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:
plugin
groupIdorg.apache.maven.plugins/groupId
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
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
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 following
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/07,
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
the
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:
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
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:
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.
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
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
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]
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
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:
plugin
groupIdorg.apache.maven.plugins/groupId
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
*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
On
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:
assembly
formats
formatjar/format
/formats
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
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
Andrew hi,
and thank you for the swift response. As I have listed I have set
includeBaseDirectoryfalse/includeBaseDirectory
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
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,
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
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 machine.
You
Hi,
In the parent POM I have the following:
[...]
properties
scmConnection
http://localhost/repos/repo/${groupId}/${artifactId}/trunk/scmConnection
/properties
scm
connection${scmConnection}/connection
developerConnection${scmConnection}/developerConnection
/scm
[...]
The
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
Assuming the servletbridge jar is in your repo and dependency list, try
something like this:
plugin
artifactIdmaven-dependency-plugin/artifactId
executions
execution
phaseprocess-resources/phase
goals
goalcopy-dependencies/goal
/goals
configuration
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
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
On 7/20/07, Tawfik, Sameh E [EMAIL PROTECTED] wrote:
Hi,
I'm using the following code:
dependency
groupIdconnector/groupId
artifactIdconnector/artifactId
version1_0/version
scopesystem/scope
systemPath${Build_base}/ma-jdm-tck/lib/connector_1_0.jar/systemPath
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
we changed configuration using Coherent Dependency - Maven conf but it did
not work. Any advices about how to use coherent dependecies?
project
modelVersion4.0.0/modelVersion
groupIdcom.mycompany.app/groupId
artifactIdAdvertiseFreeModule/artifactId
packagingjar/packaging
Here it is:
?xml version=1.0 encoding=UTF-8?
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;
modelVersion4.0.0/modelVersion
parent
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
On 7/30/07, Frederick N. Brier [EMAIL PROTECTED] wrote:
parent
groupIdorg.apache.struts/groupId
artifactIdstruts2-apps/artifactId
version2.0.9/version
/parent
Using a pom from some else's project as your parent is unusual. I'd
remove that and leave the dependencies
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 wrong?
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 advices
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
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
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 on
60 matches
Mail list logo