[ANNOUNCE] Archiva 1.0 Beta 3 Released

2007-11-02 Thread Maria Odea Ching
Hi Everyone,

The Maven Archiva team is pleased to announce the release of Archiva 1.0Beta 3.

Archiva is a build artifact repository manager for use with build tools such
as Maven, Continuum and Ant.

It has features like repository search and browse, securing repositories,
identifying unknown artifacts and reporting of repository problems.

Aside from these, it can also act as a nearby (proxy) cache of popular
global repositories.



The latest release is now available here:

http://maven.apache.org/archiva/download.html


Below are the jira issues that were resolved for Archiva 1.0 Beta 3:

Release Notes - Archiva - Version 1.0-beta-3

** Sub-task
* [MRM-527] - Create tests for discovering deleted artifacts

** Bug
* [MRM-128] - better handling of jar artifacts without a pom
* [MRM-142] - project builder cache needs to be configurable to prevent
memory leaking
* [MRM-205] - Undesirable Tomcat configuration for .jspf files
* [MRM-213] - cannot undeploy archiva webapp
* [MRM-243] - 507 Insufficient Storage when deploying artifact with
webdav
* [MRM-265] - After removing a managed repository - Browse/Search still
see it
* [MRM-309] - relocated artifacts are not delivered
* [MRM-320] - ProxiedDavServer breaks update policy
* [MRM-323] - Managed repo in archiva cannot be accessed thru direct
webdav url even with valid credentials (Archiva deployed in Tomcat)
* [MRM-333] - Tomcat deployment of archiva results in unstable instance.
* [MRM-396] - remove 'true' and 'false' from the descriptions on the
repository admin page
* [MRM-398] - configure guest access by default for pre-configured
repositories
* [MRM-400] - tab appearance on view artifact page looks incorrect
* [MRM-428] - managed and remote repositories with same name causes
problems
* [MRM-432] - Proxy Connectors are unable to download artifacts with
alpha numerical version numbers
* [MRM-437] - admin editing of proxy connectors fails in multiple
instances
* [MRM-444] - intermittent test failures on proxy
* [MRM-454] - Index not updated after repository purge
* [MRM-461] - Warning message for non existent resources should include
what resource it failed to locate.
* [MRM-466] - NPE on DatabaseJob.execute()
* [MRM-470] - Test failures in BytecodeIndexTest due to NPE in
AbstractIndexCreationTestCase
* [MRM-477] - Missing ability to manage proxy order.
* [MRM-479] - metadata files in artifactId/version level are not updated
during repository purge
* [MRM-481] - Artifact requests with a .xml.zip extension fail with a
404 Error
* [MRM-482] - Saving a proxy connector after adding a new property
results to HTTP 500 error
* [MRM-486] - Can not deploy artifact test.maven-arch:test-arch
* [MRM-487] - pom version is not resolved
* [MRM-488] - properties in pom are not resolved (at least while
browsing)
* [MRM-489] - Repositories are read only even for repository managers
* [MRM-493] - Downloaded artifacts are stored in incorrect
archiva-managed repository
* [MRM-494] - leaving repository ID blank on the add repository page
goes to the edit page where ID cannot be edited
* [MRM-500] - Failure in PathUtilTest under windows because the test
uses slashes in path but test File.separator in PathUtil
* [MRM-501] - Saving configuration fails through the webapp.
* [MRM-503] - Metadata files need Pragma:no-cache response header.
* [MRM-509] - Adding the same repository twice will be redirected to an
Edit Repository page.
* [MRM-510] - In Repository Browse, the first unique snapshot version
clicked is getting persisted in the request resulting to 'version does not
match' error
* [MRM-512] - Unable to convert null repository config to archiva
repository.
* [MRM-517] - Some maven 2 requests are treated as maven 1 requests
* [MRM-518] - Changing the internal repository directory has no effect
* [MRM-519] - fail to resolve artifactId for libs that contain
versionKeyword in artifactId, like maven-test-plugin
* [MRM-520] - Proxy Connectors are not deleted with the deletion of a
Repository.
* [MRM-521] - No validation for the repository purge fields in repo
config
* [MRM-529] - Accessing a newly added repository via webdav results to a
404 error
* [MRM-533] - Checksum files (sha1/md5) are not kept up to date on
maven-metadata.xml files.
* [MRM-534] - Test failure in RepositoryContentConsumerUtilTest
* [MRM-535] - metadata-updater is changing lastUpdating timestamp when
it shouldn't
* [MRM-543] - Versions (latest and release) wrong after regeneration of
maven-metadata.xml
* [MRM-546] - Duplicate repositories show up while editing.
* [MRM-551] - the default scan cron expression is once a day, should be
hourly
* [MRM-554] - Wrong generated links at root of repository browsing
* [MRM-555] - scanner checks timestamps, but some consumers will want to
consume artifacts regardless
   

Re: can't find maven-buildnumber-plugin

2007-11-02 Thread Damien Lecan
2007/11/1, Julian Wood [EMAIL PROTECTED]:
 Yes, the plugin has been moved:

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

Will it be released soon ?

Thanks

Damien

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



Re: running class files compiled with maven

2007-11-02 Thread Antonio Petrelli
2007/11/2, Frank Wilson [EMAIL PROTECTED]:

 I know I can make a .jar with dependencies and a main
 class, but that isn't very convenient for development.



Development? Are you using an IDE?
If yes, see q4e or m2eclipse for Eclipse, or the Maven eclipse plugin,
or mevenide for NetBeans.
http://code.google.com/p/q4e/
http://m2eclipse.codehaus.org/
http://maven.apache.org/plugins/maven-eclipse-plugin/
http://mevenide.codehaus.org/

Antonio


Re: [m2] dashboard error....

2007-11-02 Thread Lee Meador
Its dashboard:persist according to
http://mojo.codehaus.org/dashboard-maven-plugin/plugin-info.html but
dashboard-report:persist according to
http://mojo.codehaus.org/dashboard-maven-plugin/plugin-info.html

I suggest you try it without the -report part. The list of goals is
auto-generated while the other page comes from some docs that someone
typed in. It may be out of date.

-- Lee

On Nov 1, 2007 1:16 PM, Mick Knutson [EMAIL PROTECTED] wrote:
 I have the following:

 plugin
 groupIdorg.codehaus.mojo/groupId
 artifactIddashboard-maven-plugin/artifactId
 version1.0-SNAPSHOT/version

 configuration
 dialect${hibernate.dialect}/dialect
 driverClass${jdbc.driverClass}/driverClass
 connectionUrl${dashboard.connectionUrl
 }/connectionUrl
 usernametro/username
 passwordtest/password
 /configuration


 /plugin




 I get the following error when I run mvn dashboard-report:persist -e -X


 [DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo::11 for project:
 null:mojo-sandbox:pom:2 from the repository.
 [DEBUG] dashboard-maven-plugin: using locally installed snapshot
 [INFO]
 
 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] Required goal not found: dashboard-report:persist
 [INFO]
 
 [DEBUG] Trace
 org.apache.maven.BuildFailureException: Required goal not found:
 dashboard-report:persist
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(
 DefaultLifecycleExecutor.java:1538)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds
 (DefaultLifecycleExecutor.java:386)
 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
 DefaultLifecycleExecutor.java:138)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
 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: 2 seconds
 [INFO] Finished at: Thu Nov 01 11:13:50 PDT 2007
 [INFO] Final Memory: 3M/6M
 [INFO]
 




 --

 Thanks,
 Mick Knutson

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




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



driver not found for hibernate3-maven-plugin

2007-11-02 Thread Sonar, Nishant
Hi

 

I have 2 child modules under 1 parent; one of them is using the
mssqlserver driver and other the oracle driver.

 

When I run the POMs for these which are using the
hibernate3-maven-plugin, the one which executes later says that the
driver is not found

I've tried changing the sequence of pom execution for both but again
it's for later where I get the driver not found error.

 

The drivers are specified as plug-in dependencies.

Does anybody faced such kind of problem or maybe I am taking a wrong
direction for trouble shooting

 

Regards,

Nishant Sonar

Synechron Technologies

