External report plugin

2006-11-15 Thread Dave Syer

Is there such a thing as a generic external report plugin out there?

I am thinking of a very simple plugin to add an external report (e.g. junit
html report) to the project reports.  This is really trivial (if anyone
wants some code that does it just ask), but would be quite valuable to many
people.

Example:


  

  org.apache.maven
  maven-external-report-plugin
  
JUnit Report
JUnit test results for this project
junit-reports
  

  


This generates a link in the project reports to junit-reports/index.html,
which has to be populated elsewhere (e.g. by an ant task like the one posted
recently).
-- 
View this message in context: 
http://www.nabble.com/External-report-plugin-tf2634683s177.html#a7353845
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Move tests to 'integration-test'

2006-11-15 Thread Deluigi Marcus
Hi.

I have a module on which I want to execute all Junit tests in the
integraton-test phase.
I want to do this because I need to first start Tomcat before the test
and stop it after the test.
Thererefore, I put the start into the pre-integration-test phase and the
stop into the post-integration-test-phase. Finally, I configured the
surefire plugin to the phase 'integration-test' inside the 
tag.

The module itself works fine, but when I launch the life cycle from the
parent module, all tests get executed in the test phase.

Can anybody give me a hint how to solve this problem?

Greetings
Marcus

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



ZQ: Changing the version when using the maven embedder

2006-11-15 Thread Rahamim, Zvi \(Zvi\)
Hi,
I write a java program that gets a pom.xml file, read it, get from the
user the version to build and runs maven according to that.
What I need to do is to change the version of the built project
according to the user input.
Can you tell me how to do it?
Thanks!

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



Sign a different jar using jar:sign

2006-11-15 Thread Wim Deblauwe

Hi,

according to the documentation it should be possible to sign any jar you
like using the jarPath option. I wanted to use this to sign the jar that the
assembly plugin created, but this does not work, the jar plugin still tried
to sign the actual jar produced by the project, not the one produced by the
assembly plugin.

any ideas what might be wrong or is this a bug?

regards,

Wim


RE: Surefire report issues

2006-11-15 Thread LECAN Damien
> Also, I noticed a problem with the surefire report contents.  
> It seems to
> create a report that lists test results grouped together by 
> package and
> class, but when you look closer you find tests from other 
> classes and even
> other packages in the same group.
http://jira.codehaus.org/browse/MSUREFIRE-114

Damien

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



RE: Archiva Start-Up Error

2006-11-15 Thread Peter . Pilgrim

How come I got a 404 error when I surf to the localhost:9091
the first time I used it.
--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::
 

> -Original Message-
> From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
> Sent: 14 November 2006 12:42
> To: archiva-users@maven.apache.org
> Subject: Re: Archiva Start-Up Error
> 
> As it is written in this page : "A Derby exception "Schema 
> 'SA' does not exist" occurs, but is not of concern."
> 
> It isn't an error, the database doens't exist and jpox create 
> it after this message.
> 
> Emmanuel
> 
> [EMAIL PROTECTED] a écrit :
> > Hi
> > 
> > I am trying to start up Archiva using the jetty:run, using the 
> > Getting-Started guide 
> > http://maven.apache.org/archiva/guides/getting-started/index.html
> > 
> > When I pointed my browser to localhost:9091 I got a severe error.
> > 
> > 
> > 2006-11-14 10:20:28,866 [btpool0-2] INFO 
> > EnvironmentCheck:required-roles - Chec king the existance 
> of required 
> > roles.
> > 2006-11-14 10:20:34,522 [btpool0-2] WARN  RDBMS
> > - Error
> >  initialising derby schema : Schema 'SA' does not exist 
> ERROR 42Y07: 
> > Schema 'SA' does not exist
> > at
> > 
> org.apache.derby.iapi.error.StandardException.newException(Unknown So
> > urce)
> > at
> > 
> org.apache.derby.impl.sql.catalog.DataDictionaryImpl.getSchemaDescrip
> > tor(Unknown Source)
> > at
> > 
> org.apache.derby.impl.sql.compile.QueryTreeNode.getSchemaDescriptor(U
> > nknown Source)
> > at
> > 
> org.apache.derby.impl.sql.compile.DDLStatementNode.getSchemaDescripto
> > r(Unknown Source)
> > at 
> > org.apache.derby.impl.sql.compile.DropAliasNode.bind(Unknown
> > Source)
> > at 
> > org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown
> > Source)
> > 
> > at 
> org.apache.derby.impl.sql.GenericStatement.prepare(Unknown
> > Source)
> > at
> > 
> org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepa
> > reInternalStatement(Unknown Source)
> > at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown
> > Source)
> > at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown
> > Source)
> > at
> > 
> org.jpox.store.rdbms.adapter.DerbyAdapter.initialiseDatastore(DerbyAd
> > apter.java:125)
> > at
> > 
> org.jpox.store.rdbms.RDBMSManager.initialiseSchema(RDBMSManager.java:
> > 492)
> > at
> > org.jpox.store.rdbms.RDBMSManager.(RDBMSManager.java:265)
> > at 
> > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> > Method)
> > 
> > at
> > 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
> > orAccessorImpl.java:39)
> > at
> > 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
> > onstructorAccessorImpl.java:27)
> > at
> > java.lang.reflect.Constructor.newInstance(Constructor.java:494)
> > at org.jpox.util.ClassUtils.newInstance(ClassUtils.java:64)
> > at
> > 
> org.jpox.store.StoreManagerFactory.getStoreManager(StoreManagerFactor
> > y.java:73)
> > at
> > 
> org.jpox.AbstractPersistenceManager.(AbstractPersistenceManager
> > .java:224)
> > at
> > 
> org.jpox.PersistenceManagerImpl.(PersistenceManagerImpl.java:42
> > )
> > at
> > 
> org.jpox.PersistenceManagerFactoryImpl.getPersistenceManager(Persiste
> > nceManagerFactoryImpl.java:175)
> > at
> > 
> org.jpox.PersistenceManagerFactoryImpl.getPersistenceManager(Persiste
> > nceManagerFactoryImpl.java:150)
> > at
> > 
> org.codehaus.plexus.security.authorization.rbac.store.jdo.JdoTool.get
> > PersistenceManager(JdoTool.java:114)
> > at
> > 
> org.codehaus.plexus.security.authorization.rbac.store.jdo.JdoTool.get
> > ObjectById(JdoTool.java:236)
> > at
> > 
> org.codehaus.plexus.security.authorization.rbac.store.jdo.JdoTool.obj
> > ectExistsById(JdoTool.java:283)
> > at
> > 
> org.codehaus.plexus.security.authorization.rbac.store.jdo.JdoRbacMana
> > ger.roleExists(JdoRbacManager.java:124)
> > at
> > 
> org.codehaus.plexus.rbac.profile.AbstractRoleProfile.getRole(Abstract
> > RoleProfile.java:236)
> > at
> > 
> org.codehaus.plexus.rbac.profile.DefaultRoleProfileManager.getRole(De
> > faultRoleProfileManager.java:72)
> > at
> > 
> org.codehaus.plexus.security.ui.web.checks.security.RequiredRolesEnvi
> > 
> ronmentCheck.validateEnvironment(RequiredRolesEnvironmentCheck
> .java:64)
> > at
> > 
> org.codehaus.plexus.security.ui.web.interceptor.EnvironmentCheckInter
> > ceptor.init(EnvironmentCheckInterceptor.java:78)
> > at
> > 
> org.codehaus.plexus.xwork.PlexusObjectFactory.buildInterceptor(Plexus
> > ObjectFactory.java:101)
> > at
> > 
> com.opensymphony.xwork.config.providers.InterceptorBuilder.constructI
> > nterc

Re: [Maven 2.0.4] Profiles

2006-11-15 Thread Rémy Sanlaville

Hi Adam,

Sorry for the late reply but I was out of my office.

2006/11/3, Adam Hardy <[EMAIL PROTECTED]>:


It sounds you like what you are
saying is that your profiles become active by default just by virtue of
their
existence in profiles.xml.


Yes exactly.

But It's strange because i try it again and it works now !
  The following profiles are active:

- common (source: profiles.xml)

I don't know what has been updated.

Rémy


JUnit/Test among multi-projects?

2006-11-15 Thread jiangshachina

Hi guys,
I'm using Spring, Struts and Hibernate, and have to deal with so many
configuration or resource files.
Then some troubles come out.

Assuming, there is two projects app and web.
Project app focuses on Simple Application; Project web focuses on Web
Application.
Generally, the configuration files(e.g. applicationContext.xml) are in web
project.
Now, a JUnit program in app project want to test an application program in
the same project.
But the application program depends on applicationContext.xml.
JUnit program doesn't touch the file, because they are in different
projects.
How to solve the problem(excepts for copying the file to app project
directly)?

In fact, we must encounter too many similar cases in real-world projects.

a cup of Java, cheers!
Sha Jiang
-- 
View this message in context: 
http://www.nabble.com/JUnit-Test-among-multi-projects--tf2635154s177.html#a7355140
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: Surefire report issues

2006-11-15 Thread Dave Syer

Thanks for the reference.  Can anyone tell me how come there are so many good
projects out there using maven 2, when the support for unit test reporting
is so poor?  I can't be the only one that is frustrated.  What are other
people doing as a workaround?  I guess no-one uses the default site
generator and reports.


Damien Lecan wrote:
> 
> http://jira.codehaus.org/browse/MSUREFIRE-114
> 

-- 
View this message in context: 
http://www.nabble.com/Surefire-report-issues-tf2634455s177.html#a7356019
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: Surefire report issues

2006-11-15 Thread ir. ing. Jan Dockx

If all tests pass, there is no problem … ;-)


On 15 Nov 2006, at 12:21, Dave Syer wrote:



Thanks for the reference.  Can anyone tell me how come there are so  
many good
projects out there using maven 2, when the support for unit test  
reporting
is so poor?  I can't be the only one that is frustrated.  What are  
other

people doing as a workaround?  I guess no-one uses the default site
generator and reports.


Damien Lecan wrote:


http://jira.codehaus.org/browse/MSUREFIRE-114



--
View this message in context: http://www.nabble.com/Surefire-report- 
issues-tf2634455s177.html#a7356019

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


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







"[…]  my biggest problem is finding out how to do things."
(in a mail on the Maven Users List)






Re: Move tests to 'integration-test'

2006-11-15 Thread diroussel

I've not managed to get integration tests working myself, but

Where have you put your tests?  I've noticed the surefire pluin itself has
it's tests in src/it/testX.

Do:
svn checkout
https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-surefire-plugin
maven-surefire-plugin

and have a look for yourself.

David


Deluigi Marcus wrote:
> 
> Hi.
> 
> I have a module on which I want to execute all Junit tests in the
> integraton-test phase.
> I want to do this because I need to first start Tomcat before the test
> and stop it after the test.
> Thererefore, I put the start into the pre-integration-test phase and the
> stop into the post-integration-test-phase. Finally, I configured the
> surefire plugin to the phase 'integration-test' inside the 
> tag.
> 
> The module itself works fine, but when I launch the life cycle from the
> parent module, all tests get executed in the test phase.
> 
> Can anybody give me a hint how to solve this problem?
> 
> Greetings
> Marcus
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Move-tests-to-%27integration-test%27-tf2634842s177.html#a7356275
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: Passing Maven Variable as a system property to the tests

2006-11-15 Thread diroussel

I'm just guessing here, but since only string properties are passed you need
to define a string property which is based on the non-string property. 
Perhaps you could define:
outDir=${project.build.outputDirectory}

Perhaps you could define this in a profile, or in project.properties or
something?

David


Binil Thomas wrote:
> 
> Hi all,
> 
> The Surefire plugin documentation
> (http://maven.apache.org/plugins/maven-surefire-plugin/examples/system-properties.html)
> mentions:
> 
> [snip]
> Take note that String valued properties can only be passed as system
> properties. Any attempt to pass any other maven variable type (i.e. List
> or a URL variable) will cause the variable expression to be passed
> literally (unevaluated).
> [/snip]
> 
> In my test, I need to get the value of the maven variable
> ${project.build.outputDirectory} as a String (I need to generate some file
> at the end of the test, and I need to create this file in
> ${project.build.outputDirectory). How do I force the evaluation of the
> variable first, and then pass it to the test a system property?
> 
> This was discussed in the thread
> http://www.nabble.com/Passing-maven-variables-as-system-properties-tf1256766s177.html#a3332659,
> but not properly answered.
> 
> Thanks,
> Binil
> 

-- 
View this message in context: 
http://www.nabble.com/Passing-Maven-Variable-as-a-system-property-to-the-tests-tf2600462s177.html#a7356447
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: Intalled pom version is not expanded resulting in a bogus pom version in the repository.

2006-11-15 Thread diroussel

How are you setting your property?

we use: mvn -DbuildVersion=MYAPP_01234 clean install

and the substitution ${buildVersion} works fine.

David

-- 
View this message in context: 
http://www.nabble.com/Intalled-pom-version-is-not-expanded-resulting-in-a-bogus-pom-version-in-the-repository.-tf1558832s177.html#a7356369
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: Plugin Test Harness and expression

2006-11-15 Thread Emmanuel Hugonnet

zze-Amicom HUGONNET E ext RD-TECH a écrit :

zze-Amicom HUGONNET E ext RD-TECH a écrit :

Hi,
I have a quite simple plugin working correctly but when I try to test 
it the expression is not evaluated. I am using :


 org.apache.maven.shared
 maven-plugin-testing-harness
 1.0-beta-1

On the doc on codehaus they talk about 
"StubResolverExpressionEvaluator" which seems to help resolve this 
issue but I don't see any example. When I look at the unit test for 
expression evaluation on svn I don't see anything specific to be done.

What am I missing ?
Thanks,
Emmanuel

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


While debugging my simple test I have watched that my expression while 
seen as an expression to be evaluated is not in fact evaluated in the 
"ResolverExpressionEvaluatorStub". Why can't we use Maven's own 
expression resolver ? I would like to try this but I have yet to find 
where the expression are resolved in Maven. I am looking for any insight.

Emmanuel

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


I have posted a JIRA MNG-2658  
to cover this problem and I have attached a patch to access 
System.properties during the evaluation. I am not satisfied with my 
solution and I would like to provide a better 'mavenlike' support using 
maven own classes to interpret the test pom.xml. Can somebody points the 
profile evaluator in Maven so that expressions are evaluated using 
profiles also.

Thanks
Emmanuel


Re: excluding/including tests in surefire-plugin in different phases

2006-11-15 Thread diroussel

Jan, did you find a solution to this?  It looks to me that the exclude
feature doesn't work, which is why others seem to be using more elaborate
techniques to getting integration tests working (separate module, or using
profiles).

I found this comment in SurefirePlugin.java (maven-surefire-plugin-2.2)
 // Have to wrap in an ArrayList as surefire expects an ArrayList instead of
a List for some reason

This wrapping is only done for the detaul includes and excludes, but not for
user supplied values.  Note sure how the excludes setter is called, all this
mojo stuff is just magic to me.

Here is my config, which doesn't exlcude either:

  
org.apache.maven.plugins
maven-surefire-plugin

  once

  java.util.prefs.PreferencesFactory
 
com.euroclear.framework.config.EuroclearPreferencesFactory



  
unit-test
test

  test


  false
  
**/Test*.java
**/*Test.java
**/*TestCase.java
  
  
**/*IntTest.java
  

  
  
int-test
integration-test

  test


  false
  
**/*IntTest.java
  
  
**/Test*.java
**/*Test.java
**/*TestCase.java
  

  

  
-- 
View this message in context: 
http://www.nabble.com/excluding-including-tests-in-surefire-plugin-in-different-phases-tf2534887s177.html#a7357185
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: Move tests to 'integration-test'

2006-11-15 Thread Wendy Smoak

On 11/15/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:


Since you already have a separate module for the integration tests,
the easiest solution is to move your tests out of src/test/java.
Surefire will still run in the 'test' phase, but it won't find
anything to compile and run.


Sorry, that's not completely correct.  I can't tell from your original
message if you're also building a war file from the same module as
your integration tests, or if they are completely separate (which is
the recommended setup).  Can you clarify?

The notes here should be more correct than my pre-caffeine musings:
http://docs.codehaus.org/display/MAVENUSER/Maven+and+Integration+Testing

--
Wendy

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



Re: Archiva Start-Up Error

2006-11-15 Thread Emmanuel Venisse

do you wait the end of initialization?

Emmanuel

[EMAIL PROTECTED] a écrit :

How come I got a 404 error when I surf to the localhost:9091
the first time I used it.
--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,

100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::
 


-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
Sent: 14 November 2006 12:42

To: archiva-users@maven.apache.org
Subject: Re: Archiva Start-Up Error

As it is written in this page : "A Derby exception "Schema 
'SA' does not exist" occurs, but is not of concern."


It isn't an error, the database doens't exist and jpox create 
it after this message.


Emmanuel

[EMAIL PROTECTED] a écrit :

Hi

I am trying to start up Archiva using the jetty:run, using the 
Getting-Started guide 
http://maven.apache.org/archiva/guides/getting-started/index.html


When I pointed my browser to localhost:9091 I got a severe error.


2006-11-14 10:20:28,866 [btpool0-2] INFO 
EnvironmentCheck:required-roles - Chec king the existance 
of required 

roles.
2006-11-14 10:20:34,522 [btpool0-2] WARN  RDBMS
- Error
 initialising derby schema : Schema 'SA' does not exist 
ERROR 42Y07: 

Schema 'SA' does not exist
at


org.apache.derby.iapi.error.StandardException.newException(Unknown So

urce)
at


org.apache.derby.impl.sql.catalog.DataDictionaryImpl.getSchemaDescrip

tor(Unknown Source)
at


org.apache.derby.impl.sql.compile.QueryTreeNode.getSchemaDescriptor(U

nknown Source)
at


org.apache.derby.impl.sql.compile.DDLStatementNode.getSchemaDescripto

r(Unknown Source)
at 
org.apache.derby.impl.sql.compile.DropAliasNode.bind(Unknown

Source)
at 
org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown

Source)

at 

org.apache.derby.impl.sql.GenericStatement.prepare(Unknown

Source)
at


org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepa

reInternalStatement(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown
Source)
at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown
Source)
at


