proxy

2007-11-05 Thread leahpar

Bonjour,

Is anybody succeed in using archiva beta 3 behind an enterprise proxy?

I cannot get archiva providing me any artifact...

following tests have fail
official archiva beta 3 with standalone / window / proxy / jdk 5
official archiva beta 3 with standalone / debian / proxy / jdk 5

following tests have succeed
slightly modified archiva beta 2 running fine with tomcat 6 / window / proxy
/ jdk 5
slightly modified continuum beta 3 in the same tomcat (build project in jdk
5/6)
(scm perforce, but cannot checkout svn project here)
official continuum beta 4 with standalone / debian / NOPROXY / jdk 5
(scm svn here)

Cordialement.



-- 
View this message in context: 
http://www.nabble.com/proxy-tf4753185.html#a13591697
Sent from the archiva-users mailing list archive at Nabble.com.



Re: 1.1alpha 1 not deploying on tomcat 6.0.10

2007-04-24 Thread leahpar

with Windows you can create a folder c:\logs
or
update the path in c:\Program Files\Apache Software Foundation\Tomcat
6.0\webapps\continuum\WEB-INF\classes\META-INF\plexus\application.xml
-- 
View this message in context: 
http://www.nabble.com/1.1alpha-1-not-deploying-on-tomcat-6.0.10-tf3637443.html#a10157787
Sent from the Continuum - Users mailing list archive at Nabble.com.



Re: Admin user doesn't have admin rights.

2006-11-30 Thread leahpar