Desk: +91 20 305 13400 (Ext# 294) Cell: +91 9823871676

Working hours : 2:30 AM - 10:30 AM EST

 



disabling application.xml generation

2007-11-02 Thread Jonathan Richard

Hi,

I would like to know if there is a way, when using the maven ear plugin, 
to disable the application.xml file creation.


I have a ear.pom file which is configured to package my project, in the 
same folder I provide my own application.xml + sun-application.xml but 
the plugin still generate an application.xml file in the target 
directory. If I use the applicationXml parameter in the pom.xml file. 
The plugin copies my file in the META-INF folder but still create his 
own application.xml file in the targer folder.


I was planning to make an exec:exec plugin call to delete the file build 
is done but I was wondering if there was a bug with the ear plugin / way 
to work this out.


Here is my project pom.xml and structure:

ear-folder
 -src
   -main
 -application
   META-INF
 -application.xml
 -MANIFEST.FM
 -sun-application.xml
   -java

...
  build
   plugins
   plugin
   artifactIdmaven-ear-plugin/artifactId
   configuration
 
!--applicationXml${basedir}/src/conf/application.xml/applicationXml--

 finalNamemoxxi-presentation-ear/finalName
 defaultLibBundleDirlib//defaultLibBundleDir
 modules
   webModule
 ...
   /webModule
   ejbModule
   ...
   /ejbModule
 /modules
   /configuration
   /plugin

   /plugins
   !--resources
   resource
   targetPathMETA-INF//targetPath
   directory${basedir}/src/conf//directory
   /resource
   /resources--
   /build
...


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



Re: can't find maven-buildnumber-plugin

2007-11-02 Thread Dan Tran
I will cut a release if I see more happy users which use the current SNAPSHOT.

-D

On 11/2/07, Damien Lecan [EMAIL PROTECTED] wrote:
 2007/11/1, Julian Wood [EMAIL PROTECTED]:
  Yes, the plugin has been moved:
 
  http://mojo.codehaus.org/buildnumber-maven-plugin/

 Will it be released soon ?

 Thanks

 Damien

 -
 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: Migration from beta-3 to beta-4 problem

2007-11-02 Thread Thomas Recloux
Yes, it has just been initialized by the first start.


2007/11/2, Emmanuel Venisse [EMAIL PROTECTED]:

 ok, but the jdbc url for the import use a clean db?

 Emmanuel

 Thomas Recloux a écrit :
  No, I exported from a beta-3 to a new beta-4
 
  2007/11/1, Emmanuel Venisse [EMAIL PROTECTED]:
  Do you run Export and Import on the same database?
 
  Emmanuel
 
  Thomas Recloux a écrit :
  Hi,
 
  I have got the following error during the builds import with the
  migration
  tool.
 
  It looks like the migration tool tries to delete 'BUILDDEFINITION'
  entries
  but a child entry blocks the statement.
  If you give me the child table, I could delete it manually.
 
  I do not undestand why the BUILDDEFINITION table is not empty.
 
  Thanks, Thomas
 
  ERROR 23503: DELETE on table 'BUILDDEFINITION' caused a violation of
  foreign
  key constraint 'BUILDDEFINITCE_FK2' for key (3).  The statement has
 been
  rolled back.
  at org.apache.derby.iapi.error.StandardException.newException
  (Unknown
  Source)
  at
  org.apache.derby.impl.sql.execute.ReferencedKeyRIChecker.doCheck
 (Unknown
  Source)
  at org.apache.derby.impl.sql.execute.RISetChecker.doPKCheck
  (Unknown
  Source)
  at
  org.apache.derby.impl.sql.execute.DeleteResultSet.collectAffectedRows
  (Unknown
  Source)
  at org.apache.derby.impl.sql.execute.DeleteResultSet.open
  (Unknown
  Source)
  at org.apache.derby.impl.sql.GenericPreparedStatement.execute
  (Unknown
  Source)
  at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement
  (Unknown
  Source)
  at
  org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement
  (Unknown
  Source)
  at
  org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate(Unknown
  Source)
  at org.jpox.store.rdbms.RDBMSManager.executeStatementUpdate(
  RDBMSManager.java:572)
  at org.jpox.store.rdbms.request.DeleteRequest.execute(
  DeleteRequest.java:274)
  at org.jpox.store.rdbms.table.ClassTable.delete(
 ClassTable.java
  :2611)
  at org.jpox.store.StoreManager.delete(StoreManager.java:981)
  at org.jpox.state.StateManagerImpl.internalDeletePersistent(
  StateManagerImpl.java:4395)
  at org.jpox.state.StateManagerImpl.deletePersistent(
  StateManagerImpl.java:4350)
  at
 org.jpox.AbstractPersistenceManager.internalDeletePersistent(
  AbstractPersistenceManager.java:1473)
  at org.jpox.AbstractPersistenceManager.deletePersistentAll(
  AbstractPersistenceManager.java:1516)
  at org.jpox.store.rdbms.scostore.ElementContainerStore.clear(
  ElementContainerStore.java:659)
  at org.jpox.store.mapping.CollectionMapping.deleteDependent(
  CollectionMapping.java:334)
  at org.jpox.store.rdbms.table.ClassTable.deleteDependent(
  ClassTable.java:2651)
  at org.jpox.store.StoreManager.deleteDependent(
 StoreManager.java
  :1019)
  at org.jpox.state.StateManagerImpl.deletePersistent(
  StateManagerImpl.java:4332)
  at
 org.jpox.AbstractPersistenceManager.internalDeletePersistent(
  AbstractPersistenceManager.java:1473)
  at org.jpox.AbstractPersistenceManager.deletePersistentAll(
  AbstractPersistenceManager.java:1516)
  at
  org.jpox.store.rdbms.query.JDOQLQuery.performDeletePersistentAll(
  JDOQLQuery.java:687)
  at org.jpox.store.query.Query.deletePersistentAll(Query.java
  :1120)
  at org.jpox.store.query.Query.deletePersistentAll(Query.java
  :1075)
  at org.jpox.store.query.Query.deletePersistentAll(Query.java
  :1049)
  at org.codehaus.plexus.jdo.PlexusJdoUtils.removeAll(
  PlexusJdoUtils.java:444)
  at
  org.apache.maven.continuum.store.JdoContinuumStore.eraseDatabase(
  JdoContinuumStore.java:1961)
  at
 
 
 org.apache.maven.continuum.management.JdoDataManagementTool.eraseDatabase(
  JdoDataManagementTool.java:127)
  at
 
 org.apache.maven.continuum.management.DataManagementCli.processDatabase(
  DataManagementCli.java:254)
  at
 org.apache.maven.continuum.management.DataManagementCli.main(
  DataManagementCli.java:158)
 
 
 
 
 




-- 
Thomas Recloux


Removing: [goal] from forked lifecycle, to prevent recursive invocation.

2007-11-02 Thread Muntis Grube
Hello

I have faced with maven warning, and I cant find explanation nor fix for it,
maybe you can help me.
My project is single module application with war packaging.
A while ago we migrated from ant to maven and to map our project structure
into maven I had to do a lot of configuration in pom.xml.  (See build part
of pom at the end of mail)

Today I'm trying to integrate additional plugin (maven-js-plugin) into build
cycle, but maven throws out this message:

[WARNING] Removing: compress from forked lifecycle, to prevent recursive
invocation.

and starts build process again from compile phase. Second time when it
reaches phase where I added new goal, warning does not appear and newly
added plugin runs successfully.
So the proces goes:
* Compile
* Test
* War:War
* [WARNING] Removing: compress from forked lifecycle, to prevent recursive
invocation.
* Compile
* Test
* War:War
* Js:compress
* BUILD SUCCESSFUL

Were can I find definition for this warning and what would be possible
solution to problem?
Or maybe it's just misconfiguration in maven-js-plugin itself?
Thanks in advance.
--
Muntis.

-- Build part of pom.xml:
build
finalName${artifactId}/finalName
!-- Specify source dir's --
sourceDirectorysrc/sourceDirectory
testSourceDirectorytest/testSourceDirectory
!-- Work directories --
directorytarget/directory
outputDirectorytarget/classes/outputDirectory
testOutputDirectorytarget/test-classes/testOutputDirectory

!-- Assume that non java files in src folder are resources --
resources
resource
directorysrc/directory
excludes
exclude**/*.java/exclude
/excludes
/resource
!--resource
directoryweb/directory
/resource--
resource
directoryemails/directory
/resource
/resources
testResources
testResource
directorytest/directory
excludes
exclude**/*.java/exclude
/excludes
/testResource
/testResources
!-- Explicit maven plugin config --
plugins
!-- Use J2SE 5.0 to compile --
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-compiler-plugin/artifactId
configuration
source1.5/source
target1.5/target
/configuration
/plugin
!-- Configure web archive plugin to use our dir structure --
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-war-plugin/artifactId
configuration
webResources
resource
directory${basedir}//directory
includes
include**/*.ico/include
/includes
/resource
!-- jsp's to root --
resource
directory${basedir}/web/jsp/directory
/resource
!-- images, htmls, web-inf etc. to root but keep
dirs  --
resource
directory${basedir}/web/directory
excludes
excludejsp/**/*.*/exclude
/excludes
/resource
/webResources
/configuration
/plugin
!-- Source control management --
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-scm-plugin/artifactId
configuration
connectionTypeconnection/connectionType
/configuration
/plugin

plugin
 groupIdorg.apache.maven.plugins/groupId
 artifactIdmaven-antrun-plugin/artifactId
 executions
  execution
   idcompile/id
   phasevalidate/phase
   configuration
   tasks
 native2ascii
   encoding=UTF-8
   dest=src
   src=src
   includes=*.utf8 ext= /
   /tasks
   /configuration
   goals
   goalrun/goal
   /goals
  /execution
 /executions
 dependencies
  dependency
groupIdant/groupId
   

1.1-beta-4 release comments

2007-11-02 Thread Madsen,Bryan
I love the Queues page. Great job everyone on implementing that
functionality.

I have some questions related to the email formatting functionality.

Here is my configuration in the application.xml:
subject-format[MSVC Doc] BUILD ${state}: ${project.name} -
${project.version} - ${project.scmTag}/subject-format
includeBuildResulttrue/includeBuildResult
includeBuildSummarytrue/includeBuildSummary

When I received my email the subject line looked like this: [MSVC Doc]
BUILD SUCCESSFUL: dataobject-allergy - 1.0-SNAPSHOT - ${project.scmTag}

Does the subject line only support up to 3 variable names? I tried other
combinations with 4 variables and the last one was always treated as a
literal.

In the build result email I no longer see the test summary section. How
do I get that back? 
Example: 



Test Summary:


Tests: 3
Failures: 0
Total time: 7327


Has anyone thought of including the Clover/Cobertura percentage in the
summary? If that was added I would set
includeBuildResultfalse/includeBuildResult since I would have
everything I need from an admin standpoint.

Thanks,

Bryan

--
CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024.

Re: running class files compiled with maven

2007-11-02 Thread Frank Wilson
I do use eclipse, but it's not very handy to rely on an IDE in some
cases. For instance, say you hand in an assignment built with maven -
you can't really assume your lecturer is using eclipse.
On my last handin I only had two deliverables, so I could split my
project in to a hierarchical project with two artifacts (one console
app in a jar + deps and one webapp war). However, if there had been
more minor console programs to deliver it would have been silly to
make more subprojects. The project would needlessly look more complex
to an outsider and handling dependencies would have been more tricky.
So, in this case I was wondering if maven had a mechanism for running
individual class files without the bureaucracy of making another
artifact.


Thanks,

Frank


On 02/11/2007, Antonio Petrelli [EMAIL PROTECTED] wrote:
 2007/11/2, Frank Wilson [EMAIL PROTECTED]:
 
  I know I can make a .jar with dependencies and a main
  class, but that isn't very convenient for development.



 Development? Are you using an IDE?
 If yes, see q4e or m2eclipse for Eclipse, or the Maven eclipse plugin,
 or mevenide for NetBeans.
 http://code.google.com/p/q4e/
 http://m2eclipse.codehaus.org/
 http://maven.apache.org/plugins/maven-eclipse-plugin/
 http://mevenide.codehaus.org/

 Antonio


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



Re: can't find maven-buildnumber-plugin

2007-11-02 Thread Dan Tran
Mick, are you using the current snapshot at codehaus?

On 11/2/07, Mick Knutson [EMAIL PROTECTED] wrote:
 I love this plugin

 On 11/2/07, Dan Tran [EMAIL PROTECTED] wrote:
 
  I will cut a release if I see more happy users which use the current
  SNAPSHOT.
 
  -D
 
  On 11/2/07, Damien Lecan [EMAIL PROTECTED] wrote:
   2007/11/1, Julian Wood [EMAIL PROTECTED]:
Yes, the plugin has been moved:
   
http://mojo.codehaus.org/buildnumber-maven-plugin/
  
   Will it be released soon ?
  
   Thanks
  
   Damien
  
   -
   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]
 
 


 --

 Thanks,
 Mick Knutson

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


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



Re: Problems using a customized javadoc plugin from custom repository

2007-11-02 Thread Yan Huang
wondering if this issue is resolved? javadoc and sources plugin is repeating
life cycle unnecessarily. If your fix in javadoc is working, can it be
shared?

On 10/24/07, Dirk Olmes [EMAIL PROTECTED] wrote:

 Vincent Siveton wrote:
  Hi,
 
  Try to remove your repo, specially:
  ${user.home
 }/.m2/repository/org/apache/maven/plugins/maven-javadoc-plugin

 Vincent, I already did that, and even tried compiling with an empty
 local repo: still the same error.

 -dirk

  2007/10/24, Dirk Olmes [EMAIL PROTECTED]:
  Hi,
 
  I'm trying to work around http://jira.codehaus.org/browse/MJAVADOC-157
  so I have checked out the maven-javadoc-plugin sources and tweaked it
 so
  it works for building my site. I have added the necessary into to
 deploy
  my patched m-j-p to my custom repo and deployed it.
 
  The site runs on our CI server which must be able to download the
  patched m-j-p from our custom repo. This works fine but when I run the
  site, I get the following error message:
 
  [INFO]
 
 
  [ERROR] BUILD ERROR
  [INFO]
 
 
  [INFO] Error getting reports from the plugin
  'org.apache.maven.plugins:maven-javadoc-plugin': Unable to find the
 mojo
  'org.apache.maven.plugins:maven-javadoc-plugin:2.4-MULE-586296:javadoc'
  in the plugin 'org.apache.maven.plugins:maven-javadoc-plugin'
  org/apache/maven/doxia/siterenderer/RendererException
 
  No, running with -X -e does not come up with any more helpful info
 either.
 
  I have searched the archive and found various threads with unable to
  find the mojo which generally seems to be solved by removing the
 plugin
  in question from the local repo. I did this and I even ran the build
  with a fresh local repo: the error remains the same.
 
  Any idea what could be wrong here?
 
  -dirk
 
  -
  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: 1.1-beta-4 release comments

2007-11-02 Thread Emmanuel Venisse



Madsen,Bryan a écrit :

I love the Queues page. Great job everyone on implementing that
functionality.

I have some questions related to the email formatting functionality.

Here is my configuration in the application.xml:
subject-format[MSVC Doc] BUILD ${state}: ${project.name} -
${project.version} - ${project.scmTag}/subject-format
includeBuildResulttrue/includeBuildResult
includeBuildSummarytrue/includeBuildSummary

When I received my email the subject line looked like this: [MSVC Doc]
BUILD SUCCESSFUL: dataobject-allergy - 1.0-SNAPSHOT - ${project.scmTag}

Does the subject line only support up to 3 variable names? I tried other
combinations with 4 variables and the last one was always treated as a
literal.


It seems to be a bug, file an issue.



In the build result email I no longer see the test summary section. How
do I get that back? 


File an issue too.


Example: 




Test Summary:


Tests: 3
Failures: 0
Total time: 7327


