RE: Continuum doesnot provide continous integration !!

2007-09-05 Thread Cort, Tom
Ibrahim,

From what you wrote, it looks like you want continuum to build the project
_before_ you commit it to subversion, right?Continuum looks at the scm/ part
of your pom.xml to find the project source code. Continuum checks out the source
code from the subversion repository because that is what you have listed under
the scm/ element in you pom.xml.

Perhaps you might try using the 'local' SCM Implementation with the path to your
files instead of 'svn'. Details on using 'local' are available here:
http://maven.apache.org/scm/local.html *Caution* 'local' is listed as Partially
implemented on the website, so this solution may not work.

-Tom

| -Original Message-
| From: David Roussel [mailto:[EMAIL PROTECTED]
| Sent: Wednesday, September 05, 2007 1:16 PM
| To: continuum-users@maven.apache.org
| Subject: Re: Continuum doesnot provide continous integration !!
| 
| Ibrahim,
| 
| It's not very clear what you mean.  Could you give a more detailed
| example of what you would like?
| 
| David
| 
| On 5 Sep 2007, at 14:54, albateos wrote:
| 
| 
| Hi,
| 
| I'm new with continuum and using 1.1 BETA version. I'm using pom.xml
| files
| for adding new projects to the continuum. But continuum dont use this
| pom.xml files instead of this files uses pom.xml files in SCM (we are
| using
| subversion for SCM). This dont provide continous integration.
| 
| In this case i want to change our subproject versions without any
| changes in
| SCM. For example parent project uses 20070904 version of subproject1 in
| pom.xml in SCM.But while using Continuum i want to change parent project
| uses this date version of subproject1. And this date version of
| subproject
| is produced with Continuum. As sequence firstly i want to prepare
| this date
| version of subprojects and parent project uses this prepared project
| at the
| end. How can i do this??
| 
| Any ideas ??
| 
| Thanks,
| Ibrahim
| 
| 
| --
| View this message in context: http://www.nabble.com/Continuum-doesnot-
| provide-continous-integration-%21%21-tf4384227.html#a12498532
| Sent from the Continuum - Users mailing list archive at Nabble.com.
| 



smime.p7s
Description: S/MIME cryptographic signature


RE: Example of setting up a maven 2 J2ee project

2007-09-04 Thread Cort, Tom
http://maven.apache.org/plugins/maven-archetype-plugin/examples/j2ee-sim
ple.html

| -Original Message-
| From: Eric Wood [mailto:[EMAIL PROTECTED]
| Sent: Tuesday, September 04, 2007 11:22 AM
| To: users@maven.apache.org
| Subject: Example of setting up a maven 2 J2ee project
| 
| Folks:
| 
| I'm new to maven and I'm looking for a good reference to how to set up
a
| j2ee application using maven 2.0.  Are there and good documents or
| examples out there that I could use to get started?
| 
| Eric

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[ANN] Maven HAR SAR Plugins Archetypes 0.9 Released

2007-08-29 Thread Cort, Tom
The Vermont Department of Taxes is pleased to announce the initial release
of maven-har-plugin, maven-sar-plugin, maven-archetype-har, and
maven-archetype-sar.

maven-har-plugin - http://maven-har.sf.net/
This plugin generates Hibernate Archive (HAR) files.

maven-sar-plugin - http://maven-sar.sf.net/
This plugin generates JBoss Service Archive (SAR) files.

Documentation for maven-archetype-har and maven-archetype-sar can be found
at the following URLs:
http://maven-har.sf.net/examples/using-maven-archetype-har.html
http://maven-sar.sf.net/examples/using-maven-archetype-sar.html

--
Tom Cort
Systems Developer
Vermont Department of Taxes



smime.p7s
Description: S/MIME cryptographic signature


RE: [ANN] Maven HAR SAR Plugins Archetypes 0.9 Released

2007-08-29 Thread Cort, Tom
 Could you add their information to this page:
 http://docs.codehaus.org/display/MAVENUSER/Archetypes+List

Done.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Macros for extracting information from pom.xml?

2007-08-22 Thread Cort, Tom
Hello,

Are there any macros or special characters that can be used in xdoc or apt
documents to pull in values from pom.xml? I'm trying to create a download
page for a project, and I'd like to reference the version element from
pom.xml in an apt or xdoc file so that I don't have to update the download
page for each release. Here's an example of what I'm looking to do...

a href=downloads/myapp-${version}.tar.bz2Download MyApp
${version}/a

The only thing close to this that I could find are Doxia macros. I'm willing
to write my own macro to extract values from pom.xml, but I thought I'd
check if there was another way to do it before I started coding.

--
Tom Cort
Systems Developer
Vermont Department of Taxes


smime.p7s
Description: S/MIME cryptographic signature


RE: Remote respository

2007-08-15 Thread Cort, Tom
You can define a repository in the distributionManagement part of pom.xml.
When you want to upload the jar file to the repository, just run mvn
deploy. In the example below, maven will upload the artifacts with scp
(secure copy) to /var/www/maven on gateway-demo.osuosl.org.

project
[...]
  distributionManagement
repository
  idrepository/id
  nameRepository/name
  urlscp://gateway-demo.osuosl.org/var/www/maven//url
/repository
  /distributionManagement
[...]
/project

To tell maven to use the repository when it looks for dependencies, add a
repository entry to pom.xml

project
[...]
  repositories
repository
  idvt-repo/id
  nameVermont Repository/name
  urlhttp://gateway-demo.osuosl.org/maven/url
  releases
enabledtrue/enabled
  /releases
/repository
  /repositories
[...]
/project

--
Tom Cort
Systems Developer
Vermont Department of Taxes


smime.p7s
Description: S/MIME cryptographic signature


Packaging .har files for JBoss

2007-08-15 Thread Cort, Tom
Hi,

I'm converting an Ant built system to Maven for a JavaEE project[1] I'm
working on, and I'm having problems building the HAR[2] (hibernate[3]
archive). For those not familiar with HARs, a .har file is just a re-named
.jar with some jboss specific and hibernate specific configuration files in
it.

I found the harModule element for maven-ear-plugin to include HAR files in
an EAR, but I can't find how to package the HAR itself. Has anyone done this
before, or can someone point me to a website or pom.xml that explains or
demonstrates this? Using packaginghar/packaging doesn't work
automagically and I haven't been able to find much with Google.

Thanks!

--
Tom Cort
Systems Developer
Vermont Department of Taxes

[1] gateway
http://gateway.sf.net

[2] Hibernate Archive
http://docs.jboss.org/jbossas/jboss4guide/r3/html/ch13.html
http://www.ubookcase.com/book/Sams/JBoss.4.0.The.Official.Guide/0672326485/c
h13lev1sec2.html

[3] Hibernate
http://hibernate.org




smime.p7s
Description: S/MIME cryptographic signature