leahpar wrote:
 
 hello,
 
 i've just sync this morning and i've got funny behavior
 it's possible to create user
 but it's not possible to grant role to user / edit user / delete
 it complains about an empty user
 
 :(
 
 
 
 
Today I've sync again and the username is back 
all fine on this side
but 
it seems that on a windows plateform, it's not possible to access a managed
repository on the network in some particular case:
with the following definition , it can get stuff from maven_release (from
proxy) but not xxx_release (from repository)

repository
  urlNamemaven_release/urlName
directory\\host\share\repositories/maven_release/directory
  idmaven_release/id
  namerelease for maven artifacts/name
/repository

repository
  urlNamexxx_release/urlName
directory\\host\shared\repositories/xxx_release/directory
  idxxx_release/id
  namerelease for xxx artifacts/name
/repository

Any idea?

Another issue (maybe not)
I've got the following log. Is it an expected behavior?

Thanks all.


2006-11-30 11:18:21,823 [http-17080-Processor25] DEBUG RBACManager:jdo  
 
- Create Resource [*] Returning Existing.
2006-11-30 11:18:22,640 [http-17080-Processor25] DEBUG RBACManager:jdo  
 
- Create Resource [*] Returning Existing.
2006-11-30 11:18:23,113 [http-17080-Processor25] FATAL
Interceptor:pssEnvironmentCheckInterceptor - EnvironmentCheck Failure.
==
 ENVIRONMENT FAILURE !! 

xwork.xml - Missing named result success in action account in package
/security.
xwork.xml - Missing named result success in action login in package
/security.
xwork.xml - Expected method attribute value of show but got logout
instead, on action logout in package /security.
xwork.xml - Missing named result input in action logout in package
/security.
xwork.xml - Missing named result error in action logout in package
/security.
xwork.xml - Missing named result success in action logout in package
/security.
xwork.xml - Missing named result success in action register in package
/security.
xwork.xml - Expected method attribute value of edit but got show
instead, on action usercreate in package /security.
xwork.xml - Expected method attribute value of show but got list
instead, on action roles in package /security.
xwork.xml - Missing named result input in action roles in package
/security.
xwork.xml - Missing named result error in action roles in package
/security.
xwork.xml - Missing named result success in action roles in package
/security.
xwork.xml - Expected method attribute value of show but got list
instead, on action permissions in package /security.
xwork.xml - Missing named result input in action permissions in package
/security.
xwork.xml - Missing named result error in action permissions in package
/security.
xwork.xml - Missing named result success in action permissions in
package /security.
Missing [16] xwork.xml configuration elements.

==
2006-11-30 11:18:23,131 [http-17080-Processor25] INFO 
Interceptor:pssSecureActionInterceptor -
org.codehaus.plexus.security.ui.web.interceptor.SecureActionInterceptor
initialized!
2006-11-30 11:18:23,131 [http-17080-Processor25] INFO 
Interceptor:pssSecureActionInterceptor -
org.codehaus.plexus.security.ui.web.interceptor.SecureActionInterceptor
initialized!
2006-11-30 11:18:23,603 [http-17080-Processor25] INFO 
Interceptor:pssForceAdminUserInterceptor - Admin user found. No need to
configure admin user.
2006-11-30 11:18:23,603 [http-17080-Processor25] DEBUG AutoLoginCookies 
 
- Remember Me Cookie Not Found: securityRememberMe
2006-11-30 11:18:23,603 [http-17080-Processor25] DEBUG AutoLoginCookies 
 
- Single Sign On Cookie Not Found: securitySingleSignOn

-- 
View this message in context: 
http://www.nabble.com/Admin-user-doesn%27t-have-admin-rights.-tf2712019.html#a7619374
Sent from the archiva-users mailing list archive at Nabble.com.



Re: Admin user doesn't have admin rights.

2006-11-27 Thread leahpar

hello,

i've just sync this morning and i've got funny behavior
it's possible to create user
but it's not possible to grant role to user / edit user / delete
it complains about an empty user

:(



-- 
View this message in context: 
http://www.nabble.com/Admin-user-doesn%27t-have-admin-rights.-tf2712019.html#a7561470
Sent from the archiva-users mailing list archive at Nabble.com.



Re: Help with multiple Repositories

2006-11-08 Thread leahpar

hello

I just want to be sure of the meaning of the answer: 
Browse can use to access artifacts found in the managed repositories.

isn't it?


 2) Can I use the above URL to gain access to artifacts from all managed
 repositories or do I need to access them in some other way
   
There is a tab named Browse on the left panel which you can use to 
access proxied artifacts.


-- 
View this message in context: 
http://www.nabble.com/Re%3A-Help-with-multiple-Repositories-tf2524264.html#a7242105
Sent from the archiva-users mailing list archive at Nabble.com.



M2 - side effect with phase

2006-10-10 Thread leahpar

Hello,

One task 'foo' is called 3 times and it should be only one:
in a super pom, I want jar with sources, test ... (default for all project).
in my pom I want to call 'foo' at the phase generate-sources.

the first  call is made by the expected execution id1 at the beginning.
the second call is made by side effect of base_id1.
the third  call is made by side effect of base_id2.

The same issue raises with the ant plugin instead of exec-maven-plugin.

What's wrong?
It seems that a 'forked' lifecycle is launched with each base_id execution 
and that my id1 execution is bind on this new lifecycle too.
Is it possible to act on this?

Thanks.


in my top level pom there's something like this
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-jar-plugin/artifactId
executions
execution
idbase_id1/id
goals
goaltest-jar/goal
/goals
/execution
/executions
/plugin
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-source-plugin/artifactId
executions
execution
idbase_id2/id
phaseverify/phase
goals
goaljar/goal
goaltest-jar/goal
/goals
/execution
/executions
/plugin

in my pom there's
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdexec-maven-plugin/artifactId
executions
execution
idid1/id
phasegenerate-sources/phase
goals
goalexec/goal
/goals
configuration
executablefoo/executable
/configuration
/execution
/executions
/plugin

here's part of the log
...
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [jar:jar]
[INFO] Building jar: 
[INFO] [jar:test-jar {execution: base_id1}]
[INFO] Building jar: 
[INFO] Preparing source:jar
[INFO] [exec:exec {execution: id1}]
...
[INFO] [source:jar {execution: base_id2}]
[INFO] Building jar:
D:\pvcs\Canalito_dev\dev\canalito\canalitoCore\CanalitoComMixte\target\Canalit
T-sources.jar
[INFO] Preparing source:test-jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive
invocation.
[WARNING] Removing: test-jar from forked lifecycle, to prevent recursive
invocation.
[INFO] [exec:exec {execution: id1}]
...
[INFO] [source:test-jar {execution: base_id2}]
[INFO] Building jar: -test-sources.jar
[INFO] [install:install]

-- 
View this message in context: 
http://www.nabble.com/M2---side-effect-with-phase-tf2416952.html#a6737330
Sent from the Maven - Users mailing list archive at Nabble.com.


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



MRM my footsteps to see it running

2006-09-24 Thread leahpar

I've just want to get archiva 
here's my footsteps to see it running

get the source from http://svn.apache.org/repos/asf/maven/archiva/trunk 
mvn clean install
go into archiva-webapp subfolder
mvn jetty:run

open http://localhost:9000/

create a admin 
create a managed repository and a proxied repository with the configuration

Configuration
Index Directory D:\maven\index  
Indexing Schedule   0 0 * * * ? Run Now
Add Repository
Managed Repositories
mon repository a moi
Identifier  myrepo
Directory   D:\maven\repo
TypeMaven 2.x Repository
Snapshots Included  
Indexed 

Proxied Repositories
Edit Repository | Delete Repository
Maven Central Repository
Identifier  ibiblio
URL http://www.ibiblio.org/maven2/
TypeMaven 2.x Repository
Snapshots   Updated daily
ReleasesUpdated daily
Proxied through mon repository a moi (myrepo)
Use HTTP Proxy  
Cache Failures  
Fail Whole Group 

put in your settings.xml a mirror as http://localhost:9000/proxy/
use maven 
i can see jar in my D:\maven\repo 
:)

