Re: Findbugs with external configuration

2011-10-19 Thread Fabricio Lemos

Ok, thank you Robert

On 18/10/2011 13:53, Robert Scholte wrote:


The findbugs-maven-plugin is part of Codehaus Mojo[1]

Try their mailing list[2]



-Robert



[1] http://mojo.codehaus.org/

[2] http://mojo.codehaus.org/mail-lists.html





Date: Tue, 18 Oct 2011 10:52:56 -0300
From: fabricio.le...@sefaz.ce.gov.br
To: users@maven.apache.org
Subject: Re: Findbugs with external configuration

Was my question confusing or isn´t anyone using findbugs with maven-site
3 and external file configuration?

On 13/10/2011 16:25, Fabricio Lemos wrote:

Can anyone help me configure findbugs in the site reporting?

I use an external file to exclude some checks, so I used this
configuration:
http://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html
and adapted it to maven-site 3.

It works with checkstyle but fails with findbugs. Here is the log:

mvn clean compile site
[INFO] Scanning for projects...
[INFO]
[INFO]

[INFO] Building jee6-intranet 0.0.1-SNAPSHOT
[INFO]

[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @
jee6-intranet ---
[INFO] Deleting
D:\projetos\arquitetura\projetos_exemplo\jee6\jee6-intranet\target
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources)
@ jee6-intranet ---
[INFO] Using 'ISO-8859-1' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.1:compile (default-compile) @
jee6-intranet ---
[INFO] Compiling 7 source files to
D:\projetos\arquitetura\projetos_exemplo\jee6\jee6-intranet\target\classes
[INFO]
[INFO] --- maven-site-plugin:3.0:site (default-site) @ jee6-intranet ---
[INFO] configuring report plugin
org.codehaus.mojo:findbugs-maven-plugin:2.3.2
[INFO] canGenerate is true
[INFO] configuring report plugin
org.apache.maven.plugins:maven-checkstyle-plugin:2.5
[INFO] Parent project loaded from repository:
br.gov.ce.sefaz.jee:sefaz-jee-parent:pom:0.0.1-SNAPSHOT
[INFO] Parent project loaded from repository:
br.gov.ce.sefaz:sefaz-parent:pom:0.0.2-SNAPSHOT
[WARNING] No project URL defined - decoration links will not be
relativized!
[INFO] Rendering site with
org.apache.maven.skins:maven-default-skin:jar:1.0 skin.
[INFO] Generating "FindBugs Report" report ---
findbugs-maven-plugin:2.3.2
[INFO] canGenerate is true
[INFO] canGenerate is true
[INFO] Locale is en
[INFO] ** FindBugsMojo executeReport ***
[INFO] XML outputFile is
D:\projetos\arquitetura\projetos_exemplo\jee6\jee6-intranet\target\findbugsXml.xml
[INFO] XML output Directory is
D:\projetos\arquitetura\projetos_exemplo\jee6\jee6-intranet\target
[INFO] ** FindBugsMojo executeFindbugs ***
[INFO] Temp File is
D:\projetos\arquitetura\projetos_exemplo\jee6\jee6-intranet\target\findbugsTemp.xml
[INFO] Fork Value is true
[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 4.266s
[INFO] Finished at: Thu Oct 13 16:12:30 GMT-03:00 2011
[INFO] Final Memory: 19M/47M
[INFO]

[ERROR] Could not find resource
'build-configuration/findbugs-exclude.xml'. ->  [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with
the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/ResourceNotFoundException
D:\projetos\arquitetura\projetos_exemplo\jee6\jee6-intranet>

I´m pretty sure that the file build-configuration/findbugs-exclude.xml
does exists.

And this is my pom configuration:





org.apache.maven.plugins
maven-checkstyle-plugin
2.5

true
true
true
build-configuration/checkstyle.xml



br.gov.ce.sefaz
build-configuration
${build.configuration.version}





check





org.codehaus.mojo
findbugs-maven-plugin
2.3.2

build-configuration/findbugs-exclude.xml




br.gov.ce.sefaz
build-configuration
${build.configuration.version}





check








org.apache.maven.plugins
maven-site-plugin
3.0



org.codehaus.mojo
findbugs-maven-plugin
2.3.2

build-configuration/findbugs-exclude.xml




org.apache.maven.plugins
maven-checkstyle-plugin
2.5

build-configuration/checkstyle.xml








thanks in advance,
Fabrício Lemos

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



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

Re: Findbugs with external configuration

2011-10-18 Thread Fabricio Lemos
Was my question confusing or isn´t anyone using findbugs with maven-site 
3 and external file configuration?


On 13/10/2011 16:25, Fabricio Lemos wrote:

Can anyone help me configure findbugs in the site reporting?

I use an external file to exclude some checks, so I used this 
configuration: 
http://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html  
and adapted it to maven-site 3.


It works with checkstyle but fails with findbugs. Here is the log:

mvn clean compile site
[INFO] Scanning for projects...
[INFO]
[INFO] 


[INFO] Building jee6-intranet 0.0.1-SNAPSHOT
[INFO] 


[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ 
jee6-intranet ---
[INFO] Deleting 
D:\projetos\arquitetura\projetos_exemplo\jee6\jee6-intranet\target

[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) 
@ jee6-intranet ---

[INFO] Using 'ISO-8859-1' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.1:compile (default-compile) @ 
jee6-intranet ---
[INFO] Compiling 7 source files to 
D:\projetos\arquitetura\projetos_exemplo\jee6\jee6-intranet\target\classes

[INFO]
[INFO] --- maven-site-plugin:3.0:site (default-site) @ jee6-intranet ---
[INFO] configuring report plugin 
org.codehaus.mojo:findbugs-maven-plugin:2.3.2

[INFO] canGenerate is true
[INFO] configuring report plugin 
org.apache.maven.plugins:maven-checkstyle-plugin:2.5
[INFO] Parent project loaded from repository: 
br.gov.ce.sefaz.jee:sefaz-jee-parent:pom:0.0.1-SNAPSHOT
[INFO] Parent project loaded from repository: 
br.gov.ce.sefaz:sefaz-parent:pom:0.0.2-SNAPSHOT
[WARNING] No project URL defined - decoration links will not be 
relativized!
[INFO] Rendering site with 
org.apache.maven.skins:maven-default-skin:jar:1.0 skin.
[INFO] Generating "FindBugs Report" report--- 
findbugs-maven-plugin:2.3.2

[INFO] canGenerate is true
[INFO] canGenerate is true
[INFO] Locale is en
[INFO] ** FindBugsMojo executeReport ***
[INFO] XML outputFile is 
D:\projetos\arquitetura\projetos_exemplo\jee6\jee6-intranet\target\findbugsXml.xml
[INFO] XML output Directory is 
D:\projetos\arquitetura\projetos_exemplo\jee6\jee6-intranet\target

[INFO] ** FindBugsMojo executeFindbugs ***
[INFO] Temp File is 
D:\projetos\arquitetura\projetos_exemplo\jee6\jee6-intranet\target\findbugsTemp.xml

[INFO] Fork Value is true
[INFO] 


[INFO] BUILD FAILURE
[INFO] 


[INFO] Total time: 4.266s
[INFO] Finished at: Thu Oct 13 16:12:30 GMT-03:00 2011
[INFO] Final Memory: 19M/47M
[INFO] 

[ERROR] Could not find resource 
'build-configuration/findbugs-exclude.xml'. -> [Help 1]

[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with 
the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, 
please read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/ResourceNotFoundException

D:\projetos\arquitetura\projetos_exemplo\jee6\jee6-intranet>

I´m pretty sure that the file build-configuration/findbugs-exclude.xml 
does exists.


And this is my pom configuration:





org.apache.maven.plugins
maven-checkstyle-plugin
2.5

true
true
true
build-configuration/checkstyle.xml



br.gov.ce.sefaz
build-configuration
${build.configuration.version}





check





org.codehaus.mojo
findbugs-maven-plugin
2.3.2

build-configuration/findbugs-exclude.xml 





br.gov.ce.sefaz
build-configuration
${build.configuration.version}





check








org.apache.maven.plugins
maven-site-plugin
3.0



org.codehaus.mojo
findbugs-maven-plugin
2.3.2

build-configuration/findbugs-exclude.xml 





org.apache.maven.plugins
maven-checkstyle-plugin
2.5

build-configuration/checkstyle.xml








thanks in advance,
Fabrício Lemos

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




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



Findbugs with external configuration

2011-10-13 Thread Fabricio Lemos

Can anyone help me configure findbugs in the site reporting?

I use an external file to exclude some checks, so I used this 
configuration: 
http://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html  
and adapted it to maven-site 3.


It works with checkstyle but fails with findbugs. Here is the log:

mvn clean compile site
[INFO] Scanning for projects...
[INFO]
[INFO] 


[INFO] Building jee6-intranet 0.0.1-SNAPSHOT
[INFO] 


[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ 
jee6-intranet ---
[INFO] Deleting 
D:\projetos\arquitetura\projetos_exemplo\jee6\jee6-intranet\target

[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ 
jee6-intranet ---

[INFO] Using 'ISO-8859-1' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.1:compile (default-compile) @ 
jee6-intranet ---
[INFO] Compiling 7 source files to 
D:\projetos\arquitetura\projetos_exemplo\jee6\jee6-intranet\target\classes

[INFO]
[INFO] --- maven-site-plugin:3.0:site (default-site) @ jee6-intranet ---
[INFO] configuring report plugin 
org.codehaus.mojo:findbugs-maven-plugin:2.3.2

[INFO] canGenerate is true
[INFO] configuring report plugin 
org.apache.maven.plugins:maven-checkstyle-plugin:2.5
[INFO] Parent project loaded from repository: 
br.gov.ce.sefaz.jee:sefaz-jee-parent:pom:0.0.1-SNAPSHOT
[INFO] Parent project loaded from repository: 
br.gov.ce.sefaz:sefaz-parent:pom:0.0.2-SNAPSHOT

[WARNING] No project URL defined - decoration links will not be relativized!
[INFO] Rendering site with 
org.apache.maven.skins:maven-default-skin:jar:1.0 skin.
[INFO] Generating "FindBugs Report" report--- 
findbugs-maven-plugin:2.3.2

[INFO] canGenerate is true
[INFO] canGenerate is true
[INFO] Locale is en
[INFO] ** FindBugsMojo executeReport ***
[INFO] XML outputFile is 
D:\projetos\arquitetura\projetos_exemplo\jee6\jee6-intranet\target\findbugsXml.xml
[INFO] XML output Directory is 
D:\projetos\arquitetura\projetos_exemplo\jee6\jee6-intranet\target

[INFO] ** FindBugsMojo executeFindbugs ***
[INFO] Temp File is 
D:\projetos\arquitetura\projetos_exemplo\jee6\jee6-intranet\target\findbugsTemp.xml

[INFO] Fork Value is true
[INFO] 


[INFO] BUILD FAILURE
[INFO] 


[INFO] Total time: 4.266s
[INFO] Finished at: Thu Oct 13 16:12:30 GMT-03:00 2011
[INFO] Final Memory: 19M/47M
[INFO] 

[ERROR] Could not find resource 
'build-configuration/findbugs-exclude.xml'. -> [Help 1]

[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the 
-e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, 
please read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/ResourceNotFoundException

D:\projetos\arquitetura\projetos_exemplo\jee6\jee6-intranet>

I´m pretty sure that the file build-configuration/findbugs-exclude.xml 
does exists.


And this is my pom configuration:





org.apache.maven.plugins
maven-checkstyle-plugin
2.5

true
true
true
build-configuration/checkstyle.xml



br.gov.ce.sefaz
build-configuration
${build.configuration.version}





check





org.codehaus.mojo
findbugs-maven-plugin
2.3.2

build-configuration/findbugs-exclude.xml



br.gov.ce.sefaz
build-configuration
${build.configuration.version}





check








org.apache.maven.plugins
maven-site-plugin
3.0



org.codehaus.mojo
findbugs-maven-plugin
2.3.2

build-configuration/findbugs-exclude.xml



org.apache.maven.plugins
maven-checkstyle-plugin
2.5

build-configuration/checkstyle.xml








thanks in advance,
Fabrício Lemos

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



Re: Corrupted files in codehaus snapshots repository

2010-09-24 Thread Fabricio Lemos

 Ok, it´s working now. Thank you Anders and Wayne.

On 22/9/2010 18:42, Wayne Fay wrote:

  Is there a problem with Codehaus Snapshots Repository?  When I run my build
I get corrupted files. Here is the output:

Codehaus Snapshots Repo is now hosted by Nexus:
http://docs.codehaus.org/display/HAUSMATES/Codehaus+Maven+Repository+Usage+Guide

Wayne

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




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



Corrupted files in codehaus snapshots repository

2010-09-22 Thread Fabricio Lemos
 Is there a problem with Codehaus Snapshots Repository?  When I run my 
build I get corrupted files. Here is the output:


D:\java\workspaces\helios\pdf-parent\pdf-core>mvn install
[INFO] Scanning for projects...
[INFO]
[INFO] 


[INFO] Building pdf-core 0.0.1-SNAPSHOT
[INFO] 

Downloading: 
http://snapshots.repository.codehaus.org/org/codehaus/mojo/findbugs-maven-plugin/2.3.2-SNAPSHOT/maven-metadata.xml
Downloaded: 
http://snapshots.repository.codehaus.org/org/codehaus/mojo/findbugs-maven-plugin/2.3.2-SNAPSHOT/maven-metadata.xml 
(440 B at 0.4

 KB/sec)
Downloading: 
http://snapshots.repository.codehaus.org/org/codehaus/mojo/findbugs-maven-plugin/2.3.2-SNAPSHOT/findbugs-maven-plugin-2.3.2-SNA

PSHOT.jar
Downloaded: 
http://snapshots.repository.codehaus.org/org/codehaus/mojo/findbugs-maven-plugin/2.3.2-SNAPSHOT/findbugs-maven-plugin-2.3.2-SNAP

SHOT.jar (462 B at 0.6 KB/sec)
[INFO] 


[INFO] BUILD FAILURE
[INFO] 


[INFO] Total time: 2.172s
[INFO] Finished at: Wed Sep 22 17:34:01 GMT-03:00 2010
[INFO] Final Memory: 2M/15M
[INFO] 

[ERROR] Failed to parse plugin descriptor for 
org.codehaus.mojo:findbugs-maven-plugin:2.3.2-SNAPSHOT 
(D:\Dados\Documents and Settings\497565
18\.m2\repository\org\codehaus\mojo\findbugs-maven-plugin\2.3.2-SNAPSHOT\findbugs-maven-plugin-2.3.2-SNAPSHOT.jar): 
error in opening zip fil

e -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the 
-e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, 
please read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/PluginDescriptorParsingException

D:\java\workspaces\helios\pdf-parent\pdf-core>

Plugin and repository configuration:


org.codehaus.mojo
findbugs-maven-plugin
2.3.2-SNAPSHOT



Codehaus Snapshots
http://snapshots.repository.codehaus.org/

true


true



I´m using Maven  3.0-beta-3.

thanks in advance,
Fabrício Lemos

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



Re: Release of the site plugin?

2010-09-06 Thread Fabricio Lemos

 Oh... that worked. Thank you

On 6/9/2010 16:00, Olivier Lamy wrote:

   
 
   ...
   
 org.apache.maven.plugins
 maven-project-info-reports-plugin
 2.1.2
   
   
 
   

2010/9/6 Fabricio Lemos:

  How do I do that? I do not have any referencies in my pom to
maven-project-info-reports-plugin.

On 6/9/2010 11:57, Olivier Lamy wrote:

Hi,
It looks you are trying to use :
org.apache.maven.plugins:maven-project-info-reports-plugin:2.1.2-SNAPSHOT

The 2.1.2 version has been released, you must try with this version in
your pom

2010/9/6 Fabricio Lemos:

  I tried maven-site 3.0-beta-2-SNAPSHOT with maven 3.0-beta-3 I got an
error:

Downloading:

http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-project-info-reports-plugin/maven-metadata.xml

Downloading:

http://repository.apache.org/snapshots/org/apache/maven/plugins/maven-project-info-reports-plugin/maven-met
adata.xml
Downloaded:

http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-project-info-reports-plugin/maven-metadata.xml
(617 B at 0.7 KB/sec)
Downloaded:

http://repository.apache.org/snapshots/org/apache/maven/plugins/maven-project-info-reports-plugin/maven-meta
data.xml (465 B at 0.4 KB/sec)
[INFO] configuring report plugin
org.apache.maven.plugins:maven-project-info-reports-plugin:2.1.2-SNAPSHOT
Downloading:

http://repository.apache.org/snapshots/org/apache/maven/plugins/maven-project-info-reports-plugin/2.1.2-SNA
PSHOT/maven-metadata.xml
Downloading:

http://repository.apache.org/snapshots/org/apache/maven/plugins/maven-project-info-reports-plugin/2.1.2-SNA
PSHOT/maven-project-info-reports-plugin-2.1.2-SNAPSHOT.jar
[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 13.656s
[INFO] Finished at: Mon Sep 06 11:39:56 GMT-03:00 2010
[INFO] Final Memory: 14M/34M
[INFO]

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-site-plugin:3.0-beta-2-SNAPSHOT:site
(default-site) on pro
ject pdf-core: failed to get Reports: Plugin
org.apache.maven.plugins:maven-project-info-reports-plugin:2.1.2-SNAPSHOT
o
r one of its dependencies could not be resolved: The following artifacts
could not be resolved: org.apache.maven.plugins
:maven-project-info-reports-plugin:jar:2.1.2-SNAPSHOT: Could not find
artifact org.apache.maven.plugins:maven-project-in
fo-reports-plugin:jar:2.1.2-SNAPSHOT in apache.snapshots
(http://repository.apache.org/snapshots/, releases=true, snapsh
ots=true, managed=false) ->[Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Should I wait for maven-site 3.0-beta-2 final?

thanks,
Fabrício Lemos

On 2/9/2010 07:39, Olivier Lamy wrote:

Hi,
I'm currently waiting the end of beta-3 core release process.

2010/9/1 Steve Jerman:

... thanks for the answer. I tried with the snapshot and it works...
any
idea when the release of the new beta will happen

Steve

On Sep 1, 2010, at 9:31 AM, Steve Jerman wrote:


Hi,

I have tried out Maven-3 Beta-3, and the site plugin is failing due to
a
API change from beta-2 to beta-3. Does anyone know if/when a release
of the
site plugin will be made to match the Beta-3 API?

Steve

[INFO]


[INFO] Reactor Summary:
[INFO]
[INFO] XMP-IM Modules  FAILURE
[0.866s]
[INFO] Artifacts Parent .. SKIPPED
[INFO] xmp-im-foundation-module artifacts  SKIPPED
[INFO] xmp-im-location-module artifacts .. SKIPPED
[INFO] xmp-im-party-module artifacts . SKIPPED
[INFO] xmp-im-physical-resource-module artifacts . SKIPPED
[INFO] xmp-im-connectivity-module artifacts .. SKIPPED
[INFO] xmp-im-logical-resource-module artifacts .. SKIPPED
[INFO] xmp-im-res-mgr-module artifacts ... SKIPPED
[INFO] ca-im-module artifacts  SKIPPED
[INFO] xmp-im-discovery-module artifacts . SKIPPED
[INFO] xmp-im-events-alarms artifacts  SKIPPED
[INFO] xmp-im-file-system-module artifacts ... SKIPPED
[INFO] xmp-im-job-module artifacts ... SKIPPED
[INFO] xmp-im-link-aggregation-module artifacts .. SKIPPED
[INFO] xmp-im-software artifacts . SKIPPED
[INFO] xmp-im-process artifacts .. SKIPPED
[INFO] xmp-im-sensor-module artifacts  SKIPPED
[INFO

Re: Release of the site plugin?

2010-09-06 Thread Fabricio Lemos
 How do I do that? I do not have any referencies in my pom to 
maven-project-info-reports-plugin.


On 6/9/2010 11:57, Olivier Lamy wrote:

Hi,
It looks you are trying to use :
org.apache.maven.plugins:maven-project-info-reports-plugin:2.1.2-SNAPSHOT

The 2.1.2 version has been released, you must try with this version in your pom

2010/9/6 Fabricio Lemos:

  I tried maven-site 3.0-beta-2-SNAPSHOT with maven 3.0-beta-3 I got an
error:

Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-project-info-reports-plugin/maven-metadata.xml

Downloading:
http://repository.apache.org/snapshots/org/apache/maven/plugins/maven-project-info-reports-plugin/maven-met
adata.xml
Downloaded:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-project-info-reports-plugin/maven-metadata.xml
(617 B at 0.7 KB/sec)
Downloaded:
http://repository.apache.org/snapshots/org/apache/maven/plugins/maven-project-info-reports-plugin/maven-meta
data.xml (465 B at 0.4 KB/sec)
[INFO] configuring report plugin
org.apache.maven.plugins:maven-project-info-reports-plugin:2.1.2-SNAPSHOT
Downloading:
http://repository.apache.org/snapshots/org/apache/maven/plugins/maven-project-info-reports-plugin/2.1.2-SNA
PSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/maven/plugins/maven-project-info-reports-plugin/2.1.2-SNA
PSHOT/maven-project-info-reports-plugin-2.1.2-SNAPSHOT.jar
[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 13.656s
[INFO] Finished at: Mon Sep 06 11:39:56 GMT-03:00 2010
[INFO] Final Memory: 14M/34M
[INFO]

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-site-plugin:3.0-beta-2-SNAPSHOT:site
(default-site) on pro
ject pdf-core: failed to get Reports: Plugin
org.apache.maven.plugins:maven-project-info-reports-plugin:2.1.2-SNAPSHOT o
r one of its dependencies could not be resolved: The following artifacts
could not be resolved: org.apache.maven.plugins
:maven-project-info-reports-plugin:jar:2.1.2-SNAPSHOT: Could not find
artifact org.apache.maven.plugins:maven-project-in
fo-reports-plugin:jar:2.1.2-SNAPSHOT in apache.snapshots
(http://repository.apache.org/snapshots/, releases=true, snapsh
ots=true, managed=false) ->  [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Should I wait for maven-site 3.0-beta-2 final?

thanks,
Fabrício Lemos

On 2/9/2010 07:39, Olivier Lamy wrote:

Hi,
I'm currently waiting the end of beta-3 core release process.

2010/9/1 Steve Jerman:

... thanks for the answer. I tried with the snapshot and it works... any
idea when the release of the new beta will happen

Steve

On Sep 1, 2010, at 9:31 AM, Steve Jerman wrote:


Hi,

I have tried out Maven-3 Beta-3, and the site plugin is failing due to a
API change from beta-2 to beta-3. Does anyone know if/when a release of the
site plugin will be made to match the Beta-3 API?

Steve

[INFO]

[INFO] Reactor Summary:
[INFO]
[INFO] XMP-IM Modules  FAILURE
[0.866s]
[INFO] Artifacts Parent .. SKIPPED
[INFO] xmp-im-foundation-module artifacts  SKIPPED
[INFO] xmp-im-location-module artifacts .. SKIPPED
[INFO] xmp-im-party-module artifacts . SKIPPED
[INFO] xmp-im-physical-resource-module artifacts . SKIPPED
[INFO] xmp-im-connectivity-module artifacts .. SKIPPED
[INFO] xmp-im-logical-resource-module artifacts .. SKIPPED
[INFO] xmp-im-res-mgr-module artifacts ... SKIPPED
[INFO] ca-im-module artifacts  SKIPPED
[INFO] xmp-im-discovery-module artifacts . SKIPPED
[INFO] xmp-im-events-alarms artifacts  SKIPPED
[INFO] xmp-im-file-system-module artifacts ... SKIPPED
[INFO] xmp-im-job-module artifacts ... SKIPPED
[INFO] xmp-im-link-aggregation-module artifacts .. SKIPPED
[INFO] xmp-im-software artifacts . SKIPPED
[INFO] xmp-im-process artifacts .. SKIPPED
[INFO] xmp-im-sensor-module artifacts  SKIPPED
[INFO] xmp-im-switch-module artifacts  SKIPPED
[INFO] xmp-im-vlan-module artifacts .. SKIPPED
[INFO] xmp-im-test ... SKIPPED
[INFO] Update site creation parent POM ... SKIPP

Re: Release of the site plugin?

2010-09-06 Thread Fabricio Lemos
 I tried maven-site 3.0-beta-2-SNAPSHOT with maven 3.0-beta-3 I got an 
error:


Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-project-info-reports-plugin/maven-metadata.xml


Downloading: 
http://repository.apache.org/snapshots/org/apache/maven/plugins/maven-project-info-reports-plugin/maven-met

adata.xml
Downloaded: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-project-info-reports-plugin/maven-metadata.xml

(617 B at 0.7 KB/sec)
Downloaded: 
http://repository.apache.org/snapshots/org/apache/maven/plugins/maven-project-info-reports-plugin/maven-meta

data.xml (465 B at 0.4 KB/sec)
[INFO] configuring report plugin 
org.apache.maven.plugins:maven-project-info-reports-plugin:2.1.2-SNAPSHOT
Downloading: 
http://repository.apache.org/snapshots/org/apache/maven/plugins/maven-project-info-reports-plugin/2.1.2-SNA

PSHOT/maven-metadata.xml
Downloading: 
http://repository.apache.org/snapshots/org/apache/maven/plugins/maven-project-info-reports-plugin/2.1.2-SNA

PSHOT/maven-project-info-reports-plugin-2.1.2-SNAPSHOT.jar
[INFO] 


[INFO] BUILD FAILURE
[INFO] 


[INFO] Total time: 13.656s
[INFO] Finished at: Mon Sep 06 11:39:56 GMT-03:00 2010
[INFO] Final Memory: 14M/34M
[INFO] 

[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-site-plugin:3.0-beta-2-SNAPSHOT:site 
(default-site) on pro
ject pdf-core: failed to get Reports: Plugin 
org.apache.maven.plugins:maven-project-info-reports-plugin:2.1.2-SNAPSHOT o
r one of its dependencies could not be resolved: The following artifacts 
could not be resolved: org.apache.maven.plugins
:maven-project-info-reports-plugin:jar:2.1.2-SNAPSHOT: Could not find 
artifact org.apache.maven.plugins:maven-project-in
fo-reports-plugin:jar:2.1.2-SNAPSHOT in apache.snapshots 
(http://repository.apache.org/snapshots/, releases=true, snapsh

ots=true, managed=false) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the 
-e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, 
please read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException


Should I wait for maven-site 3.0-beta-2 final?

thanks,
Fabrício Lemos

On 2/9/2010 07:39, Olivier Lamy wrote:

Hi,
I'm currently waiting the end of beta-3 core release process.

2010/9/1 Steve Jerman:

... thanks for the answer. I tried with the snapshot and it works... any idea 
when the release of the new beta will happen

Steve

On Sep 1, 2010, at 9:31 AM, Steve Jerman wrote:


Hi,

I have tried out Maven-3 Beta-3, and the site plugin is failing due to a API 
change from beta-2 to beta-3. Does anyone know if/when a release of the site 
plugin will be made to match the Beta-3 API?

Steve

[INFO] 
[INFO] Reactor Summary:
[INFO]
[INFO] XMP-IM Modules  FAILURE [0.866s]
[INFO] Artifacts Parent .. SKIPPED
[INFO] xmp-im-foundation-module artifacts  SKIPPED
[INFO] xmp-im-location-module artifacts .. SKIPPED
[INFO] xmp-im-party-module artifacts . SKIPPED
[INFO] xmp-im-physical-resource-module artifacts . SKIPPED
[INFO] xmp-im-connectivity-module artifacts .. SKIPPED
[INFO] xmp-im-logical-resource-module artifacts .. SKIPPED
[INFO] xmp-im-res-mgr-module artifacts ... SKIPPED
[INFO] ca-im-module artifacts  SKIPPED
[INFO] xmp-im-discovery-module artifacts . SKIPPED
[INFO] xmp-im-events-alarms artifacts  SKIPPED
[INFO] xmp-im-file-system-module artifacts ... SKIPPED
[INFO] xmp-im-job-module artifacts ... SKIPPED
[INFO] xmp-im-link-aggregation-module artifacts .. SKIPPED
[INFO] xmp-im-software artifacts . SKIPPED
[INFO] xmp-im-process artifacts .. SKIPPED
[INFO] xmp-im-sensor-module artifacts  SKIPPED
[INFO] xmp-im-switch-module artifacts  SKIPPED
[INFO] xmp-im-vlan-module artifacts .. SKIPPED
[INFO] xmp-im-test ... SKIPPED
[INFO] Update site creation parent POM ... SKIPPED
[INFO] Common Models Feature . SKIPPED
[INFO] Common Modules Update Site  SKIPPED
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 

Re: Why all these errors with mvn site:site concerning https://maven-repository.dev.java.net/nonav/repository

2010-08-26 Thread Fabricio Lemos
 I´m also getting this error with maven 3.0-beta-2 and site plugin 
3.0-beta-1.


Can you point me to the Jira issue for this bug?

thanks,
Fabricio Lemos

On 29/7/2010 02:19, Rick R wrote:

On Tue, Jul 27, 2010 at 4:34 PM, Brian Fox  wrote:


one of the reports in there hits all repos known to the build. There's
a bug against it.


Is there a known work around in the meantime?



On Tue, Jul 27, 2010 at 2:29 PM, Rick R  wrote:

I keep getting all these errors about
https://maven-repository.dev.java.net/nonav/repository. I tried googling
about it but the responses are confusing.
(I'm using maven 2.2.1 and 2.1.1 of the site plugin)

 tons more.
[ERROR] Unable to determine if resource
org.springframework:spring-context-support:jar:2.5.5:compile exists in
https://maven-repository.dev.java.net/nonav/repository
[ERROR] Unable to determine if resource
org.springframework:spring-core:jar:2.5.5:compile exists in
https://maven-repository.dev.java.net/nonav/repository
[ERROR] Unable to determine if resource
org.springframework:spring-jms:jar:2.5.5:compile exists in
https://maven-repository.dev.java.net/nonav/repository
[ERROR] Unable to determine if resource
org.springframework:spring-tx:jar:2.5.5:compile exists in
https://maven-repository.dev.java.net/nonav/repository
[ERROR] Unable to determine if resource
org.springframework:spring-web:jar:2.5.5:compile exists in
https://maven-repository.dev.java.net/nonav/repository
[ERROR] Unable to determine if resource oro:oro:jar:2.0.8:compile exists

in

https://maven-repository.dev.java.net/nonav/repository
[ERROR] Unable to determine if resource rhino:js:jar:1.7R1:compile exists

in

https://maven-repository.dev.java.net/nonav/repository
[ERROR] Unable to determine if resource

taglibs:standard:jar:1.1.2:compile

exists in https://maven-repository.dev.java.net/nonav/repository
[ERROR] Unable to determine if resource tomcat:jsp-api:jar:5.5.23:test
exists in https://maven-repository.dev.java.net/nonav/repository
[ERROR] Unable to determine if resource wsdl4j:wsdl4j:jar:1.6.2:compile
exists in https://maven-repository.dev.java.net/nonav/repository
[ERROR] Unable to determine if resource xom:xom:jar:1.0:compile exists in
https://maven-repository.dev.java.net/nonav/repository
[ERROR] Unable to determine if resource xpp3:xpp3_min:jar:1.1.4c:compile
exists in https://maven-repository.dev.java.net/nonav/repository


--
Rick R


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






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



Re: m2eclipse

2009-11-09 Thread Fabricio Lemos

I´m having this same problem while subscribing do m2eclipse mailing list.

maven apache wrote:

2009/11/7 Brian Fox 

  

On Fri, Nov 6, 2009 at 3:48 AM, maven apache 
wrote:


2009/11/6 Olivier Lamy 

  

BTW you can use m2e user ml

Have a look here :


http://m2eclipse.sonatype.org/project-information.html


I have tried, but I can not subscrib to the maillist.

  

Why not?



I send subscribe message to "user-subscr...@m2eclipse.sonatype.org",soon I
got the information:
--
Delivery to the following recipient failed permanently:

user-subscr...@m2eclipse.sonatype.org

Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the recipient
domain. We recommend contacting the other email provider for further
information about the cause of this error. The error that the other server
returned was: 553 553 sorry, that domain isn't in my list of allowed
rcpthosts (#5.5.3 - chkuser) (state 14).

- Original message -
---

  

Thanks,
--
Olivier

2009/11/6 Antonio Petrelli :


2009/11/6 maven apache :
  

Thanks,I have install other plugins such as POM XML Editor 0.9.8,can


I


retain them and intall the POM Editor 0.9.9 only?


I don't think so.

  

If can not do this, how to unintended cleanly the installed maven


plugins?


They should be updated as long as you put the repository in your
  

Eclipse.


Anyway, if it does not work, to uninstall you should go to:
Help - About - Installation Details - Installed Software (tab)

Ciao
Antonio

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


  


--
Olivier

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




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





  


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



Re: Maven2 Repository with the javax jars

2009-08-12 Thread Fabricio Lemos
I looked into these repositories (http://download.java.net/maven/2/javax/)
but did not find the jar for javax.ejb. Does anyone know a public Maven 2
repo where I can find it? Would be even better If it also has the sources.

thanks in advance,
Fabrício Lemos

On Wed, Mar 14, 2007 at 6:23 AM, David Wilkinson  wrote:

> Hi all
>
> Thanks for the help that gives me some things to look into
>
> Regards
>
> David Wilkinson
>
> -Original Message-
> From: Ryan Cuprak [mailto:rcup...@mac.com]
> Sent: 13 March 2007 17:40
> To: Maven Users List
> Subject: Re: Maven2 Repository with the javax jars
>
>
>  Checkout: https://maven-repository.dev.java.net/
>
>  Regards,
>  -Ryan
>
> On Tuesday, March 13, 2007, at 10:14AM, "David Wilkinson"  >
> wrote:
> >Hi
> >
> >
> >
> >I'm new to using maven and I'm trying to set up a build for a j2ee
> project,
> >where can I find a repository that holds the javax jars such as the ones
> for
> >javax.ejb. I have seen in the main repo (http://repo1.maven.org/maven2/)
> >that there is meta data for these jars but the jars themselves are not
> there
> >can anyone help.
> >
> >
> >
> >Thanks in advance
> >
> >
> >
> >David Wilkinson
> >
> >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


Re: Is it possible to have cobertura reports for integration tests?

2008-08-29 Thread Fabricio Lemos
Coincidentally I was looking for it right now, but did not found anything
interesting.

Anyone can help on this?

thanks in advance,
Fabrício Lemos

On Fri, Aug 29, 2008 at 8:18 AM, Carlos Alonso <[EMAIL PROTECTED]> wrote:

> Hi all
>
> I have a bi-module project, the first module is the project itself and
> the second one is the integration-tests. I have cobertura reports for
> unit tests execution, but, is there any way to have cobertura reports
> for integration tests execution?
>
> Thanks in advance.
> Carlos
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Copy files to WAR without copy them to the source folder

2008-06-30 Thread Fabricio Lemos
I want to copy some files to my WEB-INF when I package my Web Application.
So I included the configuration



dist/Jboss/teste
WEB-INF



on the maven-war-plugin

The files are copied correctly to the war, the problem is that they are also
copied to the source folder (the one that I use to edit my application).
Being so, every time I package my application, I have to revert the contents
of the WEB-INF folder from CVS.

Is that anyway to copy files to the generated WAR without copy them to the
source folder?

Thanks in advance,
Fabrício Lemos


Re: Is it possible to run cobertura with the eclipse plugin Maven 2.0 integration

2007-02-27 Thread Fabricio Lemos

I have the same problem. Does anyone know what´s wrong?

On 1/31/07, Markus Baumgartner <[EMAIL PROTECTED]> wrote:

Hi,

There was a problem running the cobertura from within Eclipse with the
Maven 2.0 integration, version 0.0.10 and Cobertura 1.7

I can run mvn cobertura:cobertura and it runs. I tried to create a new
"m2" - configuration defining the goal cobertura:cobertura for doing the
same, but I got an error messages

Do I have to define that'm2' configuration different? (is there any
description or help for this on the net?
Or is this a know problem, maybe with a workaround?

Thanks for help

Markus


[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'cobertura'.
[INFO]

[INFO] Building Copine
[INFO]task-segment: [cobertura:cobertura]
[INFO]

[INFO] Preparing cobertura:cobertura
[INFO] resources:resources
[INFO] Using default encoding to copy filtered resources.
[INFO] compiler:compile
[INFO] Nothing to compile - all classes are up to date
[ERROR] project-execute :
com.informationcontrol.backup:mybackupper:jar:1.0-SNAPSHOT (
task-segment: [cobertura:cobertura] )
Diagnosis: Error configuring: org.codehaus.mojo:cobertura-maven-plugin.
Reason: Unable to parse the created DOM for plugin configuration
FATAL ERROR: Error executing Maven for a project
[ERROR] reactor-execute :
D:\dev\eclipse_home\eclipse_home_3_2_1\copinemaven_2ndTry\copinemaven_SecondTry
Diagnosis: Error configuring: org.codehaus.mojo:cobertura-maven-plugin.
Reason: Unable to parse the created DOM for plugin configuration
FATAL ERROR: Error executing Maven for a project
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Failed to configure plugin parameters for:
org.codehaus.mojo:cobertura-maven-plugin:2.0

on the command line, specify: '-Dcheck=VALUE'

Cause: Class name which was explicitly given in configuration using
'implementation' attribute:
'org.codehaus.mojo.cobertura.configuration.ConfigCheck' cannot be loaded
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 9 seconds
[INFO] Finished at: Tue Jan 30 22:20:57 PST 2007
[INFO] Final Memory: 3M/7M
[INFO]

[INFO] Error for project: Copine (during cobertura:cobertura)
[INFO]

[INFO] Failed to configure plugin parameters for:
org.codehaus.mojo:cobertura-maven-plugin:2.0

on the command line, specify: '-Dcheck=VALUE'

Cause: Class name which was explicitly given in configuration using
'implementation' attribute:
'org.codehaus.mojo.cobertura.configuration.ConfigCheck' cannot be loaded
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[ERROR] reactor-execute :
D:\dev\eclipse_home\eclipse_home_3_2_1\copinemaven_2ndTry\copinemaven_SecondTry
FATAL ERROR: Error executing Maven for a project
[INFO] BUILD ERRORS
[INFO]

[INFO] Total time: 9 seconds
[INFO] Finished at: Tue Jan 30 22:20:57 PST 2007
[INFO] Final Memory: 3M/7M
[INFO]



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



[M2] Install and cargo:deploy

2007-01-08 Thread Fabricio Lemos

Hello,

Is it possible to install a whole multi module project and do a
cargo:deploy on the ear sub-module with only one maven command?

thanks in advance,
Fabrício Lemos

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



Re: Howto debug filtered webapp, advice wanted

2007-01-08 Thread Fabricio Lemos

On 1/8/07, Mikael Andersson <[EMAIL PROTECTED]> wrote:

Ok,
was just about to check if eclipse is better (but the site with the sysdeo
plugin was down ;) ).


With WTP (http://www.eclipse.org/webtools/), you don´t need sysdeo.



I guess there is no way for me to somehow keep src/main/webapp/ as web root
to be able to change jsp's/xhtml files is there?


I´m afraid there is not way.



- Mike

On 08/01/07, Fabricio Lemos <[EMAIL PROTECTED]> wrote:
>
> Don´t know about IntelliJ, but with Eclipse WTP you can debug
> applications not deployed by the IDE. You only have do start the
> server within the IDE, but not deploy through it.
>
> On 1/6/07, Mikael Andersson <[EMAIL PROTECTED]> wrote:
> > Hi
> >
> > I have a little webapp which has some resources filtered I have two
> profiles
> > dev and prod, currently the different profiles specify different
> property
> > files to be used when filtering the webapp resources.
> > My problem is that I don't know how to debug the application, can't
> deploy
> > the application from within IntelliJ anymore due to the property
> > placeholders.
> >
> > I'm also about to skip the filter property files in favor of having the
> > properties in settings.xml, since I don't want to check that in to my
> public
> > SVN. Which also causes the same debugging problem.
> >
> > I guess I could keep debug versions of my files and switch those for the
> > live ones, but I'd like to find a way of utilizing maven.
> >
> > Tips and advice greatly appreciated.
> >
> > Cheers,
> >  Mike
> >
> >
>
> -
> 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: Howto debug filtered webapp, advice wanted

2007-01-08 Thread Fabricio Lemos

Don´t know about IntelliJ, but with Eclipse WTP you can debug
applications not deployed by the IDE. You only have do start the
server within the IDE, but not deploy through it.

On 1/6/07, Mikael Andersson <[EMAIL PROTECTED]> wrote:

Hi

I have a little webapp which has some resources filtered I have two profiles
dev and prod, currently the different profiles specify different property
files to be used when filtering the webapp resources.
My problem is that I don't know how to debug the application, can't deploy
the application from within IntelliJ anymore due to the property
placeholders.

I'm also about to skip the filter property files in favor of having the
properties in settings.xml, since I don't want to check that in to my public
SVN. Which also causes the same debugging problem.

I guess I could keep debug versions of my files and switch those for the
live ones, but I'd like to find a way of utilizing maven.

Tips and advice greatly appreciated.

Cheers,
 Mike




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



Re: Filters with Eclipse

2007-01-04 Thread Fabricio Lemos

I had the same problem. The solution was to run the application
compiled by maven, instead of runing the one compiled by eclipse.

On 1/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Does anybody know how to resolve the following issue:



We created a project with Maven2 and we have some properties who need to be 
filtered.  The problem is, if we declare those properties as ${test.name} and 
we have a filter file where test.name=c:/test.log, Eclipse doesn't know when 
you run the project which value needs to be filled in at test.name.  How do we 
tell Eclipse where he needs to look to replace ${_filter_} with the value?



Thanks in advance







This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information.  If you have received it in 
error, please notify the sender immediately and delete the original.  Any other 
use of the email by you is prohibited.




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



Re: JBoss EJB3 and Maven

2007-01-04 Thread Fabricio Lemos

On 1/3/07, Vitor Pellegrino <[EMAIL PROTECTED]> wrote:
i forgot to add at project/pom.xml my web
project as a module, so it was not being compiled when i was trying to
package my whole project.


I have the same problem, but my web project is already a module of my
"project/pom.xml". What command did you use to compile and package the
whole project?

On 1/3/07, Vitor Pellegrino <[EMAIL PROTECTED]> wrote:

Marco,
Thanks for your help!

My web.project has inherited my project/pom.xml. Trying to do what you told
me to, i have found the problem: i forgot to add at project/pom.xml my web
project as a module, so it was not being compiled when i was trying to
package my whole project. Obvious! I feel a little stupid right now! lol

Well, now i'm trying to deploy this generated .ear (which seems to be
correct) into my JBOSS AS instance.

As Stephane Nicoll told me (thanks!), i am looking at Cargo plugin but i
don't know exactly where do i have to declare this.

The plugin should be declared into project/pom.xml or project/ear/pom.xml?

Thanks for every help you all provided to me i feel closer to get this whole
thing working smoothly.

Best regards,





On 1/2/07, Marco Mistroni <[EMAIL PROTECTED]> wrote:
>
> helllo,
> my 2 cents
> a wild guessm ight be that your web project is not child of your
> com.project
> if your web project java files didnt change at all then it's normal
> that
> you'd have an earlier version ..
>
> try mvn clean install and see what happens
> otherwise..
>
> this is what is in your ear
> 
>com.project
>web
>1.0-SNAPSHOT
>war
>
>
> i didnt see a groupId in the pom.xml of your web.project
>
> was it an omission? or your web.project has too
> com.project
>
> hth
> marco
>
>
>
> On 1/2/07, Vitor Pellegrino <[EMAIL PROTECTED]> wrote:
> >
> > First of all, i want to wish you all a Happy new year and thanks for
> every
> > reply!!
> >
> > Well, i gone after Better Builds with Maven and that helped-me to find
> > myself how could i do this with Maven kind of deployment with Maven but,
> > sadly, i'm still facing some issues.
> >
> > I've split my project into 3 modules and packaged the "root-project" as
> a
> > POM which is inherited by every sub module in this project.
> > So, my directory structure is something like that:
> >
> > project
> > |
> >  web ( created with maven archetype webapp )
> >  | pom.xml
> >  ejb ( created as an ordinary maven archetype project)
> >  | pom.xml
> >  ear ( empty except by the pom.xml)
> >  | pom.xml
> > |pom.xml
> >
> > But when i go for /project/mvn package, the ear seems to include only a
> > "previous installed" version of my web/target/project.war which must be
> > installed previously at my local repo by project/web/mvn install.
> >
> > There is a way i can do this whole process by a project/mvn deploy
> > command,
> > or something as simple as that?
> >
> > Sorry about taking so long for replying but i went away for some days
> and
> > about the length of this email.
> >
> > Thanks about every reply!
> >
> > Best Regards,
> >
> > Vitor Pellegrino
> >
> > -
> >
> >
> > there goes project/pom.xml
> >
> > 
> > 
> > 
> > ear
> > ejb
> >   
> >   
> >   
> > org.apache.struts
> > struts2-core
> > 2.0.2-SNAPSHOT
> > 
> > 
> > org.apache.struts
> > struts2-sitemesh-plugin
> > 2.0.2-SNAPSHOT
> > 
> >   
> > 
> > 
> >
> > project/ejb/pom.xml
> >
> > 
> > 
> >   
> > project
> > com.project
> > 1.0-SNAPSHOT
> >   
> >   4.0.0
> >   ejb
> >   ejb
> > ...
> > 
> > ...
> > 
> > 
> >
> > project/web/pom.xml
> > 
> > 
> > web
> > war
> > webapp
> > 
> > 
> > com.project
> > ejb
> > 1.0-SNAPSHOT
> >  provided
> > 
> > 
> > jboss
> > jboss-ejb3x
> > 
> > 
> > 
> > ...
> > 
> > ...
> > 
> >
> > project/ear/pom.xml
> >
> > 
> >
> > ear
> > ear
> > ear
> > 
> > 
> > 
> > org.apache.maven.plugins
> > maven-ear-plugin
> > 
> > 
> > 
> > com.project
> > ejb
> > 
> > ejb-1.0-SNAPSHOT.ejb3
> > 
> > 
> > 
> > com.project
> > web
> > /project
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > com.project
> > ejb
> > 1.0-SNAPSHOT
> >  

Re: Hibernate and Maven

2007-01-01 Thread Fabricio Lemos

Did you look if the jar file you downloaded contais the class
oracle.jdbc.driver.OracleDriver?

On 12/31/06, juergen.schumacher <[EMAIL PROTECTED]> wrote:


Hi,
I try to use the maven-hibernate3 plugin. The problem is that the driver for
the database can not be found. This really drives me crazy after so much
hours. I know I have to use the extension but it doesnt help. I downloaded
the oracle driver and installed it in my own repository. The jar will be
downloaded and I can see the jar in my maven libraries in eclipse. I also
added the driver to the dependencies but it doesnt work either. I always got
the message "JDBC Driver class not found: oracle.jdbc.driver.OracleDriver".
Even I tried to put the driver into the lib folder in the web-inf.
Can anybody give me any hint?

I wish you all a prosperous and healthy year 2007,
juergen
--
View this message in context: 
http://www.nabble.com/Hibernate-and-Maven-tf2901698s177.html#a8106946
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: JBoss EJB3 and Maven

2006-12-26 Thread Fabricio Lemos

I think you don´t need any ejb specific goal, just package your
project on a jar, war or ear, depending on your need and deploy it via
Cargo plugin.

On 12/26/06, Vitor Pellegrino <[EMAIL PROTECTED]> wrote:

Hello,

Here at my company we're starting a new project using EJB3 with a JBOSS as
our a application server. My task was to develop a concept proof using maven
instead of ant for doing all the build process. I've added all jboss
libraries to our local repository and right now i'm struggling to get this
project deployed same as we do using ant.

I was looking for some direction about how to use maven-ejb-plugin with that
project but i could not find. After looking at this list's archive i found
some threads where an ejb3 project was divided in a multi-project which is
not what i want to do for now.

So i ask your help with some questions.

1 - How can i deploy my project using maven to my Jboss AS instance?

2 - I used to develop non-ejb projects using maven-jetty-plugin. There is
some sort of plugin where can i find this kind of "hot-deployable" ejb3
application server?

When i try to do a "mvn ejb:ejb" it is lacking for a ejb-jar.xml file and at
the plugin's usage page it's says that it's not mandatory anymore.

FATAL ERROR: Error executing Maven for a project
org.apache.maven.lifecycle.LifecycleExecutionException: Error assembling EJB
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:559)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(
DefaultLifecycleExecutor.java:488)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
DefaultLifecycleExecutor.java:458)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:306)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:273)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
DefaultLifecycleExecutor.java:140)
at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java
:441)
at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java
:382)
at org.maven.ide.eclipse.Maven2Executor.main(Maven2Executor.java:68)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error assembling
EJB
at org.apache.maven.plugin.ejb.EjbMojo.execute(EjbMojo.java:180)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java:412)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:534)
... 8 more
Caused by: org.codehaus.plexus.archiver.ArchiverException:
D:\vitor\workspace\futpedia_test\target\classes\META-INF\ejb-jar.xml isn't a
file.
at org.codehaus.plexus.archiver.AbstractArchiver.addFile(
AbstractArchiver.java:174)
at org.codehaus.plexus.archiver.AbstractArchiver.addFile(
AbstractArchiver.java:166)
at org.apache.maven.plugin.ejb.EjbMojo.execute(EjbMojo.java:148)

There goes my pom.xml


  4.0.0
  br.com.vip.ejbproject
  ejbproject_test
  war
  ejbproject_test Maven Webapp
  1.0-SNAPSHOT
  http://maven.apache.org
  
ejbproject_test

  
maven-compiler-plugin

  1.5
  1.5

  
  
org.mortbay.jetty
maven-jetty-plugin
6.0.1

  10

  
  
org.apache.maven.plugins
maven-ejb-plugin

  3.0

  

  





It seems i am losing some point because i don't know where else more should
i look for these answers.

Thanks for any help!

PS: Sorry about my english, it's not my first tongue. I hope i could made
myself understood.

--
Vitor Pellegrino




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



Execute goals from different modules in a single command

2006-12-20 Thread Fabricio Lemos

Hello,

I have a multi-module JEE project and when I want to deploy the ear
project with all the changes made in the application, I have to call
the goal "install" on the 3 modules and after call "cargo:deploy" on
the ear project. Is there some way to call these goals with a single
maven command? I know I can call several goals if they belong to the
same module, but if the goals belong to diferent modules I have to
call the mvn command for each module?

thanks in advance,
Fabrício Lemos

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



Re: Problems running a JSF application on Jetty:Run

2006-10-27 Thread Fabricio Lemos

You could get confused because the stacktrace shows DefaultAddResource
and ExtensionsFilter that belongs to org.apache.myfaces package. But
these classes are part of myfaces tomahawk api, not myfaces core api.

On 10/26/06, Dudu <[EMAIL PROTECTED]> wrote:

I can't discover the problem in this strack trace...
I'm running RI JSF implementation + tomahawk + ADF Faces:



this is the pom.xml


junit
junit
4.0
test


hibernate
hibernate
3.0
compile


log4j
log4j
1.2.12
compile


ojdbc
ojdbc
14
compile


oracle.adf
adf-faces-impl
10.1.3.0.4
compile


oracle.adf
adf-faces-api
10.1.3.0.4
compile


oracle.adf
adf-facelets
1.0
compile


javax.faces
jsf-impl
1.1
compile


javax.faces
jsf-api
1.1
compile


org.apache.shale
shale-test
1.0.3
test


myfaces
tomahawk
1.1.2
compile


commons-configuration
commons-configuration
1.3
compile


javax.mail
mail
1.4
compile


javax.servlet
servlet-api
2.5
compile


javax.servlet
jstl
1.1.2
compile


commons-validator
commons-validator
1.1.4
compile


oro
oro
2.0.8
compile


jaybird
jaybird-full
2.0.1
compile



commons-el
commons-el
1.0
compile



sagweb


maven-compiler-plugin

1.5
1.5



org.mortbay.jetty
maven-jetty-plugin



8081










And this is the error:
(But I look to the error and it seems to me the application is using the
myfaces implementation)

2006-10-26 15:29:44.015::WARN:  /sagweb/faces/accesscontrol/login.jspx
java.lang.IllegalStateException: STREAM
at org.mortbay.jetty.Response.getWriter(Response.java:470)
at
org.apache.myfaces.renderkit.html.util.DefaultAddResource.writeRespon
se(DefaultAddResource.java:807)
at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter
(Extensions
Filter.java:162)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
(Servlet
Handler.java:1041)
at org.mortbay.jetty.servlet.ServletHandler.handle(
ServletHandler.java:3
54)
at org.mortbay.jetty.servlet.SessionHandler.handle(
SessionHandler.java:2
26)
at org.mortbay.jetty.handler.ContextHandler.handle(
ContextHandler.java:6
15)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle
(ContextHand
lerCollection.java:149)
at org.mortbay.jetty.handler.HandlerCollection.handle
(HandlerCollection.
java:123)
at org.mortbay.jetty.handler.HandlerWrapper.handle(
HandlerWrapper.java:1
41)
at org.mortbay.jetty.Server.handle(Server.java:269)
at org.mortbay.jetty.HttpConnection.handleRequest(
HttpConnection.java:43
0)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete
(HttpCo
nnection.java:678)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:492)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:199)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:339)
at org.mortbay.jetty.nio.HttpChannelEndPoint.run(
HttpChannelEndPoint.jav
a:270)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run
(BoundedThreadPool
.java:475)




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



Re: Generating SQL to initialize database

2006-10-27 Thread Fabricio Lemos

If the database may only be created by the admin, you can´t rely on
HMB files. In that case you should have a script that creates the
database and put it on the resources folder.

On 10/27/06, Aleksei Valikov <[EMAIL PROTECTED]> wrote:

Hi folks.

I wonder, what is the usual approach to generate or include in distribution or
package the SQL that sets up the database (DDL)?

For instance, I use Hyperjaxb to generate source code and Hibernate mappings
from the database schema. Based on the Hibernate mappings I can generate the DDL
that defines the database (there's a plugin to do that).

What I completely miss is how this SQL should be packaged or distributed and so
on. With HBMs everything works very nice - they are just packaged as resources
in the JAR (together with Hibernate configuration). Currently I simply use the
automatic schema creation of Hibernate. That is, during the start-up the
Hibernate automatically exports the database schema into the database. But what
should I do in cases when the database may only be created manyally by the 
admin?

I'd be grateful for you input/advises.
Thanks in advance.

Bye.
/lexi

-
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]



Macker plugin

2006-09-14 Thread Fabricio Lemos

Hello,

Does anyone have an example on how to use Macker plugin?

thanks in advance,
Fabricio Lemos

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