I believe that the parameters like heap size is only read at JVM initalizing
phase. I guess one cannot change the heap size at run time. This prevents
JVM from using up all of system's memories. -Xmx1050m
-XX:MaxPermSize=128M is obviously ONLY for the forked JVM
related spawned for surefire plugin
Hello all,
I am current using maven-filtering-beta-1 & 2 to interpolate
@{variable} so here is the codesnip
// support @{} izpack ant format
mavenResourcesExecution.addFilerWrapper( new MavenProjectValueSource(
project, true ), "\\@", "(.+?)\\}", "@{", "}" );
The real source is at
http://svn.cod
I've been spending some time trying to get my head around the way
version resolution works in 2.0.9.
I'm trying to get a sense for the best way to use maven to achieve our
objectives:
1. Builds on our CI server that were working should not break unless
someone commits a change - in particular ne
Good Evening Zhou-
fairly intuitive to see the new params acting as an initial configuration for
forked jvm's
but admittedly cannot see how the jvm parameters such as what is identified here
-Xmx1050m -XX:MaxPermSize=128Mbeing used in the current VM
would be used to 'reconfigure' the current jv
I've discovered one solution that worked for me.
I don't know if I have a different problem than was mentioned here, but it
was the same error.
I did have the same issues mentioned in this thread and tried all sorts of
subversion client's.
Try fixing the scm configuration first to point to the co
Thanks,
I will try that. Currently I am trying always. It
works. But very very slow. We have over a thousand tests.
Regards,
Jack
On Fri, Oct 3, 2008 at 4:15 PM, Matthew McCullough <
[EMAIL PROTECTED]> wrote:
>
> You may need to increase the memory used by the surefire jvm if it is set
> to
> fo
In short, no.
Wayne
On Fri, Oct 3, 2008 at 4:25 PM, emma.sender <[EMAIL PROTECTED]> wrote:
>
> Hi, I'm trying to migrate a project to maven that has all the .jars in a lib
> folder relative to the project root folder, and I don't want to have to
> specify every .jar in a element... Is there a wa
Hi, I'm trying to migrate a project to maven that has all the .jars in a lib
folder relative to the project root folder, and I don't want to have to
specify every .jar in a element... Is there a way to include
lib/*.jar in the classpath?
--
View this message in context:
http://www.nabble.com/M
Hi, I'm trying to migrate a project to maven that has all the .jars in a lib
folder relative to the project root folder, and I don't want to have to
specify every .jar in a element... Is there a way to include
lib/*.jar in the classpath?
--
View this message in context:
http://www.nabble.com/M
Try filling in a bit more in your xml file.
Also use the information at
http://maven.apache.org/plugins/maven-assembly-plugin/usage.html and go down
to the example below the heading "Normal Assemblies" to see how the pom
should look.
Your parts should look like this:
src/m
I think the following might get you on the right track, though they may not
be precisely what you are seeking:
1) http://code.google.com/p/maven-license-plugin/
2) http://mojo.codehaus.org/rat-maven-plugin/
-Matthew McCullough
bshepherd wrote:
>
> I have a requirement to determine all depende
You may need to increase the memory used by the surefire jvm if it is set to
fork.
Here's a config example:
org.apache.maven.plugins
maven-surefire-plugin
2.3
**/*Test.java
once
I'm curious if the Assembly plugin is capable of creating a tar file similar
to the following command:
find * ! -type d | tar zcvfT $TARFILE -
if you exec 'tar ztvf myAssembly.tar.gz' you will see that directories are
listed in the tar file. if you create a tar w/ the above command, you will
no
Hello,
When I run a test, (mvn test) out of memory happens when run one of the unit
test case methed :
java.lang.OutOfMemoryError: Java heap space
[INFO]
[INFO] Total time: 1 minute 20 seconds
[INFO] Finished at: Fri Oct 03 1
The reply from James @ Atlassian provided the SVN trunk url:
https://svn.atlassian.com/svn/public/atlassian/maven-plugins/maven-licenses-plugin/trunk/
I haven't done it, but I imagine you can check out the code and
build/install/use it pretty easily.
Wayne
On Fri, Oct 3, 2008 at 11:47 AM, bsheph
i've managed to work around by hardcoding in the three or four provided scope
deps.
should i create a jira issue for this?
will vuong wrote:
>
> yes, i've tried changing it to use the runtime scope and it looks like
> everything in the runtime scope is copied to the directory.
>
>
>
> Brett
I can follow the link in my browser, but how do you check out the code so I
can build it. It sounds exactly what I need.
Thanks
Keith Bonawitz-2 wrote:
>
> Is there a way to create an assembly that includes a license file for
> each dependency (including transitive dependencies)?
>
> Thanks,
>
Hi Trevor,
documentation lacks a lot of explanations, but looking at the code it
seems like :
- If commandLineArgs is specified, it will be used as is, except for
replacing %classpath with proper classpath using dependencies
- Otherwise if the property exec.args is specified, it will be used
- Othe
I have a requirement to determine all dependencies used in our project and
determine what licenses are used. When I use the site:site/site:deploy goals
I can select the Dependencies link for reports and get a License section
that looks like the following:
Licenses
SILENTWIRE License 1.0: Sil
Nahhh much easier
mvn -N install
in the directory where your root pom is...
that will restrict the build to the current pom only and not build the
child modules
2008/10/3 webhiker <[EMAIL PROTECTED]>:
>
> OK, so that's not the issue I was trying to discuss then.
> But for those who had the same
I would like to add a dependency to my maven project but have it
included WITHOUT the version tag. I am currently running into problems
where the comm.jar (javax.comm) library needs to be exactly named that
way and cannot be named comm-2.0.3.jar or some other thing because
otherwise it fails. This
OK, so that's not the issue I was trying to discuss then.
But for those who had the same problem as I did, I have a solution :
if you have the following structure :
pom.xml
child-project1\pom.xml
child-project2\pom.xml
If you add in the depManagement to the root pom, the others will not work
(i
Thanks Stephen for explaining! Makes lots of sense!!!
Sonia
Stephen Connolly-2 wrote:
>
> you are working for ericsson... so com.ericsson.what.ever.you.want
>
> Or if you are working on a project hosted on dev.java.net you'd use
> net.java.dev.projectname
>
> It's just like package names i
I think you are mis-interpreting what I said.
You have the following structure
/pom.xml (agregator)
+suite/pom.xml (the suite dependencies)
+client/pom.xml (the client thing we are building)
+web/pom.xml (the web ting we are building)
If you have only one corporate pom (not shown on the tree)
In the exec:java goal, what is the difference between and
? The documentation says:
arguments: The class arguments
commandlineArgs: Arguments for the executed program
The difference still isn't clear to me.
Trevor
-
To uns
I have just remeber my problems with this: in many cases you define the
versions with DepencyManagement in a parent POM to align them in all the
modules, but, for one child (or via import scope) module you want them to be
provided beacause other module provides them. Then, in your child pom you
do
Here's an excerpt from Maven docs about how it should work :
dependencyManagement: is used by POMs to help manage dependency information
across all of its children. If the my-parent project uses
dependencyManagement to define a dependency on junit:junit:4.0, then POMs
inheriting from this one can
Stephen, I don't think you are correct, it IS supposed to be used that way,
and that's what all the Maven documentation lists as examples and operating
behaviour :
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html
I'm having the exact same issue. Using identic
Check out the multiproject plugin:
http://maven.apache.org/maven-1.x/using/multiproject.html
http://maven.apache.org/maven-1.x/plugins/multiproject/
HTH,
-Lukas
[EMAIL PROTECTED] wrote:
I am trying to run maven.xml from another maven.xml - is it possible? Here
is the directory structure that
youhaodeyi wrote:
>
> I didn't define the scope. It should be the default value.
Then something is wrong with your POM for P2 ...
>
> Wendy Smoak-3 wrote:
>>
>> On Thu, Oct 2, 2008 at 7:56 PM, youhaodeyi <[EMAIL PROTECTED]> wrote:
>>> I set up a maven project "P1" which depends on the project
I didn't define the scope. It should be the default value.
Wendy Smoak-3 wrote:
>
> On Thu, Oct 2, 2008 at 7:56 PM, youhaodeyi <[EMAIL PROTECTED]> wrote:
>> I set up a maven project "P1" which depends on the project "P2". P2
>> includes
>> several dependencies which are used in P1. In this case,
31 matches
Mail list logo