go deeper tomorrow, soon i will throw away my old maven-proxy 
^^

-- 
View this message in context: 
http://www.nabble.com/MRM-my-footsteps-to-see-it-running-tf2328345.html#a6477679
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: Chicken and egg problem (disabling inheritance)

2006-07-13 Thread leahpar

hello 
if I understand, you want something like this
in the super pom
build
pluginManagement
plugins
plugin
groupIdgroup ID/groupId
artifactIdartifact ID/artifactId
executions
execution
iddeploy/id
phasedeploy/phase
goals
goalrecord-build/goal
/goals
configuration
dbURLurl/dbURL
dbUseruser/dbUser
dbPasswordpass/dbPassword
/configuration
/execution
/executions
/plugin 
/plugins
/pluginManagement
/build

and in the child pom
build
plugins
plugin
groupIdgroup ID/groupId
artifactIdartifact ID/artifactId
executions
execution
iddeploy/id
/execution
/executions
/plugin 
/plugins  
/build

On my side I use to specify the goal in the other pom too

I 've also the case where the conf is in the child and in the super pom I
really call plugins : 
super pom - postprocess bytecode and call jar plugin (to get the job done
in the right order or else the jar do not contain postprocess classes as the
postprocess is made too late)
child pom - specify the conf of the postprocess (schema )

cordialement
-- 
View this message in context: 
http://www.nabble.com/Chicken-and-egg-problem-%28disabling-inheritance%29-tf1932757.html#a5309547
Sent from the Maven - Users forum at Nabble.com.


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



Re: installing source jar with install plugin

2006-07-13 Thread leahpar

hello,

maybe something like this will help?

plugin

groupIdorg.apache.maven.plugins/groupId

artifactIdmaven-source-plugin/artifactId
executions
execution
idid1/id

phaseverify/phase
goals

goaljar/goal

goaltest-jar/goal
/goals
/execution
/executions
/plugin
plugin

groupIdorg.apache.maven.plugins/groupId

artifactIdmaven-jar-plugin/artifactId
executions
execution
idid2/id
goals

goaltest-jar/goal
/goals
/execution
/executions
/plugin



id1 creates a jar with source and one with the test
id2 creates a jar with the test
example 
dummy-1.0-SNAPSHOT-sources.jar
dummy-1.0-SNAPSHOT-tests.jar
dummy-1.0-SNAPSHOT-test-sources.jar
theses should be handle as an usual jar by install deploy ...

