Works ok here :)
Non-authoritative answer:
Name:abstracthorizon.org
Address: 207.210.85.147
Aliases: www.abstracthorizon.org
- Original Message -
From: John Allen [EMAIL PROTECTED]
To: users@maven.apache.org
Sent: Wednesday, June 28, 2006 10:55 AM
Subject: Re: Proximity forum
Specification-Version.
Definitely not the VM as a different VM could build the same jar.
But for those artifacts that don't have any info in the manifest I tend to
make it up/take an educated guess :)
- Original Message -
From: Jeff Mutonho [EMAIL PROTECTED]
To: Maven Users List
You need to include
-DgeneratePom=true
when using install:install-file
Because you missed it out (easy to do), there is no local repo pom file so
mvn goes off to central and finds the pom, which then has the relocation
info in it for the jar.
If you re-run the install with the extra param
And now you're guilty of not providing a link or other ref for that thread
;-)
- Original Message -
From: TimHedger [EMAIL PROTECTED]
To: users@maven.apache.org
Sent: Wednesday, June 28, 2006 2:59 PM
Subject: Re: Getting the classpath right in a java plugin
I'm guilty of not
Oops, my mistake! Don't you just love Outlook Express :)
Viewing the message in text mode doesn't show the link. I wonder what else
I've missed :)
- Original Message -
From: TimHedger [EMAIL PROTECTED]
To: users@maven.apache.org
Sent: Wednesday, June 28, 2006 3:11 PM
Subject: Re:
I removed what you said. I only found 1.5.0_07 and now I get this:
...
Caused by: java.io.IOException: CreateProcess: CMD.EXE /X /C javac -d
Any problems running this from a Command Prompt?
-
To unsubscribe, e-mail: [EMAIL
Specify them as resources:
...
build
resources
resource
directorysrc/spring/context/directory
/resource
...
HTH :)
- Original Message -
From: Jeff Mutonho [EMAIL PROTECTED]
To: Maven Users List users@maven.apache.org
Sent: Thursday, June 22, 2006 3:34 PM
Subject: jarring non
Sent: Thursday, June 22, 2006 4:10 PM
Subject: Re: jarring non class files
On 6/22/06, Kieran Brady [EMAIL PROTECTED] wrote:
Specify them as resources:
...
build
resources
resource
directorysrc/spring/context/directory
/resource
...
HTH :)
Thanx.My build section in my pom reads
List users@maven.apache.org
Sent: Thursday, June 22, 2006 4:35 PM
Subject: Re: jarring non class files
On 6/22/06, Kieran Brady [EMAIL PROTECTED] wrote:
A1) Because you are specifying your source directory as 'src'. The
standard
is src/main/java (inherited from the super pom). This would treat
src
This should be:
mvn
install:install-file -DgroupId=JTKSortSuite -DartifactId=JTKSortSuite -Dversion=4.0
-Dfile=C:\branches\testApp\lib\JTKSortSuite_400.jar -Dpackaging=jar -DgeneratePom=true
but you should probably change your groupId/artifactId to something
different (e.g. groupId=JTK
I think this is your problem:
http://jira.codehaus.org/browse/ARCHETYPE-36
Seems it was fixed early this week so you may need to build it from source or
wait for the next release.
Thanks Felipe. Unfortunately, -U does not help. I even wiped out the entire m2
repository and tried from scratch.
Its 'release:prepare' and 'release:perform'
This is the best guide I know of:
http://apollo.ucalgary.ca/tlcprojectswiki/index.php/Public/Project_Versioning_-_Best_Practices
- Original Message -
From: EJ Ciramella [EMAIL PROTECTED]
To: Maven Users List users@maven.apache.org
Sent:
Hi Theo,
You're correct, that solution does require duplication but in our case its
only a couple of POMs so is manageable for the time being.
I believe that a profiles.xml may be the solution for multiple POMs but I
haven't yet had chance to test it out.
Kieran
- Original Message
Hi Iulia,
Checked it now and in the XML reports yes there is duplication (but not in
the text versions), looks like a bug!
Kieran
- Original Message -
From: Iulia Andreescu [EMAIL PROTECTED]
To: Maven Users List users@maven.apache.org
Sent: Friday, June 09, 2006 12:41 PM
Subject:
Sure! The below is from one of our webapps.
!-- ... --
build
resources
resource
directorysrc/main/resources/directory
/resource
resource
filteringtrue/filtering
directorysrc/main/resources/filtered/directory
/resource
resource
There is no CruiseControl plugin for Maven2 AFAIK, only for maven1.
You can just point your CC config.xml at a pom.xml and it will build it:
...
schedule
maven2 pomFile=path/to/pom.xml
goal=clean scm:update|install site time=0200/
/schedule
- Original Message -
From: shinjan sen
/8/06, Kieran Brady [EMAIL PROTECTED] wrote:
There is no CruiseControl plugin for Maven2 AFAIK, only for maven1.
You can just point your CC config.xml at a pom.xml and it will build it:
...
schedule
maven2 pomFile=path/to/pom.xml
goal=clean scm:update|install site time=0200/
/schedule
Something I would try would be adding those as dependencies to the surefire
plugin.
HTH
- Original Message -
From: Brown, Charles [EMAIL PROTECTED]
To: Maven Users List users@maven.apache.org; Maven Users List
users@maven.apache.org
Sent: Thursday, June 08, 2006 3:09 PM
Subject: RE:
Fred,
This kind of problem is generally solved using build profiles in Maven. The
'Better Builds with Maven' book covers this topic (free from
http://www.mergere.com/ ).
A good starting point is here:
http://maven.apache.org/guides/introduction/introduction-to-profiles.html
and here:
It is possible - th link below should help and its the ! operator which is
important (is this documented anywhere???) :
http://marc.theaimsgroup.com/?l=turbine-maven-userm=114834785006237w=2
I have used it such that if a certain property is not passed in, __or is
false__ (note the ! on the
Apparently Eclipse 3.2 supports nested projects so it looks like we'll have
to wait:
http://marc.theaimsgroup.com/?l=turbine-maven-userm=114774821906161w=2
- Original Message -
From: Veyret Stephane [EMAIL PROTECTED]
To: users@maven.apache.org
Sent: Monday, June 05, 2006 12:25 PM
I think this is what you're looking for:
this.getClass().getClassLoader().getResourceAsStream(...
http://marc.theaimsgroup.com/?l=turbine-maven-userm=114917325827653w=2
- Original Message -
From: Lyndon Washington [EMAIL PROTECTED]
To: users@maven.apache.org
Sent: Monday, June 05,
You need another parameter:
mvn
install:install-file -DgroupId=somegroup -DartifactId=someartifact -Dversion=1.0
-Dpackaging=jar -Dfile=./package.jar -DgeneratePom=true
- Original Message -
From: Eugeny N Dzhurinsky [EMAIL PROTECTED]
To: users@maven.apache.org
Sent: Friday, June
@maven.apache.org
Sent: Friday, June 02, 2006 2:10 PM
Subject: Re: mvn install:install
On Friday 02 June 2006 7:59 am, Kieran Brady wrote:
You need another parameter:
mvn
install:install-file -DgroupId=somegroup -DartifactId=someartifact
-Dversion=1.0 -Dpackaging=jar -Dfile=./package.jar -DgeneratePom
You'll need something like this in your POM:
finalNamelib/${artifactId}-${version}/finalName
and maybe you'll also need to create the lib directory.
- Original Message -
From: EJ Ciramella [EMAIL PROTECTED]
To: Maven Users List users@maven.apache.org
Sent: Friday, June 02, 2006
Does it work though? ;-)
Where Maven is concerned if it works, I'd use it.
- Original Message -
From: EJ Ciramella [EMAIL PROTECTED]
To: Maven Users List users@maven.apache.org
Sent: Friday, June 02, 2006 11:53 PM
Subject: RE: One more simple question
That would be a misuse of
Here you go:
http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/
- Original Message -
From: Jens Riboe [EMAIL PROTECTED]
To: Maven Users List users@maven.apache.org
Sent: Thursday, June 01, 2006 3:11 PM
Subject: RE: [m2] buildnumber-plugin
I use
this.getClass().getClassLoader().getResourceAsStream(...
rather than using the system classloader and it works in both Eclipse and
Maven.
HTH
- Original Message -
From: Martin Aspeli [EMAIL PROTECTED]
To: users@maven.apache.org
Sent: Thursday, June 01, 2006 3:38 PM
Subject:
I tried te build number plugins without any success as it didn't seem happy
to create a timestamp independently of SCM? I'm using CVS and it wasn't
happy with it..
Instead I have this horrible hack! Our Maven setup seems to be an ever
expanding collection of horrible hacks :-/
[...]
plugin
property in META-INF/ MANIFEST.MF
inside of test-1.0-SNAPSHOT.jar
J
On 31-May-06, at 1:17 AM, Kieran Brady wrote:
I tried te build number plugins without any success as it didn't seem
happy to create a timestamp independently of SCM? I'm using CVS and it
wasn't happy with it..
Instead I
This is what's putting your sources on the classpath:
resources
resource
directorysrc/directory
/resource
/resources
Resources are elements that are to be placed on the classpath.
HTH!
- Original Message -
From: Leo L [EMAIL PROTECTED]
To: Maven Users List
We're using the latest CruiseControl with Maven 2 successfully - no problem
configuring it. At the time I neeeded to implement a CI system back in
October, Continuum wasn't mature enough and I couldn't realistically put it
forward as an option as I couldn't get it to work :) I haven't tried
That version isn't in Ibiblio;
http://www.ibiblio.org/maven2/org/apache/maven/archetypes/maven-archetype-quickstart/
1.0-alpha-3 looks to be the latest one in there, try that instead.
Hope this helps.
Kieran
- Original Message -
From: Vitaly Berdinskikh [EMAIL PROTECTED]
To: 'Maven
You might want to take a gander at this page, which walks you through
the release process:
http://wiki.ucalgary.ca/page/LearningCommons/Documentation/
Project_Versioning_-_Best_Practices
J
Great document!
Bookmarked :)
Cheers,
Kieran
You don't have this in your pom, as suggested by Boris:
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdsurefire-report-maven-plugin/artifactId
/plugin
surefire-report-maven-plugin != maven-surefire-plugin
Hope this helps,
Kieran
- Original Message -
From:
We use the ant sql task to do this in the build section of the pom, in
conjunction with DBUnit tests:
build
plugins
plugin
artifactIdmaven-antrun-plugin/artifactId
dependencies
dependency
Hey everyone,
Hi.
Anyways, could someone point me in the direction of which plug-in to use to
do continuous integration?
Thanks,
Christian
I'm using a version of the following successfully with the latest CruiseControl
against multiprojects and also simple projects, build profiles and so
Hello list :)
We've recently moved from using XMLBeans 1 via the antrun plugin to using
the codehaus xmlbeans plugin for m2 and it has introduced a small problem
inside our JUnit XML reports in that they have two 'xml' declarations at the
top of the file:
[EMAIL
38 matches
Mail list logo