resources in an ant plugin

2007-11-19 Thread Ben Tatham

Hello,
I have a maven plugin, written in ant.  I want to include resources in 
it that I can then use during the run of the plugin.  If it were a java 
mojo, I could get the resource directly out of the classpath (from the 
jar).  But in an ant plugin...I have no idea.


But how can I do this?  I have been using the maven-dependency-plugin to 
to get it from some other artifact, but that is very messy...I want it 
all self-contained in the same plugin.  Looking at the maven-ant-tasks, 
it doesn't seem that easy to do the equivalent (even on "myself", ie the 
plugin itself). 


Any ideas?

Thanks in advance,
Ben

PS If you want details...
Specifically, I have a makefile that I need to use in multiple other 
projects, and I want to put it in the plugin.  I then copy to a remote 
build machine, and call make remotely on it.  Its for an embedded java 
enviroment (with gcj).



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



Re: dependency plugin and version

2007-11-19 Thread deckrider
Hmm, I'm having trouble getting 'unpack-dependencies' to work the way
I want.  It seems that much more is included in my war file than
'unpack' would give (and unpack would give exactly what I wanted).

Originally I was trying to follow this:

http://mojo.codehaus.org/webstart-maven-plugin-parent/webstart-maven-plugin/examples/war_bundle_1.html

But I would like to use <= 8.0.0 rather than hard coding 8.1.3 and
incrementing for each version.

On Nov 19, 2007 3:00 PM, Brian E. Fox <[EMAIL PROTECTED]> wrote:
> The dependency plugin doesn't support versions in the copy/unpack goals.
> You could try the unpack-dependencies goal instead since that allows
> maven core to resolve it. You would then use the filters to get only the
> file you want.
>
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
> deckrider+mvn
> Sent: Monday, November 19, 2007 2:25 PM
> To: users@maven.apache.org
> Subject: dependency plugin and version
>
> Hi, is there a way I can change version below to take the latest
> greater than 8.0.0 instead of hard-coding the version as I do below?
> I tried using:  "[8,)" but that did not work.
>
>   
> org.codehaus.mojo
> dependency-maven-plugin
> 
>   
> 
> process-resources
> 
>   unpack
> 
>   
> 
> 
>   
> 
>   com.vzb.impact
>   webstart-test
>   8.1.2
>   zip
> 
>
> ${project.build.directory}/${project.build.finalName} outputDirectory>
> 
>   
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
ASCII ribbon campaign:
()  against HTML email
/\  against Microsoft attachments
Information:  http://www.expita.com/nomime.html

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



Re: dependency plugin and version

2007-11-19 Thread deckrider
Ok, I got this to include only what I want by changing the phase from
'process-resources' to 'package'.  However, because of the
dependencies, the jars are placed under WEB-INF/lib in the war file,
which is not correct.

On Nov 19, 2007 3:53 PM, deckrider <[EMAIL PROTECTED]> wrote:
> Hmm, I'm having trouble getting 'unpack-dependencies' to work the way
> I want.  It seems that much more is included in my war file than
> 'unpack' would give (and unpack would give exactly what I wanted).
>
> Originally I was trying to follow this:
>
> http://mojo.codehaus.org/webstart-maven-plugin-parent/webstart-maven-plugin/examples/war_bundle_1.html
>
> But I would like to use <= 8.0.0 rather than hard coding 8.1.3 and
> incrementing for each version.
>
>
> On Nov 19, 2007 3:00 PM, Brian E. Fox <[EMAIL PROTECTED]> wrote:
> > The dependency plugin doesn't support versions in the copy/unpack goals.
> > You could try the unpack-dependencies goal instead since that allows
> > maven core to resolve it. You would then use the filters to get only the
> > file you want.
> >
> >
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
> > deckrider+mvn
> > Sent: Monday, November 19, 2007 2:25 PM
> > To: users@maven.apache.org
> > Subject: dependency plugin and version
> >
> > Hi, is there a way I can change version below to take the latest
> > greater than 8.0.0 instead of hard-coding the version as I do below?
> > I tried using:  "[8,)" but that did not work.
> >
> >   
> > org.codehaus.mojo
> > dependency-maven-plugin
> > 
> >   
> > 
> > process-resources
> > 
> >   unpack
> > 
> >   
> > 
> > 
> >   
> > 
> >   com.vzb.impact
> >   webstart-test
> >   8.1.2
> >   zip
> > 
> >
> > ${project.build.directory}/${project.build.finalName} > outputDirectory>
> > 
> >   
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
>
> --
> ASCII ribbon campaign:
> ()  against HTML email
> /\  against Microsoft attachments
> Information:  http://www.expita.com/nomime.html
>



-- 
ASCII ribbon campaign:
()  against HTML email
/\  against Microsoft attachments
Information:  http://www.expita.com/nomime.html

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



Running mvn on modules affected by a change

2007-11-19 Thread Jean-Sebastien Delfino

Hi,

I'm working on a multimodule project and after making a change in a 
module X, I would like to do the following:


- mvn clean install on all modules in the project that have compile 
dependencies on X;


- mvn test on all modules in the project that have runtime and test 
dependencies on X.


Any idea of how I can automate that process? Is there any plugin or 
product integrated with Maven that will help me do that?


Thanks
--
Jean-Sebastien

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



Re: New Maven integration for Eclipse project proposed to the Eclipse Foundation

2007-11-19 Thread Carlos Sanchez
btw to use the newsgroup you need to register at
http://www.eclipse.org/newsgroups/register.php

On Nov 19, 2007 12:43 PM, Carlos Sanchez <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm proud to say that a new project proposal has been approved at the
> Eclipse Foundation to add Maven integration into the Eclipse IDE as an
> official Eclipse project.
> The proposal is called Eclipse Integration for Apache Maven (Eclipse
> IAM) http://www.eclipse.org/proposals/iam/ and is the first step to
> become a project. It's based in the work taking place in Q4E
> http://code.google.com/p/q4e/
>
> Over the next month discussions about the creation will happen in the
> newsgroup at
> server: news.eclipse.org
> group: eclipse.technology.iam
> or at 
> http://www.eclipse.org/newsportal/thread.php?group=eclipse.technology.iam
>
> The discussions will have as objective gathering the community
> interested in having the project in the Eclipse Foundation and finding
> two mentors from the Eclipse Architecture Council
> http://www.eclipse.org/org/foundation/council.php#architecture
>
> When ready, we can go through the creation review process.
>
> If you are interested, please join the newsgroup as community interest
> is crucial for the proposal to become a project.
>
> Thanks
>