cordialement
-- 
View this message in context: 
http://www.nabble.com/installing-source-jar-with-install-plugin-tf1937757.html#a5309711
Sent from the Maven - Users forum at Nabble.com.


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



Re: Maven2. Variables. pom-inheritance. Strange behavour.

2006-07-13 Thread leahpar

hello

If you put in a pom
distributionManagement
site
idwebsite/id
namecompany-project-web-site/name
url
file:\\host\intranet/Maven/sites
/url
/site
/distributionManagement
It defines the root of the website for this pom.
When you set this pom in a child pom, the plugin will automatically set
folder tree in the same way.

For example
in superPom defines the distribution site
in sharedPom1 defines whatever you need (pluginmanagement conf ... ) with
parent as superPom
in sharedPom2 defines whatever you need (pluginmanagement conf ... ) with
parent as sharedPom1
in childPom defines a project with parent as sharedPom2

you will get the website with
\\host\intranet/Maven/sites/sharedPom1/sharedPom2/childPom 

now set the distributionManagement site in sharedPom1
you will get the website with
\\host\intranet/Maven/sites/sharedPom2/childPom 

now set the distributionManagement site in childpom
you will get the website with \\host\intranet/Maven/sites/

-Using aggregation of pom will not change this behavior : it's always the
parent pom which use for the folder tree.
-I don't known what happen if you set a relativePath

hopes my engRish is understandable

cordialement.


-- 
View this message in context: 
http://www.nabble.com/Maven2.-Variables.-pom-inheritance.-Strange-behavour.-tf1936878.html#a5310014
Sent from the Maven - Users forum at Nabble.com.


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



Re: maven2 TestCase with System.getProperty(java.class.path);

2006-07-12 Thread leahpar

hello,
in fact the classpath you get is not the right one due to classloader
inheritance
http://maven.apache.org/guides/mini/guide-maven-classloading.html
It seems that java.class.path is set at the jvm launch so it cannot hold
dynamic modification from classloader...

To get the classpath of your project you should use the API of MavenProject
there's method like
.getTestClasspathElements()
.getTestCompileSourceRoots()

cordialement.




-- 
View this message in context: 
http://www.nabble.com/maven2-TestCase-with-System.getProperty%28%22java.class.path%22%29--tf1927109.html#a5283616
Sent from the Maven - Users forum at Nabble.com.


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



Re: [m2] Plugin Version in POM

2006-07-05 Thread leahpar

Hello,

I wonder how many peolple are trying to do the same thing ^^
I have exactly the same concern : reproductible build, user pom as simple as
possible.
I have already try from best to least (personal point on view, it changes
everyweek ...)
*one super pom with predefine corporate config, flavor choose by profile w/o
pluginmanagement
nothing to do in sub pom but some case lead to issue (some plugin fail when
packaging is pom)

*one super pom with predefine corporate config, flavor choose by profile
with pluginmanagement
bad because sub pom need to call plugin

*define corporate wrapper plugin to match need 
best suit but painfull

*several super pom choose flavor by inheritance
bad: too many pom with few discrepancy

not really test the property way yet but plan to
(my todolist is bigger each time i read documentation)

I have also put bidirectionnal link parent-module or aggregate link or mix
of both 
can make a decision on what is the better way for me...

still working. petit a petit on devient moins petit

Cordialement

-- 
View this message in context: 
http://www.nabble.com/-m2--Plugin-Version-in-POM-tf1886670.html#a5177432
Sent from the Maven - Users forum at Nabble.com.


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



Re: Cobertura plugin using version 1.7

2006-07-05 Thread leahpar

hello,
I don't get the instrument goal but please find below a simple example
working here ... it's all help i can give.
cordialement


build
plugins
plugin

groupIdorg.codehaus.mojo/groupId

artifactIdcobertura-maven-plugin/artifactId
executions
execution
goals

goalclean/goal
/goals
/execution
/executions
/plugin
/plugins
/build
reporting
plugins
plugin

