Hi,
Mark Hobson wrote:
>
> An alternative to filtering the same resource is to split it into two
> and profile it. So you'd move src/main/resources/conf.properties to,
> say:
>
> * src/main/profiles/prod/resources/conf.properties
> * src/main/profiles/dev/resources/conf.properties
>
Actuall
Hello everyone,
I would like to have one configuration file in properties format.
Configuration differs in some parts between prod and dev profiles. For
example:
conf.properties for prod env:
keyA=valueAP
keyB=valueBP
keyC=valueCP
conf.properties for dev env:
keyA=valueAD
keyB=valueBD
keyC=valu
Is it a bug in the maven-war-plugin?
From plugin sources:
for ( Iterator iter = artifacts.iterator(); iter.hasNext(); )
{
Artifact artifact = (Artifact) iter.next();
// TODO: utilise appropriate methods from project builder
ScopeArtifactFilter filter =
I tried to follow instructions from:
http://www.nabble.com/Maven-2-EAR%2C-WAR%2C-EJB-Common-Dependencies-t1013415.html
and
http://www.nabble.com/RE%3A-Best-Practice---Maven-with-WSAD-or-RAD6-p2509735.html
and
http://www.nabble.com/RE%3A-m2-war-dependencies-in-ear-p054.html
using foll
Hello,
I tried to follow instructions from:
http://www.nabble.com/Maven-2-EAR%2C-WAR%2C-EJB-Common-Dependencies-t1013415.html
and
http://www.nabble.com/RE%3A-Best-Practice---Maven-with-WSAD-or-RAD6-p2509735.html
and
http://www.nabble.com/RE%3A-m2-war-dependencies-in-ear-p054.html
using follo
Hi,
WAR POM
org.apache.maven.plugins
maven-war-plugin
webApplication
image/**,htmlapp/**,WEB-INF/lib/*.jar
Hi,
You got it right, your solution looks fine. Just check for typos, just like
how you declared the native library as a dependency of your jar artifact.
I have it right at my files, I just changed this in my email to make it
general.
The problems seems to be in the war plugin - it doesn't
Hello,
In my war project I use java library which requires native dll library.
I created following:
4.0.0
com.domain
libraryx-api
jar
libraryx
1.0
libraryx
com.domain
libraryx-native
1.0
dll
4.0.0
com.hugin
hugin-native
dll
Hugin native library
Hello,
[INFO]
[ERROR] BUILD ERROR
[INFO]
[INFO] There are some test failure.
Because of some failed junit-tests the whole maven build fails,
Hello,
Another way to test is to pick up the following integration build instead:
http://maven.zones.apache.org/~maven/builds/branches/maven-2.0.x/m2-20060105.071501.tar.gz
Using above build I tried mvn deploy with following configurations:
1. on the windows machine under cygwin shell using
I'm not saying that dependencies should have properties again, but I am
saying that it is the responsability of the war pom.xml to describe
which dependencies it will include itself and which ones should be
provided by its containg ear.
I was thinking also about war projects which can be inst
I'd like to announce an initial release of Mevenide Netbeans 2.0. It's IDE
integration for Maven2 project management and build tool. It allows to open
Maven2 projects in the IDE directly, helps with writing the Maven project
files etc. A Continuum integration server plugin is also included, all
Hello,
I have a problem with running surefire tests when I have commons-logging
in my classpath. I get java.lang.NoClassDefFoundError:
org/apache/commons/logging/LogFactory.
I am subscriber of this list and I think I saw a solution here (adding
something to the
commons-logging...???)
b
Hello,
How can I turn on resources filtering for files in the src/main/webapps
directory? I need to filter web.xml and other xml descriptors.
Best regards,
Piotrek
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional co
Hello,
I would like to have something like this in my pom.xml
src/main/resources
true
and in src/main/resources/app.properties:
app.buildTime=${currentTime}
to get current time (the time when I call mvn package for example) in
the place of ${currentTime}. Is there a ma
Hello,
I found few posts and issues in JIRA about including and excluding
transitive optional dependencies. What is the current implementation of
this functionality?
As I understand from the above resources I have to use only exclusions
element in my pom. Why did you decline to introduce inc
Hello,
I would like to setup my own central repository with Facelets jar and
configure its pom with all dependencies. I see that it requires JSF API.
I would like to use MyFaces or Sun's Reference Implementation. I think
that I should include in the Facelets pom only JSF API dependency since
Hello,
myfaces
myfaces-api
1.1.1
myfaces
myfaces-impl
1.1.1
runtime
In general you either use myfaces-a
Hello,
I would like to know what I should use as my dependency if I want to use
myfaces. I browsed http://ibiblio.org/maven2/myfaces/ and found:
myfaces-all
myfaces-api
myfaces-impl
myfaces-jsf-api
myfaces
I would like to use version 1.1.1 but none of the poms declared for any
version has sp
Hello,
I'm building ear artifact.
I've got ear in my pom, but when I use 'mvn package'
only subprojects (modules) are build. Build of ear archive is skipped.
Actually, if you use in the pom, the packaging should be set
to "pom", and ear project should be one of the modules (with
dependenc
Hi,
Ok I got it, it's because after my failed attempt, the file "
release.properties" was created and the url was stocked in it. So the plugin
used this url and didn't care about all the changes I made to
pom.xmlafterwar. To make it work again, I just had to delete this
file, so the
plugin would
Hi,
From http://maven.apache.org/reference/plugins/scm/scmurl.html
scm:cvs:[:]::
I cannot see any place for port number...
(scm:cvs:pserver:spssoww11:2401:/cvs/ocatest:gduapi).
Best regards,
Piotrek
-
To unsubscribe, e-mai
Hi,
How can I get a property with current date or time as property in the
form as with ${pom.version}? I would like to use it in the pom.xml.
Best regards,
Piotrek
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional co
http://jira.codehaus.org/browse/MNG-896
BTW: when is it expected to be solved?
Best regards,
Piotrek
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Mark,
Hi Piotr,
There's a similar issue open regarding including artifacts at the
root-level of a war:
http://jira.codehaus.org/browse/MNG-896
This would be for applets, JNLP apps, etc. but could be extended to
explode specified dependencies as well - maybe worth adding your use
case there
Hi,
How should I handle artifact with web resources? Lets assume that I
create JSF web UI components which consists of Java classes packaged in
the Jar file and web resources (images, css and javascript library
files). Shouldn't be there something like web-resources packaging type
(web-resour
Hi,
We upgraded to a jsch that was supposed to have fixed it, but it seems
to have gotten worse.
The main workaround at this point is to use scpexe:// or ftp:// instead.
http://maven.apache.org/guides/mini/guide-deploy-ftp.html details
using ftp - the steps for scpexe (wagon-ssh-external) are s
Hi,
I would like to make sure that I understand maven 2 philosophy
correctly. This is how I work with versions and SVN now:
1. Working with version 1.0-SNAPSHOT in svn.myhost.com/projectA/trunk
2. I want to release stable version so I use mvn release:prepare and mvn
release:perform using as t
No, for that you will Mevenide - however, I believe Mevenide does not
support m2 yet.
As Jason van Zyl wrote:
"There exists an m2 plug-in for Eclipse and I will probably release it
next week sometime. It supersedes anything in Mevenide as far as m2
goes. It will be a preview but it needs a
Hello,
The source is within
http://svn.apache.org/repos/asf/maven/components/trunk
look under maven-plugins/maven-eclipse-plugin.
Just a little misunderstanding. I was talking about plugin for Eclipse
to execute maven 2 goals from Eclipse IDE and not about maven 2 plugin
to create .classpath
Hello,
There exists an m2 plug-in for Eclipse and I will probably release it
next week sometime. It supersedes anything in Mevenide as far as m2
goes. It will be a preview but it needs a little work before it's
released.
Is it possible to checkout sources of this Eclipse plugin and take a
loo
Hello,
(I was writing to this mailing list before partially about this problem:
Demo application based on JBoss DVD trailblaizer)
I tried to create following project:
http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://maven.a
Additional info: Maven 2 revision I used is: 278636.
And one additional question:
Can I specify version in the parent pom and use inherited value in
subprojects or I have to specify version separately in every pom.xml?
You do not have to specify the version in the pom, it will use the
Additional info: Maven 2 revision I used is: 278636.
And one additional question:
Can I specify version in the parent pom and use inherited value in
subprojects or I have to specify version separately in every pom.xml?
Best regards,
Piotrek
---
Hello,
I wanted to create template project structure for EJB3 application based
on the DVD trailblaizer from JBoss site
(http://trailblazer.demo.jboss.com/DVDTrail/).
I used Maven2 2.0-beta-1-SNAPSHOT -
I created structure which is available at http://piotr.radzisz.com/maven2/
I would like
35 matches
Mail list logo