-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

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



RE: Maven2 - deploy archive to server?

2007-11-19 Thread Brian E. Fox
You can use the dependency:copy or unpack to get your file out of the
repo and drop it or unpack it...much simpler than using ant.

-Original Message-
From: Simon Taylor [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 19, 2007 6:32 PM
To: Maven Users List
Subject: RE: Maven2 - deploy archive to server?


This is the exact same question I was asking a few weeks ago.
Now I may have misunderstood how things are meant to work but this is
how I see it:-

1) Developers check out source code from Source Code Repository
(including the POM)
2) Maven build + test locally
3) Make your changes then commit to SCC (possibly using the mvn
release-plugin)
4) Deploy to Maven Repository - optionally use an Assembly to build a
distribution containing non-build components (shell scripts, html read
me etc)
5) Consume the resource from the Repository - since the repository is
HTTP accessible its easy to access your dist from wget OR via an ant
script using the maven ant tasks if you want the install to traverse the
dependency for your dist (if you didn't use the assembly to pull all the
dependencies into the dist

We deploy to a filesystem so the Cargo Plugin didn't fit with what were
trying to achieve.

This is an example ant build.xml which accesses a Maven repository and
grabs artifact com.nortel.RemedySLAFormula version 1 it copies the jar
and dependencies into target/files/binaries. For more go here
(http://maven.apache.org/ant-tasks.html)

It's a rudimentary start but you get the idea.



  




  

  


  
  http://hardgwd01:7680/maven_repo";
id="NortelToolsRepo" />



  
   


   

 
HTH

Simon


-Original Message-
From: kroe [mailto:[EMAIL PROTECTED] 
Sent: 19 November 2007 22:58
To: users@maven.apache.org
Subject: Maven2 - deploy archive to server?


Our applications are deployed to internal servers - either to JBoss as a
web application or to a directory on a specified server for exection by
a scheduling system.  We have development, staging, and production
environments that we need the ability to deploy to consistenly and
easily.

Maven's usage of the word "deploy" clashes with how I have always
thought of "deploy".  Maven's deploy plug-in outputs to an artifact
repository.  Is this the end of the line for the maven life cycle, or is
there a plug-in that allows you to transfer the artifact to a
development, staging, or production server based on the profile set?  If
this is not supported by Maven, how are the rest of you distributing
your artifacts for execution?

Thanks,
-Ken
--
View this message in context:
http://www.nabble.com/Maven2---deploy-archive-to-server--tf4840083s177.h
tml#a13847417
Sent from the Maven - Users mailing list archive at Nabble.com.


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


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


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



RE: Maven2 - deploy archive to server?

2007-11-19 Thread Simon Taylor

This is the exact same question I was asking a few weeks ago.
Now I may have misunderstood how things are meant to work but this is
how I see it:-

1) Developers check out source code from Source Code Repository
(including the POM)
2) Maven build + test locally
3) Make your changes then commit to SCC (possibly using the mvn
release-plugin)
4) Deploy to Maven Repository - optionally use an Assembly to build a
distribution containing non-build components (shell scripts, html read
me etc)
5) Consume the resource from the Repository - since the repository is
HTTP accessible its easy to access your dist from wget OR via an ant
script using the maven ant tasks if you want the install to traverse the
dependency for your dist (if you didn't use the assembly to pull all the
dependencies into the dist

We deploy to a filesystem so the Cargo Plugin didn't fit with what were
trying to achieve.

This is an example ant build.xml which accesses a Maven repository and
grabs artifact com.nortel.RemedySLAFormula version 1 it copies the jar
and dependencies into target/files/binaries. For more go here
(http://maven.apache.org/ant-tasks.html)

It's a rudimentary start but you get the idea.



  




  

  


  
  http://hardgwd01:7680/maven_repo";
id="NortelToolsRepo" />



  
   


   

 
HTH

Simon


-Original Message-
From: kroe [mailto:[EMAIL PROTECTED] 
Sent: 19 November 2007 22:58
To: users@maven.apache.org
Subject: Maven2 - deploy archive to server?


Our applications are deployed to internal servers - either to JBoss as a
web application or to a directory on a specified server for exection by
a scheduling system.  We have development, staging, and production
environments that we need the ability to deploy to consistenly and
easily.

Maven's usage of the word "deploy" clashes with how I have always
thought of "deploy".  Maven's deploy plug-in outputs to an artifact
repository.  Is this the end of the line for the maven life cycle, or is
there a plug-in that allows you to transfer the artifact to a
development, staging, or production server based on the profile set?  If
this is not supported by Maven, how are the rest of you distributing
your artifacts for execution?

Thanks,
-Ken
--
View this message in context:
http://www.nabble.com/Maven2---deploy-archive-to-server--tf4840083s177.h
tml#a13847417
Sent from the Maven - Users mailing list archive at Nabble.com.


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


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



Re: Maven2 - deploy archive to server?

2007-11-19 Thread Dennis Lundberg

Have a look at the Cargo Maven2 plugin:
  http://cargo.codehaus.org/Maven2+plugin

kroe wrote:

Our applications are deployed to internal servers - either to JBoss as a web
application or to a directory on a specified server for exection by a
scheduling system.  We have development, staging, and production
environments that we need the ability to deploy to consistenly and easily.

Maven's usage of the word "deploy" clashes with how I have always thought of
"deploy".  Maven's deploy plug-in outputs to an artifact repository.  Is
this the end of the line for the maven life cycle, or is there a plug-in
that allows you to transfer the artifact to a development, staging, or
production server based on the profile set?  If this is not supported by
Maven, how are the rest of you distributing your artifacts for execution?

Thanks,
-Ken



--
Dennis Lundberg

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



Maven2 - deploy archive to server?

2007-11-19 Thread kroe

Our applications are deployed to internal servers - either to JBoss as a web
application or to a directory on a specified server for exection by a
scheduling system.  We have development, staging, and production
environments that we need the ability to deploy to consistenly and easily.

Maven's usage of the word "deploy" clashes with how I have always thought of
"deploy".  Maven's deploy plug-in outputs to an artifact repository.  Is
this the end of the line for the maven life cycle, or is there a plug-in
that allows you to transfer the artifact to a development, staging, or
production server based on the profile set?  If this is not supported by
Maven, how are the rest of you distributing your artifacts for execution?

Thanks,
-Ken
-- 
View this message in context: 
http://www.nabble.com/Maven2---deploy-archive-to-server--tf4840083s177.html#a13847417
Sent from the Maven - Users mailing list archive at Nabble.com.


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



ant tasks and pom properties

2007-11-19 Thread Kevin Stembridge
Hi all,
Is it possible for the ant tasks to read in arbitrary pom.xml
properties?

I'm not having any trouble getting at the normal properties that are
part of the POM schema (project.version, project.build.directory etc)
but I can't read in any properties that I define in a  tag. 

Is this supposed to be possible?

Thanks for any help.
Kevin


RE: dependency plugin and version

2007-11-19 Thread Brian E. Fox
The dependency plugin doesn't support versions in the copy/unpack goals.
You could try the unpack-dependencies goal instead since that allows
maven core to resolve it. You would then use the filters to get only the
file you want.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
deckrider+mvn
Sent: Monday, November 19, 2007 2:25 PM
To: users@maven.apache.org
Subject: dependency plugin and version

Hi, is there a way I can change version below to take the latest
greater than 8.0.0 instead of hard-coding the version as I do below?
I tried using:  "[8,)" but that did not work.

  
org.codehaus.mojo
dependency-maven-plugin

  

process-resources

  unpack

  


  

  com.vzb.impact
  webstart-test
  8.1.2
  zip

 
${project.build.directory}/${project.build.finalName}

  

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


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



RE: Using Custom Developed Checkstyle Check Modules

2007-11-19 Thread Brian E. Fox
It's possible that checkstyle is ignoring that jar for some other
reason. I have used jars that contain custom rulesets both as an
extension and a dependency and that works ok.

-Original Message-
From: DanBarker85 [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 19, 2007 6:01 AM
To: users@maven.apache.org
Subject: RE: Using Custom Developed Checkstyle Check Modules


Thanks for your response.  Adding the jar as an extension in the build
was
the original option I chose, as was detailed in the Maven tutorial.  I
think
i've tried all combinations, but maybe it doesn't find the jar file 

> [ERROR] Unable to process package names location:
> com/name/maven/checks/packagenames.xml
> java.io.IOException: Unable to find location
> 'com/name/maven/checks/packagenames.xml' as URL, File or Resource.

When I generate the jar file the META-INF folder isn't generated so
maybe
that is the problem.

Thanks
Daniel


Brian E Fox wrote:
> 
> I seem to recall now that you mention it (but can't check...on a
plane)
> that the reporting section doesn't have an element for plugins. In
this
> case, adding your jar as an  to the build should do it.
Just
> keep in mind that this is being deprecated in mvn 2.1, but it will
work
> for now (and is the only choice given the reporting bug)
> 
> --Brian
> 
> -Original Message-
> From: DanBarker85 [mailto:[EMAIL PROTECTED] 
> Sent: Friday, November 16, 2007 12:14 PM
> To: users@maven.apache.org
> Subject: RE: Using Custom Developed Checkstyle Check Modules
> 
> 
> I'm not sure if i've done that correctly but i've tried adding it to
my
> plugin.  Firstly I added to
> 
> ...
>   
> org.apache.maven.plugins
> maven-checkstyle-plugin
> 
>
src/site/resources/cust_conf.xml
> 
>
com/name/maven/checks/packagenames.xml esLocation>
> 
> 
>  
>   
>   com.name.maven.checks
>   name-maven-checks
>   1.0
>   
> 
> And it didn't like the dependencies or dependency elements...
> 
> Then I added an element to the build tag, and added the dependencies
> tag, it
> built, but was still unable to locate
> com/name/maven/checks/packageNames.xml
> 
> 
>   
> ...
> 
> org.apache.maven.plugins
> maven-checkstyle-plugin
> 
> 
>   com.name.maven.checks
>   name-maven-checks
>   1.0
>  
> 
> 
> Also something I've noticed is a META-INF folder hasn't been generated
> in
> the target, I've tried generating the module jar again but it still
> doesn't.
> 
> Any help is appreciated
> Thanks alot
> Daniel
> 
> 
> Brian E Fox wrote:
>> 
>> Add the jar containing your module in a dependencies section inside
> your
>> plugin configuration block.
>> 
>>
>
http://maven.apache.org/ref/current/maven-model/maven.html#class_plugin
>> 
>> -Original Message-
>> From: DanBarker85 [mailto:[EMAIL PROTECTED] 
>> Sent: Friday, November 16, 2007 4:54 PM
>> To: users@maven.apache.org
>> Subject: Using Custom Developed Checkstyle Check Modules
>> 
>> 
>> Hi 
>> i'm trying to follow the maven tutorial "Using Custom Developed
>> Checkstyle
>> Check Modules" and the CheckStyle 4.3 tutorial entitled "Writing
>> Checks".  I
>> have taken the example custom check java code from the page and used
> the
>> maven install command to build a jar file.  The problem is, despite
>> following the instructions I'm getting problems running the command
> 'mvn
>> checkstyle:checkstyle'
>> 
>> [ERROR] Unable to process package names location:
>> com/name/maven/checks/packagenames.xml
>> java.io.IOException: Unable to find location
>> 'com/name/maven/checks/packagenames.xml' as URL, File or Resource.
>> 
>> I've followed the tutorial by including the check in the build
>> extenstions,
>> and configured the checkstyle plugin to look for packageNamesLocation
> in
>> com/name/maven/checks/packagenames.xml and ensured that this path and
>> jar
>> are both created in the repository.
>> 
>> Could anybody help me realise where I am going wrong, I'm new to
> Maven. 
>> Thanks alot
>> 
>> Daniel
>> -- 
>> View this message in context:
>>
>
http://www.nabble.com/Using-Custom-Developed-Checkstyle-Check-Modules-tf
>> 4822152s177.html#a13795812
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>> 
>> 
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
>> 
> 
> -- 
> View this message in context:
>
http://www.nabble.com/Using-Custom-Developed-Checkstyle-Check-Modules-tf
> 4822152s177.html#a13797401
> Sent from the Maven - Users mailing list archive at Nabble.com.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [

dependency plugin and version

2007-11-19 Thread deckrider+mvn
Hi, is there a way I can change version below to take the latest
greater than 8.0.0 instead of hard-coding the version as I do below?
I tried using:  "[8,)" but that did not work.

  
org.codehaus.mojo
dependency-maven-plugin

  

process-resources

  unpack

  


  

  com.vzb.impact
  webstart-test
  8.1.2
  zip

  
${project.build.directory}/${project.build.finalName}

  

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



Re: solaris package (pkg) support

2007-11-19 Thread deckrider
Hi, what url do I put in my pom so that I can use this plugin?

On Nov 12, 2007 1:03 PM, Joerg Hohwiller <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi there,
>
> sorry for catching up so late...
>
> >>
> >>> Thanks for responding.  I already know how to make Solaris packages,
> >>> but I don't know how to integrate the process into my pom.xml.
> >> Someone posted a reference to a maven plugin that could create Solaris
> >> packages, but I couldn't find it when I searched.
> >
> > Dan Tran replied with this link which looks interesting:
> >
> > http://mojo.codehaus.org/solaris-maven-plugin/
> If you look at the examples in src/it/*
> you can get an idea of how it should work.
>
> >
> >> If you don't find the problem already solved, then the two approaches to
> >> take are to write a maven plugin for yourself, or to implement the calling
> >> of pkg* using ant, and then wrap the build file in the
> >> maven-antrun-plugin.
> >>
> >> We use the antrun plugin to build Matlab code for us, it works pretty well.
> >
> > Ah, this looks promising as well, thanks.
> Actually the solaris-maven-plugin uses an ant-skript to do its job.
>
> Regards
>   Jörg
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.5 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFHOLGJmPuec2Dcv/8RApGSAJ9WMAfOxn2K7HteuAitNsZbwlCFYwCdFTXf
> /OwNgm2L9jvG39+GZVZ9HAs=
> =b8FS
> -END PGP SIGNATURE-
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
ASCII ribbon campaign:
()  against HTML email
/\  against Microsoft attachments
Information:  http://www.expita.com/nomime.html

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



Re: Re : Build number and current date

2007-11-19 Thread Julian Wood
What does your scm tag look like? It needs an svn config at the  
moment, or else you need to configure it to use a sequential number  
(or something else) if you don't use svn. Or if you use cvs or  
something else, you could contribute the code.


The project is housed at the codehaus now:

http://mojo.codehaus.org/buildnumber-maven-plugin/


org.codehaus.mojo
buildnumber-maven-plugin
1.0-beta-1




mojo
Codehaus
http://repository.codehaus.org



J


On 19-Nov-07, at 4:48 AM, tec-goblin wrote:



Same problem here. Configured scm but we get the same error:
Cannot get the revision information from the scm repository :
Can't load the scm provider.

The scm url cannot be null.

If we remove the plugin from the pom, everything works ok.
Time to look at it, isn'it? ;-)


oups !

I tried to add this to the pom :


.



 org.codehaus.mojo
  maven-buildnumber-plugin
  0.9.4
  

  validate
  
create
  

  
  
true
true
  


  
...




tlc
TLC Repository
http://commons.ucalgary.ca/pub/m2

  

but unfortunately : here's the log !

[DEBUG]   Artifact resolved
[DEBUG] Configuring mojo
'org.codehaus.mojo:maven-buildnumber-plugin:0.9.4:create' -->
[DEBUG]   (s) basedir = C:\works\workspaceM2\TutelecOJV-v1.3
[DEBUG]   (s) doCheck = true
[DEBUG]   (s) doUpdate = true
[DEBUG]   (f) project = [EMAIL PROTECTED]
[DEBUG] -- end configuration --
[INFO] [buildnumber:create {execution: default}]
[INFO] Verifying there are no local modifications ...
[INFO]
-- 
--

[ERROR] BUILD ERROR
[INFO]
-- 
--

[INFO] An error has occurred while checking scm status.

Embedded error: Can't load the scm provider.
The scm url cannot be null.
--
View this message in context: http://www.nabble.com/Re-%3A-Build- 
number-and-current-date-tf3653099s177.html#a13834427

Sent from the Maven - Users mailing list archive at Nabble.com.


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




--
Julian Wood
Web, E-Mail, and Middleware Services
University of Calgary Information Technologies,
2500 University Drive, Calgary, Alberta, Canada T2N 1N4
(403) 220-5868



Re: Ant Tasks for Maven and Mirrors

2007-11-19 Thread Jacob S. Barrett


On Nov 17, 2007, at 5:51 AM, Hervé BOUTEMY wrote:

Finally, I opened MANTTASKS-97 for *, and  
fixed it for

version 2.0.8, which sould be released in the next weeks.

For normal mirror by id, please see MANTTASKS-85: perhaps you're in  
the same

situation. This bug is fixed for 2.0.8 too.


Hervé,

You are my hero!

I look forward to the 2.0.8 release.

Thanks,
Jake


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



Re: help with assembly plugin

2007-11-19 Thread Mick Knutson

tar



Then make sure the ascii files you are adding are like:


/src/main/resources/deploy/deploy-configs.sh

deploy-configs.sh
true
*unix*
0754



On Nov 19, 2007 9:01 AM, Gunnar Boström <[EMAIL PROTECTED]>
wrote:

>
> Hi,
> I use the maven-assembly-plugin to create a zip file on windows XP.
> It works ok, with one problem.
> The zip file will be unzipped on a Solaris computer so I need to fix the
> line endings. This works fine if I do mvn package directly in a module,
> but
> if I run mvn package from the master it will not do the conversion.
>
> [INFO] Reading assembly descriptor:
> D:\SERF\dev\serf-server\src\main\assembly\bin.xml
> [INFO] No files selected for line-ending conversion. Skipping:
> src/main/scripts/expect
>
> The corresponding line in the pom file is
> src/main/scripts/expect
>
> So what can I do?
>
> Regards
> Gunnar
> --
> View this message in context:
> http://www.nabble.com/help-with-assembly-plugin-tf4837763s177.html#a13840413
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 

Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/djmick_dot_com
http://www.myspace.com/sexybeotches
http://www.thumpradio.com
---


help with assembly plugin

2007-11-19 Thread Gunnar Boström

Hi,
I use the maven-assembly-plugin to create a zip file on windows XP.
It works ok, with one problem.
The zip file will be unzipped on a Solaris computer so I need to fix the
line endings. This works fine if I do mvn package directly in a module, but
if I run mvn package from the master it will not do the conversion.

[INFO] Reading assembly descriptor:
D:\SERF\dev\serf-server\src\main\assembly\bin.xml
[INFO] No files selected for line-ending conversion. Skipping:
src/main/scripts/expect

The corresponding line in the pom file is
src/main/scripts/expect

So what can I do?

Regards
Gunnar
-- 
View this message in context: 
http://www.nabble.com/help-with-assembly-plugin-tf4837763s177.html#a13840413
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: Mavenide and NetBeans 6 RC1

2007-11-19 Thread johne

Thank you for the very useful response.   It is amazing the dependency I have
formed on that NetBeans and that embedder.  I am hoping some of the changes
auto-update once NB 6.0 goes live.  My project http://www.jobbank.com has
multiple three levels of wars that compile into each other amidst other jar
files in order to support international versions of the site.
-- 
View this message in context: 
http://www.nabble.com/Mavenide-and-NetBeans-6-RC1-tf4822409s177.html#a13839854
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: Classifier and dependencies

2007-11-19 Thread Emmanuel Hugonnet
Currently, I have set my version tag to :
${parent.version}-${classifier}

and I set the classifier property in my profiles but this doesn't feel good.

2007/11/19, Emmanuel Hugonnet <[EMAIL PROTECTED]>:
>
> Hi,
> I have a project that I need to build for different JDKs; Because we use
> JAXB on jdk1.4.2, 5 and 6I need to specify different dependencies for the
> JAXB version from 1.0.6 to 2.0.5. So I have different profiles for each
> jdk version target.
> I have set a classifier so that I get 3 different articfacts. My problem
> is : I have only on pom as a result instead of 3 (one per artifact) . this
> causes my dependencies resolving to go wrong if the installed/deployed pom
> doesn't match the artifact I am using. How could I have the classifier set
> on the pom when I am installing or deploying ? How should I proceed?
> Thanks,
> Emmanuel
>


Classifier and dependencies

2007-11-19 Thread Emmanuel Hugonnet
Hi,
I have a project that I need to build for different JDKs; Because we use
JAXB on jdk1.4.2, 5 and 6I need to specify different dependencies for the
JAXB version from 1.0.6 to 2.0.5. So I have different profiles for each jdk
version target.
I have set a classifier so that I get 3 different articfacts. My problem is
: I have only on pom as a result instead of 3 (one per artifact) . this
causes my dependencies resolving to go wrong if the installed/deployed pom
doesn't match the artifact I am using. How could I have the classifier set
on the pom when I am installing or deploying ? How should I proceed?
Thanks,
Emmanuel


mvn release:perform and "tag" parameter = ${pom.version}

2007-11-19 Thread Julien Graglia
Hi,

I have a multi-module pom that I can succesfully release by using
release:prepare & release:perform

I just want to change the name of the tag created  : by default it use
"the name of the pom"."the version".

So I try to use param "tag" with value "${pom.version}"
With that config : 
release:prepare is OK : create a tag with correct name
but release:perform failed : it looks for a bad tag

If I remove the configuration for "tag", and enter the tag name by hand,
everything is ok.

Here is the plugin declaration :


org.apache.maven.plugins
maven-release-plugin
2.0-beta-7

https://xxx/xxx/tags/versions/

${pom.version}


clean verify
install

true

true


The failed scenario is :
my pom is in version 0.3.1-SNAPSHOT
mvn release:prepare
tag 0.3.1 created in https://xxx/xxx/tags/versions/
mvn release:perform
error : try to checkout 0.3.2-SNAPSHOT wich does not exists.

I  think that  ${pom.version} is re-evaluated,  but the plugin should
use an info stored in release.properties.

I can live with this bug : i just have to type the name of the tag..

Thx,

-- Julien Graglia



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



Re: javax.persistence:ejb:jar:3.0-public_review

2007-11-19 Thread Daniele De Francesco
Ciao,

Alternatively, but only for a matter of repository "homogeneity" ( that
artifact belongs to javax.persistence groupId), you could try


 javax.persistence
 ejb-3.0-public-draft
 20050623
 *pom*


In fact the maven repo central contains only the pom file of that artifact.
In file .pom you'll find


  4.0.0
  javax.persistence
  ejb
  3.0-public-draft-20050623


which is the "interface" specification of the particular implementation of
ejb3 that you want to use.
This consideration takes me on a question: why are you using a such old
specification of ef ejb 3.0?
Nowadays you can easily, believe me, configure maven-ejb-plugin plugin to
have ejb3 packaged.

Greetings

Daniele

On Nov 16, 2007 6:24 PM, Nicola Benaglia <[EMAIL PROTECTED]> wrote:

> 2007/11/16, Wayne Fay <[EMAIL PROTECTED]>:
> > Show us the full mvn install line that you executed.
> >
> > I think you simply are getting the groupId, artifactId, and version
> > messed up somewhere.
> >
> > Wayne
>
>
> Hi,
> I attach the pom.xml:
>
> 
>  4.0.0
>  com.myGroupId
>  pers
>  pers
>  0.1-SNAPSHOT
>  http://maven.apache.org
>  
>
>  
>maven-compiler-plugin
>
>  1.5
>  1.5
>
>  
>
>  
>  
>
>  junit
>  junit
>  3.8.1
>  test
>
>
>  org.hibernate
>  hibernate
>  3.2.4.sp1
>  
>
>  jta
>  javax.transaction
>
>  
>
>
>  postgresql
>  postgresql
>  8.1-408.jdbc3
>
>
>  javax.persistence
>  persistence-api
>  1.0
>
>
>  hibernate
>  hibernate-annotations
>  3.1beta4
>
>
>  javax.persistence
>  ejb-3.0-public-draft
>  20050623
>
>  
> 
>
> I execute commands by m2 plugin for eclipse.
> The pom was completed using "Add Dependency" from m2.
>
> Thank
> Nic
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


RE: Maven1.x Integration with Eclipse

2007-11-19 Thread Smitha.Aldrin
Hi Tomek

I found the site useful.Thank you so much.
I installed the pluggin.But from Eclipse how to I set the goals?
In the command promt we used to give like maven full-build; How can I
get this done from Eclipse. 

Thanks And Regards
Smitha Aldrin

-Original Message-
From: Tomasz Pik [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 19, 2007 4:09 AM
To: Maven Users List
Subject: Re: Maven1.x Integration with Eclipse

On Nov 19, 2007 10:58 AM,  <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> Is there any pluggin available for integrating maven1.x with Eclipse

http://mevenide.codehaus.org/mevenide-ui-eclipse/features.html

Regards,
Tomek

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




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



Re: Re : Build number and current date

2007-11-19 Thread tec-goblin

Same problem here. Configured scm but we get the same error:
Cannot get the revision information from the scm repository : 
Can't load the scm provider.

The scm url cannot be null.

If we remove the plugin from the pom, everything works ok. 
Time to look at it, isn'it? ;-)


oups !

I tried to add this to the pom :


.



 org.codehaus.mojo
  maven-buildnumber-plugin
  0.9.4
  

  validate
  
create
  

  
  
true
true
  


  
...




tlc
TLC Repository
http://commons.ucalgary.ca/pub/m2

  

but unfortunately : here's the log !

[DEBUG]   Artifact resolved
[DEBUG] Configuring mojo
'org.codehaus.mojo:maven-buildnumber-plugin:0.9.4:create' -->
[DEBUG]   (s) basedir = C:\works\workspaceM2\TutelecOJV-v1.3
[DEBUG]   (s) doCheck = true
[DEBUG]   (s) doUpdate = true
[DEBUG]   (f) project = [EMAIL PROTECTED]
[DEBUG] -- end configuration --
[INFO] [buildnumber:create {execution: default}]
[INFO] Verifying there are no local modifications ...
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] An error has occurred while checking scm status.

Embedded error: Can't load the scm provider.
The scm url cannot be null.
-- 
View this message in context: 
http://www.nabble.com/Re-%3A-Build-number-and-current-date-tf3653099s177.html#a13834427
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: Assembly plugin with filtering

2007-11-19 Thread Saloucious

Because in AssemblyMojo, filters are in read-only mode, don't understand why

It's binded to filters define in build tag

/**
 * @parameter default-value="${project.build.filters}"
 * @readonly
 */
protected List filters;



Saminda Abeyruwan-3 wrote:
> 
> Hi All,
> 
> I'm using assembly plugin according to Maven2 doc
> http://maven.apache.org/plugins/maven-assembly-plugin/examples/single/filtering-some-distribution-files.html.
> 
> I've applied the plugin as follows,
> 
> 
> org.apache.maven.plugins
> maven-assembly-plugin
> 2.2-beta-1
> 
> 
> 
> src/assemble/filter.properties
> 
> 
> src/assemble/assembly-
> bin.xml
> src/assemble/assembly-
> src.xml
> 
> 
>  
> 
> 
> All my descriptors are in the correct location , When using mvn
> assembly:assembly, it keeps on displaying the error message,
> 
>  Error configuring: org.apache.maven.plugins:maven-assembly-plugin.
> Reason:
> ERROR: Cannot override read-only parameter: filters in goal:
> assembly:assembly
> 
> 
> Wonder why this happen ?
> 
> Saminda
> -- 
> Saminda Abeyruwan
> 
> Senior Software Engineer
> WSO2 Inc. - www.wso2.org
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Assembly-plugin-with-filtering-tf4635144s177.html#a13833735
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: Building Eclipse plugins with Maven 2

2007-11-19 Thread Sebastien ARBOGAST
Thanks a lot for all your help Michal. I was afraid of renaming of
renaming the name of those projects without changing the name of tha
packages inside them (which I cannot do), but it worked. Well at least
it compiles and tests pass.

Now I would like to check that it runs. In the original project, the
one I'm mavenizing, I have a .product file that I could run directly
inside Eclipse to launch my RCP application. Should I keep this file?
And if yes, where is it best to put it? root of the main plugin or
src/main/resources?

2007/11/16, eSonic <[EMAIL PROTECTED]>:
>
>
>
> Sebastien Arbogast wrote:
> >
> > I managed to get through the previous issue by creating artificial
> > SNAPSHOT versions of the dependencies Maven asked for.
> > But now I'm facing yet another strange issue. The build fails on a
> > message saying that org.eclipse.test_3.2.0 plugin is missing in
> > eclipse/plugins, but just before that, it does a cleanup on the
> > eclipse installation and deletes a lot of plugins, including
> > org.eclipse.test_3.2.0.
> >
>
> I'm afraid your artificial module solution won't work here. psteclipse does
> the testing by copying your plugins into the Eclipse directory and deleting
> them after testing has been done. It finds the plugins to delete by the
> prefix, so if your own plugins start with org.eclipse it's very likely that
> psteclipse will delete some of Eclipse;s internals, hence the missing
> dependencies.
>
> The only solution I see for you here is changing the naming of your plugins.
> It's not that big of a problem, since Eclipse offers very decent refactoring
> features to do that across different projects.
>
> --
> Michal
> --
> View this message in context: 
> http://www.nabble.com/Building-Eclipse-plugins-with-Maven-2-tf4675721s177.html#a13802852
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Sébastien Arbogast

http://www.sebastien-arbogast.com

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



RE: Using Custom Developed Checkstyle Check Modules

2007-11-19 Thread DanBarker85

Thanks for your response.  Adding the jar as an extension in the build was
the original option I chose, as was detailed in the Maven tutorial.  I think
i've tried all combinations, but maybe it doesn't find the jar file 

> [ERROR] Unable to process package names location:
> com/name/maven/checks/packagenames.xml
> java.io.IOException: Unable to find location
> 'com/name/maven/checks/packagenames.xml' as URL, File or Resource.

When I generate the jar file the META-INF folder isn't generated so maybe
that is the problem.

Thanks
Daniel


Brian E Fox wrote:
> 
> I seem to recall now that you mention it (but can't check...on a plane)
> that the reporting section doesn't have an element for plugins. In this
> case, adding your jar as an  to the build should do it. Just
> keep in mind that this is being deprecated in mvn 2.1, but it will work
> for now (and is the only choice given the reporting bug)
> 
> --Brian
> 
> -Original Message-
> From: DanBarker85 [mailto:[EMAIL PROTECTED] 
> Sent: Friday, November 16, 2007 12:14 PM
> To: users@maven.apache.org
> Subject: RE: Using Custom Developed Checkstyle Check Modules
> 
> 
> I'm not sure if i've done that correctly but i've tried adding it to my
> plugin.  Firstly I added to
> 
> ...
>   
> org.apache.maven.plugins
> maven-checkstyle-plugin
> 
>   src/site/resources/cust_conf.xml
> 
> com/name/maven/checks/packagenames.xml esLocation>
> 
> 
>  
>   
>   com.name.maven.checks
>   name-maven-checks
>   1.0
>   
> 
> And it didn't like the dependencies or dependency elements...
> 
> Then I added an element to the build tag, and added the dependencies
> tag, it
> built, but was still unable to locate
> com/name/maven/checks/packageNames.xml
> 
> 
>   
> ...
> 
> org.apache.maven.plugins
> maven-checkstyle-plugin
> 
> 
>   com.name.maven.checks
>   name-maven-checks
>   1.0
>  
> 
> 
> Also something I've noticed is a META-INF folder hasn't been generated
> in
> the target, I've tried generating the module jar again but it still
> doesn't.
> 
> Any help is appreciated
> Thanks alot
> Daniel
> 
> 
> Brian E Fox wrote:
>> 
>> Add the jar containing your module in a dependencies section inside
> your
>> plugin configuration block.
>> 
>>
> http://maven.apache.org/ref/current/maven-model/maven.html#class_plugin
>> 
>> -Original Message-
>> From: DanBarker85 [mailto:[EMAIL PROTECTED] 
>> Sent: Friday, November 16, 2007 4:54 PM
>> To: users@maven.apache.org
>> Subject: Using Custom Developed Checkstyle Check Modules
>> 
>> 
>> Hi 
>> i'm trying to follow the maven tutorial "Using Custom Developed
>> Checkstyle
>> Check Modules" and the CheckStyle 4.3 tutorial entitled "Writing
>> Checks".  I
>> have taken the example custom check java code from the page and used
> the
>> maven install command to build a jar file.  The problem is, despite
>> following the instructions I'm getting problems running the command
> 'mvn
>> checkstyle:checkstyle'
>> 
>> [ERROR] Unable to process package names location:
>> com/name/maven/checks/packagenames.xml
>> java.io.IOException: Unable to find location
>> 'com/name/maven/checks/packagenames.xml' as URL, File or Resource.
>> 
>> I've followed the tutorial by including the check in the build
>> extenstions,
>> and configured the checkstyle plugin to look for packageNamesLocation
> in
>> com/name/maven/checks/packagenames.xml and ensured that this path and
>> jar
>> are both created in the repository.
>> 
>> Could anybody help me realise where I am going wrong, I'm new to
> Maven. 
>> Thanks alot
>> 
>> Daniel
>> -- 
>> View this message in context:
>>
> http://www.nabble.com/Using-Custom-Developed-Checkstyle-Check-Modules-tf
>> 4822152s177.html#a13795812
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>> 
>> 
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
>> 
> 
> -- 
> View this message in context:
> http://www.nabble.com/Using-Custom-Developed-Checkstyle-Check-Modules-tf
> 4822152s177.html#a13797401
> Sent from the Maven - Users mailing list archive at Nabble.com.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Using-Custom-Developed-Checkstyle-Check-Modules-tf4822152s177.html#a13833435
Sent from the Maven - Users mailing l

RE: Using Custom Developed Checkstyle Check Modules

2007-11-19 Thread DanBarker85

Thanks for your response.  Adding the jar as an extension in the build was
the original option I chose, as was detailed in the Maven tutorial.  I think
i've tried all combinations, but maybe it doesn't find the jar file 

> [ERROR] Unable to process package names location:
> com/name/maven/checks/packagenames.xml
> java.io.IOException: Unable to find location
> 'com/name/maven/checks/packagenames.xml' as URL, File or Resource.

When I generate the jar file the META-INF folder isn't generated so maybe
that is the problem.

Thanks
Daniel


Brian E Fox wrote:
> 
> I seem to recall now that you mention it (but can't check...on a plane)
> that the reporting section doesn't have an element for plugins. In this
> case, adding your jar as an  to the build should do it. Just
> keep in mind that this is being deprecated in mvn 2.1, but it will work
> for now (and is the only choice given the reporting bug)
> 
> --Brian
> 
> -Original Message-
> From: DanBarker85 [mailto:[EMAIL PROTECTED] 
> Sent: Friday, November 16, 2007 12:14 PM
> To: users@maven.apache.org
> Subject: RE: Using Custom Developed Checkstyle Check Modules
> 
> 
> I'm not sure if i've done that correctly but i've tried adding it to my
> plugin.  Firstly I added to
> 
> ...
>   
> org.apache.maven.plugins
> maven-checkstyle-plugin
> 
>   src/site/resources/cust_conf.xml
> 
> com/name/maven/checks/packagenames.xml esLocation>
> 
> 
>  
>   
>   com.name.maven.checks
>   name-maven-checks
>   1.0
>   
> 
> And it didn't like the dependencies or dependency elements...
> 
> Then I added an element to the build tag, and added the dependencies
> tag, it
> built, but was still unable to locate
> com/name/maven/checks/packageNames.xml
> 
> 
>   
> ...
> 
> org.apache.maven.plugins
> maven-checkstyle-plugin
> 
> 
>   com.name.maven.checks
>   name-maven-checks
>   1.0
>  
> 
> 
> Also something I've noticed is a META-INF folder hasn't been generated
> in
> the target, I've tried generating the module jar again but it still
> doesn't.
> 
> Any help is appreciated
> Thanks alot
> Daniel
> 
> 
> Brian E Fox wrote:
>> 
>> Add the jar containing your module in a dependencies section inside
> your
>> plugin configuration block.
>> 
>>
> http://maven.apache.org/ref/current/maven-model/maven.html#class_plugin
>> 
>> -Original Message-
>> From: DanBarker85 [mailto:[EMAIL PROTECTED] 
>> Sent: Friday, November 16, 2007 4:54 PM
>> To: users@maven.apache.org
>> Subject: Using Custom Developed Checkstyle Check Modules
>> 
>> 
>> Hi 
>> i'm trying to follow the maven tutorial "Using Custom Developed
>> Checkstyle
>> Check Modules" and the CheckStyle 4.3 tutorial entitled "Writing
>> Checks".  I
>> have taken the example custom check java code from the page and used
> the
>> maven install command to build a jar file.  The problem is, despite
>> following the instructions I'm getting problems running the command
> 'mvn
>> checkstyle:checkstyle'
>> 
>> [ERROR] Unable to process package names location:
>> com/name/maven/checks/packagenames.xml
>> java.io.IOException: Unable to find location
>> 'com/name/maven/checks/packagenames.xml' as URL, File or Resource.
>> 
>> I've followed the tutorial by including the check in the build
>> extenstions,
>> and configured the checkstyle plugin to look for packageNamesLocation
> in
>> com/name/maven/checks/packagenames.xml and ensured that this path and
>> jar
>> are both created in the repository.
>> 
>> Could anybody help me realise where I am going wrong, I'm new to
> Maven. 
>> Thanks alot
>> 
>> Daniel
>> -- 
>> View this message in context:
>>
> http://www.nabble.com/Using-Custom-Developed-Checkstyle-Check-Modules-tf
>> 4822152s177.html#a13795812
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>> 
>> 
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
>> 
> 
> -- 
> View this message in context:
> http://www.nabble.com/Using-Custom-Developed-Checkstyle-Check-Modules-tf
> 4822152s177.html#a13797401
> Sent from the Maven - Users mailing list archive at Nabble.com.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Using-Custom-Developed-Checkstyle-Check-Modules-tf4822152s177.html#a13833434
Sent from the Maven - Users mailing l

Re: problem with maven embebed in netbeans 5.5.1

2007-11-19 Thread logancillo

ok, thx, i´ll report this possible bug very soon!
-- 
View this message in context: 
http://www.nabble.com/problem-with-maven-embebed-in-netbeans-5.5.1-tf4805705s177.html#a13830924
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: Maven1.x Integration with Eclipse

2007-11-19 Thread Tomasz Pik
On Nov 19, 2007 10:58 AM,  <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> Is there any pluggin available for integrating maven1.x with Eclipse

http://mevenide.codehaus.org/mevenide-ui-eclipse/features.html

Regards,
Tomek

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



Maven1.x Integration with Eclipse

2007-11-19 Thread Smitha.Aldrin
 
Hi

Is there any pluggin available for integrating maven1.x with Eclipse


Thanks And Regards
Smitha ALdrin

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



Re: problem with maven embebed in netbeans 5.5.1

2007-11-19 Thread Milos Kleint
I didn't hear a problem description similar to yours so far. So it's
probably a still-to-be-fixed issue.

Milos

On 11/19/07, logancillo <[EMAIL PROTECTED]> wrote:
>
>
> Milos, is this a resolved problem? i dont know if there is an open task on
> jira.codehauss...
>
>
>
> --
> View this message in context:
> http://www.nabble.com/problem-with-maven-embebed-in-netbeans-5.5.1-tf4805705s177.html#a13830305
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: problem with maven embebed in netbeans 5.5.1

2007-11-19 Thread logancillo

Milos, is this a resolved problem? i dont know if there is an open task on
jira.codehauss...



-- 
View this message in context: 
http://www.nabble.com/problem-with-maven-embebed-in-netbeans-5.5.1-tf4805705s177.html#a13830305
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: problem with maven embebed in netbeans 5.5.1

2007-11-19 Thread Alonso Isidoro Roman
thx for your response!, yep! it happens too!

2007/11/18, Milos Kleint <[EMAIL PROTECTED]>:
>
> does the same happen when invoking on the command line?
> worth filing as issue at http://jira.codehaus.org/browse/MEVENIDE
>
> Milos
>
> On Nov 14, 2007 4:06 PM, logancillo <[EMAIL PROTECTED]> wrote:
>
> >
> > hi everybody, i`using netbeans 5.5.1 with jdk 1.6. App server is embebed
> > tomcat 5.5.17 and i `m having some troubles when i build the war file.
> It
> > seems that WEB-INF/classes dir is not updated!
> >
> > i´ll try to explain better!
> >
> > my workspace is C:\trabajo\ws\AFEL\sources, where i have pom.xml,
> > profiles.xml, nbactions.xml and src  directory with my web project. If i
> > run
> > build goal on netbeans, it extracts to screen something like this:
> >
> > [compiler:compile]
> > [INFO]Compiling 28 source files to
> > C:\trabajo\ws\AFEL\sources\target\classes
> > [resources:testResources]
> > [INFO]Using default encoding to copy filtered resources.
> > [compiler:testCompile]
> > [INFO]No sources to compile
> > [surefire:test]
> > [INFO]No tests to run.
> > [war:war]
> > [INFO]Packaging webapp
> > [INFO]Assembling webapp[frontal] in
> > [C:\trabajo\ws\AFEL\sources\target\frontal-1.0-SNAPSHOT]
> > [INFO]Processing war project
> > [INFO]Webapp assembled in[6484 msecs]
> > [INFO]Building war:
> > C:\trabajo\ws\AFEL\sources\target\frontal-1.0-SNAPSHOT.war
> > [install:install]
> > [INFO]Installing C:\trabajo\ws\AFEL\sources\target\frontal-
> > 1.0-SNAPSHOT.war
> > to C:\Documents and
> >
> >
> Settings\operador\.m2\repository\es\yell\frontlite\frontal\1.0-SNAPSHOT\frontal-
> > 1.0-SNAPSHOT.war
> >
> >
> [INFO]
> > [INFO]BUILD SUCCESSFUL
> >
> >
> [INFO]
> > [INFO]Total time: 14 seconds
> > [INFO]Finished at: Wed Nov 14 15:58:51 CET 2007
> > [INFO]Final Memory: 47M/87M
> >
> >
> [INFO]
> >
> > the content of C:\trabajo\ws\AFEL\sources\target\classes is diferent
> with
> > regard to WEB-INF/classes contained in the generated war!
> >
> > pls help, how can i fix this strange behavior?
> >
> > PD
> >
> > i already tried unistalling and purging netbeans files
> > --
> > View this message in context:
> >
> http://www.nabble.com/problem-with-maven-embebed-in-netbeans-5.5.1-tf4805705s177.html#a13748536
> > Sent from the Maven - Users mailing list archive at Nabble.com.
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>



-- 
Alonso Isidoro Roman.


RE: SCM

2007-11-19 Thread Filippo De Luca
Ok
It's good idea i will use eclipse integration.

-- 
Filippo De Luca
[EMAIL PROTECTED]
http://www.filosganga.it
--
Circolo Canottieri Roma
Lungotevere Flaminio, 39 - 00196 - Roma - Italia
http://www.canottieriroma.com
--