Re: Mantis integration? mantis-report..?

2009-06-23 Thread turbo-555

this is the jira issue..posted almost 2 years ago...

http://jira.codehaus.org/browse/MCHANGES-84?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aworklog-tabpanel
JIRA ISSUE MCHANGES 84 


nothing new on this front?



thanks pawel, I'll eventually try your way too...I have to see if it can
match my needs.


rgds
Turbo-555


Paweł Paprota wrote:
> 
> Witam!
> 
> On Mon, 22 Jun 2009 06:24:23 -0700 (PDT)
> turbo-555  wrote:
> 
>> 
>> Hi all,
>> 
>> in the company where I work we use Mantis as bugtracking tool...now I
>> would like to know if it's possible to generate changes reports as
>> it's done with jira...
>> 
>> 
>> is there a mantis-report like for jira?or do the changes reports need
>> to be hand written?
>> 
>> 
>> has anyone experience in using maven + mantis?
>> 
>> 
> 
> It's not exactly Maven-Mantis integration but we use Mantis plugin for
> Hudson to get some information automatically posted in Mantis during
> the build process.
> 
> -- 
> Paweł
> 
>  
> 

-- 
View this message in context: 
http://www.nabble.com/Mantis-integration--mantis-report..--tp24147185p24163212.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Mantis integration? mantis-report..?

2009-06-22 Thread turbo-555

Hi all,

in the company where I work we use Mantis as bugtracking tool...now I would
like to know if it's possible to generate changes reports as it's done with
jira...


is there a mantis-report like for jira?or do the changes reports need to be
hand written?


has anyone experience in using maven + mantis?


thanks a lot

Turbo-555
-- 
View this message in context: 
http://www.nabble.com/Mantis-integration--mantis-report..--tp24147185p24147185.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Assembly:adding a war module to a tar.gz

2009-06-17 Thread turbo-555

Problem solved:


  
  
webapp-commons.war**
  
  true
  
  
  WEB-INF/**
  META-INF/**
  
  
  
  

by doing so it packages the content of the dependency in my tar.gz, and with
the unpackOptions I make sure the WEB-INF and META-INF folders don't get
packaged.


It wasn't so hard after all was it? :D
-- 
View this message in context: 
http://www.nabble.com/Assembly%3Aadding-a-war-module-to-a-tar.gz-tp24070208p24073119.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Assembly:adding a war module to a tar.gz

2009-06-17 Thread turbo-555

I almost solved the problem, I tried once again using the dependencySets...


  
  
  true
  
webapp-commons.war**
  
  
  


like this it works, I had to remove "com.ctd.webapp." (can someone explain
to me why?is it because being a project dependency it can handle with less
information?)

now I have to understand also why it works with the ** at the end...I tried
putting there the version number, but it doesn't work...
-- 
View this message in context: 
http://www.nabble.com/Assembly%3Aadding-a-war-module-to-a-tar.gz-tp24070208p24072957.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



RE: Excluding files/webapp folder from a war

2009-06-17 Thread turbo-555



Damon Silver wrote:
> 
> I managed to get it working (maven 2.0.9, maven-war-plugin 2.1-beta-1)
> with
> the following:
> 
> 
> ...
> **/*.bat,.classpath,**/*.java,pom.xml,.project,.settings/
> **,**/*.sh,target/**
> ...
> 
> 
> Hope that helps.
> 
> - Damon
> 


this works, thanks!
I'll just have to make sure there aren't any folders that match the
exclusion parameters that need to be in the package...
-- 
View this message in context: 
http://www.nabble.com/Excluding-files-webapp-folder-from-a-war-tp24050485p24070522.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Assembly:adding a war module to a tar.gz

2009-06-17 Thread turbo-555

hi,

I'm packaging a tar.gz with assembly, I included several filesets from my
project, but now I need to add some files/folders that are in a war (this
war is also taken as an overlay from the project in order to add the
necessary files in the main war package of the project).


I don't understand how I can add the files to my assembled tar.gz...

the war is: com.ctd.webapp.webapp-commons.war-4.5.1-SNAPSHOT (it is
regularly deployed in my local repository) and it is also a dependency in
the pom:


com.ctd.webapp
webapp-commons.war
${webapp-commons.war.version}
war



from this war I need to copy a js folder and an index.jsp file (both in the
root directory of the war), but I haven't managed yet to get this done...


i tried to include the whole war:



   
com.ctd.webapp.webapp-commons.war-4.5.1-SNAPSHOT




but:
[WARNING] The following patterns were never triggered in this artifact
inclusion filter:
o  'com.ctd.webapp.webapp-commons.war-4.5.1-SNAPSHOT'

[WARNING] Encountered ModuleSet with no sources or binaries specified.
Skipping.



At first I had:

 
overlays/com.ctd.webapp.webapp-commons.war-${webapp-commons.war.version}/js
  js


but this only works where an overlays folder has been created...that's why I
need to replace it..

I tried to follow the guide to set up the plugin...but I haven't understood
how to solve this...


any ideas?

-- 
View this message in context: 
http://www.nabble.com/Assembly%3Aadding-a-war-module-to-a-tar.gz-tp24070208p24070208.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Excluding files/webapp folder from a war

2009-06-16 Thread turbo-555



rynam0 wrote:
> 
> Try something like this?
> 
> 
> 
> src/main/webapp/someExcludedDirectory/**
> 
> 

I removed the "war at the beginning of the pom, and
tried with 
"mvn package war:war" (so it packages a jar and a war...)


I just tried this:

src/main/webapp/help/**

nothing changes


with

  
src/main

  **/webapp/
  **/help/
  webapp

  