Has anyone thought of including the Clover/Cobertura percentage in the
summary? If that was added I would set
includeBuildResultfalse/includeBuildResult since I would have
everything I need from an admin standpoint.


In a future version, we'll allow to add some plugins so you'll can add what you 
want if the plugin exist. But we must design the new features and I don't know 
if it will be in 1.2 or 2.0

Emmanuel


Thanks,

Bryan

--
CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024.




Re: Cleanup Script

2007-11-02 Thread Jim Sellers
Another version that does a similar thing:

find /path/to/repo -type d -mtime +15 -name '*SNAPSHOT*' -exec rm -fr {} \;

This will delete any snapshots older than 15 days.

Jim


On 10/18/07, Brett Porter [EMAIL PROTECTED] wrote:

 I use Archiva on my own repository to clean up snaphots - it'll remove
 anything older than X days, Y builds, or that has already been
 released (if configured to do so).

 I also have a script I've been meaning to look at and put on the wiki
 - will try and do that today.

 - Brett

 On 19/10/2007, Wayne Fay [EMAIL PROTECTED] wrote:
  Not that I've seen, but when you write it later today, maybe you won't
  mind contributing it back via this list and/or the Wiki for the
  benefit of future users? ;-)
 
  It should be a simple script -- for all directories, if this is a
  snapshot version, find latest and delete (or move) the rest. Then run
  it via cron.
 
  Wayne
 
  On 10/18/07, Thomas Jackson [EMAIL PROTECTED] wrote:
   We have an internal repository and are constantly deploying snapshots
   throughout the day.  We want to clean these nightly(to preserve space)
   and I was wondering if anyone had a shell script already written that
   will cleanup snapshots nightly?
  
   Thanks
   Thomas Jackson
  
   -
   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]
 
 


 --
 Brett Porter
 Blog: http://www.devzuz.org/blogs/bporter/

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




Re: Windows domain in username

2007-11-02 Thread Emmanuel Venisse

Is it a basic authentication?

Emmanuel

chris_ a écrit :

Hi,

I am trying to add a maven 2.0.x project but have not figured out how to
specify a username that must contain the windows domain. Below are the
settings that I think should work:

Add Maven 2.0+ Project
POM Url: http://myserver:8080/svn/my_code/my_project/trunk/pom.xml
Username: mydomain\myusername
Password: x

The message I see in the web browser is:

The specified resource cannot be accessed. Please try again later or contact
your administrator.

And the logs:

jvm 1| 2007-11-01 14:33:44,194 [SocketListener0-1] INFO 
org.codehaus.plexus.action.Action:create-projects-from-metadata  - checking

for settings auth setup
jvm 1| 2007-11-01 14:33:44,319 [SocketListener0-1] INFO 
org.apache.maven.continuum.project.builder.ContinuumProjectBuilder:maven-two-builder 
- Downloading http://myserver:8080/svn/my_code/my_project/trunk/pom.xml
jvm 1| 2007-11-01 14:33:44,381 [SocketListener0-1] INFO 
org.apache.maven.continuum.project.builder.ContinuumProjectBuilder:maven-two-builder 
- Error adding project: Unknown error downloading from

http://myserver:8080/svn/my_code/my_project/trunk/pom.xml
jvm 1| java.io.IOException: Server returned HTTP response code: 403 for
URL: http://myserver:8080/svn/my_code/my_project/trunk/pom.xml
jvm 1|  at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1174)
jvm 1|  at
org.apache.maven.continuum.project.builder.AbstractContinuumProjectBuilder.createMetadataFile(AbstractContinuumProjectBuilder.java:57)

If I go directly to the URL in IE/Firefox I am prompted for my
username/password. I enter my username with windows domain
(mydomain\myusername) in the prompt and am able to view the pom file. Is
there a special format for specifying a windows domain with the username on
the Add Maven 2.0+ Project page?

Thanks,
Chris






Re: can't find maven-buildnumber-plugin

2007-11-02 Thread Mick Knutson
I love this plugin

On 11/2/07, Dan Tran [EMAIL PROTECTED] wrote:

 I will cut a release if I see more happy users which use the current
 SNAPSHOT.

 -D

 On 11/2/07, Damien Lecan [EMAIL PROTECTED] wrote:
  2007/11/1, Julian Wood [EMAIL PROTECTED]:
   Yes, the plugin has been moved:
  
   http://mojo.codehaus.org/buildnumber-maven-plugin/
 
  Will it be released soon ?
 
  Thanks
 
  Damien
 
  -
  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]




-- 

Thanks,
Mick Knutson

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


Re: Migration from beta-3 to beta-4 problem

2007-11-02 Thread Emmanuel Venisse

Maybe you can delete all datas in the DB with some sql requests.

Emmanuel

Thomas Recloux a écrit :

Yes, it has just been initialized by the first start.


2007/11/2, Emmanuel Venisse [EMAIL PROTECTED]:

ok, but the jdbc url for the import use a clean db?

Emmanuel

Thomas Recloux a écrit :

No, I exported from a beta-3 to a new beta-4

2007/11/1, Emmanuel Venisse [EMAIL PROTECTED]:

Do you run Export and Import on the same database?

Emmanuel

Thomas Recloux a écrit :

Hi,

I have got the following error during the builds import with the

migration

tool.

It looks like the migration tool tries to delete 'BUILDDEFINITION'

entries

but a child entry blocks the statement.
If you give me the child table, I could delete it manually.

I do not undestand why the BUILDDEFINITION table is not empty.

Thanks, Thomas

ERROR 23503: DELETE on table 'BUILDDEFINITION' caused a violation of

foreign

key constraint 'BUILDDEFINITCE_FK2' for key (3).  The statement has

been

rolled back.
at org.apache.derby.iapi.error.StandardException.newException

(Unknown

Source)
at

org.apache.derby.impl.sql.execute.ReferencedKeyRIChecker.doCheck

(Unknown

Source)
at org.apache.derby.impl.sql.execute.RISetChecker.doPKCheck

(Unknown

Source)
at
org.apache.derby.impl.sql.execute.DeleteResultSet.collectAffectedRows

(Unknown

Source)
at org.apache.derby.impl.sql.execute.DeleteResultSet.open

(Unknown

Source)
at org.apache.derby.impl.sql.GenericPreparedStatement.execute

(Unknown

Source)
at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement

(Unknown

Source)
at
org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement

(Unknown

Source)
at

org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate(Unknown

Source)
at org.jpox.store.rdbms.RDBMSManager.executeStatementUpdate(
RDBMSManager.java:572)
at org.jpox.store.rdbms.request.DeleteRequest.execute(
DeleteRequest.java:274)
at org.jpox.store.rdbms.table.ClassTable.delete(

ClassTable.java

:2611)
at org.jpox.store.StoreManager.delete(StoreManager.java:981)
at org.jpox.state.StateManagerImpl.internalDeletePersistent(
StateManagerImpl.java:4395)
at org.jpox.state.StateManagerImpl.deletePersistent(
StateManagerImpl.java:4350)
at

org.jpox.AbstractPersistenceManager.internalDeletePersistent(

AbstractPersistenceManager.java:1473)
at org.jpox.AbstractPersistenceManager.deletePersistentAll(
AbstractPersistenceManager.java:1516)
at org.jpox.store.rdbms.scostore.ElementContainerStore.clear(
ElementContainerStore.java:659)
at org.jpox.store.mapping.CollectionMapping.deleteDependent(
CollectionMapping.java:334)
at org.jpox.store.rdbms.table.ClassTable.deleteDependent(
ClassTable.java:2651)
at org.jpox.store.StoreManager.deleteDependent(

StoreManager.java

:1019)
at org.jpox.state.StateManagerImpl.deletePersistent(
StateManagerImpl.java:4332)
at

org.jpox.AbstractPersistenceManager.internalDeletePersistent(

AbstractPersistenceManager.java:1473)
at org.jpox.AbstractPersistenceManager.deletePersistentAll(
AbstractPersistenceManager.java:1516)
at

org.jpox.store.rdbms.query.JDOQLQuery.performDeletePersistentAll(

JDOQLQuery.java:687)
at org.jpox.store.query.Query.deletePersistentAll(Query.java

:1120)

at org.jpox.store.query.Query.deletePersistentAll(Query.java

:1075)

at org.jpox.store.query.Query.deletePersistentAll(Query.java

:1049)

at org.codehaus.plexus.jdo.PlexusJdoUtils.removeAll(
PlexusJdoUtils.java:444)
at

org.apache.maven.continuum.store.JdoContinuumStore.eraseDatabase(

JdoContinuumStore.java:1961)
at


org.apache.maven.continuum.management.JdoDataManagementTool.eraseDatabase(

JdoDataManagementTool.java:127)
at


org.apache.maven.continuum.management.DataManagementCli.processDatabase(

DataManagementCli.java:254)
at

org.apache.maven.continuum.management.DataManagementCli.main(

DataManagementCli.java:158)













Re: can't find maven-buildnumber-plugin

2007-11-02 Thread Kalle Korhonen
I cannot and will not use snapshots for my project. Good thing the latest
0.96 was captured in my proxy, but at the moment there doesn't seem to be a
public repository that has this plugin. If that doesn't change, I need to
change my proxy configurations and deploy the plugin into our internal
repository.

Kalle


On 11/2/07, Dan Tran [EMAIL PROTECTED] wrote:

 I will cut a release if I see more happy users which use the current
 SNAPSHOT.

 -D

 On 11/2/07, Damien Lecan [EMAIL PROTECTED] wrote:
  2007/11/1, Julian Wood [EMAIL PROTECTED]:
   Yes, the plugin has been moved:
  
   http://mojo.codehaus.org/buildnumber-maven-plugin/
 
  Will it be released soon ?
 
  Thanks
 
  Damien
 
  -
  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]




Question about native library path

2007-11-02 Thread Dave Feltenberger
All,

Does anybody know if it's possible (and if so, how) to add the native
library location to a classpath entry?  Specifically the Eclipse
.project classpath attribute
org.eclipse.jdt.launching.CLASSPATH_ATTR_LIBRARY_PATH_ENTRY.  I'd
like to have some dlls in my library path without having to add
additional JVM arguments everytime I create a launcher (and without
having to specify it JVM-wide or something).  The closest thing I
could find in the project documentation was classpathContainers, but
that's not exactly it.  Here's an example of what I'd want the end
result to be:

classpathentry exported=true kind=lib
path=M2_REPO/org/ecliplse/swt/swt/3.323/swt.jar
attributes
attribute 
name=org.eclipse.jdt.launching.CLASSPATH_ATTR_LIBRARY_PATH_ENTRY
value=MySwtProject/target/swt-native-libs/
/attributes
/classpathentry

And I can't figure out how to add the additional attributes without
doing it manually in Eclipse everytime.

Thanks.

Dave

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



Re: can't find maven-buildnumber-plugin

2007-11-02 Thread Kalle Korhonen
Certainly that I could do. But what's the purpose - has something changed
drastically?

Heck.. I'll bite. I just tried 1.0-beta-1-SNAPSHOT, didn't see any issues
besides having to change the version *and* the name.

Kalle

On 11/2/07, Dan Tran [EMAIL PROTECTED] wrote:

 not even a quick test? :-)

 On 11/2/07, Kalle Korhonen [EMAIL PROTECTED] wrote:
  I cannot and will not use snapshots for my project. Good thing the
 latest
  0.96 was captured in my proxy, but at the moment there doesn't seem to
 be a
  public repository that has this plugin. If that doesn't change, I need
 to
  change my proxy configurations and deploy the plugin into our internal
  repository.
 
  Kalle
 
 
  On 11/2/07, Dan Tran [EMAIL PROTECTED] wrote:
  
   I will cut a release if I see more happy users which use the current
   SNAPSHOT.
  
   -D
  
   On 11/2/07, Damien Lecan [EMAIL PROTECTED] wrote:
2007/11/1, Julian Wood [EMAIL PROTECTED]:
 Yes, the plugin has been moved:

 http://mojo.codehaus.org/buildnumber-maven-plugin/
   