org.jpox.store.rdbms.adapter.DerbyAdapter.initialiseDatastore(DerbyAd

apter.java:125)
at


org.jpox.store.rdbms.RDBMSManager.initialiseSchema(RDBMSManager.java:

492)
at
org.jpox.store.rdbms.RDBMSManager.(RDBMSManager.java:265)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native

Method)

at


sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct

orAccessorImpl.java:39)
at


sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC

onstructorAccessorImpl.java:27)
at
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at org.jpox.util.ClassUtils.newInstance(ClassUtils.java:64)
at


org.jpox.store.StoreManagerFactory.getStoreManager(StoreManagerFactor

y.java:73)
at


org.jpox.AbstractPersistenceManager.(AbstractPersistenceManager

.java:224)
at


org.jpox.PersistenceManagerImpl.(PersistenceManagerImpl.java:42

)
at


org.jpox.PersistenceManagerFactoryImpl.getPersistenceManager(Persiste

nceManagerFactoryImpl.java:175)
at


org.jpox.PersistenceManagerFactoryImpl.getPersistenceManager(Persiste

nceManagerFactoryImpl.java:150)
at


org.codehaus.plexus.security.authorization.rbac.store.jdo.JdoTool.get

PersistenceManager(JdoTool.java:114)
at


org.codehaus.plexus.security.authorization.rbac.store.jdo.JdoTool.get

ObjectById(JdoTool.java:236)
at


org.codehaus.plexus.security.authorization.rbac.store.jdo.JdoTool.obj

ectExistsById(JdoTool.java:283)
at


org.codehaus.plexus.security.authorization.rbac.store.jdo.JdoRbacMana

ger.roleExists(JdoRbacManager.java:124)
at


org.codehaus.plexus.rbac.profile.AbstractRoleProfile.getRole(Abstract

RoleProfile.java:236)
at


org.codehaus.plexus.rbac.profile.DefaultRoleProfileManager.getRole(De

faultRoleProfileManager.java:72)
at


org.codehaus.plexus.security.ui.web.checks.security.RequiredRolesEnvi
ronmentCheck.validateEnvironment(RequiredRolesEnvironmentCheck
.java:64)

at


org.codehaus.plexus.security.ui.web.interceptor.EnvironmentCheckInter

ceptor.init(EnvironmentCheckInterceptor.java:78)
at


org.codehaus.plexus.xwork.PlexusObjectFactory.buildInterceptor(Plexus

ObjectFactory.java:101)
at


com.opensymphony.xwork.config.providers.InterceptorBuilder.constructI

nterceptorReference(InterceptorBuilder.java:48)
at


com.opensymphony.xwork.config.providers.XmlConfigurationProvider.look

upInterceptorReference(XmlConfigurationProvider.java:702)
at


com.opensymphony.xwork.config.providers.XmlConfigurationProvider.load

InterceptorStack(XmlConfigurationProvider.java:569)
at


com.opensymphony.xwork.config.providers.XmlConfigurati

Re: JUnit/Test among multi-projects?

2006-11-15 Thread Emmanuel Venisse
You can create a new module that contains your shared config files and add it as a dependency for 
your project, with test scope if your config files are used only for tests


Emmanuel

jiangshachina a écrit :

Hi guys,
I'm using Spring, Struts and Hibernate, and have to deal with so many
configuration or resource files.
Then some troubles come out.

Assuming, there is two projects app and web.
Project app focuses on Simple Application; Project web focuses on Web
Application.
Generally, the configuration files(e.g. applicationContext.xml) are in web
project.
Now, a JUnit program in app project want to test an application program in
the same project.
But the application program depends on applicationContext.xml.
JUnit program doesn't touch the file, because they are in different
projects.
How to solve the problem(excepts for copying the file to app project
directly)?

In fact, we must encounter too many similar cases in real-world projects.

a cup of Java, cheers!
Sha Jiang



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



Re: EhCacheProvider not found with other hibernate classes during test

2006-11-15 Thread Trevor Torrez

nope:

$ grep -io 'ehcache[^ ]\+' maven.log
ehcache:ehcache:1.2
ehcache:ehcache:1.2.
ehcache:ehcache:jar:1.2:compile
ehcache\ehcache\1.2\ehcache-1.2.jar,
ehcache\ehcache\1.2\ehcache-1.2.jar
ehcache:ehcache:1.2
ehcache:ehcache:1.2.
ehcache:ehcache:jar:1.2:compile
ehcache\ehcache\1.2\ehcache-1.2.jar,
ehcache\ehcache\1.2\ehcache-1.2.jar
ehcache:ehcache:1.2
ehcache:ehcache:1.2.
ehcache:ehcache:jar:1.2:compile
ehcache\ehcache\1.2\ehcache-1.2.jar,
ehcache:ehcache=net.sf.ehcache:ehcache:jar:1.2:compile,
ehcache\ehcache\1.2\ehcache-1.2.jar

other than the fact that hibernate is specifying org.ehcache, and there is a
note that it has moved to net.sf.ehcache, nothing is odd about the output
that I can see.  Changing the pom to explicitly pull net.sf.ehcache 1.2 has
no effect.

There is also only one version reference to hibernate: 3.2.0.cr4

Any other ideas?

-t.

On 11/15/06, Wayne Fay <[EMAIL PROTECTED]> wrote:


Run mvn -X and then grep the output for ehcache... You'll probably see
a different version getting pulled in by another dependency
somewhere...

Wayne

On 11/14/06, Trevor Torrez <[EMAIL PROTECTED]> wrote:
> Ok; that almost makes sense; what, other than 'Quartz' should I search
> nabble for?  I cant find anything relevent.
>
> Answers to any of the following questions would also be appreciated:
>
> How do i find out which of the dependencies is requesting the bogus
> version?  The only thing 'maven site' shows in the dependencies is
> ehcache-1.2, the version that must be used with hibernate-3.  The
dependency
> graph shows that ehcache was required by hibernate-3, and no other
> (dissimilar) reference to ehcache is on the page.  I pulled out explicit
> dependencies on hibernate from my project pom, and likewise the only
> hibernate listed is 3.2.0.rc4 required by spring-hibernate3.
>
> Why is it a class not found exception for a class that is obviously
there
> and correct and not a no-class-def error as would be expected for a
bogus
> version of a dependency (wrong method invocation, exception in
initializer,
> etc)?
>
> Why is this error not showing up in eclipse, when as far as i can tell
the
> same jar files are being used.
>
> Thanks; much appreciated;
> -t.
>
> On 11/14/06, Lee Meador <[EMAIL PROTECTED]> wrote:
> >
> > This has been discussed before. You can find it in nabble, I think.
> >
> > The issue has to do with spring wanting one version of hibernate and
> > hibernate wanting a version of ehcache and the versions conflict with
each
> > other. In my case, using Quartz which wanted another version of
ehcache,
> > it
> > would pick one version of ehcache for one project and another version
for
> > another project.
> >
> > You solve it by specifying versions for things in some places and
> > excluding
> > dependencies in others. I forget the details.
> >
> > -- Lee
> > [snip]
> >
> > --
> > -- Lee Meador
> > Sent from gmail. My real email address is lee AT leemeador.com
> >
> >
>
>

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




[M2] Referencing Project Modules in plugin

2006-11-15 Thread Matt Campbell

I need my plugin to make an arraylist out of the modules in the parent pom.

I'm creating a List out of them. I'm trying

[EMAIL PROTECTED] expression=${project.modules}"

But i get an error saying I didnt specify


 ...
VALUE
.


Is there a way to directly reference my modules listed in

   
   module1
   module2
   



[m2.04] Install & IDEA goals fail when using set notation

2006-11-15 Thread Dave Hoffer
I have problems specifying dependency versions using set notations.
Install goal fails with error:

[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Failed to resolve artifact.

No versions are present in the repository for the artifact with a range
[1.18,)
  com.xrite:xrite-commons:jar:null

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  public (http://XRBUILD2:81/proximity/repository/public),
  inhouse (http://XRBUILD2:81/proximity/repository/inhouse)

My current project has a dependency on an inhouse component of version
1.18 or greater.  Another dependent component has a dependency on this
same inhouse component of version 1.15 or greater.  Both of these are in
the inhouse repo (of course) I have 1.18 in my local developer repo.
Why can't I build?  Having 1.18 should satisfy all requirements.

Now if I run IDEA goal it fails saying...

No versions are present in the repository for the artifact with a range
[1.15,)
  com.xrite:xrite-commons:jar:null

It seems that set notation only works if all specify the same range i.e.
[1.18,).  Am I using this wrong?

-dh




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



Re: java2iiop (Visibroker)

2006-11-15 Thread Jim Bethancourt

Dan,
Great!  Thanks so much.  I'll give it a whirl. :-)
Jim

On 11/14/06, Dan Tran <[EMAIL PROTECTED]> wrote:

Jim,  A snapshot has been deployed to
http://snapshots.repository.codehaus.org

It is best to build from source

http://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/visibroker-maven-plugin/

-D


On 11/14/06, Jim Bethancourt <[EMAIL PROTECTED]> wrote:
>
> Hi Dan,
> I've finally been able to tinker a little more and got the build
> section settings correct (I think)  that you've mentioned on the
> website, but the plugin isn't downloading and I'm not finding it in
> the subversion repository, unless I'm looking in the wrong place.  Any
> pointers you might be able to provide would be really handy.  Is there
> any possibility you could post it to the mojo sandbox?
>
> Thanks,
> Jim
>
> On 10/30/06, Jim Bethancourt <[EMAIL PROTECTED]> wrote:
> > Dan,
> > Awesome!  Thanks so much.  I'd be happy to help where I can.
> > Jim
> >
> > On 10/29/06, Dan Tran <[EMAIL PROTECTED]> wrote:
> > > Jim, I just cookedup a set of maven wrappers for visibroker tools.
> > > Please provide feedbacks, patches, docs if you find it it useful.
> > >
> > > You will need to check out the source at mojo-sandbox
> > >
> > > The site is at  http://mojo.codehaus.org/visibroker-maven-plugin/
> > >
> > >
> > > -D
> > >
> > >
> > > On 10/28/06, Jim Bethancourt <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Hi Tim,
> > > > I've been tinkering with migrating the build process for the place
> > > > where I work from Ant to Maven 2 and noticed that you worked on a
> > > > VisiBroker plugin for Maven 2 and had considered posting it.  Any
> > > > chance you could consider posting it?  I know I could put it to use
> > > > quickly and I'm sure plenty of other folks using VisiBroker would
> find
> > > > it very useful too.
> > > >
> > > > Thanks,
> > > > Jim
> > > >
> > > > On 6/27/06, TimHedger <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Thanks Dan - got most of it working now.
> > > > > --
> > > > > View this message in context:
> > > >
> http://www.nabble.com/java2iiop-%28Visibroker%29-tf1846831.html#a5071927
> > > > > Sent from the Maven - Users forum at Nabble.com <
> http://nabble.com/>.
> > > > >
> > > > >
> > > > >
> -
> > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > >
> > > > >
> > > >
> > > >
> -
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>




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



Re: Move tests to 'integration-test'

2006-11-15 Thread Wendy Smoak

On 11/15/06, Deluigi Marcus <[EMAIL PROTECTED]> wrote:


The module itself works fine, but when I launch the life cycle from the
parent module, all tests get executed in the test phase.

Can anybody give me a hint how to solve this problem?


As you've discovered Maven does not yet support integration testing
'out of the box' -- the lifecycle phases are there, but nothing is
bound to them.

Since you already have a separate module for the integration tests,
the easiest solution is to move your tests out of src/test/java.
Surefire will still run in the 'test' phase, but it won't find
anything to compile and run.

As far as I can tell, the convention is src/it/java for integration
tests, but it may still be under discussion. (The src/it/textX that
David points out is probably plugin integration tests, which are a
little different.)  Then in the  configuration, set
 to the new location.

http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html

There are some brief notes on the current state of integration testing
with Maven, here:
http://docs.codehaus.org/display/MAVENUSER/Maven+and+Integration+Testing

HTH,
--
Wendy

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



observations on daily build of 20061115

2006-11-15 Thread Mohni, Daniel
Hello

today I rebuild archiva to check the current state, 
after some testing of the webapp in tomcat I decide
to install this on our development environment.

just some hints about configuration of the repositories
in the settings.xml

-> proxied repositories should be accessed using the 'proxy'
   in the url to get the download from remote servers to work

   
  maven-release
  http://archiva/proxy/maven_release
  
 false
  
   
  
-> repository that are not proxied should be accessed
   with 'repository' in the url
  
   
  internal-release
  http://archiva/repository/internal_release
  
 false
  
   

what is not working:

the download button when browsing artefacts is not working,
but I don't realy need this...

repository access is not working with . in the url

-> ../repository/3p_release/net.sf.ehcache/ehcache/1.2/ehcache-1.2.jar

this works with the proxy access

-> ../proxy/maven_release/net.sf.ehcache/ehcache/1.2/ehcache-1.2.jar

I'll try dav upload tomorrow if I find the way to configure it ;-)
maybe I have to setup a user in archiva and give hime the correct
role...

-Daniel


error to package jar project

2006-11-15 Thread Barbier-Accary Aurélien
Hello,

 

I obtain an internal error when I try « mvn package » or « mvn install » for a 
« jar » project. The trace is:

 

[INFO] Internal error in the plugin manager executing goal 
'org.apache.maven.plugins:maven-jar-plugin:2.1:jar': Unable to find the mojo 
'org.apache.maven.plugins:maven-jar-plugin:2.1:jar' in the plugin 
'org.apache.maven.plugins:maven-jar-plugin'

 

Can you help me to find the reason of this error??

 

Regards,

 

Bastien Jacoud

 



Re: EhCacheProvider not found with other hibernate classes during test (Being Resolved)

2006-11-15 Thread Trevor Torrez

Well I have some progress -- the tests are finally failing in eclipse so i
can do some debugging.

Also, i changed the hibernate config to use the cache provider provided with
the ehcache jar -- but the tests are still bombing out because it claims it
cannot find the one in the hibernate jar :/

Anyway, thanks for the help.

-t.

On 11/15/06, Trevor Torrez <[EMAIL PROTECTED]> wrote:


nope:

$ grep -io 'ehcache[^ ]\+' maven.log
ehcache:ehcache:1.2
ehcache:ehcache:1.2.
ehcache:ehcache:jar:1.2:compile
ehcache\ehcache\1.2\ehcache-1.2.jar,
ehcache\ehcache\1.2\ehcache-1.2.jar
ehcache:ehcache: 1.2
ehcache:ehcache:1.2.
ehcache:ehcache:jar:1.2:compile
ehcache\ehcache\1.2\ehcache-1.2.jar,
ehcache\ehcache\1.2\ehcache-1.2.jar
ehcache:ehcache:1.2
ehcache:ehcache:1.2.
ehcache:ehcache:jar:1.2:compile
ehcache\ehcache\1.2\ehcache-1.2.jar,
ehcache:ehcache=net.sf.ehcache:ehcache:jar:1.2:compile,
ehcache\ehcache\1.2\ehcache-1.2.jar

other than the fact that hibernate is specifying org.ehcache, and there is
a note that it has moved to net.sf.ehcache, nothing is odd about the
output that I can see.  Changing the pom to explicitly pull net.sf.ehcache
1.2 has no effect.

There is also only one version reference to hibernate: 3.2.0.cr4

Any other ideas?

-t.

On 11/15/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
>
> Run mvn -X and then grep the output for ehcache... You'll probably see
> a different version getting pulled in by another dependency
> somewhere...
>
> Wayne
>
> On 11/14/06, Trevor Torrez < [EMAIL PROTECTED]> wrote:
> > Ok; that almost makes sense; what, other than 'Quartz' should I search
> > nabble for?  I cant find anything relevent.
> >
> > Answers to any of the following questions would also be appreciated:
> >
> > How do i find out which of the dependencies is requesting the bogus
> > version?  The only thing 'maven site' shows in the dependencies is
> > ehcache-1.2, the version that must be used with hibernate-3.  The
> dependency
> > graph shows that ehcache was required by hibernate-3, and no other
> > (dissimilar) reference to ehcache is on the page.  I pulled out
> explicit
> > dependencies on hibernate from my project pom, and likewise the only
> > hibernate listed is 3.2.0.rc4 required by spring-hibernate3.
> >
> > Why is it a class not found exception for a class that is obviously
> there
> > and correct and not a no-class-def error as would be expected for a
> bogus
> > version of a dependency (wrong method invocation, exception in
> initializer,
> > etc)?
> >
> > Why is this error not showing up in eclipse, when as far as i can tell
> the
> > same jar files are being used.
> >
> > Thanks; much appreciated;
> > -t.
> >
> > On 11/14/06, Lee Meador <[EMAIL PROTECTED]> wrote:
> > >
> > > This has been discussed before. You can find it in nabble, I think.
> > >
> > > The issue has to do with spring wanting one version of hibernate and
> > > hibernate wanting a version of ehcache and the versions conflict
> with each
> > > other. In my case, using Quartz which wanted another version of
> ehcache,
> > > it
> > > would pick one version of ehcache for one project and another
> version for
> > > another project.
> > >
> > > You solve it by specifying versions for things in some places and
> > > excluding
> > > dependencies in others. I forget the details.
> > >
> > > -- Lee
> > > [snip]
> > >
> > > --
> > > -- Lee Meador
> > > Sent from gmail. My real email address is lee AT leemeador.com
> > >
> > >
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



Re: EhCacheProvider not found with other hibernate classes during test

2006-11-15 Thread Wayne Fay

Check your Manifest.MF files and web.xml and other configuration files to make 
sure there's not a reference to the wrong version somewhere. (Don't just use 
the files in target; you'll need to crack open the packaged JAR/WAR/EAR and all 
its JAR contents and look at all the config files and Manifests.)

I had a situation recently where all my modules were set up to use the log4j 
version specified by parent dependencyManagement node, but then for some reason 
my EAR module had a specific version declared, so that's what got bundled into 
the EAR, and then the Class-Path references in the other modules were incorrect.

Just throwing out some ideas. No real clue why this is happening. You might need to 
provide an  in the hibernate dependencies and then manually add 
ehcache as its own dependency with a specific version, as suggested by Lee.

Wayne

On 11/15/06, Trevor Torrez <[EMAIL PROTECTED]> wrote:

nope:

$ grep -io 'ehcache[^ ]\+' maven.log
ehcache:ehcache:1.2
ehcache:ehcache:1.2.
ehcache:ehcache:jar:1.2:compile
ehcache\ehcache\1.2\ehcache-1.2.jar,
ehcache\ehcache\1.2\ehcache-1.2.jar
ehcache:ehcache:1.2
ehcache:ehcache:1.2.
ehcache:ehcache:jar:1.2:compile
ehcache\ehcache\1.2\ehcache-1.2.jar,
ehcache\ehcache\1.2\ehcache-1.2.jar
ehcache:ehcache:1.2
ehcache:ehcache:1.2.
ehcache:ehcache:jar:1.2:compile
ehcache\ehcache\1.2\ehcache-1.2.jar,
ehcache:ehcache=net.sf.ehcache:ehcache:jar:1.2:compile,
ehcache\ehcache\1.2\ehcache-1.2.jar

other than the fact that hibernate is specifying org.ehcache, and there is a
note that it has moved to net.sf.ehcache, nothing is odd about the output
that I can see.  Changing the pom to explicitly pull net.sf.ehcache 1.2 has
no effect.

There is also only one version reference to hibernate: 3.2.0.cr4

Any other ideas?

-t.

On 11/15/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
>
> Run mvn -X and then grep the output for ehcache... You'll probably see
> a different version getting pulled in by another dependency
> somewhere...
>
> Wayne
>
> On 11/14/06, Trevor Torrez <[EMAIL PROTECTED]> wrote:
> > Ok; that almost makes sense; what, other than 'Quartz' should I search
> > nabble for?  I cant find anything relevent.
> >
> > Answers to any of the following questions would also be appreciated:
> >
> > How do i find out which of the dependencies is requesting the bogus
> > version?  The only thing 'maven site' shows in the dependencies is
> > ehcache-1.2, the version that must be used with hibernate-3.  The
> dependency
> > graph shows that ehcache was required by hibernate-3, and no other
> > (dissimilar) reference to ehcache is on the page.  I pulled out explicit
> > dependencies on hibernate from my project pom, and likewise the only
> > hibernate listed is 3.2.0.rc4 required by spring-hibernate3.
> >
> > Why is it a class not found exception for a class that is obviously
> there
> > and correct and not a no-class-def error as would be expected for a
> bogus
> > version of a dependency (wrong method invocation, exception in
> initializer,
> > etc)?
> >
> > Why is this error not showing up in eclipse, when as far as i can tell
> the
> > same jar files are being used.
> >
> > Thanks; much appreciated;
> > -t.
> >
> > On 11/14/06, Lee Meador <[EMAIL PROTECTED]> wrote:
> > >
> > > This has been discussed before. You can find it in nabble, I think.
> > >
> > > The issue has to do with spring wanting one version of hibernate and
> > > hibernate wanting a version of ehcache and the versions conflict with
> each
> > > other. In my case, using Quartz which wanted another version of
> ehcache,
> > > it
> > > would pick one version of ehcache for one project and another version
> for
> > > another project.
> > >
> > > You solve it by specifying versions for things in some places and
> > > excluding
> > > dependencies in others. I forget the details.
> > >
> > > -- Lee
> > > [snip]
> > >
> > > --
> > > -- Lee Meador
> > > Sent from gmail. My real email address is lee AT leemeador.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: maven-clover-plugin not working

2006-11-15 Thread Wayne Fay

Its open source... When you have a problem, sometimes its best/easiest
to just jump in with both feet and try to find the problem, and solve
it yourself. Otherwise you're entirely dependent on someone else
fixing things for you on their schedule.

Wayne

On 11/15/06, Jeff Mutonho <[EMAIL PROTECTED]> wrote:

On 11/15/06, Vincent Massol <[EMAIL PROTECTED]> wrote:
>
> I'll try to have a look at it today (no guarantees though). What you could
> investigate is to read the code and fix what's wrong! :-)

Lol...Of course... I forgot I should just leap in and submit a patch
:^) .Seriously though, will take a look

-
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: External report plugin

2006-11-15 Thread Wayne Fay

Couldn't you also just add this directly in the site.xml instead?
Although it be nicer to just add it to the pom...

Sounds like it might be a useful contribution!

Wayne

On 11/15/06, Dave Syer <[EMAIL PROTECTED]> wrote:


Is there such a thing as a generic external report plugin out there?

I am thinking of a very simple plugin to add an external report (e.g. junit
html report) to the project reports.  This is really trivial (if anyone
wants some code that does it just ask), but would be quite valuable to many
people.

Example:


  

  org.apache.maven
  maven-external-report-plugin
  
JUnit Report
JUnit test results for this project
junit-reports
  

  


This generates a link in the project reports to junit-reports/index.html,
which has to be populated elsewhere (e.g. by an ant task like the one posted
recently).
--
View this message in context:
http://www.nabble.com/External-report-plugin-tf2634683s177.html#a7353845
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]



Hibernate 3.2

2006-11-15 Thread Mark Grand
I want to use Hibernate 3.2 in a project that I am building with 
maven.  There is no artifact for Hibernate 3.2 in ibiblio.  How can I 
manually set it up in my local repository?


Mark Grand   (404)925-8265 




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



Re: Hibernate 3.2

2006-11-15 Thread Wayne Fay

mvn install:install-file ... However the dependencies will not be set
up properly due to generated poms.

Wayne

On 11/15/06, Mark Grand <[EMAIL PROTECTED]> wrote:

I want to use Hibernate 3.2 in a project that I am building with
maven.  There is no artifact for Hibernate 3.2 in ibiblio.  How can I
manually set it up in my local repository?

Mark Grand   (404)925-8265



-
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: Hibernate 3.2

2006-11-15 Thread Mirko Nasato

Hi Mark,

Yes Hibernate 3.2 is there

 http://www.ibiblio.org/maven2/org/hibernate/hibernate/3.2.0.ga/

it probably switched groupId to "org.hibernate" recently...

Hope this helps

Mirko

Mark Grand wrote:
I want to use Hibernate 3.2 in a project that I am building with 
maven.  There is no artifact for Hibernate 3.2 in ibiblio.  How can I 
manually set it up in my local repository?


Mark Grand   (404)925-8265


-
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: Hibernate 3.2

2006-11-15 Thread Dave Hoffer
Does this bring in all its dependencies?

-dh

