2010/11/22 Kamran Yadav kamranya...@gmail.com:
plugin
artifactIdmaven-compiler-plugin/artifactId
version2.0/version
It seems a bit outdated, the latest version is 2.3.2.
- The war file includes all the classes also but I don't want. I
tried
Hi!, You are right, I tought I had attached one image. Here it goes.
Thank you
El 21/11/10 22:39, Ron Wheeler escribió:
You do not say what your problem is.
No error messages?
No tests?
%JAVA_HOME%\bin is missing from your path but since you do not show
any errors, it is hard to tell what
2010/11/22 Blanca Hernández blancahdezni...@gmail.com:
Hi!, You are right, I tought I had attached one image. Here it goes.
Apache Mailing lists do not support attachments.
Antonio
-
To unsubscribe, e-mail:
Ok, sorry I didn't know...
The error I get is this one:
ERROR:M2_HOME is set to an invalid directory.
M2_HOME = C:\Program Files\apache-maven-2.2.1
Please set the M2_HOME variable in your enviroment to match the location
of the Maven installation
I will paste again my enviroment variables to
2010/11/22 Blanca Hernández blancahdezni...@gmail.com:
ERROR:M2_HOME is set to an invalid directory.
M2_HOME = C:\Program Files\apache-maven-2.2.1
Just a shot in the dark: it may be the space in the path, can you try
moving it in a different directory without spaces in the name?
Notice that, if
El 22/11/10 09:57, Antonio Petrelli escribió:
2010/11/22 Blanca Hernándezblancahdezni...@gmail.com:
ERROR:M2_HOME is set to an invalid directory.
M2_HOME = C:\Program Files\apache-maven-2.2.1
Just a shot in the dark: it may be the space in the path, can you try
moving it in a different
2010/11/22 Blanca Hernández blancahdezni...@gmail.com:
With the same error, just changing the path. Somebody told me the could be
maybe Windows7 incompatibilities, do you think so??
No, however to be completely sure I have to check it at home this
evening (CET) where I have a Win7 machine.
Hi,
for a *:war running on SAP Netweaver, there´s a file needed called
SAP_MANIFEST.MF, parallel to MANIFEST.MF:
myproject-1.0-SNAPSHOT.war
|-- META-INF
| |-- MANIFEST.MF
|-- SAP_MANIFEST.MF
I thought I could simply configure this file somewhere at the archive
configuration, but
Please Download this Book and Enjoy you Build with Maven
http://maven.apache.org/apache-maven.pdf
Regards
Waseem Bokhari
CM Analyst
00923214294926
wasi_s...@hotmail.com
-
Waseem Bokhari
CM Analyst
wasi_s...@hotmail.com
00923214294926
--
View this message in context:
I am using 2.3.2 now but no improvement.
I understand I can create a separate project for the classes only but that
is not in my control.
Anyway is there anyway to produce the compiled class outside of
target/classes folder as in say C:\etc.etc.
On Mon, Nov 22, 2010 at 2:07 PM, Antonio Petrelli
2010/11/22 Kamran Yadav kamranya...@gmail.com:
I am using 2.3.2 now but no improvement.
I understand I can create a separate project for the classes only but that
is not in my control.
Anyway is there anyway to produce the compiled class outside of
target/classes folder as in say
Hi,
Kamran Yadav wrote:
I am using 2.3.2 now but no improvement.
I understand I can create a separate project for the classes only but that
is not in my control.
Anyway is there anyway to produce the compiled class outside of
target/classes folder as in say C:\etc.etc.
Well, please
A single project with 1500 files should be restructured into about 50
functionally independent projects that can be built, tested and deployed
individually.
All but one will produce JAR files.
Use aggregation projects to group the small JARs into larger JARs that
can be deployed and used as
I have following dependencies
webService_war : here is all webservice code
|
|--webServiceClient_jar : this is a dummy project. It takes the
webService.war and generates
| proxies then builds a jar out of
them.
|--ClientApps_jar : uses
Hi Torsten,
On Mon, Nov 22, 2010 at 4:26 AM, torsten.reinh...@gi-de.com wrote:
-- src
`-- main
|-- webResources
| `-- META-INF
| `-- SAP_MANIFEST.MF
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-war-plugin/artifactId
If you can not reorganize your project, you should probably stick with Ant.
Maven is a great tool but you have to use it in the way it was designed
to be use.
It relies a lot on the fact that your projects follow a set of
conventions and if they do not, you will spend a lot of time fighting
In Project properties under Java Build Path do you see the Maven
Dependencies entry in the libraries?
Did you tell Eclipse that you wanted to use Maven Dependencies (Right
click on the Project header = Maven=Use Maven Dependencies (or
something like that).
Do you have the Maven integration
Hello,
I would like to create a new maven plug-in to extend another plug-in (P_O)
to solve some very special requirements.
I defined a dependency to P_O and created a NewMojo by extending an
existing BaseMojo from P_O. But parameters defined in the BaseMojo are not
injected. They are always
Hello,
I am new to this list and may just missed this topic discussion.
I have a web application that I need to compile and package into
war/ear/tar.
This app need to be packaged with different configuration files (server
names/IP addresses) for Dev/QA/Prod environments.
However I don't want
2010/11/22 ilya.may...@ubs.com:
This app need to be packaged with different configuration files (server
names/IP addresses) for Dev/QA/Prod environments.
This kind of info are better put in the server. For example, for
JBoss, you can create a .properties file and put it inside:
JNDI will do the job on Tomcat.
Ron
On 22/11/2010 1:47 PM, Antonio Petrelli wrote:
2010/11/22ilya.may...@ubs.com:
This app need to be packaged with different configuration files (server
names/IP addresses) for Dev/QA/Prod environments.
This kind of info are better put in the server. For
Well those are some rather useless answers.
JNDI will only do the job if you configure it that way. You need to get that
configuration *into* tomcat somehow in the first place, regardless of whether
you use JNDI or a properties file.
To suggest some options for the original poster:
There
Hi,
The Mojo team is pleased to announce the release of the Antlr Maven
Plugin version 2.2.
The Antlr Plugin uses the parser generator Antlr v2 to generate source
code based on Antlr grammar files.
http://mojo.codehaus.org/antlr-maven-plugin/
To get this update, simply specify the version in
Question for all maven gurus. Hope you can help me..
I've been using a maven-release plugin for over a year and it has always
work perfectly when creating new branch from source (trunk). Ever since our
SVN amdin upgraded the SVN server to use version 1.6 instead of 1.4 I have
not been able to
svn:
'/cygdrive/d/build/buildScripts/mvnScripts/branching/D:/build/buildScripts/mvnScripts/branching'
is not a working copy
svn:
'/cygdrive/d/build/buildScripts/mvnScripts/branching/D:/build/buildScripts/mvnScripts/branching'
does not exist
Probably your problem is related to these lines...
Use regular command prompt, not cygwin when making a release. (If you
find a better fix, let me know.)
Kalle
On Mon, Nov 22, 2010 at 1:00 PM, edgarosy edgar.l...@gmail.com wrote:
Question for all maven gurus. Hope you can help me..
I've been using a maven-release plugin for over a year and
On 22/11/2010 3:38 PM, Haszlakiewicz, Eric wrote:
Well those are some rather useless answers.
JNDI will only do the job if you configure it that way. You need to get that
configuration *into* tomcat somehow in the first place, regardless of whether you use
JNDI or a properties file.
I was
edgarosy wrote:
Question for all maven gurus. Hope you can help me..
I've been using a maven-release plugin for over a year and it has always
work perfectly when creating new branch from source (trunk). Ever since
our SVN amdin upgraded the SVN server to use version 1.6 instead of 1.4 I
Eric,
Let me elaborate on the issue. I cannot use profiles as it will create
only one distribution for me. I need to have the same compiled cod
bundled with different config files for DEV/QA/PROD. Is there are any
easy way to create 3 TAR files from one jar or war and include different
sets of
I believe you can specify multiple executions.
See:
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Plugins
I think you could use the EAR plugin for example with three separate
executions, each with a configuration that excludes different files.
Hope this helps.
The Assembly plugin can have multiple assemblies defined.
We produce one distribution with ALL configs in it though.
Curt Yanko | Continuous Integration Services | UnitedHealth Group IT
Making IT Happen, one build at a time, 600 times a day
-Original
Thanks everybody
The project is legacy so cannot be changed easily. But surely whenever a
window of change arises gradually breaking into smaller modules will help.
On Mon, Nov 22, 2010 at 7:31 PM, Ron Wheeler rwhee...@artifact-software.com
wrote:
If you can not reorganize your project, you
On Tue, Nov 23, 2010 at 9:49 AM, ilya.may...@ubs.com wrote:
Eric,
Let me elaborate on the issue. I cannot use profiles as it will create
only one distribution for me. I need to have the same compiled cod
bundled with different config files for DEV/QA/PROD. Is there are any
easy way to
Sticking with Ant is not a bad thing but making these changes will help
in the long run.
Ron
On 22/11/2010 9:50 PM, Kamran Yadav wrote:
Thanks everybody
The project is legacy so cannot be changed easily. But surely whenever a
window of change arises gradually breaking into smaller modules
I have set all those. but when I expand the maven dependencies. I do not see
the webServiceClient.jar in it.
any more suggestions?
--
View this message in context:
http://maven.40175.n5.nabble.com/problem-with-transitive-dependencies-tp3275330p3276360.html
Sent from the Maven - Users mailing
35 matches
Mail list logo