Will it be released soon ?
   
Thanks
   
Damien
   
   
 -
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: Exception transfering site files via webdav

2007-11-02 Thread Dmitry Beransky
I've suspected as much.  Is there a way to tell the site plugin to
throttle it's connection creation rate?  I understand that Windows is
running out of ports, but in reality, it's program opening connections
that's at fault.  It shouldn't be flooding the TCP/IP stack with so
many connection requests.


D.

On 11/1/07, Heinrich Nirschl [EMAIL PROTECTED] wrote:
 This is a problem with the default Windows TCP/IP configuration. The
 client runs out of available ports during the many webdav transfers.

 The solution is described here:
 http://msdn2.microsoft.com/en-us/library/aa560610.aspx

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



mavenide/NB6

2007-11-02 Thread John Coleman
Hi,

 

I'm looking at the latest NB plus Mavenide combination and I can't see
webapps under my other sources folder. Any ideas?

 

TIA

John

 


Eurobase International Limited and its subsidiaries (Eurobase) are unable to 
exercise control over the content of information in E-Mails. Any views and 
opinions expressed may be personal to the sender and are not necessarily those 
of Eurobase. Eurobase will not enter into any contractual obligations in 
respect of any part of its business in any E-mail. 

Privileged / confidential information may be contained in this message and /or 
any attachments. This E-mail is intended for the use of the addressee(s) only 
and may contain confidential information. If you are not the / an intended 
recipient, you are hereby notified that any use or dissemination of this 
communication is strictly prohibited.  If you receive this transmission in 
error, please notify us immediately, and then delete this E-mail. 

Neither the sender nor Eurobase accepts any liability whatsoever for any 
defects of any kind either in or arising from this E-mail transmission. E-Mail 
transmission cannot be guaranteed to be secure or error-free, as messages can 
be intercepted, lost, corrupted, destroyed, contain viruses, or arrive late or 
incomplete. Eurobase does not accept any responsibility for viruses and it is 
your responsibility to scan any attachments.

Eurobase Systems Limited is the main trading company in the Eurobase 
International Group; registered in England and Wales as company number 
02251162; registered address: Essex House, 2 County Place, Chelmsford, Essex 
CM2 0RE, UK.



Re: can't find maven-buildnumber-plugin

2007-11-02 Thread Dan Tran
not even a quick test? :-)

On 11/2/07, Kalle Korhonen [EMAIL PROTECTED] wrote:
 I cannot and will not use snapshots for my project. Good thing the latest
 0.96 was captured in my proxy, but at the moment there doesn't seem to be a
 public repository that has this plugin. If that doesn't change, I need to
 change my proxy configurations and deploy the plugin into our internal
 repository.

 Kalle


 On 11/2/07, Dan Tran [EMAIL PROTECTED] wrote:
 
  I will cut a release if I see more happy users which use the current
  SNAPSHOT.
 
  -D
 
  On 11/2/07, Damien Lecan [EMAIL PROTECTED] wrote:
   2007/11/1, Julian Wood [EMAIL PROTECTED]:
Yes, the plugin has been moved:
   
http://mojo.codehaus.org/buildnumber-maven-plugin/
  
   Will it be released soon ?
  
   Thanks
  
   Damien
  
   -
   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]



running class files compiled with maven

2007-11-02 Thread Frank Wilson
Is there a way to run individual class files with help from maven. For
instance I want to run the main method in one of my classes but the
best I can do is use the java command from my jvm and add all my
libraries inside ~/.m2/repository  to the classpath by hand. Can maven
automate this? I know I can make a .jar with dependencies and a main
class, but that isn't very convenient for development.

Thanks,

Frank

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



Re: Migration from beta-3 to beta-4 problem

2007-11-02 Thread Emmanuel Venisse

ok, but the jdbc url for the import use a clean db?

Emmanuel

Thomas Recloux a écrit :

No, I exported from a beta-3 to a new beta-4

2007/11/1, Emmanuel Venisse [EMAIL PROTECTED]:

Do you run Export and Import on the same database?

Emmanuel

Thomas Recloux a écrit :

Hi,

I have got the following error during the builds import with the

migration

tool.

It looks like the migration tool tries to delete 'BUILDDEFINITION'

entries

but a child entry blocks the statement.
If you give me the child table, I could delete it manually.

I do not undestand why the BUILDDEFINITION table is not empty.

Thanks, Thomas

ERROR 23503: DELETE on table 'BUILDDEFINITION' caused a violation of

foreign

key constraint 'BUILDDEFINITCE_FK2' for key (3).  The statement has been
rolled back.
at org.apache.derby.iapi.error.StandardException.newException

(Unknown

Source)
at

org.apache.derby.impl.sql.execute.ReferencedKeyRIChecker.doCheck(Unknown

Source)
at org.apache.derby.impl.sql.execute.RISetChecker.doPKCheck

(Unknown

Source)
at
org.apache.derby.impl.sql.execute.DeleteResultSet.collectAffectedRows

(Unknown

Source)
at org.apache.derby.impl.sql.execute.DeleteResultSet.open

(Unknown

Source)
at org.apache.derby.impl.sql.GenericPreparedStatement.execute

(Unknown

Source)
at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement

(Unknown

Source)
at
org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement

(Unknown

Source)
at

org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate(Unknown

Source)
at org.jpox.store.rdbms.RDBMSManager.executeStatementUpdate(
RDBMSManager.java:572)
at org.jpox.store.rdbms.request.DeleteRequest.execute(
DeleteRequest.java:274)
at org.jpox.store.rdbms.table.ClassTable.delete(ClassTable.java
:2611)
at org.jpox.store.StoreManager.delete(StoreManager.java:981)
at org.jpox.state.StateManagerImpl.internalDeletePersistent(
StateManagerImpl.java:4395)
at org.jpox.state.StateManagerImpl.deletePersistent(
StateManagerImpl.java:4350)
at org.jpox.AbstractPersistenceManager.internalDeletePersistent(
AbstractPersistenceManager.java:1473)
at org.jpox.AbstractPersistenceManager.deletePersistentAll(
AbstractPersistenceManager.java:1516)
at org.jpox.store.rdbms.scostore.ElementContainerStore.clear(
ElementContainerStore.java:659)
at org.jpox.store.mapping.CollectionMapping.deleteDependent(
CollectionMapping.java:334)
at org.jpox.store.rdbms.table.ClassTable.deleteDependent(
ClassTable.java:2651)
at org.jpox.store.StoreManager.deleteDependent(StoreManager.java
:1019)
at org.jpox.state.StateManagerImpl.deletePersistent(
StateManagerImpl.java:4332)
at org.jpox.AbstractPersistenceManager.internalDeletePersistent(
AbstractPersistenceManager.java:1473)
at org.jpox.AbstractPersistenceManager.deletePersistentAll(
AbstractPersistenceManager.java:1516)
at

org.jpox.store.rdbms.query.JDOQLQuery.performDeletePersistentAll(

JDOQLQuery.java:687)
at org.jpox.store.query.Query.deletePersistentAll(Query.java

:1120)

at org.jpox.store.query.Query.deletePersistentAll(Query.java

:1075)

at org.jpox.store.query.Query.deletePersistentAll(Query.java

:1049)

at org.codehaus.plexus.jdo.PlexusJdoUtils.removeAll(
PlexusJdoUtils.java:444)
at

org.apache.maven.continuum.store.JdoContinuumStore.eraseDatabase(

JdoContinuumStore.java:1961)
at


org.apache.maven.continuum.management.JdoDataManagementTool.eraseDatabase(

JdoDataManagementTool.java:127)
at
org.apache.maven.continuum.management.DataManagementCli.processDatabase(
DataManagementCli.java:254)
at org.apache.maven.continuum.management.DataManagementCli.main(
DataManagementCli.java:158)











Re: can't find maven-buildnumber-plugin

2007-11-02 Thread Dan Tran
cool I now first user happy with the snapshot :-)

-D

On 11/2/07, Kalle Korhonen [EMAIL PROTECTED] wrote:
 Certainly that I could do. But what's the purpose - has something changed
 drastically?

 Heck.. I'll bite. I just tried 1.0-beta-1-SNAPSHOT, didn't see any issues
 besides having to change the version *and* the name.

 Kalle

 On 11/2/07, Dan Tran [EMAIL PROTECTED] wrote:
 
  not even a quick test? :-)
 
  On 11/2/07, Kalle Korhonen [EMAIL PROTECTED] wrote:
   I cannot and will not use snapshots for my project. Good thing the
  latest
   0.96 was captured in my proxy, but at the moment there doesn't seem to
  be a
   public repository that has this plugin. If that doesn't change, I need
  to
   change my proxy configurations and deploy the plugin into our internal
   repository.
  
   Kalle
  
  
   On 11/2/07, Dan Tran [EMAIL PROTECTED] wrote:
   
I will cut a release if I see more happy users which use the current
SNAPSHOT.
   
-D
   
On 11/2/07, Damien Lecan [EMAIL PROTECTED] wrote:
 2007/11/1, Julian Wood [EMAIL PROTECTED]:
  Yes, the plugin has been moved:
 
  http://mojo.codehaus.org/buildnumber-maven-plugin/

 Will it be released soon ?

 Thanks

 Damien


  -
 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: disabling application.xml generation

2007-11-02 Thread Wayne Fay
You'll probably need to dig into the ear plugin code a bit and see if
this is actually a bug or simply a misconfiguration on your part.

If you find its a bug (and fix it), please contribute your changes
back via JIRA.

Wayne

On 11/2/07, Jonathan Richard [EMAIL PROTECTED] wrote:
 Hi,

 I would like to know if there is a way, when using the maven ear plugin,
 to disable the application.xml file creation.

 I have a ear.pom file which is configured to package my project, in the
 same folder I provide my own application.xml + sun-application.xml but
 the plugin still generate an application.xml file in the target
 directory. If I use the applicationXml parameter in the pom.xml file.
 The plugin copies my file in the META-INF folder but still create his
 own application.xml file in the targer folder.

 I was planning to make an exec:exec plugin call to delete the file build
 is done but I was wondering if there was a bug with the ear plugin / way
 to work this out.

 Here is my project pom.xml and structure:

 ear-folder
  -src
-main
  -application
META-INF
  -application.xml
  -MANIFEST.FM
  -sun-application.xml
-java

 ...
   build
plugins
plugin
artifactIdmaven-ear-plugin/artifactId
configuration

 !--applicationXml${basedir}/src/conf/application.xml/applicationXml--
  finalNamemoxxi-presentation-ear/finalName
  defaultLibBundleDirlib//defaultLibBundleDir
  modules
webModule
  ...
/webModule
ejbModule
...
/ejbModule
  /modules
/configuration
/plugin

/plugins
!--resources
resource
targetPathMETA-INF//targetPath
directory${basedir}/src/conf//directory
/resource
/resources--
/build
 ...


 -
 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: Question about native library path

2007-11-02 Thread Wayne Fay
Its possible this functionality is not currently available. Take a
look at the source code, add in your needed features, and contribute
it back for future inclusion in the next release of the Eclipse
plugin.

Wayne

On 11/2/07, Dave Feltenberger [EMAIL PROTECTED] wrote:
 All,

 Does anybody know if it's possible (and if so, how) to add the native
 library location to a classpath entry?  Specifically the Eclipse
 .project classpath attribute
 org.eclipse.jdt.launching.CLASSPATH_ATTR_LIBRARY_PATH_ENTRY.  I'd
 like to have some dlls in my library path without having to add
 additional JVM arguments everytime I create a launcher (and without
 having to specify it JVM-wide or something).  The closest thing I
 could find in the project documentation was classpathContainers, but
 that's not exactly it.  Here's an example of what I'd want the end
 result to be:

classpathentry exported=true kind=lib
 path=M2_REPO/org/ecliplse/swt/swt/3.323/swt.jar
attributes
attribute 
 name=org.eclipse.jdt.launching.CLASSPATH_ATTR_LIBRARY_PATH_ENTRY
 value=MySwtProject/target/swt-native-libs/