-Original Message-
From: Mirko Nasato [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 15, 2006 11:17 AM
To: Maven Users List
Subject: Re: Hibernate 3.2

Hi Mark,

Yes Hibernate 3.2 is there

  http://www.ibiblio.org/maven2/org/hibernate/hibernate/3.2.0.ga/

it probably switched groupId to "org.hibernate" recently...

Hope this helps

Mirko

Mark Grand wrote:
> I want to use Hibernate 3.2 in a project that I am building with 
> maven.  There is no artifact for Hibernate 3.2 in ibiblio.  How can I 
> manually set it up in my local repository?
>
> Mark Grand   (404)925-8265
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>


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


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



Re: Hibernate 3.2

2006-11-15 Thread Mirko Nasato

Dave Hoffer wrote:

Does this bring in all its dependencies?
  

It should, some of them being optional. Have a look at its POM

 
http://www.ibiblio.org/maven2/org/hibernate/hibernate/3.2.0.ga/hibernate-3.2.0.ga.pom


Hope this helps

Mirko

-Original Message-
From: Mirko Nasato [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 15, 2006 11:17 AM

To: Maven Users List
Subject: Re: Hibernate 3.2

Hi Mark,

Yes Hibernate 3.2 is there

  http://www.ibiblio.org/maven2/org/hibernate/hibernate/3.2.0.ga/

it probably switched groupId to "org.hibernate" recently...

Hope this helps

Mirko

Mark Grand wrote:
  
I want to use Hibernate 3.2 in a project that I am building with 
maven.  There is no artifact for Hibernate 3.2 in ibiblio.  How can I 
manually set it up in my local repository?


Mark Grand   (404)925-8265


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







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


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



  



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



RE: Hibernate 3.2

2006-11-15 Thread LECAN Damien
To search artifacts :
www.mvnrepository.com
www.mvnregistry.com

Very helpful

Damien

> -Message d'origine-
> De : Mark Grand [mailto:[EMAIL PROTECTED]
> Envoyé : mercredi 15 novembre 2006 17:13
> À : users@maven.apache.org
> Objet : Hibernate 3.2
> 
> 
> I want to use Hibernate 3.2 in a project that I am building with 
> maven.  There is no artifact for Hibernate 3.2 in ibiblio.  How can I 
> manually set it up in my local repository?
> 
> Mark Grand   (404)925-8265 
> 
> 
> 
> -
> 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]



[M2] offline

2006-11-15 Thread Peter . Pilgrim

Hi 

For Maven 2 working in offline mode where the project is behind a
firewall / proxy 
and disconnected from the Internet.

I get this error 

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


[INFO] Building PTSP Valuations Schema (XML Beans)
[INFO]task-segment: [clean]
[INFO]


[INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking
for updates from central
[WARNING] repository metadata for: 'artifact
org.apache.maven.plugins:maven-clean-plugin' could not be retrieved from
repository: central due to an error: Error transferring file
[INFO] Repository 'central' will be blacklisted
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] The plugin 'org.apache.maven.plugins:maven-clean-plugin' does not
exist or no valid version could be found
[INFO]

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

[INFO] Total time: 2 seconds
[INFO] Finished at: Wed Nov 15 16:05:00 GMT 2006
[INFO] Final Memory: 1M/4M
[INFO]


Even though I copied my entire M2 repository to the test machine, and
reset
the ~/.m2/setting.xml to point to the new repository. I assumed with my
217MB repository that worked on my developer machine, it would work also
on the isolated machine.

Is there a way of telling M2 to not look outside?

What does the  in the settings.xml actually do, then?

See here http://maven.apache.org/settings.html


--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: [M2] offline [FORGET ABOUT IT]

2006-11-15 Thread Peter . Pilgrim

> -Original Message-
> From: Pilgrim, Peter 
==== 
> 
> Hi 
> 
> For Maven 2 working in offline mode where the project is 
> behind a firewall / proxy and disconnected from the Internet.
> 

FORGET ABOUT IT.
http://maven.apache.org/guides/mini/guide-mirror-settings.html

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::
 

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



Re: Best practice for source-generating multiple archetype plugin

2006-11-15 Thread pjungwir

Why not limit your plugin to generating the sources, and use the existing
plugins for compiling and packaging? This is likely to be more flexible,
plus it's a lot less work.

If you want different artifactIds for each bundle, you should use a separate
module for each. But you could also put them all into one module if you
wanted to use classifiers. Then you'd get names like this:

- generated-1.0-j2me.jar
- generated-1.0-j2se.jar
- generated-1.0-ansi-c.zip

Paul


Tomas Carlsson wrote:
> 
> Hi,
> 
> We have a tool that given one input file generates code for different
> purposes (currently j2me, j2se, ansi-c). I'm planning to write an m2
> plugin
> for this tool but I'm not really sure how to do it.
> 
> What I'm trying to achieve is to only have one copy of the original input
> file and whenever it is changed there should be a simple build/release
> step
> generating the result deliverables where the different types of
> deliverables
> preferably has the same version number (ie. "generated-j2me-1.0.jar", "
> generated-j2se-1.0.jar", "generated-ansi-c-1.0.zip")
> 
> My initial thought is to create a plugin that first generates sources for
> the different purposes, then compiles them and lastly packages one archive
> for each type.
> 
> I.e:
>   1 input file => 3 generated source trees => 3 compiled "classes" tress
> =>
> 3 packed archetypes
> 
> I'm seeing some trouble with this though:
> 
>  1. It violates the maven philosophy of only having one archetype
>  2. The plugin seems to get quite complicated which I think should be
> possible to avoid
> 
> 
> Anyone having experience with this kind of setup? Any best practices out
> there?
> 
> 
> best regards
> Tomas
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Best-practice-for-source-generating-multiple-archetype-plugin-tf2622203s177.html#a7361402
Sent from the Maven - Users mailing list archive at Nabble.com.


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



[m2] Transitive war-dependencies not included in ear

2006-11-15 Thread David J. M. Karlsen

Hi!

I have an ear which contains an war depdendency:


${project.groupId}
myproject-war
${project.version}
war


but i just discovered that dependencies in the .war are not included in 
the ear.


Is this intended behaviour (if so - why?) or a bug? Transitive 
dependencies are included for the .ejb aritifacts in the same ear.



David

--
David J. M. Karlsen - +47 90 68 22 43
http://www.davidkarlsen.com
http://mp3.davidkarlsen.com

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



Archive Repository

2006-11-15 Thread Peter . Pilgrim
Hi 

How do you access the repository through the jetty:run?

I set up the guest as an observer role and I tried to access it like
this

http://localhost:9091/repository/aopalliance/aopalliance/1.0/

?



--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.



Re: Archive Repository

2006-11-15 Thread Wendy Smoak

On 11/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


How do you access the repository through the jetty:run?

I set up the guest as an observer role and I tried to access it like
this

http://localhost:9091/repository/aopalliance/aopalliance/1.0/


Unfortunately, browsing the repository with Jetty doesn't seem to work.

See the comments on http://jira.codehaus.org/browse/MRM-204 (and the
archives of this list) for a little more info.

--
Wendy


Re: How to upload 3rd party source jars to external repository

2006-11-15 Thread Christofer Jennings

I'm having trouble using deploy:deploy-file to upload sources and javadoc
too. I've set up an internal repository via SCP and have uploaded DWR
version 2.0m4 to it. When I use the mvn command below for either the javadoc
or sources jar, I get the NullPointerException.

Am I using the command correctly?

Thanks in advance!
,chris


mvn deploy:deploy-file \
  -DgroupId=dwr \
  -DartifactId=dwr \
  -Dversion=2.0m4 \
  -Dpackaging=jar \
  -DgeneratePom=false \
  -Dclassifier=javadoc \
  -Dfile=dwr-2.0m4-javadoc.jar \
  -DrepositoryId=my.org-repository \
  -Durl=scp://my.org/repository



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

[INFO] Building Maven Default Project
[INFO]task-segment: [deploy:deploy-file] (aggregator-style)
[INFO]

[INFO] [deploy:deploy-file]
Uploading: scp://my.org/repository/dwr/dwr/2.0m4/dwr-2.0m4-javadoc.jar
1134K uploaded
[INFO] Retrieving previous metadata from my.org-repository
[INFO]

[ERROR] FATAL ERROR
[INFO]

[INFO] null
[INFO]

[INFO] Trace
java.lang.NullPointerException
   at java.io.FileInputStream.(FileInputStream.java:103)
   at java.io.FileReader.(FileReader.java:55)
   at
org.apache.maven.project.artifact.ProjectArtifactMetadata.storeInLocalRepository(
ProjectArtifactMetadata.java:89)
   at
org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.deploy
(DefaultRepositoryMetadataManager.java:420)
   at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(
DefaultArtifactDeployer.java:83)
   at org.apache.maven.plugin.deploy.DeployFileMojo.execute(
DeployFileMojo.java:236)
   at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java :412)
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:534)
   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:219)
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
DefaultLifecycleExecutor.java :140)
   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
   at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke (
DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java
:315)
   at org.codehaus.classworlds.Launcher.launch (Launcher.java:255)
   at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java
:430)
   at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]

[INFO] Total time: 9 seconds
[INFO] Finished at: Mon Oct 09 16:48:17 PDT 2006
[INFO] Final Memory: 3M/5M
[INFO]



RE: Archive Repository

2006-11-15 Thread Peter . Pilgrim
Thanks Wendy

It is the right path. I will transplant it to a Tomcat on the server
instead.

Thanks!


--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::
 