groupIdorg.codehaus.mojo/groupId

artifactIdcobertura-maven-plugin/artifactId
/plugin
-- 
View this message in context: 
http://www.nabble.com/Cobertura-plugin-using-version-1.7-tf1889535.html#a5182548
Sent from the Maven - Users forum at Nabble.com.


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



Re: [m2] Plugin Version in POM

2006-07-04 Thread leahpar

hello,

check is a goal on a mojo subclass 
pmd is a goal on a report subclass

= maybe you should add version2.0/version inthe report section too 

cordialement


build
pluginManagement
plugins
plugin

groupIdorg.apache.maven.plugins/groupId

artifactIdmaven-pmd-plugin/artifactId
version2.0/version
/plugin
/plugins
/pluginManagement
/build
reporting
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-pmd-plugin/artifactId
version2.0/version
/plugin
/plugins
/reporting 
-- 
View this message in context: 
http://www.nabble.com/-m2--Plugin-Version-in-POM-tf1886670.html#a5162926
Sent from the Maven - Users forum at Nabble.com.


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



maven_proxy : Connection timed out

2006-06-27 Thread leahpar

hello world

I have many time out in the log of maven_proxy 
Mainly with eclipse:eclipse due to missing source or javadoc
the goals take ages to perform.

1- How can I speed up the failure? Should I create dummy file?

2- is it possible to say that artifact matching com.mycorp.* must not be
search outside my proxy (or my repositories)

Thanks


java.lang.RuntimeException: java.net.ConnectException: Connection timed out:
connect
at
org.apache.maven.proxy.config.HttpRepoConfiguration.getMetaInformationInternal(HttpRepoConfiguration.java:136)
at
org.apache.maven.proxy.config.RepoConfiguration.getMetaInformation(RepoConfiguration.java:155)
at
org.apache.maven.proxy.engine.DownloadEngine.processStandard(DownloadEngine.java:73)
at
org.apache.maven.proxy.engine.DownloadEngine.process(DownloadEngine.java:55)
at
org.apache.maven.proxy.servlets.RepositoryServlet.handleDownloadRequest(RepositoryServlet.java:103)
at
org.apache.maven.proxy.servlets.RepositoryServlet.handleRequestInternal(RepositoryServlet.java:95)
at
org.apache.maven.proxy.servlets.MavenProxyServlet.handleRequest(MavenProxyServlet.java:39)
at
org.apache.velocity.servlet.VelocityServlet.doRequest(VelocityServlet.java:358)
at
org.apache.velocity.servlet.VelocityServlet.doGet(VelocityServlet.java:317)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427)
at
org.mortbay.jetty.servlet.ServletHandler.dispatch(ServletHandler.java:665)
at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:814)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.init(Unknown Source)
at java.net.Socket.init(Unknown Source)
at
org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:86)
at
org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:652)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:628)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:497)
at
org.apache.maven.proxy.config.HttpRepoConfiguration.getMetaInformationInternal(HttpRepoConfiguration.java:113)
... 22 more
-- 
View this message in context: 
http://www.nabble.com/maven_proxy-%3A-Connection-timed-out-tf1854424.html#a5063357
Sent from the Maven - Users forum at Nabble.com.


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



updatePolicy

2006-06-26 Thread leahpar

Hello world,

I want to  prevent update to be made from maven repo
1- need to choose date of update 
2- get timeout on the proxy (on missing ressources?) very painfull

I have a maven_proxy link on ibiblio and codehaus
There's also a internal repo (on my xxx_release repository)
(superpom is here in a released version since snapshot are not allowed in
mirror,
I want to keep the settings as simple as possible)

first I try to set the proxy not to update itself with
snapshot.update=false
metadata.update=false
pom.update=falsebut 
not very good behavior...

now I try to restrict webaccess on maven repo
(I set back the proxy in update mode)
1- can I use something like this? and which id should I use in that case? 
repository 
idcentral/id !--   this 
one--
!-- idmaven_mirror/id   or this 
one ?--
urlhttp://mvnproxy/repository/url
releases
enabledtrue/enabled
updatePolicynever/updatePolicy 
checksumPolicywarn/checksumPolicy
/releases 
snapshots
enabledfalse/enabled
/snapshots
/repository