/attributes
/classpathentry

 And I can't figure out how to add the additional attributes without
 doing it manually in Eclipse everytime.

 Thanks.

 Dave

 -
 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: running class files compiled with maven

2007-11-02 Thread Wayne Fay
The exec-maven-plugin might be helpful, especially the java goal:
http://mojo.codehaus.org/exec-maven-plugin/usage.html

Wayne

On 11/2/07, Frank Wilson [EMAIL PROTECTED] wrote:
 I do use eclipse, but it's not very handy to rely on an IDE in some
 cases. For instance, say you hand in an assignment built with maven -
 you can't really assume your lecturer is using eclipse.
 On my last handin I only had two deliverables, so I could split my
 project in to a hierarchical project with two artifacts (one console
 app in a jar + deps and one webapp war). However, if there had been
 more minor console programs to deliver it would have been silly to
 make more subprojects. The project would needlessly look more complex
 to an outsider and handling dependencies would have been more tricky.
 So, in this case I was wondering if maven had a mechanism for running
 individual class files without the bureaucracy of making another
 artifact.


 Thanks,

 Frank


 On 02/11/2007, Antonio Petrelli [EMAIL PROTECTED] wrote:
  2007/11/2, Frank Wilson [EMAIL PROTECTED]:
  
   I know I can make a .jar with dependencies and a main
   class, but that isn't very convenient for development.
 
 
 
  Development? Are you using an IDE?
  If yes, see q4e or m2eclipse for Eclipse, or the Maven eclipse plugin,
  or mevenide for NetBeans.
  http://code.google.com/p/q4e/
  http://m2eclipse.codehaus.org/
  http://maven.apache.org/plugins/maven-eclipse-plugin/
  http://mevenide.codehaus.org/
 
  Antonio
 

 -
 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: driver not found for hibernate3-maven-plugin

2007-11-02 Thread Nathaniel Stoddard
Have you tried specifying the drivers as build extensions?  That's how I
have it (no parent POMs though) and it works fine for me.  Then again, it
could just be another strange reactor problem

On 11/2/07, Sonar, Nishant [EMAIL PROTECTED] wrote:

 Hi



 I have 2 child modules under 1 parent; one of them is using the
 mssqlserver driver and other the oracle driver.



 When I run the POMs for these which are using the
 hibernate3-maven-plugin, the one which executes later says that the
 driver is not found

 I've tried changing the sequence of pom execution for both but again
 it's for later where I get the driver not found error.



 The drivers are specified as plug-in dependencies.

 Does anybody faced such kind of problem or maybe I am taking a wrong
 direction for trouble shooting



 Regards,

 Nishant Sonar

 Synechron Technologies

 Desk: +91 20 305 13400 (Ext# 294) Cell: +91 9823871676

 Working hours : 2:30 AM - 10:30 AM EST






Re: Windows domain in username

2007-11-02 Thread chris_

It is not basic authentication. Here are the details on the svn/apache server
I am trying to connect to:

Apache/2.0.55 (Win32) SVN/1.3.0 DAV/2 mod_auth_sspi/1.0.3 Server at myserver
Port 8080

Thanks,
Chris



Emmanuel Venisse wrote:
 
 Is it a basic authentication?
 
 Emmanuel
 
 chris_ a écrit :
 Hi,
 
 I am trying to add a maven 2.0.x project but have not figured out how to
 specify a username that must contain the windows domain. Below are the
 settings that I think should work:
 
 Add Maven 2.0+ Project
 POM Url: http://myserver:8080/svn/my_code/my_project/trunk/pom.xml
 Username: mydomain\myusername
 Password: x
 
 The message I see in the web browser is:
 
 The specified resource cannot be accessed. Please try again later or
 contact
 your administrator.
 
 And the logs:
 
 jvm 1| 2007-11-01 14:33:44,194 [SocketListener0-1] INFO 
 org.codehaus.plexus.action.Action:create-projects-from-metadata  -
 checking
 for settings auth setup
 jvm 1| 2007-11-01 14:33:44,319 [SocketListener0-1] INFO 
 org.apache.maven.continuum.project.builder.ContinuumProjectBuilder:maven-two-builder
  
 - Downloading http://myserver:8080/svn/my_code/my_project/trunk/pom.xml
 jvm 1| 2007-11-01 14:33:44,381 [SocketListener0-1] INFO 
 org.apache.maven.continuum.project.builder.ContinuumProjectBuilder:maven-two-builder
  
 - Error adding project: Unknown error downloading from
 http://myserver:8080/svn/my_code/my_project/trunk/pom.xml
 jvm 1| java.io.IOException: Server returned HTTP response code: 403
 for
 URL: http://myserver:8080/svn/my_code/my_project/trunk/pom.xml
 jvm 1|  at
 sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1174)
 jvm 1|  at
 org.apache.maven.continuum.project.builder.AbstractContinuumProjectBuilder.createMetadataFile(AbstractContinuumProjectBuilder.java:57)
 
 If I go directly to the URL in IE/Firefox I am prompted for my
 username/password. I enter my username with windows domain
 (mydomain\myusername) in the prompt and am able to view the pom file. Is
 there a special format for specifying a windows domain with the username
 on
 the Add Maven 2.0+ Project page?
 
 Thanks,
 Chris
 
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Windows-domain-in-username-tf4733430.html#a13554501
Sent from the Continuum - Users mailing list archive at Nabble.com.



running a specific plugin only while deploying ; running multiple times a same plugin while varying its parameters

2007-11-02 Thread Julien CARSIQUE

Hi,

I would like to zip our generated ear and attach it but only when 
deploying to our archiva (for snapshot deployment and release).
I actually use build-helper-maven-plugin to attach the zip file but had 
to associate it to a specific profile so it isn't done by default. How 
to run this profile only when using maven-deploy-plugin ? Is there a 
property set by this plugin ?


Then, I would like to run multiple times a same plugin with various 
parameters, all this in a single call to mvn install; how can I do that ?


Thanks,
Julien C.


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



Re: disabling application.xml generation

2007-11-02 Thread Saritha SV
Hi

You  can  try  giving the full path in applicationXml  tag  like :
applicationXml${basedir}/src/main/application/META-INF/application.xml/applicationXml
along  with Maven-ear-plugin and  then  for each  module  specify like :

javaModule
groupIdcom.tset/groupId
artifactIdcore-test/artifactId
bundleDir//bundleDir

includeInApplicationXmltrue/includeInApplicationXml
/javaModule

let us know .

Thanks
Saritha





On 11/2/07, Jonathan Richard [EMAIL PROTECTED] wrote:

 Hi,

 I would like to know if there is a way, when using the maven ear plugin,
 to disable the application.xml file creation.

 I have a ear.pom file which is configured to package my project, in the
 same folder I provide my own application.xml + sun-application.xml but
 the plugin still generate an application.xml file in the target
 directory. If I use the applicationXml parameter in the pom.xml file.
 The plugin copies my file in the META-INF folder but still create his
 own application.xml file in the targer folder.

 I was planning to make an exec:exec plugin call to delete the file build
 is done but I was wondering if there was a bug with the ear plugin / way
 to work this out.

 Here is my project pom.xml and structure:

 ear-folder
 -src
-main
  -application
META-INF
  -application.xml
  -MANIFEST.FM
  -sun-application.xml
-java

 ...
   build
plugins
plugin
artifactIdmaven-ear-plugin/artifactId
configuration

 !--applicationXml${basedir}/src/conf/application.xml/applicationXml--
  finalNamemoxxi-presentation-ear/finalName
  defaultLibBundleDirlib//defaultLibBundleDir
  modules
webModule
  ...
/webModule
ejbModule
...
/ejbModule
  /modules
/configuration
/plugin

/plugins
!--resources
resource
targetPathMETA-INF//targetPath
directory${basedir}/src/conf//directory
/resource
/resources--
/build
 ...


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




Re: Question about native library path

2007-11-02 Thread Dave Feltenberger
Thank you for pointing out that if a feature doesn't exist I'm free to
add the necessary features myself, Wayne.

On Nov 2, 2007 2:16 PM, Wayne Fay [EMAIL PROTECTED] wrote:
 Its possible this functionality is not currently available. Take a
 look at the source code, add in your needed features, and contribute
 it back for future inclusion in the next release of the Eclipse
 plugin.

 Wayne


 On 11/2/07, Dave Feltenberger [EMAIL PROTECTED] wrote:
  All,
 
  Does anybody know if it's possible (and if so, how) to add the native
  library location to a classpath entry?  Specifically the Eclipse
  .project classpath attribute
  org.eclipse.jdt.launching.CLASSPATH_ATTR_LIBRARY_PATH_ENTRY.  I'd
  like to have some dlls in my library path without having to add
  additional JVM arguments everytime I create a launcher (and without
  having to specify it JVM-wide or something).  The closest thing I
  could find in the project documentation was classpathContainers, but
  that's not exactly it.  Here's an example of what I'd want the end
  result to be:
 
 classpathentry exported=true kind=lib
  path=M2_REPO/org/ecliplse/swt/swt/3.323/swt.jar
 attributes
 attribute 
  name=org.eclipse.jdt.launching.CLASSPATH_ATTR_LIBRARY_PATH_ENTRY
  value=MySwtProject/target/swt-native-libs/
 /attributes
 /classpathentry
 
  And I can't figure out how to add the additional attributes without
  doing it manually in Eclipse everytime.
 
  Thanks.
 
  Dave
 
  -
  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]



promoting maven @work / fail on proxy uname/pwd

2007-11-02 Thread Marco Mistroni
hi all,
 i am very close to promote Maven @work, where we are currently using
a 400 lines long ant build script... (don't need to list the miracles we are
doing in it
to get some  jobs done...)

i thought  i would have had no problems in showing what Mvn can bring us (in
4 yrs using it, i found out almost all the features and all the
benfits that mvn can give)... until i got some comments that having plain
username
and password for maven proxy (we r behind a firewall) is a potential
security threat

my idea was to setup an internal repository on one machine, so that machine
would be a dedicated one
with a dedicated user account..
I thougth, that other than setting up some read permission on the file would
have sufficed to win

seems it might not be enough...
i read somewhere that in release 2.1 ther will be an option to encrypt
uname/pwd on proxy..
well i have then few questions for the list:

- how you developers are tackling the issue right now?
- does mvn 2.1 really provides that feature?
- if so, when it will be out?

i know myself that wth an http username and password you won't be able to
asssault a bank (i work in one..)
but i needs facts.


anyone could help?

thanks an dregars
  marco


Re: Question about native library path

2007-11-02 Thread Wayne Fay
Any time, Dave! Some people simply need a little nudge in the right direction.

It seems like a lot of people on this list either don't realize or
forget that Maven is Open Source Software. You're a developer, right??
If you want a feature and it isn't obviously available, go write some
code!! Maven plugins are (generally) trivial to modify or even create
from scratch to deal with a particular issue.

The only way that Maven gets any better is by the contributions of
people (like yourself) -- some in the core dev team and others who are
simply motivated users who want to get their work done.

In the (short) amount of time we've spent discussing this issue, you
could have already written and tested your addition to the Eclipse
plugin, and you'd be on dealing with the next issue in your project.

Wayne