> -Original Message-
> From: Wendy Smoak [mailto:[EMAIL PROTECTED] 
> Sent: 15 November 2006 17:16
> To: archiva-users@maven.apache.org
> Subject: Re: Archive Repository
> 
> On 11/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> 
> > How do you access the repository through the jetty:run?
> >
> > I set up the guest as an observer role and I tried to 
> access it like 
> > this
> >
> > http://localhost:9091/repository/aopalliance/aopalliance/1.0/
> 
> Unfortunately, browsing the repository with Jetty doesn't 
> seem to work.
> 
> See the comments on http://jira.codehaus.org/browse/MRM-204 
> (and the archives of this list) for a little more info.
> 
> --
> Wendy
> 

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.



Re: External report plugin

2006-11-15 Thread Dave Syer


Wayne Fay wrote:
> 
> Sounds like it might be a useful contribution!
> 

See here: http://jira.codehaus.org/browse/MNG-2660.
-- 
View this message in context: 
http://www.nabble.com/External-report-plugin-tf2634683s177.html#a7362495
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: Maven dependency question

2006-11-15 Thread Eric Helfrich

I did it this way.  The classpath gets generated with the jars for the war
but no jar files get added to the lib directory
   
   org.apache.maven.plugins
   maven-war-plugin
   2.0.1
   
   
   ${basedir}/../target/${artifactId}
   
   
   WEB-INF/lib/*.jar
   
   
   false
   
   true
   
   
   
   

On 11/15/06, Wayne Fay <[EMAIL PROTECTED]> wrote:


Incorrect, Lee M. responded to you earlier...

-- Forwarded message --
From: Lee Meador <[EMAIL PROTECTED]>
Date: Nov 14, 2006 3:17 PM
Subject: Re: Maven dependency question
To: Maven Users List 


What I do is put the utility jar in my dependency for the war as compile.
Then I put an exclude in the pom for the war that tells it to leave out
the
jar and not put it into the war. The classloader for your application
server
should cause the war to have access to the jar since it is in the ejb
jar's
classpath. This has to do with the nesting of the classloaders. Some app
servers let you change the way that works though.

-- Lee


On 11/14/06, Enrique Gaona <[EMAIL PROTECTED]> wrote:
>
>
>
> I posted this message earlier and didnt get any replies. Anyone know the
answer:) Thanks.
>
> Enrique
>
> Enrique Gaona/Austin/[EMAIL PROTECTED]
>
>
>
>
>
>
>
> Enrique Gaona/Austin/[EMAIL PROTECTED]
>
> 11/14/2006 01:33 PM
>
> Please respond to
> "Maven Users List" 
>
>
> To
> users@maven.apache.org
>
>
> cc
>
>
>
> Subject
> Maven dependency question
>
>
>
>
> Hi folks,
>
> We have a J2EE application project (ear) which contains one Web project
> (war), one EJB project and one utilities java project.
> The war and EJB jar projects depends from the same utilities project.
> We included the WEB, EJB and utilities projects as dependencies into the
> ear pom file, so all three output files are included into ear file.
> EJB project works as expected it only adds Class-Path: entry into its
> Manifest.MF class
>
> The problem with the Web project, it adds the common utility jar file
into
> its WEB-INF/lib directory. We tried to change the dependency scope from
> "compile" to "provided". In this case neither the jar was  added nor the
> Class-Path: entry.
>
> How can we specify dependency from the common utility jar file in the
war's
> pom file?
>
> Any help is appreciated.  Thanks
>
> Enrique
>
>
>

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




Re: Surefire report issues

2006-11-15 Thread Daniel Kulp
On Wednesday November 15 2006 6:21 am, Dave Syer wrote:
> Thanks for the reference.  Can anyone tell me how come there are so
> many good projects out there using maven 2, when the support for unit
> test reporting is so poor?  I can't be the only one that is frustrated.
>  What are other people doing as a workaround?  I guess no-one uses the
> default site generator and reports.
>
> Damien Lecan wrote:
> > http://jira.codehaus.org/browse/MSUREFIRE-114

Or you force it to use an older version of the Surefire plugin if you 
don't need the changes in 2.2.  We specifically force it to use 2.1.3.

-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727C: 508-380-7194   F:781-902-8001
[EMAIL PROTECTED]

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



Re: Error With dependency plugin

2006-11-15 Thread Lyndon Washington

Oops!  I discovered that there was an explicit entry for a
'maven-dependency-plugin' that was used by the mule project, that is not
released yet.

Sorry for the post.

Cheers,
-Lyndon-


On 11/14/06, Lyndon Washington <[EMAIL PROTECTED]> wrote:


Greetings,

I am attempting to use maven on a project and it appears to be having
problems retrieving a plugin before it even tries to handle the project's
pom.xml.

From the console output below, the problem seems to be with a version of
maven-dependency-plugin that is not available.  The strange thing is that
the version for the plugin is a SNAPSHOT release.

[INFO] Scanning for projects...
[INFO]

[INFO] Building Error Handler Example
[INFO]task-segment: [clean]
[INFO]


[INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking for
updates from central
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.1/maven-clean-plugin-2.1.pom
703b downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.1/maven-clean-plugin-2.1.jar
5K downloaded
Downloading:
http://people.apache.org/maven-snapshot-repository/org/apache/maven/plugins/maven-dependency-plugin/2.0-SNAPSHOT/maven-dependency-plugin-2.0-20060907.213033-3.pom
[WARNING] Unable to get resource from repository apache-plugin-snapshots (
http://people.apache.org/maven-snapshot-repository)
Downloading:
http://snapshots.repository.codehaus.org/org/apache/maven/plugins/maven-dependency-plugin/2.0-SNAPSHOT/maven-dependency-plugin-2.0-20060907.213033-3.pom
[WARNING] Unable to get resource from repository codehaus-snapshots (
http://snapshots.repository.codehaus.org)
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Failed to resolve artifact.

GroupId: org.apache.maven.plugins
ArtifactId: maven-dependency-plugin
Version: 2.0-20060907.213033-3

Reason: Unable to download the artifact from any repository


org.apache.maven.plugins:maven-dependency-plugin:pom:2.0-20060907.213033-3

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  codehaus (http://repository.codehaus.org),
  codehaus-snapshots (http://snapshots.repository.codehaus.org),
  apache-plugin-snapshots (
http://people.apache.org/maven-snapshot-repository)


Cheers,
-Lyndon-




Re: EhCacheProvider not found with other hibernate classes during test (RESOLVED)

2006-11-15 Thread Trevor Torrez

Thanks all; I do appreciate the help.  The root cause was (of all things) a
space after the class name in hibernate.properties :-/

Now I am back to why this was so hard to diagnose -- the tests, when run
from maven (on the command line), is not picking up changes to that file --
but when the tests run in eclipse, the changes are reflected.  Why is that?


On 11/15/06, Wayne Fay <[EMAIL PROTECTED]> wrote:


Check your Manifest.MF files and web.xml and other configuration files to
make sure there's not a reference to the wrong version somewhere. (Don't
just use the files in target; you'll need to crack open the packaged
JAR/WAR/EAR and all its JAR contents and look at all the config files and
Manifests.)

I had a situation recently where all my modules were set up to use the
log4j version specified by parent dependencyManagement node, but then for
some reason my EAR module had a specific version declared, so that's what
got bundled into the EAR, and then the Class-Path references in the other
modules were incorrect.

Just throwing out some ideas. No real clue why this is happening. You
might need to provide an  in the hibernate dependencies and then
manually add ehcache as its own dependency with a specific version, as
suggested by Lee.

Wayne

On 11/15/06, Trevor Torrez <[EMAIL PROTECTED]> wrote:
> nope:
>
> $ grep -io 'ehcache[^ ]\+' maven.log
> ehcache:ehcache:1.2
> ehcache:ehcache:1.2.
> ehcache:ehcache:jar:1.2:compile
> ehcache\ehcache\1.2\ehcache-1.2.jar,
> ehcache\ehcache\1.2\ehcache-1.2.jar
> ehcache:ehcache:1.2
> ehcache:ehcache:1.2.
> ehcache:ehcache:jar:1.2:compile
> ehcache\ehcache\1.2\ehcache-1.2.jar,
> ehcache\ehcache\1.2\ehcache-1.2.jar
> ehcache:ehcache:1.2
> ehcache:ehcache:1.2.
> ehcache:ehcache:jar:1.2:compile
> ehcache\ehcache\1.2\ehcache-1.2.jar,
> ehcache:ehcache=net.sf.ehcache:ehcache:jar:1.2:compile,
> ehcache\ehcache\1.2\ehcache-1.2.jar
>
> other than the fact that hibernate is specifying org.ehcache, and there
is a
> note that it has moved to net.sf.ehcache, nothing is odd about the
output
> that I can see.  Changing the pom to explicitly pull net.sf.ehcache 1.2has
> no effect.
>
> There is also only one version reference to hibernate: 3.2.0.cr4
>
> Any other ideas?
>
> -t.
>
> On 11/15/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> >
> > Run mvn -X and then grep the output for ehcache... You'll probably see
> > a different version getting pulled in by another dependency
> > somewhere...
> >
> > Wayne
> >
> > On 11/14/06, Trevor Torrez <[EMAIL PROTECTED]> wrote:
> > > Ok; that almost makes sense; what, other than 'Quartz' should I
search
> > > nabble for?  I cant find anything relevent.
> > >
> > > Answers to any of the following questions would also be appreciated:
> > >
> > > How do i find out which of the dependencies is requesting the bogus
> > > version?  The only thing 'maven site' shows in the dependencies is
> > > ehcache-1.2, the version that must be used with hibernate-3.  The
> > dependency
> > > graph shows that ehcache was required by hibernate-3, and no other
> > > (dissimilar) reference to ehcache is on the page.  I pulled out
explicit
> > > dependencies on hibernate from my project pom, and likewise the only
> > > hibernate listed is 3.2.0.rc4 required by spring-hibernate3.
> > >
> > > Why is it a class not found exception for a class that is obviously
> > there
> > > and correct and not a no-class-def error as would be expected for a
> > bogus
> > > version of a dependency (wrong method invocation, exception in
> > initializer,
> > > etc)?
> > >
> > > Why is this error not showing up in eclipse, when as far as i can
tell
> > the
> > > same jar files are being used.
> > >
> > > Thanks; much appreciated;
> > > -t.
> > >
> > > On 11/14/06, Lee Meador <[EMAIL PROTECTED]> wrote:
> > > >
> > > > This has been discussed before. You can find it in nabble, I
think.
> > > >
> > > > The issue has to do with spring wanting one version of hibernate
and
> > > > hibernate wanting a version of ehcache and the versions conflict
with
> > each
> > > > other. In my case, using Quartz which wanted another version of
> > ehcache,
> > > > it
> > > > would pick one version of ehcache for one project and another
version
> > for
> > > > another project.
> > > >
> > > > You solve it by specifying versions for things in some places and
> > > > excluding
> > > > dependencies in others. I forget the details.
> > > >
> > > > -- Lee
> > > > [snip]
> > > >
> > > > --
> > > > -- Lee Meador
> > > > Sent from gmail. My real email address is lee AT leemeador.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: EhCacheProvider not found with other hibernate classes during test (RESOLVED)

2006-11-15 Thread Wayne Fay

I don't know why the changed file wasn't detected.

Start running mvn clean {your phase here} ie mvn clean package or mvn
clean test rather than mvn test directly and Maven will delete
target/* before running, which should take care of these kinds of
problems.

Wayne

On 11/15/06, Trevor Torrez <[EMAIL PROTECTED]> wrote:

Thanks all; I do appreciate the help.  The root cause was (of all things) a
space after the class name in hibernate.properties :-/

Now I am back to why this was so hard to diagnose -- the tests, when run
from maven (on the command line), is not picking up changes to that file --
but when the tests run in eclipse, the changes are reflected.  Why is that?


On 11/15/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
>
> Check your Manifest.MF files and web.xml and other configuration files to
> make sure there's not a reference to the wrong version somewhere. (Don't
> just use the files in target; you'll need to crack open the packaged
> JAR/WAR/EAR and all its JAR contents and look at all the config files and
> Manifests.)
>
> I had a situation recently where all my modules were set up to use the
> log4j version specified by parent dependencyManagement node, but then for
> some reason my EAR module had a specific version declared, so that's what
> got bundled into the EAR, and then the Class-Path references in the other
> modules were incorrect.
>
> Just throwing out some ideas. No real clue why this is happening. You
> might need to provide an  in the hibernate dependencies and then
> manually add ehcache as its own dependency with a specific version, as
> suggested by Lee.
>
> Wayne
>
> On 11/15/06, Trevor Torrez <[EMAIL PROTECTED]> wrote:
> > nope:
> >
> > $ grep -io 'ehcache[^ ]\+' maven.log
> > ehcache:ehcache:1.2
> > ehcache:ehcache:1.2.
> > ehcache:ehcache:jar:1.2:compile
> > ehcache\ehcache\1.2\ehcache-1.2.jar,
> > ehcache\ehcache\1.2\ehcache-1.2.jar
> > ehcache:ehcache:1.2
> > ehcache:ehcache:1.2.
> > ehcache:ehcache:jar:1.2:compile
> > ehcache\ehcache\1.2\ehcache-1.2.jar,
> > ehcache\ehcache\1.2\ehcache-1.2.jar
> > ehcache:ehcache:1.2
> > ehcache:ehcache:1.2.
> > ehcache:ehcache:jar:1.2:compile
> > ehcache\ehcache\1.2\ehcache-1.2.jar,
> > ehcache:ehcache=net.sf.ehcache:ehcache:jar:1.2:compile,
> > ehcache\ehcache\1.2\ehcache-1.2.jar
> >
> > other than the fact that hibernate is specifying org.ehcache, and there
> is a
> > note that it has moved to net.sf.ehcache, nothing is odd about the
> output
> > that I can see.  Changing the pom to explicitly pull net.sf.ehcache
1.2has
> > no effect.
> >
> > There is also only one version reference to hibernate: 3.2.0.cr4
> >
> > Any other ideas?
> >
> > -t.
> >
> > On 11/15/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> > >
> > > Run mvn -X and then grep the output for ehcache... You'll probably see
> > > a different version getting pulled in by another dependency
> > > somewhere...
> > >
> > > Wayne
> > >
> > > On 11/14/06, Trevor Torrez <[EMAIL PROTECTED]> wrote:
> > > > Ok; that almost makes sense; what, other than 'Quartz' should I
> search
> > > > nabble for?  I cant find anything relevent.
> > > >
> > > > Answers to any of the following questions would also be appreciated:
> > > >
> > > > How do i find out which of the dependencies is requesting the bogus
> > > > version?  The only thing 'maven site' shows in the dependencies is
> > > > ehcache-1.2, the version that must be used with hibernate-3.  The
> > > dependency
> > > > graph shows that ehcache was required by hibernate-3, and no other
> > > > (dissimilar) reference to ehcache is on the page.  I pulled out
> explicit
> > > > dependencies on hibernate from my project pom, and likewise the only
> > > > hibernate listed is 3.2.0.rc4 required by spring-hibernate3.
> > > >
> > > > Why is it a class not found exception for a class that is obviously
> > > there
> > > > and correct and not a no-class-def error as would be expected for a
> > > bogus
> > > > version of a dependency (wrong method invocation, exception in
> > > initializer,
> > > > etc)?
> > > >
> > > > Why is this error not showing up in eclipse, when as far as i can
> tell
> > > the
> > > > same jar files are being used.
> > > >
> > > > Thanks; much appreciated;
> > > > -t.
> > > >
> > > > On 11/14/06, Lee Meador <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > This has been discussed before. You can find it in nabble, I
> think.
> > > > >
> > > > > The issue has to do with spring wanting one version of hibernate
> and
> > > > > hibernate wanting a version of ehcache and the versions conflict
> with
> > > each
> > > > > other. In my case, using Quartz which wanted another version of
> > > ehcache,
> > > > > it
> > > > > would pick one version of ehcache for one project and another
> version
> > > for
> > > > > another project.
> > > > >
> > > > > You solve it by specifying versions for things in some places and
> > > > > excluding
> > > > > dependencies in others. I forget the details.
> > > > >
> > > > > -- Lee
> > > > > [snip]
> > > 

Re: Maven plugin interaction

2006-11-15 Thread pjungwir

I think you have the right approach, but there are two missing bits:

  - make sure the assembly plugin doesn't "attach" its result.
  - make sure the last step does attach its result.

An attached file is one that maven considers an artifact and will upload
when you run install/deploy/etc. By default, the assembly plugin tells maven
that its outputs are attached. Probably if you read the assembly
documentation you can turn this off.

The last step of your build should attach the final artifact. I guess
preverification doesn't actually produce a new jar, so the final artifact
would be the result of obfuscating?

There is no way in the pom to attach an artifact; it requires plugin code.
An obfuscator plugin should know how to do this, unless you're just running
some command line tool or an ant task.

I've been meaning to write a plugin that just attaches things, but I haven't
even started yet. Maybe you'd like to do it? :-) It would be very simple,
and I think a lot of people would find it useful. If maven supports it,
maybe it should also have an unattach feature.

Paul



Mikko wrote:
> 
> Hi,
> 
> First the environment: 
> 
> 1. Multimodule midp2.0 application - must have (OK)
> 2. Assembly is required - must have (OK)
> 3. Assembled code jar obfuscation - optinal (NOK)
> 3. Assembled code jar preverification - must have (NOK)
> 
> What I'm trying to do is to write a plugin(s) for our MIDP project so that
> above steps are accomplished. My problem is that after the assembly is
> complete some jar is constructed and once either the obfuscation or the
> preverification needs to take place the plugin does not know the name of
> the jar that was produced by the maven-assembly-plugin.
> 
> It might be that I'm approaching this the wrong way, but could someone
> point me to the right direction, either by suggesting another approach or
> whatever... ;) Basically once the assembly is complete I need to do the
> obfuscation and preverification with the result.
> 
> thanks in advance,
> Mikko
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Maven-plugin-interaction-tf2628577s177.html#a7364650
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: EhCacheProvider not found with other hibernate classes during test (RESOLVED)

2006-11-15 Thread Trevor Torrez

I wiped it out and rechecked it out from source control; seems to be working
fine.

Thanks again.

On 11/15/06, Wayne Fay <[EMAIL PROTECTED]> wrote:


I don't know why the changed file wasn't detected.

Start running mvn clean {your phase here} ie mvn clean package or mvn
clean test rather than mvn test directly and Maven will delete
target/* before running, which should take care of these kinds of
problems.

Wayne

On 11/15/06, Trevor Torrez <[EMAIL PROTECTED]> wrote:
> Thanks all; I do appreciate the help.  The root cause was (of all
things) a
> space after the class name in hibernate.properties :-/
>
> Now I am back to why this was so hard to diagnose -- the tests, when run
> from maven (on the command line), is not picking up changes to that file
--
> but when the tests run in eclipse, the changes are reflected.  Why is
that?
>
>
> On 11/15/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> >
> > Check your Manifest.MF files and web.xml and other configuration files
to
> > make sure there's not a reference to the wrong version somewhere.
(Don't
> > just use the files in target; you'll need to crack open the packaged
> > JAR/WAR/EAR and all its JAR contents and look at all the config files
and
> > Manifests.)
> >
> > I had a situation recently where all my modules were set up to use the
> > log4j version specified by parent dependencyManagement node, but then
for
> > some reason my EAR module had a specific version declared, so that's
what
> > got bundled into the EAR, and then the Class-Path references in the
other
> > modules were incorrect.
> >
> > Just throwing out some ideas. No real clue why this is happening. You
> > might need to provide an  in the hibernate dependencies and
then
> > manually add ehcache as its own dependency with a specific version, as
> > suggested by Lee.
> >
> > Wayne
> >
> > On 11/15/06, Trevor Torrez <[EMAIL PROTECTED]> wrote:
> > > nope:
> > >
> > > $ grep -io 'ehcache[^ ]\+' maven.log
> > > ehcache:ehcache:1.2
> > > ehcache:ehcache:1.2.
> > > ehcache:ehcache:jar:1.2:compile
> > > ehcache\ehcache\1.2\ehcache-1.2.jar,
> > > ehcache\ehcache\1.2\ehcache-1.2.jar
> > > ehcache:ehcache:1.2
> > > ehcache:ehcache:1.2.
> > > ehcache:ehcache:jar:1.2:compile
> > > ehcache\ehcache\1.2\ehcache-1.2.jar,
> > > ehcache\ehcache\1.2\ehcache-1.2.jar
> > > ehcache:ehcache:1.2
> > > ehcache:ehcache:1.2.
> > > ehcache:ehcache:jar:1.2:compile
> > > ehcache\ehcache\1.2\ehcache-1.2.jar,
> > > ehcache:ehcache=net.sf.ehcache:ehcache:jar:1.2:compile,
> > > ehcache\ehcache\1.2\ehcache-1.2.jar
> > >
> > > other than the fact that hibernate is specifying org.ehcache, and
there
> > is a
> > > note that it has moved to net.sf.ehcache, nothing is odd about the
> > output
> > > that I can see.  Changing the pom to explicitly pull net.sf.ehcache
> 1.2has
> > > no effect.
> > >
> > > There is also only one version reference to hibernate: 3.2.0.cr4
> > >
> > > Any other ideas?
> > >
> > > -t.
> > >
> > > On 11/15/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Run mvn -X and then grep the output for ehcache... You'll probably
see
> > > > a different version getting pulled in by another dependency
> > > > somewhere...
> > > >
> > > > Wayne
> > > >
> > > > On 11/14/06, Trevor Torrez <[EMAIL PROTECTED]> wrote:
> > > > > Ok; that almost makes sense; what, other than 'Quartz' should I
> > search
> > > > > nabble for?  I cant find anything relevent.
> > > > >
> > > > > Answers to any of the following questions would also be
appreciated:
> > > > >
> > > > > How do i find out which of the dependencies is requesting the
bogus
> > > > > version?  The only thing 'maven site' shows in the dependencies
is
> > > > > ehcache-1.2, the version that must be used with
hibernate-3.  The
> > > > dependency
> > > > > graph shows that ehcache was required by hibernate-3, and no
other
> > > > > (dissimilar) reference to ehcache is on the page.  I pulled out
> > explicit
> > > > > dependencies on hibernate from my project pom, and likewise the
only
> > > > > hibernate listed is 3.2.0.rc4 required by spring-hibernate3.
> > > > >
> > > > > Why is it a class not found exception for a class that is
obviously
> > > > there
> > > > > and correct and not a no-class-def error as would be expected
for a
> > > > bogus
> > > > > version of a dependency (wrong method invocation, exception in
> > > > initializer,
> > > > > etc)?
> > > > >
> > > > > Why is this error not showing up in eclipse, when as far as i
can
> > tell
> > > > the
> > > > > same jar files are being used.
> > > > >
> > > > > Thanks; much appreciated;
> > > > > -t.
> > > > >
> > > > > On 11/14/06, Lee Meador <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > This has been discussed before. You can find it in nabble, I
> > think.
> > > > > >
> > > > > > The issue has to do with spring wanting one version of
hibernate
> > and
> > > > > > hibernate wanting a version of ehcache and the versions
conflict
> > with
> > > > each
> > > > > > other. In my case, using Quartz which wanted

Re: How to upload 3rd party source jars to external repository

2006-11-15 Thread Christofer Jennings

It seems to work if I set -DgeneratePom=true

On 11/15/06, Christofer Jennings <[EMAIL PROTECTED]> wrote:


I'm having trouble using deploy:deploy-file to upload sources and javadoc
too. I've set up an internal repository via SCP and have uploaded DWR
version 2.0m4 to it. When I use the mvn command below for either the
javadoc or sources jar, I get the NullPointerException.

Am I using the command correctly?

Thanks in advance!
,chris


mvn deploy:deploy-file \
   -DgroupId=dwr \
   -DartifactId=dwr \
   -Dversion=2.0m4 \
   -Dpackaging=jar \
   -DgeneratePom=false \
   -Dclassifier=javadoc \
   -Dfile=dwr-2.0m4-javadoc.jar \
   -DrepositoryId=my.org-repository \
   -Durl=scp://my.org/repository



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

[INFO] Building Maven Default Project
[INFO]task-segment: [deploy:deploy-file] (aggregator-style)
[INFO]

[INFO] [deploy:deploy-file]
Uploading: scp://my.org/repository/dwr/dwr/2.0m4/dwr-2.0m4-javadoc.jar
1134K uploaded
[INFO] Retrieving previous metadata from my.org-repository
[INFO]

[ERROR] FATAL ERROR
[INFO]

[INFO] null
[INFO]

[INFO] Trace
java.lang.NullPointerException
at java.io.FileInputStream.(FileInputStream.java:103)
at java.io.FileReader.(FileReader.java:55)
at
org.apache.maven.project.artifact.ProjectArtifactMetadata.storeInLocalRepository(
ProjectArtifactMetadata.java:89)
at
org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.deploy(
DefaultRepositoryMetadataManager.java:420)
at
org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy (
DefaultArtifactDeployer.java:83)
at org.apache.maven.plugin.deploy.DeployFileMojo.execute (
DeployFileMojo.java:236)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java :412)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java :534)
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:219)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
DefaultLifecycleExecutor.java :140)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke (Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java
:315)
at org.codehaus.classworlds.Launcher.launch (Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode (
Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]

[INFO] Total time: 9 seconds
[INFO] Finished at: Mon Oct 09 16:48:17 PDT 2006
[INFO] Final Memory: 3M/5M
[INFO]




Re: Maven plugin interaction

2006-11-15 Thread Mikko

Thanks, but still its not clicking in my brain ;) I fail to see how my plugin
will be able to do the preverification and obfuscation if the assembly
plugin does not attach its result. Basically as far as I can see my biggest
issue is that my plugin does not know what the assembly plugin produced.

I guess I'm missing something, can you explain perhaps with more detail.

thanks,
Mikko


pjungwir wrote:
> 
> I think you have the right approach, but there are two missing bits:
> 
>   - make sure the assembly plugin doesn't "attach" its result.
>   - make sure the last step does attach its result.
> 
> An attached file is one that maven considers an artifact and will upload
> when you run install/deploy/etc. By default, the assembly plugin tells
> maven that its outputs are attached. Probably if you read the assembly
> documentation you can turn this off.
> 
> The last step of your build should attach the final artifact. I guess
> preverification doesn't actually produce a new jar, so the final artifact
> would be the result of obfuscating?
> 
> There is no way in the pom to attach an artifact; it requires plugin code.
> An obfuscator plugin should know how to do this, unless you're just
> running some command line tool or an ant task.
> 
> I've been meaning to write a plugin that just attaches things, but I
> haven't even started yet. Maybe you'd like to do it? :-) It would be very
> simple, and I think a lot of people would find it useful. If maven
> supports it, maybe it should also have an unattach feature.
> 
> Paul
> 
> 
> 
> Mikko wrote:
>> 
>> Hi,
>> 
>> First the environment: 
>> 
>> 1. Multimodule midp2.0 application - must have (OK)
>> 2. Assembly is required - must have (OK)
>> 3. Assembled code jar obfuscation - optinal (NOK)
>> 3. Assembled code jar preverification - must have (NOK)
>> 
>> What I'm trying to do is to write a plugin(s) for our MIDP project so
>> that above steps are accomplished. My problem is that after the assembly
>> is complete some jar is constructed and once either the obfuscation or
>> the preverification needs to take place the plugin does not know the name
>> of the jar that was produced by the maven-assembly-plugin.
>> 
>> It might be that I'm approaching this the wrong way, but could someone
>> point me to the right direction, either by suggesting another approach or
>> whatever... ;) Basically once the assembly is complete I need to do the
>> obfuscation and preverification with the result.
>> 
>> thanks in advance,
>> Mikko
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Maven-plugin-interaction-tf2628577s177.html#a7365775
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: Error With dependency plugin

2006-11-15 Thread Brian E. Fox
Looks like the version was hardcoded, but the repository isn't
configured correctly. It should be:
  maven-snaps (http://people.apache.org/repo/m2-snapshot-repository), 

-Original Message-
From: Lyndon Washington [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 15, 2006 1:22 PM
To: Maven Users List
Subject: Re: Error With dependency plugin

Oops!  I discovered that there was an explicit entry for a
'maven-dependency-plugin' that was used by the mule project, that is not
released yet.

Sorry for the post.

Cheers,
-Lyndon-


On 11/14/06, Lyndon Washington <[EMAIL PROTECTED]> wrote:
>
> Greetings,
>
> I am attempting to use maven on a project and it appears to be having 
> problems retrieving a plugin before it even tries to handle the 
> project's pom.xml.
>
> From the console output below, the problem seems to be with a version 
> of maven-dependency-plugin that is not available.  The strange thing 
> is that the version for the plugin is a SNAPSHOT release.
>
> [INFO] Scanning for projects...
> [INFO]
> --
> --
> [INFO] Building Error Handler Example
> [INFO]task-segment: [clean]
> [INFO]
> --
> --
>
> [INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking 
> for updates from central
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plu
> gin/2.1/maven-clean-plugin-2.1.pom
> 703b downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plu
> gin/2.1/maven-clean-plugin-2.1.jar
> 5K downloaded
> Downloading:
> http://people.apache.org/maven-snapshot-repository/org/apache/maven/pl
> ugins/maven-dependency-plugin/2.0-SNAPSHOT/maven-dependency-plugin-2.0
> -20060907.213033-3.pom [WARNING] Unable to get resource from 
> repository apache-plugin-snapshots (
> http://people.apache.org/maven-snapshot-repository)
> Downloading:
> http://snapshots.repository.codehaus.org/org/apache/maven/plugins/mave
> n-dependency-plugin/2.0-SNAPSHOT/maven-dependency-plugin-2.0-20060907.
> 213033-3.pom [WARNING] Unable to get resource from repository 
> codehaus-snapshots (
> http://snapshots.repository.codehaus.org)
> [INFO]
> --
> --
> [ERROR] BUILD ERROR
> [INFO]
> --
> --
> [INFO] Failed to resolve artifact.
>
> GroupId: org.apache.maven.plugins
> ArtifactId: maven-dependency-plugin
> Version: 2.0-20060907.213033-3
>
> Reason: Unable to download the artifact from any repository
>
>
> org.apache.maven.plugins:maven-dependency-plugin:pom:2.0-20060907.2130
> 33-3
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   codehaus (http://repository.codehaus.org),
>   codehaus-snapshots (http://snapshots.repository.codehaus.org),
>   apache-plugin-snapshots (
> http://people.apache.org/maven-snapshot-repository)
>
>
> Cheers,
> -Lyndon-
>
>


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



Re: Hibernate 3.2

2006-11-15 Thread ir. ing. Jan Dockx
WARN: Don't go to www.mvnregistry.com! It redirects to a place that  
tries to install an exe for porn. (don't worry if you're on Mac OS X  
or other un*x ;-)).


Damien Lecan: I'm not amused.

On 15 Nov 2006, at 17:27, LECAN Damien wrote:


To search artifacts :
www.mvnrepository.com
www.mvnregistry.com

Very helpful

Damien


-Message d'origine-
De : Mark Grand [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 15 novembre 2006 17:13
À : users@maven.apache.org
Objet : Hibernate 3.2


I want to use Hibernate 3.2 in a project that I am building with
maven.  There is no artifact for Hibernate 3.2 in ibiblio.  How can I
manually set it up in my local repository?

Mark Grand   (404)925-8265



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







"[…]  my biggest problem is finding out how to do things."
(in a mail on the Maven Users List)






Announce: Maven 2 Plugins for Axis2

2006-11-15 Thread Jochen Wiedmann

Hi,

I'd like to announce the availability of the following plugins:

 axis2-aar-maven-plugin - Generates an Axis 2 service archive (aar file).
 axis2-wsdl2code-maven-plugin - Generates code from an WSDL.
 axis2-java2wsdl-maven-plugin - Creates an WSDL from a Java class

See http://ws.apache.org/axis2/tools/index.html for details.

Jochen

P.S: Jason, or whoever's responsible for that: Could you please be so
kind and add these to the plugin list?

--
My wife Mary and I have been married for forty-seven years and not
once have we had an argument serious enough to consider divorce;
murder, yes, but divorce, never.
(Jack Benny)

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



Re: Maven plugin interaction

2006-11-15 Thread pjungwir

Hi Mikko,

The assembly plugin by default puts its result in target/ and names it
${finalName}-${version}-${classifier}.${type}, e.g. encc-1.0-bin.zip. I
would write your plugin so it accepts the input jar's filename as a
parameter, which defaults to the same naming scheme (or whatever is
convenient for you). Normally assembly's output is a finished product, so to
speak, but in your case it is an intermediate product; the build isn't
finished with it yet. Right? It is intermediate just like class files before
instrumentation. You control the build, so you can say where assembly puts
the jar and where the other plugins find it. If you were doing this in ant,
your "jar" and "obfuscate" tasks would need to cooperate; it's no different
here.

If you prefer to put the unobfuscated jar somewhere else, I believe you can
set that with the assembly descriptor or perhaps the assembly plugin's
 section.

Paul


Mikko wrote:
> 
> Thanks, but still its not clicking in my brain ;) I fail to see how my
> plugin will be able to do the preverification and obfuscation if the
> assembly plugin does not attach its result. Basically as far as I can see
> my biggest issue is that my plugin does not know what the assembly plugin
> produced.
> 
> I guess I'm missing something, can you explain perhaps with more detail.
> 
> thanks,
> Mikko
> 
> 
> pjungwir wrote:
>> 
>> I think you have the right approach, but there are two missing bits:
>> 
>>   - make sure the assembly plugin doesn't "attach" its result.
>>   - make sure the last step does attach its result.
>> 
>> An attached file is one that maven considers an artifact and will upload
>> when you run install/deploy/etc. By default, the assembly plugin tells
>> maven that its outputs are attached. Probably if you read the assembly
>> documentation you can turn this off.
>> 
>> The last step of your build should attach the final artifact. I guess
>> preverification doesn't actually produce a new jar, so the final artifact
>> would be the result of obfuscating?
>> 
>> There is no way in the pom to attach an artifact; it requires plugin
>> code. An obfuscator plugin should know how to do this, unless you're just
>> running some command line tool or an ant task.
>> 
>> I've been meaning to write a plugin that just attaches things, but I
>> haven't even started yet. Maybe you'd like to do it? :-) It would be very
>> simple, and I think a lot of people would find it useful. If maven
>> supports it, maybe it should also have an unattach feature.
>> 
>> Paul
>> 
>> 
>> 
>> Mikko wrote:
>>> 
>>> Hi,
>>> 
>>> First the environment: 
>>> 
>>> 1. Multimodule midp2.0 application - must have (OK)
>>> 2. Assembly is required - must have (OK)
>>> 3. Assembled code jar obfuscation - optinal (NOK)
>>> 3. Assembled code jar preverification - must have (NOK)
>>> 
>>> What I'm trying to do is to write a plugin(s) for our MIDP project so
>>> that above steps are accomplished. My problem is that after the assembly
>>> is complete some jar is constructed and once either the obfuscation or
>>> the preverification needs to take place the plugin does not know the
>>> name of the jar that was produced by the maven-assembly-plugin.
>>> 
>>> It might be that I'm approaching this the wrong way, but could someone
>>> point me to the right direction, either by suggesting another approach
>>> or whatever... ;) Basically once the assembly is complete I need to do
>>> the obfuscation and preverification with the result.
>>> 
>>> thanks in advance,
>>> Mikko
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Maven-plugin-interaction-tf2628577s177.html#a7367049
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: Maven plugin interaction

2006-11-15 Thread Tom Huybrechts




There is no way in the pom to attach an artifact; it requires plugin code.
An obfuscator plugin should know how to do this, unless you're just running
some command line tool or an ant task.



The build-helper-maven-plugin at mojo can attach an artifact.

http://mojo.codehaus.org/build-helper-maven-plugin/

Tom

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



Assebly question about directories

2006-11-15 Thread Mick Knutson

I have this descriptor in my ear-module/


   
   tar
   
   
   
   ${basedir}/target
   
   
   *.ear
   
   
   xdocs/**
   
   
   
   ${basedir}/../src/main/resources/configs
   
   
   
   **/*.*
   
   
   assembly-descriptor.xml
   
   
   



1st question: How can I have  put my ear
in the root directory as right now it puts it into /npi 

2nd Question: Is there a better way to reference the configs that live in my
../src/main/resources/configs  than
${basedir}/../src/main/resources/configs
???



--

Thanks

DJ MICK
http://www.djmick.com
http://www.myspace.com/mickknutson


Using Cargo and Cobertura to get in container code coverage

2006-11-15 Thread jp4

I have been using cargo to deploy my application and run integration tests
against the application in container.  Now I would like to have cargo deploy
a war file that contains classes instrumented by cobertura.  In addition, I
would like to be able to merge the results of the unit and integration
tests.  Has anyone done this successfully, if so can you please share your
pom file?

thanks,

jp4
-- 
View this message in context: 
http://www.nabble.com/Using-Cargo-and-Cobertura-to-get-in-container-code-coverage-tf2639446s177.html#a7367963
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: [M2] Referencing Project Modules in plugin

2006-11-15 Thread pjungwir

Why do you have an asterisk after @parameter? Shouldn't you have a quote mark
after =?

Paul


M Campbell wrote:
> 
> I need my plugin to make an arraylist out of the modules in the parent
> pom.
> 
> I'm creating a List out of them. I'm trying
> 
> [EMAIL PROTECTED] expression=${project.modules}"
> 
> But i get an error saying I didnt specify
> 
> 
>   ...
> VALUE
> .
> 
> 
> Is there a way to directly reference my modules listed in
> 
> 
> module1
> module2
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-M2--Referencing-Project-Modules-in-plugin-tf2636261s177.html#a7368230
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: error to package jar project

2006-11-15 Thread pjungwir

Please post the jar  section from your pom.


Barbier-Accary Aurélien wrote:
> 
> Hello,
> 
>  
> 
> I obtain an internal error when I try « mvn package » or « mvn install »
> for a « jar » project. The trace is:
> 
>  
> 
> [INFO] Internal error in the plugin manager executing goal
> 'org.apache.maven.plugins:maven-jar-plugin:2.1:jar': Unable to find the
> mojo 'org.apache.maven.plugins:maven-jar-plugin:2.1:jar' in the plugin
> 'org.apache.maven.plugins:maven-jar-plugin'
> 
>  
> 
> Can you help me to find the reason of this error??
> 
>  
> 
> Regards,
> 
>  
> 
> Bastien Jacoud
> 
>  
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/error-to-package-jar-project-tf2636731s177.html#a7368259
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: Maven dependency question

2006-11-15 Thread Enrique Gaona
Thanks for the detailed example.

Enrique

"Eric Helfrich" <[EMAIL PROTECTED]> wrote on 11/15/2006 12:02:27 PM:

> I did it this way.  The classpath gets generated with the jars for the
war
> but no jar files get added to the lib directory
> 
> org.apache.maven.plugins
> maven-war-plugin
> 2.0.1
> 
> 
> ${basedir}/../target/${artifactId}
> 
> 
> WEB-INF/lib/*.jar
> 
> 
> false
> 
> true
> 
> 
> 
> 
>
> On 11/15/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> >
> > Incorrect, Lee M. responded to you earlier...
> >
> > -- Forwarded message --
> > From: Lee Meador <[EMAIL PROTECTED]>
> > Date: Nov 14, 2006 3:17 PM
> > Subject: Re: Maven dependency question
> > To: Maven Users List 
> >
> >
> > What I do is put the utility jar in my dependency for the war as
compile.
> > Then I put an exclude in the pom for the war that tells it to leave out
> > the
> > jar and not put it into the war. The classloader for your application
> > server
> > should cause the war to have access to the jar since it is in the ejb
> > jar's
> > classpath. This has to do with the nesting of the classloaders. Some
app
> > servers let you change the way that works though.
> >
> > -- Lee
> >
> >
> > On 11/14/06, Enrique Gaona <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > >
> > > I posted this message earlier and didnt get any replies. Anyone know
the
> > answer:) Thanks.
> > >
> > > Enrique
> > >
> > > Enrique Gaona/Austin/[EMAIL PROTECTED]
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > Enrique Gaona/Austin/[EMAIL PROTECTED]
> > >
> > > 11/14/2006 01:33 PM
> > >
> > > Please respond to
> > > "Maven Users List" 
> > >
> > >
> > > To
> > > users@maven.apache.org
> > >
> > >
> > > cc
> > >
> > >
> > >
> > > Subject
> > > Maven dependency question
> > >
> > >
> > >
> > >
> > > Hi folks,
> > >
> > > We have a J2EE application project (ear) which contains one Web
project
> > > (war), one EJB project and one utilities java project.
> > > The war and EJB jar projects depends from the same utilities project.
> > > We included the WEB, EJB and utilities projects as dependencies into
the
> > > ear pom file, so all three output files are included into ear file.
> > > EJB project works as expected it only adds Class-Path: entry into its
> > > Manifest.MF class
> > >
> > > The problem with the Web project, it adds the common utility jar file
> > into
> > > its WEB-INF/lib directory. We tried to change the dependency scope
from
> > > "compile" to "provided". In this case neither the jar was  added nor
the
> > > Class-Path: entry.
> > >
> > > How can we specify dependency from the common utility jar file in the
> > war's
> > > pom file?
> > >
> > > Any help is appreciated.  Thanks
> > >
> > > Enrique
> > >
> > >
> > >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >

Re: Maven dependency question

2006-11-15 Thread Enrique Gaona
Thanks for the info, that helped a lot.

Enrique

[EMAIL PROTECTED] wrote on 11/14/2006 03:17:07 PM:

> What I do is put the utility jar in my dependency for the war as compile.
> Then I put an exclude in the pom for the war that tells it to leave out
the
> jar and not put it into the war. The classloader for your application
server
> should cause the war to have access to the jar since it is in the ejb
jar's
> classpath. This has to do with the nesting of the classloaders. Some app
> servers let you change the way that works though.
>
> -- Lee
>
> On 11/14/06, Enrique Gaona <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > Hi folks,
> >
> > We have a J2EE application project (ear) which contains one Web project
> > (war), one EJB project and one utilities java project.
> > The war and EJB jar projects depends from the same utilities project.
> > We included the WEB, EJB and utilities projects as dependencies into
the
> > ear pom file, so all three output files are included into ear file.
> > EJB project works as expected it only adds Class-Path: entry into its
> > Manifest.MF class
> >
> > The problem with the Web project, it adds the common utility jar file
into
> > its WEB-INF/lib directory. We tried to change the dependency scope from
> > "compile" to "provided". In this case neither the jar was  added nor
the
> > Class-Path: entry.
> >
> > How can we specify dependency from the common utility jar file in the
> > war's
> > pom file?
> >
> > Any help is appreciated.  Thanks
> >
> > Enrique
> >
>
>
>
> --
> -- Lee Meador
> Sent from gmail. My real email address is lee AT leemeador.com

Re: tomcat deployer

2006-11-15 Thread Kevin Jackson

Hi,


This gets discussed fairly regularly and there's multiple ways to handle
it.
If you're not aware, there's a great search engine for this list at
http://www.nabble.com/Maven---Users-f178.html


I actually find Nabble to be close to useless as it doesn't seem to
get spidered by google properly, certainly MARC is my preferred place
to find stuff out - shame maven list isn't there :(



The way I've setup things I can see the changed jsp without calling
any maven target. There's more details of my solution here
http://www.nabble.com/Eclipse-war-builder-tf2371898s177.html#a6646490
Another fellow wrote a custom eclipse plugin to help him.


Could you go into more details?  I've followed what I could from your
post ^^ but I still cannot get Tomcat to deploy just the context.xml
file and use the target directory as an exploded webapp.  My guess is
that I've setup tomcat incorrectly, but a working example of what to
do would be great (I also tried the eclipse war builder thing and
again it didn't work for me).

Thanks
Kev

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



Re: JUnit/Test among multi-projects?

2006-11-15 Thread jiangshachina

> add it as a dependency for your project
How to get it?
Generally, I can add jar/war/ear/pom as dependency, but config file may be
various.

a cup of Java, cheers!
Sha Jiang


Emmanuel Venisse wrote:
> 
> You can create a new module that contains your shared config files and add
> it as a dependency for 
> your project, with test scope if your config files are used only for tests
> 
> Emmanuel
> 
> jiangshachina a écrit :
>> Hi guys,
>> I'm using Spring, Struts and Hibernate, and have to deal with so many
>> configuration or resource files.
>> Then some troubles come out.
>> 
>> Assuming, there is two projects app and web.
>> Project app focuses on Simple Application; Project web focuses on Web
>> Application.
>> Generally, the configuration files(e.g. applicationContext.xml) are in
>> web
>> project.
>> Now, a JUnit program in app project want to test an application program
>> in
>> the same project.
>> But the application program depends on applicationContext.xml.
>> JUnit program doesn't touch the file, because they are in different
>> projects.
>> How to solve the problem(excepts for copying the file to app project
>> directly)?
>> 
>> In fact, we must encounter too many similar cases in real-world projects.
>> 
>> a cup of Java, cheers!
>> Sha Jiang
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/JUnit-Test-among-multi-projects--tf2635154s177.html#a7369812
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: observations on daily build of 20061115

2006-11-15 Thread Brett Porter

Thanks Daniel,

Would you mind contributing by:
- putting the bugs found in jira
- adding your configuration tips to the wiki?

Much appreciated!

- Brett

On 16/11/2006, at 1:31 AM, Mohni, Daniel wrote:


Hello

today I rebuild archiva to check the current state,
after some testing of the webapp in tomcat I decide
to install this on our development environment.

just some hints about configuration of the repositories
in the settings.xml

-> proxied repositories should be accessed using the 'proxy'
   in the url to get the download from remote servers to work

   
  maven-release
  http://archiva/proxy/maven_release
  
 false
  
   

-> repository that are not proxied should be accessed
   with 'repository' in the url

   
  internal-release
  http://archiva/repository/internal_release
  
 false
  
   

what is not working:

the download button when browsing artefacts is not working,
but I don't realy need this...

repository access is not working with . in the url

-> ../repository/3p_release/net.sf.ehcache/ehcache/1.2/ehcache-1.2.jar

this works with the proxy access

-> ../proxy/maven_release/net.sf.ehcache/ehcache/1.2/ehcache-1.2.jar

I'll try dav upload tomorrow if I find the way to configure it ;-)
maybe I have to setup a user in archiva and give hime the correct
role...

-Daniel


Re: http://www.ibiblio.org/maven2 vs. http://repo1.maven.org/maven2?

2006-11-15 Thread Jim Bethancourt

You can also check out the Maven repository on java.net
https://maven-repository.dev.java.net/ is the webpage.

Add the following to your POM

 java.net
 https://maven-repository.dev.java.net/nonav/repository
 legacy


Cheers,
Jim

On 11/14/06, jiangshachina <[EMAIL PROTECTED]> wrote:


Dear Wayne,
Thanks very much!

a cup of Java, cheers!
Sha Jiang


Wayne Fay wrote:
>
> You can use the Geronimo-provided J2EE jars for now, while waiting for
> the Sun JavaEE jars to be published under an open source license etc:
>
> http://www.ibiblio.org/pub/packages/maven2/geronimo-spec/
> http://www.ibiblio.org/pub/packages/maven2/geronimo/
>
> The Glassfish jars are slowly making their way into Maven repos too so
> you could use those instead of Geronimo if you prefer, assuming the
> jars are available from both sources.
>
> Wayne
>
> On 11/14/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
>> If you look in more detail:
>> http://www.ibiblio.org/pub/packages/maven2/javax/j2ee/j2ee/1.4/
>>
>> You'll see that no binaries are available for javax.j2ee, but only
>> poms. This is due to the licensing of the J2EE 1.4 jars. So you can
>> use these poms but must download and manually install the jars.
>>
>> Eventually we will get JavaEE jars which are available under a license
>> (CDDL or GPL) which allows redistribution. At that time, the files
>> will be hosted and available via Maven.
>>
>> Wayne
>>
>> On 11/13/06, jiangshachina <[EMAIL PROTECTED]> wrote:
>> >
>> > It seems that j2ee.jar(javax.j2ee) is at central repository, but
>> > javaee.jar(JavaEE 5.0).
>> > javaee.jar would be added to the repository in the future, or no
>> forever?
>> >
>> > a cup of Java, cheers!
>> > Sha Jiang
>> >
>> >
>> > jiangshachina wrote:
>> > >
>> > > Hi Brett,
>> > > It means that group springframework is deprecated, too.
>> > > Oh, I may make a serious mistake, if without your help.
>> > > Thanks very much!
>> > >
>> > > a cup of Java, cheers!
>> > > Sha Jiang
>> > >
>> > >
>> > > Brett Porter wrote:
>> > >>
>> > >> On 14/11/06, jiangshachina <[EMAIL PROTECTED]> wrote:
>> > >>> They have same artifactsId, but the artifacts in springframework
>> are
>> > >>> newer.
>> > >>> It means the group spring is deprecated?
>> > >>
>> > >> Some newer versions get moved to a new group ID. We are generally
>> > >> trying to consolidate them over time, and migrate old ones.
>> > >>
>> > >>>
>> > >>> There are many similar cases in central repository, how can I deal
>> with
>> > >>> the
>> > >>> matter?
>> > >>
>> > >> Find the one with the version you are using.
>> > >>
>> > >>> May have a convention for names of the groups?
>> > >>
>> > >> The convention is reverse-domain. So you will probably find all the
>> > >> newest releases in org.springframework group ID (directory
>> > >> org/springframework/).
>> > >>
>> > >> - Brett
>> > >>
>> > >>
>> -
>> > >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > >> For additional commands, e-mail: [EMAIL PROTECTED]
>> > >>
>> > >>
>> > >>
>> > >
>> > >
>> >
>> > --
>> > View this message in context:
>> >
>> 
http://www.nabble.com/http%3A--www.ibiblio.org-maven2-vs.-http%3A--repo1.maven.org-maven2--tf2627036s177.html#a7331953
>> > Sent from the Maven - Users mailing list archive at Nabble.com.
>> >
>> >
>> > -
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>

--
View this message in context: 
http://www.nabble.com/http%3A--www.ibiblio.org-maven2-vs.-http%3A--repo1.maven.org-maven2--tf2627036s177.html#a7349962
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: java2iiop (Visibroker)

2006-11-15 Thread Jim Bethancourt

Dan,
I think I noticed why the plugin wasn't downloading when I used the
examples my POM -- the second plugin definition in your Java example
has codehaus spelled with an extra "e" on the end -- I've pasted the
source below with the error.  I wish I'd caught it before!  Progress
on my end is coming along -- I think I just need to add the include
path.  Is there any way I might be able to use wildcards to specify
the idl files between the  tags?  I've got 30 plus
scattered across the directory structure, and it would probably lead
to a more maintainable POM as well.

Thanks again so much,
Jim


   org.codehause.mojo
   visibroker-maven-plugin
   
 
   

On 11/15/06, Jim Bethancourt <[EMAIL PROTECTED]> wrote:

Dan,
Great!  Thanks so much.  I'll give it a whirl. :-)
Jim

On 11/14/06, Dan Tran <[EMAIL PROTECTED]> wrote:
> Jim,  A snapshot has been deployed to
> http://snapshots.repository.codehaus.org
>
> It is best to build from source
>
> http://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/visibroker-maven-plugin/
>
> -D
>
>
> On 11/14/06, Jim Bethancourt <[EMAIL PROTECTED]> wrote:
> >
> > Hi Dan,
> > I've finally been able to tinker a little more and got the build
> > section settings correct (I think)  that you've mentioned on the
> > website, but the plugin isn't downloading and I'm not finding it in
> > the subversion repository, unless I'm looking in the wrong place.  Any
> > pointers you might be able to provide would be really handy.  Is there
> > any possibility you could post it to the mojo sandbox?
> >
> > Thanks,
> > Jim
> >
> > On 10/30/06, Jim Bethancourt <[EMAIL PROTECTED]> wrote:
> > > Dan,
> > > Awesome!  Thanks so much.  I'd be happy to help where I can.
> > > Jim
> > >
> > > On 10/29/06, Dan Tran <[EMAIL PROTECTED]> wrote:
> > > > Jim, I just cookedup a set of maven wrappers for visibroker tools.
> > > > Please provide feedbacks, patches, docs if you find it it useful.
> > > >
> > > > You will need to check out the source at mojo-sandbox
> > > >
> > > > The site is at  http://mojo.codehaus.org/visibroker-maven-plugin/
> > > >
> > > >
> > > > -D
> > > >
> > > >
> > > > On 10/28/06, Jim Bethancourt <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Hi Tim,
> > > > > I've been tinkering with migrating the build process for the place
> > > > > where I work from Ant to Maven 2 and noticed that you worked on a
> > > > > VisiBroker plugin for Maven 2 and had considered posting it.  Any
> > > > > chance you could consider posting it?  I know I could put it to use
> > > > > quickly and I'm sure plenty of other folks using VisiBroker would
> > find
> > > > > it very useful too.
> > > > >
> > > > > Thanks,
> > > > > Jim
> > > > >
> > > > > On 6/27/06, TimHedger <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Thanks Dan - got most of it working now.
> > > > > > --
> > > > > > View this message in context:
> > > > >
> > http://www.nabble.com/java2iiop-%28Visibroker%29-tf1846831.html#a5071927
> > > > > > Sent from the Maven - Users forum at Nabble.com <
> > http://nabble.com/>.
> > > > > >
> > > > > >
> > > > > >
> > -
> > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > > >
> > > > > >
> > > > >
> > > > >
> > -
> > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > >
> > > > >
> > > >
> > > >
> > >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>



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



Error adding a M2 project

2006-11-15 Thread David Leangen

Hello!

I'm tried many different things, but have not been able to add a M2
project to Continuum.

This is the error I get:

Could not download
http://www.company.com/my.pom: 
/tmp/continuum/repo/temp/path/to/pom/0.1.0-SNAPSHOT/my-0.1.0-SNAPSHOT.pom (Not 
a directory)


I have no idea why it's looking for this in the tmp directory. I
configured Continuum to use /home/continuum/.


Thank you!




Exception and error adding project to 1.1

2006-11-15 Thread Brian E. Fox
I see the following exception in my logs when I try to add a project to
continuum 1.1. At the very end, the log continues by looking for
something on central but I'm not sure what's happening. Any ideas?
 
 
2006-11-14 13:26:17,313 [http-8080-Processor22] INFO
Interceptor:exceptionLogging   - Error ocurred during execution
java.lang.NullPointerException
 at
org.apache.jasper.runtime.JspRuntimeLibrary.getContextRelativePath(JspRu
ntimeLibrary.java:908)
 at
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.ja
va:963)
 at
org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:5
81)
 at
com.opensymphony.webwork.dispatcher.ServletDispatcherResult.doExecute(Se
rvletDispatcherResult.java:94)
 at
com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execute(WebWork
ResultSupport.java:143)
 at
com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActi
onInvocation.java:311)
 at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:206)
 at
com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercep
t(DefaultWorkflowInterceptor.java:168)
 at
com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(Met
hodFilterInterceptor.java:86)
 at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:188)
 at
com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(Valid
ationInterceptor.java:115)
 at
com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(Met
hodFilterInterceptor.java:86)
 at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:188)
 at
org.apache.maven.continuum.web.interceptor.ForceContinuumConfigurationIn
terceptor.intercept(ForceContinuumConfigurationInterceptor.java:58)
 at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:188)
 at
org.codehaus.plexus.security.ui.web.interceptor.SecureActionInterceptor.
intercept(SecureActionInterceptor.java:156)
 at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:188)
 at
org.codehaus.plexus.security.ui.web.interceptor.AutoLoginInterceptor.int
ercept(AutoLoginInterceptor.java:83)
 at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:188)
 at
org.codehaus.plexus.security.ui.web.interceptor.ForceAdminUserIntercepto
r.intercept(ForceAdminUserInterceptor.java:59)
 at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:188)
 at
org.codehaus.plexus.security.ui.web.interceptor.EnvironmentCheckIntercep
tor.intercept(EnvironmentCheckInterceptor.java:123)
 at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:188)
 at
org.codehaus.plexus.xwork.interceptor.ExceptionMappingInterceptor.interc
ept(ExceptionMappingInterceptor.java:62)
 at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:188)
 at
com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercep
t(DefaultWorkflowInterceptor.java:168)
 at
com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(Met
hodFilterInterceptor.java:86)
 at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:188)
 at
com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(Valid
ationInterceptor.java:115)
 at
com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(Met
hodFilterInterceptor.java:86)
 at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:188)
 at
com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInt
erceptor.java:31)
 at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:188)
 at
com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInt
erceptor.java:31)
 at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:188)
 at
com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInt
erceptor.java:31)
 at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:188)
 at
com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(Fil
eUploadInterceptor.java:171)
 at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:188)
 at
com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInt
erceptor.java:31)
 at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:188)
 at
com.opensymphony.webwork.interceptor.debugging.DebuggingInterceptor.inte
rcept(DebuggingInterceptor.java:147)
 at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:188)
 at
com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInt
erceptor.java:31)
 at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:188)
 at
com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(I18nInterce
pto

Re: http://www.ibiblio.org/maven2 vs. http://repo1.maven.org/maven2?

2006-11-15 Thread jiangshachina

Hi Jim,
Thanks for your reply.

What's the feature of the repository?
It seems that the repository isn't compatible with Maven specification.
Generally, artifact and pom file are in same directory, but the repository
is not.

a cup of Java, cheers!
Sha Jiang


Jim Bethancourt-2 wrote:
> 
> You can also check out the Maven repository on java.net
> https://maven-repository.dev.java.net/ is the webpage.
> 
> Add the following to your POM
> 
>   java.net
>   https://maven-repository.dev.java.net/nonav/repository
>   legacy
> 
> 
> Cheers,
> Jim
> 
> On 11/14/06, jiangshachina <[EMAIL PROTECTED]> wrote:
>>
>> Dear Wayne,
>> Thanks very much!
>>
>> a cup of Java, cheers!
>> Sha Jiang
>>
>>
>> Wayne Fay wrote:
>> >
>> > You can use the Geronimo-provided J2EE jars for now, while waiting for
>> > the Sun JavaEE jars to be published under an open source license etc:
>> >
>> > http://www.ibiblio.org/pub/packages/maven2/geronimo-spec/
>> > http://www.ibiblio.org/pub/packages/maven2/geronimo/
>> >
>> > The Glassfish jars are slowly making their way into Maven repos too so
>> > you could use those instead of Geronimo if you prefer, assuming the
>> > jars are available from both sources.
>> >
>> > Wayne
>> >
>> > On 11/14/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
>> >> If you look in more detail:
>> >> http://www.ibiblio.org/pub/packages/maven2/javax/j2ee/j2ee/1.4/
>> >>
>> >> You'll see that no binaries are available for javax.j2ee, but only
>> >> poms. This is due to the licensing of the J2EE 1.4 jars. So you can
>> >> use these poms but must download and manually install the jars.
>> >>
>> >> Eventually we will get JavaEE jars which are available under a license
>> >> (CDDL or GPL) which allows redistribution. At that time, the files
>> >> will be hosted and available via Maven.
>> >>
>> >> Wayne
>> >>
>> >> On 11/13/06, jiangshachina <[EMAIL PROTECTED]> wrote:
>> >> >
>> >> > It seems that j2ee.jar(javax.j2ee) is at central repository, but
>> >> > javaee.jar(JavaEE 5.0).
>> >> > javaee.jar would be added to the repository in the future, or no
>> >> forever?
>> >> >
>> >> > a cup of Java, cheers!
>> >> > Sha Jiang
>> >> >
>> >> >
>> >> > jiangshachina wrote:
>> >> > >
>> >> > > Hi Brett,
>> >> > > It means that group springframework is deprecated, too.
>> >> > > Oh, I may make a serious mistake, if without your help.
>> >> > > Thanks very much!
>> >> > >
>> >> > > a cup of Java, cheers!
>> >> > > Sha Jiang
>> >> > >
>> >> > >
>> >> > > Brett Porter wrote:
>> >> > >>
>> >> > >> On 14/11/06, jiangshachina <[EMAIL PROTECTED]> wrote:
>> >> > >>> They have same artifactsId, but the artifacts in springframework
>> >> are
>> >> > >>> newer.
>> >> > >>> It means the group spring is deprecated?
>> >> > >>
>> >> > >> Some newer versions get moved to a new group ID. We are generally
>> >> > >> trying to consolidate them over time, and migrate old ones.
>> >> > >>
>> >> > >>>
>> >> > >>> There are many similar cases in central repository, how can I
>> deal
>> >> with
>> >> > >>> the
>> >> > >>> matter?
>> >> > >>
>> >> > >> Find the one with the version you are using.
>> >> > >>
>> >> > >>> May have a convention for names of the groups?
>> >> > >>
>> >> > >> The convention is reverse-domain. So you will probably find all
>> the
>> >> > >> newest releases in org.springframework group ID (directory
>> >> > >> org/springframework/).
>> >> > >>
>> >> > >> - Brett
>> >> > >>
>> >> > >>
>> >> -
>> >> > >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> > >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >> > >>
>> >> > >>
>> >> > >>
>> >> > >
>> >> > >
>> >> >
>> >> > --
>> >> > View this message in context:
>> >> >
>> >>
>> http://www.nabble.com/http%3A--www.ibiblio.org-maven2-vs.-http%3A--repo1.maven.org-maven2--tf2627036s177.html#a7331953
>> >> > Sent from the Maven - Users mailing list archive at Nabble.com.
>> >> >
>> >> >
>> >> >
>> -
>> >> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >> >
>> >> >
>> >>
>> >
>> > -
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/http%3A--www.ibiblio.org-maven2-vs.-http%3A--repo1.maven.org-maven2--tf2627036s177.html#a7349962
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.n

Re: http://www.ibiblio.org/maven2 vs. http://repo1.maven.org/maven2?

2006-11-15 Thread Wendy Smoak

On 11/15/06, jiangshachina <[EMAIL PROTECTED]> wrote:


What's the feature of the repository?
It seems that the repository isn't compatible with Maven specification.
Generally, artifact and pom file are in same directory, but the repository
is not.


The java.net repo is a Maven 1 repository.  (That's what layout=legacy
means in the  config Jim posted, and why the structure is
different.)

Before you add that repo to your pom, double check that the artifact
you want is really not available in the central repo..  I thought they
were syncing java.net with central now.

--
Wendy

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



Re: java2iiop (Visibroker)

2006-11-15 Thread Dan Tran

It is best to build from source since I expect you will see problem and help
bug fix.

Other wise you need to configure your plugin repository in your pom
also set plugin version to 1.0-alpha-1-SNAPSHOT

-D


On 11/15/06, Jim Bethancourt <[EMAIL PROTECTED]> wrote:


Dan,
I think I noticed why the plugin wasn't downloading when I used the
examples my POM -- the second plugin definition in your Java example
has codehaus spelled with an extra "e" on the end -- I've pasted the
source below with the error.  I wish I'd caught it before!  Progress
on my end is coming along -- I think I just need to add the include
path.  Is there any way I might be able to use wildcards to specify
the idl files between the  tags?  I've got 30 plus
scattered across the directory structure, and it would probably lead
to a more maintainable POM as well.

Thanks again so much,
Jim


   org.codehause.mojo
   visibroker-maven-plugin
   
 
   

On 11/15/06, Jim Bethancourt <[EMAIL PROTECTED]> wrote:
> Dan,
> Great!  Thanks so much.  I'll give it a whirl. :-)
> Jim
>
> On 11/14/06, Dan Tran <[EMAIL PROTECTED]> wrote:
> > Jim,  A snapshot has been deployed to
> > http://snapshots.repository.codehaus.org
> >
> > It is best to build from source
> >
> >
http://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/visibroker-maven-plugin/
> >
> > -D
> >
> >
> > On 11/14/06, Jim Bethancourt <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi Dan,
> > > I've finally been able to tinker a little more and got the build
> > > section settings correct (I think)  that you've mentioned on the
> > > website, but the plugin isn't downloading and I'm not finding it in
> > > the subversion repository, unless I'm looking in the wrong
place.  Any
> > > pointers you might be able to provide would be really handy.  Is
there
> > > any possibility you could post it to the mojo sandbox?
> > >
> > > Thanks,
> > > Jim
> > >
> > > On 10/30/06, Jim Bethancourt <[EMAIL PROTECTED]> wrote:
> > > > Dan,
> > > > Awesome!  Thanks so much.  I'd be happy to help where I can.
> > > > Jim
> > > >
> > > > On 10/29/06, Dan Tran <[EMAIL PROTECTED]> wrote:
> > > > > Jim, I just cookedup a set of maven wrappers for visibroker
tools.
> > > > > Please provide feedbacks, patches, docs if you find it it
useful.
> > > > >
> > > > > You will need to check out the source at mojo-sandbox
> > > > >
> > > > > The site is at
http://mojo.codehaus.org/visibroker-maven-plugin/
> > > > >
> > > > >
> > > > > -D
> > > > >
> > > > >
> > > > > On 10/28/06, Jim Bethancourt <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Hi Tim,
> > > > > > I've been tinkering with migrating the build process for the
place
> > > > > > where I work from Ant to Maven 2 and noticed that you worked
on a
> > > > > > VisiBroker plugin for Maven 2 and had considered posting
it.  Any
> > > > > > chance you could consider posting it?  I know I could put it
to use
> > > > > > quickly and I'm sure plenty of other folks using VisiBroker
would
> > > find
> > > > > > it very useful too.
> > > > > >
> > > > > > Thanks,
> > > > > > Jim
> > > > > >
> > > > > > On 6/27/06, TimHedger <[EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > Thanks Dan - got most of it working now.
> > > > > > > --
> > > > > > > View this message in context:
> > > > > >
> > >
http://www.nabble.com/java2iiop-%28Visibroker%29-tf1846831.html#a5071927
> > > > > > > Sent from the Maven - Users forum at Nabble.com <
> > > http://nabble.com/>.
> > > > > > >
> > > > > > >
> > > > > > >
> > >
-
> > > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > >
-
> > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
-
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
>

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




RE: observations on daily build of 20061115

2006-11-15 Thread Mohni, Daniel
Hi Brett

answers inline..
 
> -Original Message-
> From: Brett Porter [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, November 16, 2006 4:09 AM
> To: archiva-users@maven.apache.org
> Subject: Re: observations on daily build of 20061115

 
> Would you mind contributing by:
> - putting the bugs found in jira

I opened 2 issues in jira MRM-222 and MRM-223 hope I did this
correctly

> - adding your configuration tips to the wiki?

what wiki do you mean ?
maybe this should also go to the getting started page ;-)

Daniel


> Much appreciated!
> 
> - Brett
> 
> On 16/11/2006, at 1:31 AM, Mohni, Daniel wrote:
> 
> > Hello
> >
> > today I rebuild archiva to check the current state,
> > after some testing of the webapp in tomcat I decide
> > to install this on our development environment.
> >
> > just some hints about configuration of the repositories
> > in the settings.xml
> >
> > -> proxied repositories should be accessed using the 'proxy'
> >in the url to get the download from remote servers to work
> >
> >
> >   maven-release
> >   http://archiva/proxy/maven_release
> >   
> >  false
> >   
> >
> >
> > -> repository that are not proxied should be accessed
> >with 'repository' in the url
> >
> >
> >   internal-release
> >   http://archiva/repository/internal_release
> >   
> >  false
> >   
> >
> >
> > what is not working:
> >
> > the download button when browsing artefacts is not working,
> > but I don't realy need this...
> >
> > repository access is not working with . in the url
> >
> > -> 
> ../repository/3p_release/net.sf.ehcache/ehcache/1.2/ehcache-1.2.jar
> >
> > this works with the proxy access
> >
> > -> ../proxy/maven_release/net.sf.ehcache/ehcache/1.2/ehcache-1.2.jar
> >
> > I'll try dav upload tomorrow if I find the way to configure it ;-)
> > maybe I have to setup a user in archiva and give hime the correct
> > role...
> >
> > -Daniel
> 


Re: observations on daily build of 20061115

2006-11-15 Thread Brett Porter


On 16/11/2006, at 5:54 PM, Mohni, Daniel wrote:

I opened 2 issues in jira MRM-222 and MRM-223 hope I did this
correctly


cool, thx. Didn't make the correlation.




- adding your configuration tips to the wiki?


what wiki do you mean ?
maybe this should also go to the getting started page ;-)


well, it was here: http://docs.codehaus.org/display/MAVENUSER/Getting 
+Started+with+Archiva


But I guess it's integrated now :)

New additions to the wiki, or patches to the web site are both great.

- Brett


RE: observations on daily build of 20061115

2006-11-15 Thread Mohni, Daniel
 

> -Original Message-
> From: Brett Porter [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, November 16, 2006 8:09 AM
> To: archiva-users@maven.apache.org
> Subject: Re: observations on daily build of 20061115
> 
> 
> On 16/11/2006, at 5:54 PM, Mohni, Daniel wrote:
> > I opened 2 issues in jira MRM-222 and MRM-223 hope I did this
> > correctly
> 
> cool, thx. Didn't make the correlation.
> 

I just entered them on your request, you couldn't make
a correlation ;-)

> >
> >> - adding your configuration tips to the wiki?
> >
> > what wiki do you mean ?
> > maybe this should also go to the getting started page ;-)
> 
> well, it was here: http://docs.codehaus.org/display/MAVENUSER/Getting 
> +Started+with+Archiva
> 
> But I guess it's integrated now :)

it will be very soon

> 
> New additions to the wiki, or patches to the web site are both great.
> 
> - Brett
>



Re: maven-clover-plugin not working

2006-11-15 Thread Jeff Mutonho

On 11/15/06, Wayne Fay <[EMAIL PROTECTED]> wrote:

Its open source... When you have a problem, sometimes its best/easiest
to just jump in with both feet and try to find the problem, and solve
it yourself. Otherwise you're entirely dependent on someone else
fixing things for you on their schedule.

Wayne



With all due respect Wayne, its all easy to use "jump in and fix" ,
sometimes its not as easy as it sounds


Jeff  Mutonho
Cape Town
South Africa

GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042

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