Do you mean that you want to weave in compiled aspects to two
different modules? If so, that's certainly possible. You are not using
aspect terminology which makes it a bit difficult to understand what
you actually want to achieve. But assuming I understood you correctly,
you'd be using post-compil
A project team has a set of classes that need to be instrumented two
different ways with AspectJ, one to work within a webapp and the
second to work standalone.
The classes are kept inside the webapp module, so processing them
during the build to produce the war works okay.
What's the best way to
> I haven't been able to narrow it down much further than this yet. I'm just
> completely baffled by this, and I wanted to see if anyone had heard of
> anything like this before.
This is a fun "bug" that we see on this list a couple times a year.
It happens when you've got the javax.servlet.* sou
The servlet-api should have provided in your dependency
declaration.
Ryan Stewart wrote:
> I have a maven project that depends on the servlet-api jar. For some reason,
> in the compile phase, it's putting the javax.servlet.* classes into
> target/classes. That is, after "mvn process-resources", ta
yes, but it's an ironic reference
Sent from my [rhymes with tryPod] ;-)
On 12 Jan 2010, at 21:52, Justin Edelson
wrote:
You realize that "Drink the Kool-Aid" has a negative connotation,
right?
Although now I'm going to be imagining a young Powers Booth playing
Jason in
"Maven: The Movi
I have a maven project that depends on the servlet-api jar. For some reason,
in the compile phase, it's putting the javax.servlet.* classes into
target/classes. That is, after "mvn process-resources", target/classes/javax
doesn't exist, but after "mvn compile", it does. There is no "javax" package
Ok I understand your answers. For this kind of problem you recommend a module
or a subproject (parent-child)? Maybe I don't have clear the difference
between the two...
Dana Lacoste wrote:
>
> I understand your desire for "not wanting things too complex" but, in
> maven, it's important to follo
You realize that "Drink the Kool-Aid" has a negative connotation, right?
Although now I'm going to be imagining a young Powers Booth playing Jason in
"Maven: The Movie".
On Tue, Jan 12, 2010 at 4:46 PM, Stephen Connolly <
stephen.alan.conno...@gmail.com> wrote:
> sounds like by not drinking the c
I understand your desire for "not wanting things too complex" but, in maven,
it's important to follow one simple rule:
Every pom.xml (maven project) _should_ produce exactly one file as a resulting
artifact
If you need two files (a .jar and a .war) then you need two pom.xml (maven
projects) a
sounds like by not drinking the coolaid and doing thinks the maven way
(separate project) you are making things more complex than necessary
Sent from my [rhymes with tryPod] ;-)
On 12 Jan 2010, at 21:34, Cecchi Sandrone
wrote:
Just to maintain the things not too complex. Furthermore, th
Just to maintain the things not too complex. Furthermore, the same behavior I
described is needed for XmlBeans class generation.
I have a set of classes generated from XSDs and I want to package them into
a jar and put it as a dependency of the project.
justinedelson wrote:
>
> Why do you want
Why do you want to do this? It seems like it'd be much simpler to have a
separate project to produce the web service client.
Justin
On Tue, Jan 12, 2010 at 4:24 PM, Cecchi Sandrone
wrote:
>
> Hi all,
> I have the following issue...
>
> The pom of my project is the following:
>
> artifactId: it.m
Hi all,
I have the following issue...
The pom of my project is the following:
artifactId: it.mega
groupId: streamer
version: 1.0.1
1) First of all I generate an Apache CXF web service client into folder
target/generated
2) Then I create an assembly (jar) containing the .class files
3) Next the
On Tue, Jan 12, 2010 at 2:18 PM, Sessizlik wrote:
>
> Ok sorry for mistake,
>
> Actually I wanted write build.properties. It is nothing than a normal
> property file.
>
> 1 ) I believe that such files should be in "/META-INF" path. But I want to
> be sure about this. Is it right path for it?
>
Ok sorry for mistake,
Actually I wanted write build.properties. It is nothing than a normal
property file.
1 ) I believe that such files should be in "/META-INF" path. But I want to
be sure about this. Is it right path for it?
2 ) If it is right directory, how can I configure my war plugin to
> 1 ) I do not know where my build.xml file should reside?
How could we possibly know where it should reside? What do you need to
do with that file?
> 2 ) If /META-INF/build.xml is correct, how can I configure my war plugin to
> put this file in right location.
/WEB-INF/classes/ will be on the c
Once you know the answer, the matrix is accurate but it is too
convoluted to be read by someone who does not know the answer already.
Each of the scopes (except for import) affects transitive dependencies
in different ways, as is demonstrated in the table below. If a
dependency is set to the s
Thanks Wayne,
you put me on the right path. I had to specify the dependency with
scope provided. In such way, inheritance works.
Hope this helps others
Ste
On Sat, Jan 9, 2010 at 1:45 AM, Wayne Fay wrote:
>> it looks like it works if the two classes are inside the same project,
>> but not if B i
Hi all,
I want to add version information and a few other timestamps such as latest
build number and so on...
IMHO it should reside in META-INF folder of the my root web application like
this:
/META-INF
/META-INF/build.xml
But when I put that file in my resource folder, it is becoming so
/
On Tue, Jan 12, 2010 at 10:32 AM, Ron Wheeler <
rwhee...@artifact-software.com> wrote:
> Anders Hammar wrote:
>
>> It should work if you specify scope of 'provided' on the grouping pom
>> dependency.
>>
>> /Anders
>>
>>
> To clarify your point, I understand that I should do the following:
> In the
Nope, you define scope as 'provided' for the lms-pom-shared pom. All those
transient dependencies will then become 'provided' as well. (However, they
should be declared as 'compile' in the actual pom.)
This matrix explains it all:
http://maven.apache.org/guides/introduction/introduction-to-depende
Is the problem that compiler:testCompile isn't running or that it doesn't
find your source files?
Justin
On Tue, Jan 12, 2010 at 4:21 AM, wrote:
> Hi,
>
> As part of automating Integration Tests for my project using, I am
> generating some source codes.
> To be specific i am using axistools wsd
Anders Hammar wrote:
It should work if you specify scope of 'provided' on the grouping pom
dependency.
/Anders
To clarify your point, I understand that I should do the following:
In the project pom.xml that creates the war file, I should reference the
shared pom as
com.artif
> Problem is: I have a war which should run Websphere and I also
> on jetty or tomcat. The war contains a business.jar, which holds Spring
> configuration, beans etc.
Instead of 2 profiles, I would make a few projects. One would be a
common WAR with the common elements. Then another WAR depending
John Ericksen wrote:
I have what might be a basic question, but I haven't been able to find a
way to accomplish it using Maven. The project I am working on
(Braintrain: http://code.google.com/p/braintrain/) uses Maven as the
build framework. What I want to do is basically unzip 2 zip files an
Hi,
i want to copy a resource. That works fine, as long as the file does not exist
in the target directory. But in this case the file has to exist in the target
directory and has to be overwritten. Here are the two relevant parts of my
pom.xml:
Integration of Resources-Plugin:
org.ap
Just another thing:
The fingerprint sha from central doesn't correspond to the jar I freshly deploy.
I had to change the order of repositories in public group in Nexus to shadow
central fingerprint.
Best Regards,
Vincent Hardion
Synchrotron Soleil
L'Orme des merisiers - Saint Aubin
BP48 - 91192
Yes, it is located in the pluginManagement section:
org.apache.maven.plugins
maven-resources-plugin
2.4.1
...
olamy-2 wrot
Hi,
Did you put this plugin configuration in pluginManagement section ?
2010/1/12 skanatiker :
>
> Thanks a lot for your quick reply, but unfortunately the file is still not
> being overwritten. Any other ideas?
>
>
> Entner Harald wrote:
>>
>> Hi,
>>
>>
>> try to set the ${maven.resources.overw
Hi,
I assume it's a basic question but I haven't found an suitable answer yet on
google/bing and the mail archive so maybe I'm completely on the wrong track. I
hope to receive some feedback.
Problem is: I have a war which should run Websphere and I also on jetty or
tomcat. The war contains a
Thanks a lot for your quick reply, but unfortunately the file is still not
being overwritten. Any other ideas?
Entner Harald wrote:
>
> Hi,
>
>
> try to set the ${maven.resources.overwrite} property.
>
> Eg.
>
>
> true
>
>
> Even this means that all resources are overwritten.
>
287 mb
OUCH !! :-)
2010/1/12 thobos :
>
> My war file has a size of 287 mb.
> set maven_opts: MAVEN_OPTS=-Xms512m -Xmx512m doesn't solve the problem
>
> Thanks
>
> --
> View this message in context:
> http://old.nabble.com/Maven-Depolyment-Tomcat-Java-Heap-Space-tp27125609p27126424.html
> Sent f
Hi,
try to set the ${maven.resources.overwrite} property.
Eg.
true
Even this means that all resources are overwritten.
I haven't tested the solution, so it is not sure that it is working that way
(even i'm pretty sure)
regards, harald
-Ursprüngliche Nachricht-
Von: sk
I'm confident of seeing this jar in a mirror of central.
We use a repository Manager (Nexus) which is managed only by myself, the local
repositories have never contained this jar I check it from backup
I don't know when it has been erased perhaps December 2009. We see it now
because we clean the
Hi,
i want to copy a resource. That works fine, as long as the file does not
exist in the target directory. But in this case the file has to exist in the
target directory and has to be overwritten. Here are the two relevant parts
of my pom.xml:
Integration of Resources-Plugin:
org.apac
It should work if you specify scope of 'provided' on the grouping pom
dependency.
/Anders
On Tue, Jan 12, 2010 at 14:00, Ron Wheeler
wrote:
> The grouping of dependencies partially works.
> I have not found the magic key to getting the dependencies in the
> dependency group to be "provided".
> S
Yes, each POM/project becomes a separate Eclipse project.
Did you try using internal?
You should really follow on with the m2eclipse user list:
http://m2eclipse.sonatype.org/project-information.html
-Original Message-
From: Maruf Aytekin [mailto:aayte...@gmail.com]
Sent: Tuesday, Janua
The grouping of dependencies partially works.
I have not found the magic key to getting the dependencies in the
dependency group to be "provided".
Since the jars in the dependency group are shared between all of the war
files and will be provided in in a shared Tomcat directory, I do not
want t
You need to use two phases for this.
Phase 1:
plugin1.goal1
plugin2.goal1
Phase 2:
plugin1.goal2
Two goals of the same plugin can't be split but has to be configured
together.
Related JIRAs:
http://jira.codehaus.org/browse/MNG-2258
http://jira.codehaus.org/browse/MNG-2784
/Anders
On Tue, Jan 12
Hello,
I wonder what is the correct way to specify/customize the order for
different plugins to execute their goals during a build phase?
I want the following order of execution during pre-integration-test
phase: plugin1.goal1, plugin2.goal1, plugin1.goal2. What is a correct
way to achieve this?
Thanks for the warning. I will try it. Maruf
On Tue, Jan 12, 2010 at 10:48 AM, Stephen Connolly
wrote:
> FYI
>
> system is deprecated
>
> You should really use a maven repository manager and deploy the
> artifacts there rather than use system scope
>
> 2010/1/12 Maruf Aytekin :
>> Hi Jeff
>>
>>
As you WAR file will be loaded in memory, you should increase to 1Gb.
Regards
Jeff MAURY
On Tue, Jan 12, 2010 at 12:48 PM, thobos wrote:
>
> My war file has a size of 287 mb.
> set maven_opts: MAVEN_OPTS=-Xms512m -Xmx512m doesn't solve the problem
>
> Thanks
>
> --
> View this message in contex
My war file has a size of 287 mb.
set maven_opts: MAVEN_OPTS=-Xms512m -Xmx512m doesn't solve the problem
Thanks
--
View this message in context:
http://old.nabble.com/Maven-Depolyment-Tomcat-Java-Heap-Space-tp27125609p27126424.html
Sent from the Maven - Users mailing list archive at Nabble.c
All right, the tests and patch is right there in JIRA [1]. Can anybody
take a look?
Thanks,
Aleksey.
[1] http://jira.codehaus.org/browse/MEAR-85
On Mon, Jan 11, 2010 at 7:37 PM, Aleksey Shipilev
wrote:
> Hi Wayne,
>
> On Mon, Jan 11, 2010 at 7:26 PM, Wayne Fay wrote:
>> Why not? There is no go
Hi John,
you might have a look at the dependency plugin (and there was a similar
question on the mailing list maybe two or three weeks ago)
Cheers,
Siegfried Goeschl
John Ericksen wrote:
> Hello,
>
> I have what might be a basic question, but I haven't been able to find
> a way to accomplish it
Please use mojo user list.
Two questions :
- what is the size of your war file ?
- what is the content of your env var MAVEN_OPTS ? (if not defined try
to increase memory : MAVEN_OPTS=-Xms512m -Xmx512m)
HTH,
--
Olivier
2010/1/12 thobos :
>
> Hi i want to deploy my application on Tomcat with Mave
Hi i want to deploy my application on Tomcat with Maven 2.0.
I think my pom.xml is correct.
When i enter "mvn tomcat:deploy" in the console, the deployment starts but i
get an Java Heap Space.
view plaincopy to clipboardprint?
1.
2. [INFO] Scanning for projects...
3. [INFO]
--
I am actually having a war project.
Steps I am doing are:
A.) process-resources phase unpack the war file and make all configurations for
its deployment.
B.) using cargo deploy it to tomcat
C.) using axistools generate wsdl2java. It uses http urls which can be invoked
once the war is deployed an
what's wrong with compiling in the test-compile phase?
2010/1/12 :
> Hi,
>
> As part of automating Integration Tests for my project using, I am
> generating some source codes.
> To be specific i am using axistools wsdl2java goal to generated stubs. I
> want to compile those and my client which re
Hi,
As part of automating Integration Tests for my project using, I am
generating some source codes.
To be specific i am using axistools wsdl2java goal to generated stubs. I
want to compile those and my client which references these stubs before
running integration tests. But now i dont know how i
FYI
system is deprecated
You should really use a maven repository manager and deploy the
artifacts there rather than use system scope
2010/1/12 Maruf Aytekin :
> Hi Jeff
>
> Thanks for the details. Our projetc is a multi module project and
> system scoped dependencies defined in parent pom.xml.
dependency:unpack or dependency:unpack-dependencies depending on how
you reference the artifact
2010/1/12 John Ericksen :
> Hello,
>
> I have what might be a basic question, but I haven't been able to find a way
> to accomplish it using Maven. The project I am working on (Braintrain:
> http://cod
Hi Jeff
Thanks for the details. Our projetc is a multi module project and
system scoped dependencies defined in parent pom.xml. When I followed
your steps plugin imported all sub projects as independent eclipse
projects. Is this the way it is suppossed to import multi module
projects? The problem
I think you maybe having the same problem as me.
It looks like when specifying a particular set of artifacts to include
in the shaded jar ...
groupId:artifactId
... it excludes the current package from the final shaded jar (which I
think is a bug, as its not shading it; rather th
Hello,
I have what might be a basic question, but I haven't been able to find a
way to accomplish it using Maven. The project I am working on
(Braintrain: http://code.google.com/p/braintrain/) uses Maven as the
build framework. What I want to do is basically unzip 2 zip files and
move the c
Hi
May I know if the Maven Ant's dependencies task supports version range?
For example instead of
I would like to specify version 3.0 or greater,
--
Hez
56 matches
Mail list logo