On 11/2/07, Dave Feltenberger [EMAIL PROTECTED] wrote:
 Thank you for pointing out that if a feature doesn't exist I'm free to
 add the necessary features myself, Wayne.

 On Nov 2, 2007 2:16 PM, Wayne Fay [EMAIL PROTECTED] wrote:
  Its possible this functionality is not currently available. Take a
  look at the source code, add in your needed features, and contribute
  it back for future inclusion in the next release of the Eclipse
  plugin.
 
  Wayne
 
 
  On 11/2/07, Dave Feltenberger [EMAIL PROTECTED] wrote:
   All,
  
   Does anybody know if it's possible (and if so, how) to add the native
   library location to a classpath entry?  Specifically the Eclipse
   .project classpath attribute
   org.eclipse.jdt.launching.CLASSPATH_ATTR_LIBRARY_PATH_ENTRY.  I'd
   like to have some dlls in my library path without having to add
   additional JVM arguments everytime I create a launcher (and without
   having to specify it JVM-wide or something).  The closest thing I
   could find in the project documentation was classpathContainers, but
   that's not exactly it.  Here's an example of what I'd want the end
   result to be:
  
  classpathentry exported=true kind=lib
   path=M2_REPO/org/ecliplse/swt/swt/3.323/swt.jar
  attributes
  attribute 
   name=org.eclipse.jdt.launching.CLASSPATH_ATTR_LIBRARY_PATH_ENTRY
   value=MySwtProject/target/swt-native-libs/
  /attributes
  /classpathentry
  
   And I can't figure out how to add the additional attributes without
   doing it manually in Eclipse everytime.
  
   Thanks.
  
   Dave
  
   -
   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: running a specific plugin only while deploying ; running multiple times a same plugin while varying its parameters

2007-11-02 Thread Saritha SV
Hi

For running multiple times a same plugin with various
parameters , you can use profiles .

http://maven.apache.org/guides/introduction/introduction-to-profiles.html

this will give you an intro to build profiles .
You can use different profiles in pom.xml  , with the same plugin having
different arguments .
And u can list the active Profiles in settings.xml or u can specify the
profiles to be executed in the command line separated by comma .

find an eg of using 2 different profiles in pom.xml with maven-exec-plugin .

profiles
 profile
 activation
 property
 nametestProfile1/name
 /property
 /activation
 build
 plugin
 groupIdorg.codehaus.mojo/groupId
 artifactIdexec-maven-plugin/artifactId
 configuration
 executablejava/executable
 arguments
 argument-classpath/argument
 classpath /
 argument
 com.test.example
 /argument
 /arguments
 /configuration
 /plugin
 /build
 /profile
 profile
 activation
 property
 nametestProfile2/name
 /property
 /activation
 build
 plugin
 groupIdorg.codehaus.mojo/groupId
 artifactIdexec-maven-plugin/artifactId
 configuration
 executablejava/executable
 arguments
 argument-classpath/argument
 classpath /
 argument
 com.testProfile.example2
 /argument
 /arguments
 /configuration
 /plugin
 /build
 /profile
 /profiles



in command line you can run the profile by
mvn exec:exec -P testProfile1,  testProfile2

or in settings it can be like :


settings
  ...
  activeProfiles
activeProfiletestProfile1/activeProfile

activeProfiletestProfile2/activeProfile

  /activeProfiles
  ...
/settings

Thanks
Saritha

On 11/2/07, Julien CARSIQUE [EMAIL PROTECTED] wrote:

 Hi,

 I would like to zip our generated ear and attach it but only when
 deploying to our archiva (for snapshot deployment and release).
 I actually use build-helper-maven-plugin to attach the zip file but had
 to associate it to a specific profile so it isn't done by default. How
 to run this profile only when using maven-deploy-plugin ? Is there a
 property set by this plugin ?

 Then, I would like to run multiple times a same plugin with various
 parameters, all this in a single call to mvn install; how can I do that ?

 Thanks,
 Julien C.


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




Maven1: How to use ant-contrib foreach in a maven.xml goal

2007-11-02 Thread Karr, David
I have a set of targets in an Ant script that I'm trying to integrate
into a goal in subproject maven.xml.  One of the steps is to iterate
over a list of files found in a directory, using the Ant-contrib
foreach tag.  This works fine in the Ant script, but when I do this in
my maven.xml file, when it executes the foreach tag, it seems to want
to find the specified target in a build.xml in the same directory.
I'm guessing Ant-contrib's Foreach tag wasn't built to allow for this
possibility.  Is there a different way to do this that will work in
Maven 1?

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



Re: promoting maven @work / fail on proxy uname/pwd

2007-11-02 Thread Brett Porter
On 03/11/2007, Marco Mistroni [EMAIL PROTECTED] wrote:
 - how you developers are tackling the issue right now?
 - does mvn 2.1 really provides that feature?
 - if so, when it will be out?

I started a little work on it quite some time back, but it was not yet
integrated into Maven and there were still some open questions.

At this point, it is scheduled for 2.1, but I'd say it's no certainty
to be included, unfortunately.

the issue to watch is MNG-553.

Regards,
Brett

-- 
Brett Porter
Blog: http://www.devzuz.org/blogs/bporter/

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



Re: [m2] dashboard error....

2007-11-02 Thread Mick Knutson
Ok, I got something different.


I put this in my plugin section:
plugin
groupIdorg.codehaus.mojo/groupId
artifactIddashboard-maven-plugin/artifactId
version1.0-SNAPSHOT/version

!--jar file that has the jdbc driver --
dependencies
dependency
groupIdmysql/groupId
artifactIdmysql-connector-java/artifactId
version5.1.5/version
/dependency
/dependencies
configuration
dialect${hibernate.dialect}/dialect
driverClass${jdbc.driverClass}/driverClass
connectionUrl${dashboard.connectionUrl
}/connectionUrl
usernametro/username
passwordtro/password
/configuration

/plugin

I put this into my report plugin section:
plugin
groupIdorg.codehaus.mojo/groupId
artifactIddashboard-maven-plugin/artifactId
/plugin


But I get this error when running mvn dashboard:persist -e -X