2- I'm not confortable with the release snapshot in each repository. 
snapshot seems to work but that's all I can say.
Any comment?

Thanks

find below settings.xml and part of my super pom.xml
!--
-
--
settings
localRepositoryd:/maven_local_repository//localRepository
mirrors
mirror
idmaven_mirror/id
urlhttp://mvnproxy/repository/url
mirrorOfcentral/mirrorOf
/mirror
/mirrors
/settings
!--
-
--
project
modelVersion4.0.0/modelVersion
groupIdxx.pom/groupId
artifactIdxx-super-pom/artifactId
version0.0.3/version
packagingpom/packaging
nameTop high level x project/name
prerequisites
maven2.0.4/maven
/prerequisites
organization
namex/name
urlhttp:/www.x.xxx//url
/organization
ciManagement
systemcontinuum/system
urlhttp://server/continuum//url
notifiers
!--
sendOnError Whether to send notifications 
on error.
sendOnFailure   Whether to send notifications 
on failure.
sendOnSuccess   Whether to send notifications 
on success.
sendOnWarning   Whether to send notifications 
on warning.
--
notifier
typemail/type
configuration
address[EMAIL PROTECTED]/address
/configuration
/notifier
/notifiers
/ciManagement
repositories
!-- maven_mirror must be configured in the settings.xml--
repository
idsun_mirror/id
name
repository for product artifact which are not 
allowed to
be distribute by maven
/name
url
http://server/repositories/sun_mirror/
/url
releases
enabledtrue/enabled
updatePolicyinterval:60/updatePolicy!-- in 
minutes --
checksumPolicywarn/checksumPolicy
/releases
snapshots
enabledfalse/enabled
/snapshots
/repository
repository
idexternal_release/id
name
repository of external product used by product 
released
by x
/name
url
http://server/repositories/external_release/
/url
releases
enabledtrue/enabled
updatePolicyinterval:60/updatePolicy!-- in 
minutes --
checksumPolicywarn/checksumPolicy

Re: updatePolicy

2006-06-26 Thread leahpar

I perform a clean install on a dummy project and I get this in the pom.xml
inside the produced jar.

without overdefinition
 repository
  snapshots
enabledfalse/enabled
  /snapshots
  idcentral/id
  nameMaven Repository Switchboard/name
  urlhttp://repo1.maven.org/maven2/url
 /repository
but no repository for maven_mirror

with id=central
repository
  releases
updatePolicynever/updatePolicy
checksumPolicywarn/checksumPolicy
  /releases
  snapshots
enabledfalse/enabled
  /snapshots
  idcentral/id
  urlhttp://myserver/repository/url
/repository
and no maven_mirror definition

with id=maven_mirror
repository
  releases
updatePolicynever/updatePolicy
checksumPolicywarn/checksumPolicy
  /releases
  snapshots
enabledfalse/enabled
  /snapshots
  idmaven_mirror/id
  urlhttp://myserver/repository/url
/repository
and no central definition

--
View this message in context: 
http://www.nabble.com/updatePolicy-t1848898.html#a5047520
Sent from the Maven - Users forum at Nabble.com.


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



nice to have - display default build definition

2006-06-16 Thread leahpar

hello world,

In the web page Add Build Definition there's an option Is it default?
It seems that this information is not displayed in the summary view.
It could be nice to have it.

It could be nice also to force one as default at least.
When launching a force build, if no default has been provide (remove all def
and create a new one without set it as default), an exception is thrown even
if there's one definition 

cordialement

ognl.MethodFailedException: Method buildProject failed for object
[EMAIL PROTECTED]
[org.apache.maven.continuum.ContinuumException: Project (id=16 doens't have
a default build definition.]
at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:796)
at ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
at ognl.ASTMethod.getValueBody(ASTMethod.java:75)

