Hi Everyone,
Continuum extract into the same directory and builds the code, so is it
possible to configure a existing project in continuum so that it
delete the source code from working directory before extract the code for
the build.
--
-Gautham Pamu
Are you sure the plugin is for maven 2?
/Konstantin
On 4/6/06, mjohnsonaz74 [EMAIL PROTECTED] wrote:
I am trying to convert an existing and convoluted project at work to Maven
2
from an existing Ant build script. I'm starting to get the hang of
breaking
one large project into multiple
Sanjay Choudhary skrev:
Finally I was able to resolve this issue
On DOS if number of source files or classpath entries are too many we get an
error Line too Long and this breaks compiling using jdk1.3 using fork.
To shorten the options and source files to javac command we can use
javac
there is a exclusion element you could use as well.
from memory:
dependency
groupidhibernate/
artifactidhibernate/
version3.1/
exclusions
exclude
groupidcglib/
artifactidcglib/
/exclude
/exclusions
...
/Konstantin
On 4/6/06, Wesslan [EMAIL PROTECTED] wrote:
another solution is to use different parent poms. Have a parent pom defining
all you need for that certain type. Each type refers to the proper parent
pom. You can even have a master parent pom above those parent pom for things
that are equal for all types.
regards,
Wim
2006/4/7, Wayne Fay
Hi Carlos,
I now remove the
/home/gpamu/.m2/repository/org/codehaus/plexus/plexus-compiler/1.5.2/plexus-
compiler-1.5.2.pom but now it is failing with javac pom file.
[INFO] [antrun:run]
[INFO] Executing tasks
[INFO] Executed tasks
[INFO] [resources:resources]
[INFO] Using default encoding to
I´m by far any expert in the Maven source code, but as far as I
understand the implementation the repos
defined in your pom will be checked first. If your pom contains no repo
with the id central, the default repos
defined in the Super-POM pom-4.0.0.xml will be searched next. Then all
repos
What values are allowed for maven.junit.format beisdes brief? In
particular,
1. Is there something that only prints output for failing tests, or
prints no output at all?
2. Could someone please document this in the maven junit properties doc?
--
Elliotte Rusty Harold [EMAIL PROTECTED]
XML
The only other valid value in maven 1.x is plain, and the output can
be controlled by usefile. The same parameters are available in maven
2.x - but this sounds like a good thing to implement in our formatters
there.
I've updated the docs in SVN.
Cheers,
Brett
On 4/9/06, Elliotte Harold [EMAIL
Hi,
It takes the same values as the type argument of ant's junit task
formatter element [1], ie, either xml, plain, or brief. I will add a
note to the docs (as I'm actually working on a new release right now :) ).
-Lukas
[1] http://ant.apache.org/manual/OptionalTasks/junit.html
Elliotte
HiJakub,
I tried this mvn assembly:assembly -DdescriptorId=bin with mvn 2.0.3 version
and I getting this error.. do we need to specify something in my
pom.xmlfiles... I don't have any assembly configuration in my pom
[INFO] [assembly:assembly]
[INFO]
An interesting thought...
So you'd have:
project/pom.xml (packaging pom; modules jar, war, ear; parent ../pom.xml)
project/jar/pom.xml (packaging pom; module jar; parent ../pom.xml)
project/jar/jar/pom.xml (packaging jar; parent ../pom.xml)
project/war/pom.xml (packaging pom; module war; parent
Hi Everyone,
mvn eclipse:eclipse generates the .classpath and .project but for ejb, web
projects, it does not
add runtime variable like these to the .classpath. Is it possible to
customize the plugin in pom.xml so
that it adds these entries.
classpathentry kind=con path=
Hi Everyone,
Is it possible to customize eclipse plugin to add exported=true attribute
for dependencies that need to packaged in lib directory
for web projects.
classpathentry exported=true kind=var path=M2_REPO
--
-Gautham Pamu
From what I know it is only possible to add classpathContainer entry.
Check out :
http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html
On 4/8/06, Gautham Pamu [EMAIL PROTECTED] wrote:
Hi Everyone,
mvn eclipse:eclipse generates the .classpath and .project but for ejb, web
Yep,
We are using it like that in m1 (no profiles there, so no other choice).
When doing the conversion to m2, I created a build project with
build-base, build-jar, build-war, build-dll, ... all using pom packaging.
The conversion is still going on, but that is a different story :)
You don't need
I know this is also not a super-elegant solution, however, what about
activating profiles on the existance of files?
Such as, web.xml for a war, or application.xml for an EAR?
As I said, not the best, but it should save you from messing up your POM
hierarchy.
Eric
On 4/8/06, Wim Deblauwe
The problem is that the profile activation gets only evaluated once when the parent pom is
parsed (just tried it) so all approaches based on the evaluation of some criteria in a
subproject will fail (including the properties, packaging and marker file approaches).
We do it like Wim and have a
Jeff,
I have just been promoted admin on the sourceforge project, if you send
me your sf id, I will give you developper status. :)
Cheers,
Lukas
Jeff Jensen wrote:
Hello,
I made this RFE and patch in January, and am having no luck getting it
applied. Either no one is monitoring the SF
In another thread about Maven 1 [1] the idea of httpd- and
Tomcat-style releases came up, where a build is produced and numbered
x.x.x, and then it is later graded. Struts has also adopted this
style of test-build/release. And we're in the process of converting
the Struts Action 1 build to Maven
Can someone explain exactly how parent/relativePath works?
I thought that Maven would use relativePath first, before looking in
the local repository, but that's not what happens.
With this structure:
struts/current/pom/ -- struts-parent
struts/current/action -- struts-action-parent
An
Do the versions match? The order is
1) running in the reactor
2) relativePath (default ../pom.xml)
3) local repository
4) remote repository
However, the ids and version all must match.
- Brett
On 4/9/06, Wendy Smoak [EMAIL PROTECTED] wrote:
Can someone explain exactly how parent/relativePath
Give this a try with 2.0.2 and the 2.0.4 RC... I believe this was a
regression bug in 2.0.3. ;-)
Wayne
On 4/8/06, Wendy Smoak [EMAIL PROTECTED] wrote:
Can someone explain exactly how parent/relativePath works?
I thought that Maven would use relativePath first, before looking in
the local
Unfortunately the support for this is not going to be great. We don't
have any type of repository promotion (yet) for something already
released.
I'd suggest using profiles, but distributionManagement can't currently
be in a profile.
I think you should have your test repository somewhere as the
Hmmm maybe not, I think I'm thinking about another pom
path/interpolation issue, can probably ignore this comment...
Wayne
On 4/8/06, Wayne Fay [EMAIL PROTECTED] wrote:
Give this a try with 2.0.2 and the 2.0.4 RC... I believe this was a
regression bug in 2.0.3. ;-)
Wayne
On 4/8/06, Wendy
http://jira.codehaus.org/browse/MNG-740 related?
On 4/8/06, Wayne Fay [EMAIL PROTECTED] wrote:
Hmmm maybe not, I think I'm thinking about another pom
path/interpolation issue, can probably ignore this comment...
Wayne
On 4/8/06, Wayne Fay [EMAIL PROTECTED] wrote:
Give this a try with
On 4/8/06, Brett Porter [EMAIL PROTECTED] wrote:
I think you should have your test repository somewhere as the default
in the distributionManagement and deploy there, and when you decide to
promote it, check out the tag, modify the pom, and deploy it again.
This will rebuild the artifacts
On 4/8/06, Brett Porter [EMAIL PROTECTED] wrote:
Do the versions match? The order is
1) running in the reactor
2) relativePath (default ../pom.xml)
3) local repository
4) remote repository
However, the ids and version all must match.
Yes, the versions match:
28 matches
Mail list logo