[INFO] Searching repository for plugin with prefix: 'dashboard'.
[DEBUG] Loading plugin prefixes from group: triemax
[DEBUG] Skipping disabled repository Codehaus Snapshots
[DEBUG] Loading plugin prefixes from group: org.apache.maven.plugins
[DEBUG] Skipping disabled repository Codehaus Snapshots
[DEBUG] Loading plugin prefixes from group: org.codehaus.mojo
[DEBUG] Skipping disabled repository Codehaus Snapshots
[DEBUG] Skipping disabled repository Codehaus Snapshots
[DEBUG] build-helper-maven-plugin: resolved to version 1.0 from repository
central
[DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo::7 for project:
null:build-helper-maven-plugin:maven-plugin:1.0 from the repository.
[DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::8 for
project: null:maven-compiler-plugin:maven-plugin:2.0.2 from the repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::5 for project:
org.apache.maven.plugins:maven-plugins:pom:8 from the repository.
[DEBUG] Retrieving parent-POM: org.apache:apache::3 for project:
org.apache.maven:maven-parent:pom:5 from the repository.
[DEBUG] Skipping disabled repository Backup
[DEBUG] Skipping disabled repository central
[DEBUG] dashboard-maven-plugin: using locally installed snapshot
[DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo-sandbox::2 for
project: org.codehaus.mojo:dashboard-maven-plugin:maven-plugin:1.0-SNAPSHOTfrom
the r
epository.
[DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo::11 for project:
null:mojo-sandbox:pom:2 from the repository.
[DEBUG] dashboard-maven-plugin: using locally installed snapshot
[DEBUG] Skipping disabled repository Codehaus Snapshots
[DEBUG] maven-eclipse-plugin: resolved to version 2.3 from repository
central
[DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::7 for
project: org.apache.maven.plugins:maven-eclipse-plugin:maven-plugin:2.3 from
t
he repository.
[DEBUG] Retrieving parent-POM:
org.apache.maven:maven-plugin-surrogate-parent::5 for project:
org.apache.maven.plugins:maven-plugins:pom:7 from the reposit
ory.
[DEBUG] Skipping disabled repository Codehaus Snapshots
[DEBUG] maven-ejb-plugin: resolved to version 2.1 from repository central
[DEBUG] Skipping disabled repository Codehaus Snapshots
[DEBUG] smc-maven-plugin: resolved to version 1.0-alpha-1 from local
repository
[DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo::9 for project:
null:smc-maven-plugin:maven-plugin:1.0-alpha-1 from the repository.
[DEBUG] Retrieving parent-POM:
org.apache.maven.plugins:maven-plugin-parent::2.0 for project:
null:maven-install-plugin:maven-plugin:2.1 from the repositor
y.
[DEBUG] Adding managed dependencies for unknown:maven-install-plugin
[DEBUG]   org.apache.maven:maven-project:jar:2.0
[DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.4
[DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::3 for
project: null:maven-jar-plugin:maven-plugin:2.1 from the repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::4 for project:
org.apache.maven.plugins:maven-plugins:pom:3 from the repository.
[DEBUG] Skipping disabled repository Codehaus Snapshots
[DEBUG] maven-war-plugin: resolved to version 2.0.2 from repository central
[DEBUG] Skipping disabled repository Codehaus Snapshots
[DEBUG] maven-site-plugin: resolved to version 2.0-beta-5 from repository
central
[DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1 for
project: null:maven-site-plugin:maven-plugin:2.0-beta-5 from the repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for project:
org.apache.maven.plugins:maven-plugins:pom:1 from the repository.
[DEBUG] Retrieving parent-POM: org.apache:apache::1 for project:

How do I get secondary artifacts of dependencies into an assembly?

2007-11-02 Thread jpanelli

We have some dependencies that have a secondary artifact with a classifier
called conf-resources.  The secondary artifact is a zip that contains
binary files that we want to include in an assembly.  We can include the
secondary artifact in the assembly when it is a module with this assmbly
descriptor:

moduleSet
   includes
  include*:smar:*/include
   /includes
   binaries
  attachmentClassifierconf-resources/attachmentClassifier
  includeDependenciestrue/includeDependencies
  unpacktrue/unpack
  outputFileNameMappinglocal/outputFileNameMapping
   /binaries
/moduleSet

However, when the secondary artifact is in attached to a dependency, there
is no attachmentClassifier tag inside of dependencySet, so we can not
figure out how to structure the assembly descriptor to include it in the
assembly.  We've tried numerous things.  Is it even possible to do this?
-- 
View this message in context: 
http://www.nabble.com/How-do-I-get-secondary-artifacts-of-dependencies-into-an-assembly--tf4741283s177.html#a13558032
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: Problems using a customized javadoc plugin from custom repository

2007-11-02 Thread Dirk Olmes
Yan Huang wrote:
 wondering if this issue is resolved? javadoc and sources plugin is repeating
 life cycle unnecessarily. If your fix in javadoc is working, can it be
 shared?

Well the fix in my situation was to check out the trunk of
maven-javadoc-plugin, delete the @aggregator from AbstractJavadocMojo
and deploy the patched plugin to the local repo using a different version.

This works fine as long as you have it in your local repository but if
you want to deploy the patched plugin to your custom repository, the
build will start to fail.

I gave up analyzing the problem as I don't really have the time and the
energy to dig through the Maven sources.

-dirk

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



Re: How do I get secondary artifacts of dependencies into an assembly?

2007-11-02 Thread Kalle Korhonen
Unfortunately the assembly plugin doesn't understand the concept of
classifiers at the moment. There are numerous bugs open on the issue -
please vote on them if you haven't done so yet.

I've solved the problem using a dependency plugin to copy the dependencies
with classifiers to a target location, then using assembly's fileset on
them.

Kalle

On 11/2/07, jpanelli [EMAIL PROTECTED] wrote:


 We have some dependencies that have a secondary artifact with a classifier
 called conf-resources.  The secondary artifact is a zip that contains
 binary files that we want to include in an assembly.  We can include the
 secondary artifact in the assembly when it is a module with this assmbly
 descriptor:

 moduleSet
includes
   include*:smar:*/include
/includes
binaries
   attachmentClassifierconf-resources/attachmentClassifier
   includeDependenciestrue/includeDependencies
   unpacktrue/unpack
   outputFileNameMappinglocal/outputFileNameMapping
/binaries
 /moduleSet

 However, when the secondary artifact is in attached to a dependency, there
 is no attachmentClassifier tag inside of dependencySet, so we can not
 figure out how to structure the assembly descriptor to include it in the
 assembly.  We've tried numerous things.  Is it even possible to do this?
 --
 View this message in context:
 http://www.nabble.com/How-do-I-get-secondary-artifacts-of-dependencies-into-an-assembly--tf4741283s177.html#a13558032
 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: How do I get secondary artifacts of dependencies into an assembly?

2007-11-02 Thread jpanelli

Kalle, thank you very much.  This gives me a direction to go at least.  I
will vote right now, provided I can figure out how to do that.

John


Kalle Korhonen-2 wrote:
 
 Unfortunately the assembly plugin doesn't understand the concept of
 classifiers at the moment. There are numerous bugs open on the issue -
 please vote on them if you haven't done so yet.
 
 I've solved the problem using a dependency plugin to copy the dependencies
 with classifiers to a target location, then using assembly's fileset on
 them.
 
 Kalle
 
 On 11/2/07, jpanelli [EMAIL PROTECTED] wrote:


 We have some dependencies that have a secondary artifact with a
 classifier
 called conf-resources.  The secondary artifact is a zip that contains
 binary files that we want to include in an assembly.  We can include the
 secondary artifact in the assembly when it is a module with this assmbly
 descriptor:

 moduleSet
includes
   include*:smar:*/include
/includes
binaries
   attachmentClassifierconf-resources/attachmentClassifier
   includeDependenciestrue/includeDependencies
   unpacktrue/unpack
   outputFileNameMappinglocal/outputFileNameMapping
/binaries
 /moduleSet

 However, when the secondary artifact is in attached to a dependency,
 there
 is no attachmentClassifier tag inside of dependencySet, so we can not
 figure out how to structure the assembly descriptor to include it in the
 assembly.  We've tried numerous things.  Is it even possible to do this?
 --
 View this message in context:
 http://www.nabble.com/How-do-I-get-secondary-artifacts-of-dependencies-into-an-assembly--tf4741283s177.html#a13558032
 Sent from the Maven - Users mailing list archive at Nabble.com.


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


 
 

-- 
View this message in context: 
http://www.nabble.com/How-do-I-get-secondary-artifacts-of-dependencies-into-an-assembly--tf4741283s177.html#a13558772
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: [ANN] Maven NSIS Plugin 2.0 for Maven 1.x released

2007-11-02 Thread Stefano Fornari
Thanks Lukas and Arnaud, for now I am using Exec:Exec, which works
pretty well. I tried once to get into the code of the assebly plugin
but it was really difficult to understand. Maybe one day I'll try
again :)

Ste

On 10/29/07, Arnaud HERITIER [EMAIL PROTECTED] wrote:
 it should be something provided within the assembly plugin or an extension
 of it.
 I never had the time to rewrite it for maven 2 but it shouldn't be very
 difficult.

 Arnaud

 On 10/28/07, Lukas Theussl [EMAIL PROTECTED] wrote:
 
 
  If this is a frequent question then I have to review my message filter!
  ;) I can't remember NSIS mentioned on a maven list since a long time.
 
  Anyway, I am not aware of any m2 plugin, but I am certainly not the
  right person to ask since even for the m1 plugin, I only did one release
  once but I never maintained it.
 
  Anyone else?
 
  -Lukas
 
 
  Stefano Fornari wrote:
   Hi Lukas,
   maybe this is a frequent question, forgive me if it is such case (but
   I could not find any reference searching the list archive).
  
   Is there any work or plan for a NSIS plug-in for Maven2?
  
   Thanks in advance,
   Stefano
  
   On 7/28/06, Lukas Theussl [EMAIL PROTECTED] wrote:
  
  We are pleased to announce the Maven NSIS Plugin 2.0 release!
  
  http://maven.apache.org/maven-1.x/plugins/nsis/
  
  A plugin to generate Win32 installer programs using NSIS
  
 
  ===
  
  Changes in this version include:
  
New Features:
  
  o Add faq Thanks to Geoffrey.
  
Fixed bugs:
  
  o Use maven.nsis.build.dir instead of maven.dist.assembly.dir. Fixes
MPNSIS-9. Thanks to Matthias Kerkhoff.
  o Fail when makensis fails. Fixes MPNSIS-8. Thanks to Matthias Kerkhoff.
  o Check maven.nsis.exe exists before using it. Thanks to Geoffrey.
  
Changes:
  
  o Rename ORGANIZATIONconstant to PROJECT_ORGANIZATION.
  o Add back license to project.xml after the scm plugin removed it.
  
 
  ===
  
  
  To automatically install the plugin, type the following on a single
  line:
  
  maven plugin:download
-Dmaven.repo.remote=http://www.ibiblio.org/maven,
  http://people.apache.org/repo/m1-snapshot-repository/
-DgroupId=maven
-DartifactId=maven-nsis-plugin
-Dversion=2.0
  
  For a manual installation, you can download the plugin here:
  
  http://www.apache.org/dyn/closer.cgi/java-repository/maven/plugins/maven-nsis-plugin-2.0.jar
  
  
  Have fun!
  -The Maven NSIS Plugin development team
  
  -
  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]
 
 


 --
 ..
 Arnaud HERITIER
 ..
 OCTO Technology - aheritier AT octo DOT com
 www.octo.com | blog.octo.com
 ..
 ASF - aheritier AT apache DOT org
 www.apache.org | maven.apache.org
 ...



-- 
Stefano Fornari - Funambol CTO
===
Home:
http://www.funambol.org

Documents:
http://www.funambol.org/documentation/documents.html

FAQ:
http://www.funambol.org/support/faq.html

WIKI:
https://wiki.objectweb.org/sync4j/

Mailinglist archives:
http://groups.yahoo.com/group/Sync4j (login required)
http://sourceforge.net/mailarchive/forum.php?forum_id=215 (sync4j-users)
http://sourceforge.net/mailarchive/forum.php?forum_id=48877
(funambol-dev)

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



Re: can't find maven-buildnumber-plugin

2007-11-02 Thread Dirk Olmes
Dan Tran wrote:
 not even a quick test? :-)

I did a quick test, too and can confirm that it works nicely. Can we
PLSE make beta-1 release soon?

Thanks,

-dirk

 On 11/2/07, Kalle Korhonen [EMAIL PROTECTED] wrote:
 I cannot and will not use snapshots for my project. Good thing the latest
 0.96 was captured in my proxy, but at the moment there doesn't seem to be a
 public repository that has this plugin. If that doesn't change, I need to
 change my proxy configurations and deploy the plugin into our internal
 repository.

 Kalle


 On 11/2/07, Dan Tran [EMAIL PROTECTED] wrote:
 I will cut a release if I see more happy users which use the current
 SNAPSHOT.

 -D

 On 11/2/07, Damien Lecan [EMAIL PROTECTED] wrote:
 2007/11/1, Julian Wood [EMAIL PROTECTED]:
 Yes, the plugin has been moved:

 http://mojo.codehaus.org/buildnumber-maven-plugin/
 Will it be released soon ?

 Thanks

 Damien

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



Re: can't find maven-buildnumber-plugin

2007-11-02 Thread Kalle Korhonen
Second that... I won't be a very happy user (camper) before that happens.

Kalle

On 11/2/07, Dirk Olmes [EMAIL PROTECTED] wrote:

 Dan Tran wrote:
  not even a quick test? :-)

 I did a quick test, too and can confirm that it works nicely. Can we
 PLSE make beta-1 release soon?

 Thanks,

 -dirk

  On 11/2/07, Kalle Korhonen [EMAIL PROTECTED] wrote:
  I cannot and will not use snapshots for my project. Good thing the
 latest
  0.96 was captured in my proxy, but at the moment there doesn't seem to
 be a
  public repository that has this plugin. If that doesn't change, I need
 to
  change my proxy configurations and deploy the plugin into our internal
  repository.
 
  Kalle
 
 
  On 11/2/07, Dan Tran [EMAIL PROTECTED] wrote:
  I will cut a release if I see more happy users which use the current
  SNAPSHOT.
 
  -D
 
  On 11/2/07, Damien Lecan [EMAIL PROTECTED] wrote:
  2007/11/1, Julian Wood [EMAIL PROTECTED]:
  Yes, the plugin has been moved:
 
  http://mojo.codehaus.org/buildnumber-maven-plugin/
  Will it be released soon ?
 
  Thanks
 
  Damien

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




Re: can't find maven-buildnumber-plugin

2007-11-02 Thread Dan Tran
I already call a VOTE at mojo-dev ;-) should see this baby up at maven
central at the beginning of the week.

-D

On 11/2/07, Kalle Korhonen [EMAIL PROTECTED] wrote:
 Second that... I won't be a very happy user (camper) before that happens.

 Kalle

 On 11/2/07, Dirk Olmes [EMAIL PROTECTED] wrote:
 
  Dan Tran wrote:
   not even a quick test? :-)
 
  I did a quick test, too and can confirm that it works nicely. Can we
  PLSE make beta-1 release soon?
 
  Thanks,
 
  -dirk
 
   On 11/2/07, Kalle Korhonen [EMAIL PROTECTED] wrote:
   I cannot and will not use snapshots for my project. Good thing the
  latest
   0.96 was captured in my proxy, but at the moment there doesn't seem to
  be a
   public repository that has this plugin. If that doesn't change, I need
  to
   change my proxy configurations and deploy the plugin into our internal
   repository.
  
   Kalle
  
  
   On 11/2/07, Dan Tran [EMAIL PROTECTED] wrote:
   I will cut a release if I see more happy users which use the current
   SNAPSHOT.
  
   -D
  
   On 11/2/07, Damien Lecan [EMAIL PROTECTED] wrote:
   2007/11/1, Julian Wood [EMAIL PROTECTED]:
   Yes, the plugin has been moved:
  
   http://mojo.codehaus.org/buildnumber-maven-plugin/
   Will it be released soon ?
  
   Thanks
  
   Damien
 
  -
  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]



[ANNOUNCE] Archiva 1.0 Beta 3 Released

2007-11-02 Thread Maria Odea Ching
Hi Everyone,

The Maven Archiva team is pleased to announce the release of Archiva 1.0Beta 3.

Archiva is a build artifact repository manager for use with build tools such
as Maven, Continuum and Ant.

It has features like repository search and browse, securing repositories,
identifying unknown artifacts and reporting of repository problems.

Aside from these, it can also act as a nearby (proxy) cache of popular
global repositories.



The latest release is now available here:

http://maven.apache.org/archiva/download.html


Below are the jira issues that were resolved for Archiva 1.0 Beta 3:

Release Notes - Archiva - Version 1.0-beta-3

** Sub-task
* [MRM-527] - Create tests for discovering deleted artifacts

** Bug
* [MRM-128] - better handling of jar artifacts without a pom
* [MRM-142] - project builder cache needs to be configurable to prevent
memory leaking
* [MRM-205] - Undesirable Tomcat configuration for .jspf files
* [MRM-213] - cannot undeploy archiva webapp
* [MRM-243] - 507 Insufficient Storage when deploying artifact with
webdav
* [MRM-265] - After removing a managed repository - Browse/Search still
see it
* [MRM-309] - relocated artifacts are not delivered
* [MRM-320] - ProxiedDavServer breaks update policy
* [MRM-323] - Managed repo in archiva cannot be accessed thru direct
webdav url even with valid credentials (Archiva deployed in Tomcat)
* [MRM-333] - Tomcat deployment of archiva results in unstable instance.
* [MRM-396] - remove 'true' and 'false' from the descriptions on the
repository admin page
* [MRM-398] - configure guest access by default for pre-configured
repositories
* [MRM-400] - tab appearance on view artifact page looks incorrect
* [MRM-428] - managed and remote repositories with same name causes
problems
* [MRM-432] - Proxy Connectors are unable to download artifacts with
alpha numerical version numbers
* [MRM-437] - admin editing of proxy connectors fails in multiple
instances
* [MRM-444] - intermittent test failures on proxy
* [MRM-454] - Index not updated after repository purge
* [MRM-461] - Warning message for non existent resources should include
what resource it failed to locate.
* [MRM-466] - NPE on DatabaseJob.execute()
* [MRM-470] - Test failures in BytecodeIndexTest due to NPE in
AbstractIndexCreationTestCase
* [MRM-477] - Missing ability to manage proxy order.
* [MRM-479] - metadata files in artifactId/version level are not updated
during repository purge
* [MRM-481] - Artifact requests with a .xml.zip extension fail with a
404 Error
* [MRM-482] - Saving a proxy connector after adding a new property
results to HTTP 500 error
* [MRM-486] - Can not deploy artifact test.maven-arch:test-arch
* [MRM-487] - pom version is not resolved
* [MRM-488] - properties in pom are not resolved (at least while
browsing)
* [MRM-489] - Repositories are read only even for repository managers
* [MRM-493] - Downloaded artifacts are stored in incorrect
archiva-managed repository
* [MRM-494] - leaving repository ID blank on the add repository page
goes to the edit page where ID cannot be edited
* [MRM-500] - Failure in PathUtilTest under windows because the test
uses slashes in path but test File.separator in PathUtil
* [MRM-501] - Saving configuration fails through the webapp.
* [MRM-503] - Metadata files need Pragma:no-cache response header.
* [MRM-509] - Adding the same repository twice will be redirected to an
Edit Repository page.
* [MRM-510] - In Repository Browse, the first unique snapshot version
clicked is getting persisted in the request resulting to 'version does not
match' error
* [MRM-512] - Unable to convert null repository config to archiva
repository.
* [MRM-517] - Some maven 2 requests are treated as maven 1 requests
* [MRM-518] - Changing the internal repository directory has no effect
* [MRM-519] - fail to resolve artifactId for libs that contain
versionKeyword in artifactId, like maven-test-plugin
* [MRM-520] - Proxy Connectors are not deleted with the deletion of a
Repository.
* [MRM-521] - No validation for the repository purge fields in repo
config
* [MRM-529] - Accessing a newly added repository via webdav results to a
404 error
* [MRM-533] - Checksum files (sha1/md5) are not kept up to date on
maven-metadata.xml files.
* [MRM-534] - Test failure in RepositoryContentConsumerUtilTest
* [MRM-535] - metadata-updater is changing lastUpdating timestamp when
it shouldn't
* [MRM-543] - Versions (latest and release) wrong after regeneration of
maven-metadata.xml
* [MRM-546] - Duplicate repositories show up while editing.
* [MRM-551] - the default scan cron expression is once a day, should be
hourly
* [MRM-554] - Wrong generated links at root of repository browsing
* [MRM-555] - scanner checks timestamps, but some consumers will want to
consume artifacts regardless
   

Re: can't find maven-buildnumber-plugin

2007-11-02 Thread Mick Knutson
You ROCK!!

On 11/2/07, Dan Tran [EMAIL PROTECTED] wrote:

 I already call a VOTE at mojo-dev ;-) should see this baby up at maven
 central at the beginning of the week.

 -D

 On 11/2/07, Kalle Korhonen [EMAIL PROTECTED] wrote:
  Second that... I won't be a very happy user (camper) before that
 happens.
 
  Kalle
 
  On 11/2/07, Dirk Olmes [EMAIL PROTECTED] wrote:
  
   Dan Tran wrote:
not even a quick test? :-)
  
   I did a quick test, too and can confirm that it works nicely. Can we
   PLSE make beta-1 release soon?
  
   Thanks,
  
   -dirk
  
On 11/2/07, Kalle Korhonen [EMAIL PROTECTED] wrote:
I cannot and will not use snapshots for my project. Good thing the
   latest
0.96 was captured in my proxy, but at the moment there doesn't seem
 to
   be a
public repository that has this plugin. If that doesn't change, I
 need
   to
change my proxy configurations and deploy the plugin into our
 internal
repository.
   
Kalle
   
   
On 11/2/07, Dan Tran [EMAIL PROTECTED] wrote:
I will cut a release if I see more happy users which use the
 current
SNAPSHOT.
   
-D
   
On 11/2/07, Damien Lecan [EMAIL PROTECTED] wrote:
2007/11/1, Julian Wood [EMAIL PROTECTED]:
Yes, the plugin has been moved:
   
http://mojo.codehaus.org/buildnumber-maven-plugin/
Will it be released soon ?
   
Thanks
   
Damien
  
   -
   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]




-- 

Thanks,
Mick Knutson

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


Embedding DTD entities in POM files

2007-11-02 Thread Mowreed

Hello,

I am trying to embed DTD Entities in the POM files. Is this supported? If
not, is there a plan to support this in 2.1 or future release?

Here is my simple example-

--- POM.XML ---
?xml version=1.0?

!DOCTYPE project [
  !ENTITY SheBang SYSTEM 'file:MYDTD.XML'
]

project xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd;
  modelVersion4.0.0/modelVersion
  groupIdcom.mycompany.app/groupId
  artifactIdmy-app/artifactId
  packagingjar/packaging
  version1.0-SNAPSHOT/version
  SheBang;
/project
--- END (POM.XML) ---

--- MYDTD.XML ---
  namemy-app/name
  urlhttp://maven.apache.org/url
  dependencies
dependency
  groupIdjunit/groupId
  artifactIdjunit/artifactId
  version3.8.1/version
  scopetest/scope
/dependency
  /dependencies
--- END (MYDTD.XML) ---



When I run mvn clean install, I get exception-

--- SNIP ---
[INFO] Scanning for projects...
[INFO]

[ERROR] FATAL ERROR
[INFO]

[INFO] Error building POM (may not be this project's POM).


Project ID: unknown
POM Location: C:\Temp\wkspace\test\my-app\pom.xml

Reason: Parse error reading POM. Reason: could not resolve entity named
'SheBang' (position: END_TAG seen .../version\r\n  SheBang;... @14:12) 
for project unknown at C:\Temp\wkspace\test\my-app\pom.xml


[INFO]

[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Parse error reading POM.
Reason: could not resolve entity named 'SheBang' (position: END_TAG seen
.../version\r\n  SheBang;... @14:12)  for project unknown at
C:\Temp\wkspace\test\my-app\pom.xml
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:290)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
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:597)
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)
Caused by: org.apache.maven.project.InvalidProjectModelException: Parse
error reading POM. Reason: could not resolve entity named 'SheBang'
(position: END_TAG seen .../version\r\n  SheBang;... @14:12)  for project
unknown at C:\Temp\wkspace\test\my-app\pom.xml
at
org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1422)
at
org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1379)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:477)
at
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)
at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:553)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:467)
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:364)
... 11 more
Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException: could
not resolve entity named 'SheBang' (position: END_TAG seen .../version\r\n 
SheBang;... @14:12) 
at 
org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1279)
at org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1090)
at
org.apache.maven.model.io.xpp3.MavenXpp3Reader.parseModel(MavenXpp3Reader.java:2394)
at
org.apache.maven.model.io.xpp3.MavenXpp3Reader.read(MavenXpp3Reader.java:4422)
at
org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1418)
... 17 more
[INFO]

[INFO] Total time:  1 second
[INFO] Finished at: Fri Nov 02 19:50:49 PDT 2007
[INFO] Final Memory: 1M/4M
[INFO]

--- SNIP ---
-- 
View this message in context: 
http://www.nabble.com/Embedding-DTD-entities-in-POM-files-tf4741736s177.html#a13559471
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Re: Embedding DTD entities in POM files

2007-11-02 Thread Wayne Fay
No, this is not currently supported, nor is support likely in the future.

But there have been discussions on dev@ about adding pom mixins
which would give you more or less the same functionality. Search the
archives for mixin -- you're bound to find it.

Wayne

On 11/2/07, Mowreed [EMAIL PROTECTED] wrote:

 Hello,

 I am trying to embed DTD Entities in the POM files. Is this supported? If
 not, is there a plan to support this in 2.1 or future release?

 Here is my simple example-

 --- POM.XML ---
 ?xml version=1.0?

 !DOCTYPE project [
  !ENTITY SheBang SYSTEM 'file:MYDTD.XML'
 ]

 project xmlns=http://maven.apache.org/POM/4.0.0;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
 http://maven.apache.org/maven-v4_0_0.xsd;
  modelVersion4.0.0/modelVersion
  groupIdcom.mycompany.app/groupId
  artifactIdmy-app/artifactId
  packagingjar/packaging
  version1.0-SNAPSHOT/version
  SheBang;
 /project
 --- END (POM.XML) ---

 --- MYDTD.XML ---
  namemy-app/name
  urlhttp://maven.apache.org/url
  dependencies
dependency
  groupIdjunit/groupId
  artifactIdjunit/artifactId
  version3.8.1/version
  scopetest/scope
/dependency
  /dependencies
 --- END (MYDTD.XML) ---



 When I run mvn clean install, I get exception-

 --- SNIP ---
 [INFO] Scanning for projects...
 [INFO]
 
 [ERROR] FATAL ERROR
 [INFO]
 
 [INFO] Error building POM (may not be this project's POM).


 Project ID: unknown
 POM Location: C:\Temp\wkspace\test\my-app\pom.xml

 Reason: Parse error reading POM. Reason: could not resolve entity named
 'SheBang' (position: END_TAG seen .../version\r\n  SheBang;... @14:12)
 for project unknown at C:\Temp\wkspace\test\my-app\pom.xml


 [INFO]
 
 [INFO] Trace
 org.apache.maven.reactor.MavenExecutionException: Parse error reading POM.
 Reason: could not resolve entity named 'SheBang' (position: END_TAG seen
 .../version\r\n  SheBang;... @14:12)  for project unknown at
 C:\Temp\wkspace\test\my-app\pom.xml
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:290)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
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:597)
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)
 Caused by: org.apache.maven.project.InvalidProjectModelException: Parse
 error reading POM. Reason: could not resolve entity named 'SheBang'
 (position: END_TAG seen .../version\r\n  SheBang;... @14:12)  for project
 unknown at C:\Temp\wkspace\test\my-app\pom.xml
at
 org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1422)
at
 org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1379)
at
 org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:477)
at
 org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)
at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:553)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:467)
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:364)
... 11 more
 Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException: could
 not resolve entity named 'SheBang' (position: END_TAG seen .../version\r\n
 SheBang;... @14:12)
at 
 org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1279)
at org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1090)
at
 org.apache.maven.model.io.xpp3.MavenXpp3Reader.parseModel(MavenXpp3Reader.java:2394)
at
 org.apache.maven.model.io.xpp3.MavenXpp3Reader.read(MavenXpp3Reader.java:4422)
at
 org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1418)
... 17 more
 [INFO]
 
 [INFO] Total time:  1 second
 [INFO] Finished at: Fri Nov 02 19:50:49 PDT 2007
 [INFO] Final Memory: 1M/4M
 [INFO]
 

Using assembly to change file names

2007-11-02 Thread kalebral

Using maven 2.0.7 I'm trying to use an assembly to rename .js files based the
build number.  Below are snippets from my pom.xml and assembly.xml files

from my pom.xml file

  groupIdcom.trovix/groupId
artifactIdcp/artifactId
versionTRUNK-SNAPSHOT/version
packagingwar/packaging
name${project.artifactId}/name

properties
currentVersion900/currentVersion
/properties

My assembly looks like 

 files
file
sourcesrc/main/webapp/scripts/shared.js/source  
destNamesrc/main/webapp/scripts/shared-${project.properties.currentVersion}.js/destName
filteredtrue/filtered
/file
file
sourcesrc/main/webapp/scripts/global.js/source
   
destNamesrc/main/webapp/scripts/global-${project.version}.js/destName
filteredtrue/filtered
/file
 /files

It works for the second file when I used ${project.version}, but not for the
first when i tried using ${project.properties.currentVersion}, unzipping the
distribution file I see:


cp-TRUNK-SNAPSHOT/src/main/webapp/scripts/shared-${project.properties.currentVersion}.js
 cp-TRUNK-SNAPSHOT/src/main/webapp/scripts/global-TRUNK-SNAPSHOT.js

Any ideas on what I am doing wrong??

Thanks, Lee

-- 
View this message in context: 
http://www.nabble.com/Using-assembly-to-change-file-names-tf4741934s177.html#a13560102
Sent from the Maven - Users mailing list archive at Nabble.com.


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