same story...it just avoid to put a webapp and java directory in the war,
but the help,static,style,...are still there


basically I'd like the war to have the same contents as the jar (pretty
much...)
-- 
View this message in context: 
http://www.nabble.com/Excluding-files-webapp-folder-from-a-war-tp24050485p24053693.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Excluding files/webapp folder from a war

2009-06-16 Thread turbo-555

exactly, I'm trying to find a way or an example how to configure it, and the
doc you posted...I've seen it and went over it several times trying
different combinations, but it ain't working out.


without touching at the plugin, but just setting the packaging to war the
files that mvn puts in the target are different...(with a jar it doesn't
pack all those help, images,...folders)

so I tryed configuring as written on the doc, but if I write:

  
src/main

  webapp

  


it adds even more folders and it doesn't exclude anything

with:

  

  webapp

  



it raises a nullpointer at packaging.







rynam0 wrote:
> 
> It sounds to me like you want to configure the maven-war-plugin with
> some excludes.   Docs can be found here:
> 
> http://maven.apache.org/plugins/maven-war-plugin/examples/adding-filtering-webresources.html
> 

-- 
View this message in context: 
http://www.nabble.com/Excluding-files-webapp-folder-from-a-war-tp24050485p24052974.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Excluding files/webapp folder from a war

2009-06-16 Thread turbo-555

Hi all,

I tried using the search, but I haven't found anything that could help me.

I'm building a war package:
war..

but I need to keep out of the war the static part of the project, that would
be the whole webapp folder...
the structure of my project:
src:
  -main:
-java
-resources
-webapp:
  -help
  -images
  -static
  -style
  -WEB-INF


If I run mvn package I get a war with in it:
-help
-images
-static
-style
-...


is there a possibility to have mvn exclude these files?
I tried using the war plugin, but I must have missed something...


thanks

-- 
View this message in context: 
http://www.nabble.com/Excluding-files-webapp-folder-from-a-war-tp24050485p24050485.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Enforcer plugin doesn't read external properties files

2009-06-05 Thread turbo-555

Now that I found (it was told to me :)) what plugin could help me out I,
maybe, found a problem in it.


In my pom I want to check that several properties are set, everything works
fine if the properties are set in the .m2/settings.xml file.
Now I need these properties to be in a property file, in my case
src/main/filters/filter.properties:

# filter.properties
filter.file.value=src/main/filters/filter.properties


in my pom I added:

  src/main/filters/filter.properties


and in the enforcer tags:

  filter.file.value
  value set to: ${filter.file.value}




if I run mvn i get the following:
[WARNING] Rule 1: org.apache.maven.plugins.enforcer.RequireProperty failed
with message:
value set to: null

if I check in the output file though i see:
src/main/filters/filter.properties



why is that? shouldn't enforcer be able to read properties set in external
property files?


rgds
-- 
View this message in context: 
http://www.nabble.com/Enforcer-plugin-doesn%27t-read-external-properties-files-tp23884939p23884939.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: How to get an alert if a property value is missing

2009-06-05 Thread turbo-555

I'm having a problem with the enforcer plugin, it works well with the
settings.xml, but if I require to check a property that has been set in a
properties file placed in the resources, it always fails, saying that the
property is null, but if I check in the generated config file...the value
has been written correctly.



   src/main/resources/filter.properties


   
  src/main/resources
  true
   


any idea why?
-- 
View this message in context: 
http://www.nabble.com/How-to-get-an-alert-if-a-property-value-is-missing-tp23870644p23884445.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: How to get an alert if a property value is missing

2009-06-04 Thread turbo-555

that's what I need!

thx



Stephen Connolly-2 wrote:
> 
> have a look at the enforcer plugin
> 
> 2009/6/4 turbo-555 
> 
>>
>> Hi all,
>>
>> I have the need to create a configuration file for several, different,
>> platforms.
>> Therefore I have a xxx-service.xml in which I call some value that are
>> set
>> in the /.m2/settings.xml.
>>
>> For example:
>> #settings.xml
>> 
>>(user)/.m2/settings.xml
>> 
>>
>> and then in the xxx-service.xml
>> #xxx-service.xml
>> ...
>> ${settings.file.value}
>> ...
>>
>>
>> This works just fine.
>>
>> My problem is, if "setting.file.value" isn't set in settings.xml the
>> compiler simply skips the step an leaves the ${settings.file.value} at
>> his
>> place. My question is, is there a possibility, a setting to switch in
>> order
>> to get an explicit warning message in case of a missing definition?
>>
>>
>> thanks a lot for your help
>>
>>
>> rgds
>> Turbo-555
>> --
>> View this message in context:
>> http://www.nabble.com/How-to-get-an-alert-if-a-property-value-is-missing-tp23870644p23870644.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-get-an-alert-if-a-property-value-is-missing-tp23870644p23873681.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



How to get an alert if a property value is missing

2009-06-04 Thread turbo-555

Hi all,

I have the need to create a configuration file for several, different,
platforms.
Therefore I have a xxx-service.xml in which I call some value that are set
in the /.m2/settings.xml.

For example:
#settings.xml

(user)/.m2/settings.xml  



and then in the xxx-service.xml
#xxx-service.xml
...
${settings.file.value}
...


This works just fine.

My problem is, if "setting.file.value" isn't set in settings.xml the
compiler simply skips the step an leaves the ${settings.file.value} at his
place. My question is, is there a possibility, a setting to switch in order
to get an explicit warning message in case of a missing definition?


thanks a lot for your help


rgds
Turbo-555
-- 
View this message in context: 
http://www.nabble.com/How-to-get-an-alert-if-a-property-value-is-missing-tp23870644p23870644.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org