--
View this message in context: 
http://www.nabble.com/nice-to-have---display-default-build-definition-t1797130.html#a4897341
Sent from the Continuum - Users forum at Nabble.com.



qalab chart = duplicate checkstytle config

2006-06-16 Thread leahpar

hello world,

I try to use qalab with checkstytle and pmd, ...
I get fine results but I must put the same configuration two times :
one in the build and one in the report ! it makes me sick.

I don't need XML trick like !entity , I search a maven solution

I try to explain in details.
from the source, I know that
QAlab provide 
goal=merge phase=deploy inheritance=mojo
goal=report phase=deploy inheritance=report
checkstyle provide 
goal=check phase=verify inheritance=mojo executegoal=checkstyle
goal=checkstyle inheritance=report
same kind of stuff for pmd

1-to get the chart qalab report, you must call qalab:report in report
2-to get 1 to work, I must call qalab:merge in build (it requires
checkstyle-result.xml , pmd.xml ...)
3-to get 2 to work, (workaround?) I must force a checkstyle:check in build
(it call checkstyle:checkstyle and generate checkstyle-result.xml)
4-to get the checkstyle report, you must call checkstyle in report
= to get both report you have to put checkstyle config twice!
same issue raises for others measures

The following example generate both report but remove one checkstyle and it
fails or one report miss

I must be face in front of wall but I don't see it. 
What am I doing wrong?

Cordialement.

build
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-checkstyle-plugin/artifactId
configuration

outputFile${project.build.directory}/checkstyle/checkstyle-result.xml/outputFile
failOnViolationfalse/failOnViolation
/configuration
executions
execution
!--configuration

failOnViolationtrue/failOnViolation

outputFile${project.build.directory}/checkstyle/checkstyle-result.xml/outputFile
/configuration--
goals
goalcheck/goal
/goals
/execution
/executions
/plugin
plugin
groupIdnet.objectlab/groupId
artifactIdmaven-qalab-plugin/artifactId
version2.1/version
executions
execution
idcheckstyle-merge/id
phaseinstall/phase
goals
goalmerge/goal
/goals
configuration
handler

net.objectlab.qalab.parser.CheckstyleStatMerge
/handler
inputFile

${project.build.directory}/checkstyle/checkstyle-result.xml
/inputFile
/configuration
/execution
execution
idmovers/id
phaseinstall/phase
goals
goalmovers/goal
/goals
configuration
startTimeHoursOffset
480
/startTimeHoursOffset
/configuration
/execution
execution
idchart/id
phaseinstall/phase
goals
goalchart/goal
/goals
   

Re: taglist - issue with several compile source root

2006-06-15 Thread leahpar

hello,

I should have check before posting if this is not already known ... try to
do better next time.
I saw that there's others issues (and a multiple.diff) link together.
Maybe all theses should be handle at the same time using the information in
the mavenproject instead of using the sourcedirectory parameter...

my changes are quick and dirty only to see waht happen, they must not be
included as is so I don't submit in the mtaglist2 but I'm pleased to send it
to you.

cordialement.
--
View this message in context: 
http://www.nabble.com/taglist---issue-with-several-compile-source-root-t1785996.html#a4881594
Sent from the Maven - Users forum at Nabble.com.


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



Re: Default goals with maven 2

2006-06-14 Thread leahpar

Hello world,

I'm not maven confortable with : I have projects working with continuum /
maven proxy / personnal superSharedPom 
but I touch all this only since April...

I'm starting to use qalab in my super pom
Perform a copy of the internal repository seems not to do the job : maybe I
don't understand your idea fine.
It sounds me great to have the goal deploy in continuum since qalab source
says
/**
 * Goal that handles the merge of statistics into qalab.xml.
 *
 * @author  Dave Sag .
 * @goal merge
 * @phase deploy
 */

currently I'm glue with dummy test on changing phase in the pom...

/me take a breath and go back deep dive 

Cordialement

--
View this message in context: 
http://www.nabble.com/Default-goals-with-maven-2-t1687698.html#a4862986
Sent from the Continuum - Users forum at Nabble.com.