Re: Extra resource directory for site
On 08/17/2015 04:31 PM, Francois Le Fevre wrote: Hello Hi Francois, No idéal Personnaly i use a maven plugin to copy générated ressources to this place where i add à svn git ignore tag. I thought of this, too. But I'd rather use this approach as a last resort. Could you give the reference of the plugin you use? With the configuration ? I assume you mean the Eclipse plugin? That'd be the ObjectAid UML plugin (http://objectaid.com/) -dirk - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
RE: Jetspeed 2.3
Tried by giving mvn plugin-groupId:plugin-artifactId[:plugin-version]:plugin-goal i.e., mvn org.apache.portals.jetspeed-2:jetspeed-db-maven-plugin:2.3.0:db.fusion.create Then getting error as [INFO] [ERROR] Could not find goal 'db.fusion.create' in plugin org.apache.portals.jetspeed-2:jetspeed-db-maven-plugin:2.3.0 among available goals ddl, init - [Help 1 ] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoNotFoundException Please let me know if there is any resolution Regards, Lalitha -Original Message- From: Robert Patrick Sent: Friday, August 14, 2015 8:11 PM To: Lalitha Bourishetty Cc: users@maven.apache.org; Robert Patrick Subject: Re: Jetspeed 2.3 Moving the developers list to BCC... To invoke Maven as you discovered, you run: mvn lifecycle-phase Or: mvn plugin-goal The second error is because you are trying to invoke a plugin goal directly but Maven cannot locate the plugin based on your name. The way to invoke plugin goals is: mvn plugin-groupId:plugin-artifactId[:plugin-version]:plugin-goal If the plugin has a register short name, then you can use the short name in place of the groupId:artifactId portion of the plugin goal specification. The third error is due to you specifying an unrecognized build lifecycle phase. You can find a list of the Jetspeed plugins at: http://mvnrepository.com/artifact/org.apache.portals.jetspeed-2 Robert Patrick robert.patr...@oracle.com VP, Development, Oracle Corporation Mobile: +1.469.556.9450 Sent from my iDevice On Aug 14, 2015, at 7:11 AM, Lalitha Bourishetty lalitha.bourishe...@oracle.com wrote: Hi Team, Got source code for Jetspeed 2.3 and built it. We tried deploying jetspeed2.3.war file. Then we are facing error as org.apache.ojb.broker.accesslayer.JdbcAccessImpl] ERROR: SQLException during the execution of the query (for org.apache.jetspeed.capabilities.impl.ClientImpl): ORA-00942: table or view does not exist ORA-00942: table or view does not exist java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:450) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:399) at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:1059) at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:522) at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:257) at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:587) at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:225) at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:53) at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:774) at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:925) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:) at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:4798) at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:4845) at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1501) at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:141) at org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeQuery(JdbcAccessImpl.java:312) at org.apache.ojb.broker.accesslayer.RsQueryObject.performQuery(RsQueryObject.java:74) at org.apache.ojb.broker.accesslayer.RsIterator.init(RsIterator.java:185) at org.apache.ojb.broker.core.RsIteratorFactoryImpl.createRsIterator(RsIteratorFactoryImpl.java:58) at org.apache.ojb.broker.core.PersistenceBrokerImpl.getRsIteratorFromQuery(PersistenceBrokerImpl.java:1918) at org.apache.ojb.broker.core.PersistenceBrokerImpl.getIteratorFromQuery(PersistenceBrokerImpl.java:1493) at org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(QueryReferenceBroker.java:112) at org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(QueryReferenceBroker.java:251) at org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(QueryReferenceBroker.java:271) at org.apache.ojb.broker.core.PersistenceBrokerImpl.getCollectionByQuery(PersistenceBrokerImpl.java:1367) at org.apache.ojb.broker.core.DelegatingPersistenceBroker.getCollectionByQuery(DelegatingPersistenceBroker.java:338) at
Re: Archetype - filter out archetype plugin
I’m not using packaging “maven-archetype”. It doesn’t seem to work with multi-module projects. I’m merely adding the archetype plugin to my example project and building the archetype on package phase. -Jordan On August 17, 2015 at 12:45:39 AM, Hervé BOUTEMY (herve.bout...@free.fr) wrote: Hi, This is unusual: how do you build it once as a project and once as an archetype? Because, in general, the build as archetype is done by definig maven- archetype packaging [1], which makes the project unusable as direct project Regards, Hervé [1] http://maven.apache.org/archetype/archetype-packaging/ Le dimanche 16 août 2015 18:38:21 Jordan Zimmerman a écrit : Hi, I have an example project that also serves as source for an archetype. So, the pom has: build plugins plugin artifactIdmaven-archetype-plugin/artifactId …. /plugin /plugins /build Of course, this means that the resulting archetype has this in its POM. Is there any way to filter this out? Is there another plugin I can use in conjunction with the archetype plugin? Or maybe this would make for a good addition to the archetype plugin itself. Thoughts? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Archetype - filter out archetype plugin
On Mon, Aug 17, 2015 at 2:15 PM Jordan Zimmerman jor...@jordanzimmerman.com wrote: I’m not using packaging “maven-archetype”. It doesn’t seem to work with multi-module projects. Works pretty-well for me: https://github.com/tbroyer/gwt-maven-archetypes/
Extra resource directory for site
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Is it possible to specify a resources directory for the site in addition to src/site/resources? I did not find anything in the docs of the site plugin. I'm using an Eclipse plugin which generates UML Diagrams from the source and keeps them up to date even when refactoring the code. This plugin automatically exports the diagram to an image when it changes. I'd rather not add src/site/resources as a resource to my main build. - -dirk -BEGIN PGP SIGNATURE- Version: GnuPG v2 iEYEARECAAYFAlXRqTQACgkQASL+9Yb0srfFHQCgqNMc7mD1p56yVxXrFOfXGTdC YAUAn2VwKy/WoUP+R8da1PZlTyfYGS7O =jTy0 -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Bug with Maven 3.2.5 and threaded builds and dependencies? Corrupt maven cache.
We have a lot of third-party jars (less than 100 probably) and did a bit of work to make this work better for building, for managing version conflicts and making life easier for developers. http://blog.artifact-software.com/tech/?p=121 Ron On 17/08/2015 3:28 PM, Kevin Burton wrote: Hey guys. I think there’s a bug with Maven 3.2.5 and threaded builds and dependencies. We have a LOT of dependencies. I think 400 or so external .jars (not sure if we’re an unusual case or not). Anyway. If we have an empty cache, and do a threaded build, what happens is there’s a race around downloading a dependency. Thread A will try to download foo.jar and so will thread B… There’s no mutual exclusion locking present This means we see the following issue: - zero byte .jars with no data (not sure how that ones possible but we see it). - file not found when trying to copy the .part to the final .jar because another thread has done so already. I haven’t tested 3.3.3 because we’re in a CI environment and I can’t upgrade maven easily. This will be hard to write a test for I think. -- Ron Wheeler President Artifact Software Inc email: rwhee...@artifact-software.com skype: ronaldmwheeler phone: 866-970-2435, ext 102 - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Archetype - filter out archetype plugin
I want the whole project as an archetype - from the parent down. You can’t make the parent pom’s packaging maven-archetype. Right? -Jordan On August 17, 2015 at 7:24:54 AM, Thomas Broyer (t.bro...@gmail.com) wrote: On Mon, Aug 17, 2015 at 2:15 PM Jordan Zimmerman jor...@jordanzimmerman.com wrote: I’m not using packaging “maven-archetype”. It doesn’t seem to work with multi-module projects. Works pretty-well for me: https://github.com/tbroyer/gwt-maven-archetypes/
Re: Archetype - filter out archetype plugin
I see - these are already generated archetypes. Let me be more clear: I have an example project that has the archetype plugin set to “create-from-project” and then install the archetype. plugin artifactIdmaven-archetype-plugin/artifactId version2.4/version executions execution iddeploy/id phasedeploy/phase goals goalcreate-from-project/goal /goals configuration archetypePostPhasedeploy/archetypePostPhase /configuration /execution execution idpackage/id phasepackage/phase goals goalcreate-from-project/goal /goals configuration archetypePostPhaseinstall/archetypePostPhase /configuration /execution /executions configuration propertyFile${project.basedir}/archetype.properties/propertyFile /configuration /plugin On August 17, 2015 at 7:33:21 AM, Thomas Broyer (t.bro...@gmail.com) wrote: On Mon, Aug 17, 2015 at 2:27 PM Jordan Zimmerman jor...@jordanzimmerman.com wrote: I want the whole project as an archetype - from the parent down. You can’t make the parent pom’s packaging maven-archetype. Right? Each module of gwt-maven-archetypes is an archetype *for a multimodule project*. (sources for each is in src/main/resources/archetype-resources though; so the projects cannot be used as examples at the same time) On August 17, 2015 at 7:24:54 AM, Thomas Broyer (t.bro...@gmail.com) wrote: On Mon, Aug 17, 2015 at 2:15 PM Jordan Zimmerman jor...@jordanzimmerman.com wrote: I’m not using packaging “maven-archetype”. It doesn’t seem to work with multi-module projects. Works pretty-well for me: https://github.com/tbroyer/gwt-maven-archetypes/
Re: Extra resource directory for site
Hello No idéal Personnaly i use a maven plugin to copy générated ressources to this place where i add à svn git ignore tag. Could you give the reference of the plugin you use? With the configuration ? Thanks Le 17 août 2015 11:30, Dirk Olmes d...@xanthippe.ping.de a écrit : -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Is it possible to specify a resources directory for the site in addition to src/site/resources? I did not find anything in the docs of the site plugin. I'm using an Eclipse plugin which generates UML Diagrams from the source and keeps them up to date even when refactoring the code. This plugin automatically exports the diagram to an image when it changes. I'd rather not add src/site/resources as a resource to my main build. - -dirk -BEGIN PGP SIGNATURE- Version: GnuPG v2 iEYEARECAAYFAlXRqTQACgkQASL+9Yb0srfFHQCgqNMc7mD1p56yVxXrFOfXGTdC YAUAn2VwKy/WoUP+R8da1PZlTyfYGS7O =jTy0 -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Extra resource directory for site
Dirk Olmes wrote: Hi, Is it possible to specify a resources directory for the site in addition to src/site/resources? I did not find anything in the docs of the site plugin. It used also the (documented) directory of parameter generatedSiteDirectory, i.e. target/generated-site by default. I'm using an Eclipse plugin which generates UML Diagrams from the source and keeps them up to date even when refactoring the code. This plugin automatically exports the diagram to an image when it changes. I'd rather not add src/site/resources as a resource to my main build. The question is then, how do you get the file for a normal Maven build. Cheers, Jörg - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Archetype - filter out archetype plugin
On Mon, Aug 17, 2015 at 2:27 PM Jordan Zimmerman jor...@jordanzimmerman.com wrote: I want the whole project as an archetype - from the parent down. You can’t make the parent pom’s packaging maven-archetype. Right? Each module of gwt-maven-archetypes is an archetype *for a multimodule project*. (sources for each is in src/main/resources/archetype-resources though; so the projects cannot be used as examples at the same time) On August 17, 2015 at 7:24:54 AM, Thomas Broyer (t.bro...@gmail.com) wrote: On Mon, Aug 17, 2015 at 2:15 PM Jordan Zimmerman jor...@jordanzimmerman.com wrote: I’m not using packaging “maven-archetype”. It doesn’t seem to work with multi-module projects. Works pretty-well for me: https://github.com/tbroyer/gwt-maven-archetypes/
RE: Specified destination directory cannot be created
Thanks Robert. Using Maven 3.1.1 (required by COTS product vendor); can you define ancient :-)? I suspect it is not permission related, because the build created other directories\sub-directories located here (which is the same reason I concluded it is neither spaces in a directory name nor directory name length as I mentioned in a previous post). I think it might be time to see what the vendor of the software I'm trying to build has to say!!! But if anyone else has any other ideas, I'm open to hearing them. Mike Michael Tarullo Contractor (Engility Corp) Enterprise Architect NSRR System Administrator FAA WJH Technical Center (609)485-5294 -Original Message- From: Robert Scholte [mailto:rfscho...@apache.org] Sent: Friday, August 14, 2015 5:23 PM To: Maven Users List Subject: Re: Specified destination directory cannot be created Hi, I found https://issues.apache.org/jira/browse/WAGON-64 but that is rather old, I hope you're not using an ancient version of Maven. Other reason could be permission related, although that's weird if it was your user.home, unless Maven is running as a different user. Can you create these folders by hand? thanks, Robert Op Fri, 14 Aug 2015 23:14:30 +0200 schreef michael.ctr.taru...@faa.gov: Mirko, I gave your recommendation a try, since I was considering it myself. Unfortunately the outcome was the same: Failed to execute goal org.apache.karaf.tooling:features-maven-plugin:2.4.0.redhat-620133:add -features-to-repo (add-features-to-repo) on project jboss-a-mq: Can't resolve bundle org.apache.karaf.management.mbeans:org.apache.karaf.management.mbeans.scr:jar:2.4.0.redhat-620133: Could not transfer artifact org.apache.karaf.management.mbeans:org.apache.karaf.management.mbeans. scr:jar:2.4.0.redhat-620133 from/to jboss.fs.public (http://repository.jboss.org/nexus/content/repositories/fs-public/): Specified destination directory cannot be created: C:\tmp\repo\org\apache\karaf\management\mbeans\org.apache.karaf.manage ment.mbeans.scr\2.4.0.redhat-620133 So it appears that this is related to neither spaces in a folder name (parent or otherwise) nor the length of the directory!!! Is it possible this error is misleading and has nothing to do with creating the director but rather it has something to do with the other error messages provided? Mike Michael Tarullo Contractor (Engility Corp) Enterprise Architect NSRR System Administrator FAA WJH Technical Center (609)485-5294 -Original Message- From: Tarullo, Michael CTR (FAA) Sent: Friday, August 14, 2015 4:15 PM To: users@maven.apache.org Subject: RE: Specified destination directory cannot be created Mirko, Thanks for the reply. I thought about both of those myself. I did not explore those possibilities because other directories of equal length were created and parent directories to these contained spaces, e.g.: C:\Users\Michael CTR Tarullo.FAA\.m2\repo\org\apache\karaf\management\mbeans\org.apache.kar af.management.mbeans.obr\2.4.0.redhat-620133 Mike Michael Tarullo Contractor (Engility Corp) Enterprise Architect NSRR System Administrator FAA WJH Technical Center (609)485-5294 -Original Message- From: Mirko Friedenhagen [mailto:mfriedenha...@gmail.com] Sent: Friday, August 14, 2015 4:04 PM To: Maven Users List Subject: Re: Specified destination directory cannot be created Hello Michael, just guessing: - sometimes spaces in the path may lead to problems. - sometimes Windows encounters a problem when a path is too long. Could you try setting setting localRepository as outlined in http://maven.apache.org/settings.html to c:/tmp/m2. Regards Mirko -- Sent from my mobile Am 14.08.2015 21:07 schrieb michael.ctr.taru...@faa.gov: Can anyone tell me why I'm getting the following error? Failed to execute goal org.apache.karaf.tooling:features-maven-plugin:2.4.0.redhat-620133:ad d -features-to-repo (add-features-to-repo) on project jboss-a-mq: Can't resolve bundle org.apache.karaf.management.mbeans:org.apache.karaf.management.mbeans.scr:jar:2.4.0.redhat-620133: Could not transfer artifact org.apache.karaf.management.mbeans:org.apache.karaf.management.mbeans. scr:jar:2.4.0.redhat-620133 from/to jboss.fs.public ( http://repository.jboss.org/nexus/content/repositories/fs-public/): Specified destination directory cannot be created: C:\Users\Michael CTR Tarullo.FAA\.m2\repo\org\apache\karaf\management\mbeans\org.apache.ka r af.management.mbeans.scr\2.4.0.redhat-620133 Mike %03B CB %1B %1D[ X ܚX K%08%19K[XZ[ %1D\ \ ][ X ܚX P%1BX] [ \%18X %19K ܙ B ܈%18Y%19%1A]%1A[ۘ[%08%18 [X[ %1C %08%19K[XZ[ %1D\ \ Z%19[%1C%10%1BX] [ \%18X %19K ܙ B - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail:
Re: Jetspeed 2.3
Stop fighting with Maven. Read the Jetspeed documentation: http://portals.apache.org/jetspeed-2/tutorial/index.html Wayne On Mon, Aug 17, 2015 at 7:21 AM, Lalitha Bourishetty lalitha.bourishe...@oracle.com wrote: Tried by giving mvn plugin-groupId:plugin-artifactId[:plugin-version]:plugin-goal i.e., mvn org.apache.portals.jetspeed-2:jetspeed-db-maven-plugin:2.3.0:db.fusion.create Then getting error as [INFO] [ERROR] Could not find goal 'db.fusion.create' in plugin org.apache.portals.jetspeed-2:jetspeed-db-maven-plugin:2.3.0 among available goals ddl, init - [Help 1 ] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoNotFoundException Please let me know if there is any resolution Regards, Lalitha -Original Message- From: Robert Patrick Sent: Friday, August 14, 2015 8:11 PM To: Lalitha Bourishetty Cc: users@maven.apache.org; Robert Patrick Subject: Re: Jetspeed 2.3 Moving the developers list to BCC... To invoke Maven as you discovered, you run: mvn lifecycle-phase Or: mvn plugin-goal The second error is because you are trying to invoke a plugin goal directly but Maven cannot locate the plugin based on your name. The way to invoke plugin goals is: mvn plugin-groupId:plugin-artifactId[:plugin-version]:plugin-goal If the plugin has a register short name, then you can use the short name in place of the groupId:artifactId portion of the plugin goal specification. The third error is due to you specifying an unrecognized build lifecycle phase. You can find a list of the Jetspeed plugins at: http://mvnrepository.com/artifact/org.apache.portals.jetspeed-2 Robert Patrick robert.patr...@oracle.com VP, Development, Oracle Corporation Mobile: +1.469.556.9450 Sent from my iDevice On Aug 14, 2015, at 7:11 AM, Lalitha Bourishetty lalitha.bourishe...@oracle.com wrote: Hi Team, Got source code for Jetspeed 2.3 and built it. We tried deploying jetspeed2.3.war file. Then we are facing error as org.apache.ojb.broker.accesslayer.JdbcAccessImpl] ERROR: SQLException during the execution of the query (for org.apache.jetspeed.capabilities.impl.ClientImpl): ORA-00942: table or view does not exist ORA-00942: table or view does not exist java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:450) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:399) at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:1059) at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:522) at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:257) at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:587) at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:225) at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:53) at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:774) at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:925) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:) at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:4798) at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:4845) at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1501) at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:141) at org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeQuery(JdbcAccessImpl.java:312) at org.apache.ojb.broker.accesslayer.RsQueryObject.performQuery(RsQueryObject.java:74) at org.apache.ojb.broker.accesslayer.RsIterator.init(RsIterator.java:185) at org.apache.ojb.broker.core.RsIteratorFactoryImpl.createRsIterator(RsIteratorFactoryImpl.java:58) at org.apache.ojb.broker.core.PersistenceBrokerImpl.getRsIteratorFromQuery(PersistenceBrokerImpl.java:1918) at org.apache.ojb.broker.core.PersistenceBrokerImpl.getIteratorFromQuery(PersistenceBrokerImpl.java:1493) at org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(QueryReferenceBroker.java:112) at org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(QueryReferenceBroker.java:251) at org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(QueryReferenceBroker.java:271) at
Re: Specified destination directory cannot be created
One last thing - since we are talking about Windows, make sure that you try a reboot before giving up entirely. That solves a disturbingly high number of issues... Not trying to chase you off the list, I just see a lot of people using free User Support to solve problems when their organization is already paying (usually, a lot of money) for specialized, product-specific support from their vendors. Make 'em work for it! Or, decide to drop the support save money. Wayne On Mon, Aug 17, 2015 at 11:19 AM, michael.ctr.taru...@faa.gov wrote: I don't believe the latter is the case, but then again they do require v3.1.1, so one never knows! This seemed like a good problem to post here, even taking into account that I considered many of the obvious reasons, as presented here. I thought it might be something simple but not related to the most obvious reasons. Looks like that is not the case. Thanks everyone for your suggestions. Mike Michael Tarullo Contractor (Engility Corp) Enterprise Architect NSRR System Administrator FAA WJH Technical Center (609)485-5294 -Original Message- From: Wayne Fay [mailto:wayne...@gmail.com] Sent: Monday, August 17, 2015 12:13 PM To: Maven Users List Subject: Re: Specified destination directory cannot be created On Mon, Aug 17, 2015 at 9:43 AM, michael.ctr.taru...@faa.gov wrote: ... I think it might be time to see what the vendor of the software I'm trying to build has to say!!! In these cases, it is nearly always a good idea to talk to the vendor and use the support you are already paying for rather than simply depending on the Maven Users list for support. For all we know, the vendor may have their own modifications to Maven which are not public that affect the build. It would be very difficult for us to support that kind of scenario. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Extra resource directory for site
I've used the Codehaus Build Helper Maven Plugin in the past: http://www.mojohaus.org/build-helper-maven-plugin/usage.html HTH, Elliot On Mon, Aug 17, 2015 at 5:28 AM, Dirk Olmes d...@xanthippe.ping.de wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Is it possible to specify a resources directory for the site in addition to src/site/resources? I did not find anything in the docs of the site plugin. I'm using an Eclipse plugin which generates UML Diagrams from the source and keeps them up to date even when refactoring the code. This plugin automatically exports the diagram to an image when it changes. I'd rather not add src/site/resources as a resource to my main build. - -dirk -BEGIN PGP SIGNATURE- Version: GnuPG v2 iEYEARECAAYFAlXRqTQACgkQASL+9Yb0srfFHQCgqNMc7mD1p56yVxXrFOfXGTdC YAUAn2VwKy/WoUP+R8da1PZlTyfYGS7O =jTy0 -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
RE: Specified destination directory cannot be created
Good one Jorg. I'll check that out. Mike Michael Tarullo Contractor (Engility Corp) Enterprise Architect NSRR System Administrator FAA WJH Technical Center (609)485-5294 -Original Message- From: Jörg Schaible [mailto:joerg.schai...@swisspost.com] Sent: Monday, August 17, 2015 10:59 AM To: users@maven.apache.org Subject: RE: Specified destination directory cannot be created Hi Michael, michael.ctr.taru...@faa.gov wrote: Thanks Robert. Using Maven 3.1.1 (required by COTS product vendor); can you define ancient :-)? I suspect it is not permission related, because the build created other directories\sub-directories located here (which is the same reason I concluded it is neither spaces in a directory name nor directory name length as I mentioned in a previous post). I think it might be time to see what the vendor of the software I'm trying to build has to say!!! But if anyone else has any other ideas, I'm open to hearing them. Weird idea: Virus Scanner? .scr is normally reserved for screen savers. Do you have other .src artifacts in your repo? Have you checked the Windows events? Cheers, Jörg - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
RE: Specified destination directory cannot be created
I don't believe the latter is the case, but then again they do require v3.1.1, so one never knows! This seemed like a good problem to post here, even taking into account that I considered many of the obvious reasons, as presented here. I thought it might be something simple but not related to the most obvious reasons. Looks like that is not the case. Thanks everyone for your suggestions. Mike Michael Tarullo Contractor (Engility Corp) Enterprise Architect NSRR System Administrator FAA WJH Technical Center (609)485-5294 -Original Message- From: Wayne Fay [mailto:wayne...@gmail.com] Sent: Monday, August 17, 2015 12:13 PM To: Maven Users List Subject: Re: Specified destination directory cannot be created On Mon, Aug 17, 2015 at 9:43 AM, michael.ctr.taru...@faa.gov wrote: ... I think it might be time to see what the vendor of the software I'm trying to build has to say!!! In these cases, it is nearly always a good idea to talk to the vendor and use the support you are already paying for rather than simply depending on the Maven Users list for support. For all we know, the vendor may have their own modifications to Maven which are not public that affect the build. It would be very difficult for us to support that kind of scenario. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
RE: Specified destination directory cannot be created
Hi Michael, michael.ctr.taru...@faa.gov wrote: Thanks Robert. Using Maven 3.1.1 (required by COTS product vendor); can you define ancient :-)? I suspect it is not permission related, because the build created other directories\sub-directories located here (which is the same reason I concluded it is neither spaces in a directory name nor directory name length as I mentioned in a previous post). I think it might be time to see what the vendor of the software I'm trying to build has to say!!! But if anyone else has any other ideas, I'm open to hearing them. Weird idea: Virus Scanner? .scr is normally reserved for screen savers. Do you have other .src artifacts in your repo? Have you checked the Windows events? Cheers, Jörg - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
RE: Specified destination directory cannot be created
If you view Security for folder and you see only Group/UserName Category of 'Administrators' and your username does NOT belong to Administrators Group then there is no ability for you to have access until your username joins that specific category. It is important to eliminate permissions as the problem/ IF you are STILL calling no joy Reboot F5 SafeMode(Load kernel without daemons) Check if you have access to the folder (without interference of daemons and services) Martin __ To: users@maven.apache.org From: joerg.schai...@swisspost.com Subject: RE: Specified destination directory cannot be created Date: Mon, 17 Aug 2015 16:58:54 +0200 Hi Michael, michael.ctr.taru...@faa.gov wrote: Thanks Robert. Using Maven 3.1.1 (required by COTS product vendor); can you define ancient :-)? I suspect it is not permission related, because the build created other directories\sub-directories located here (which is the same reason I concluded it is neither spaces in a directory name nor directory name length as I mentioned in a previous post). I think it might be time to see what the vendor of the software I'm trying to build has to say!!! But if anyone else has any other ideas, I'm open to hearing them. Weird idea: Virus Scanner? .scr is normally reserved for screen savers. Do you have other .src artifacts in your repo? Have you checked the Windows events? Cheers, Jörg - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Specified destination directory cannot be created
You might try the current version of Maven and see if it fixes the problem. That might narrow down the possible causes. If it works, you might keep going back in versions until it breaks and then look at bug fixes in the first one that works and workarounds for that bug in older versions. If it does not work with the current version, at least you know it is not a known bug in Maven (unless it is already reported but not fixed). It is pretty easy to run multiple Maven versions with a little care. Ron On 17/08/2015 10:43 AM, michael.ctr.taru...@faa.gov wrote: Thanks Robert. Using Maven 3.1.1 (required by COTS product vendor); can you define ancient :-)? I suspect it is not permission related, because the build created other directories\sub-directories located here (which is the same reason I concluded it is neither spaces in a directory name nor directory name length as I mentioned in a previous post). I think it might be time to see what the vendor of the software I'm trying to build has to say!!! But if anyone else has any other ideas, I'm open to hearing them. Mike Michael Tarullo Contractor (Engility Corp) Enterprise Architect NSRR System Administrator FAA WJH Technical Center (609)485-5294 -Original Message- From: Robert Scholte [mailto:rfscho...@apache.org] Sent: Friday, August 14, 2015 5:23 PM To: Maven Users List Subject: Re: Specified destination directory cannot be created Hi, I found https://issues.apache.org/jira/browse/WAGON-64 but that is rather old, I hope you're not using an ancient version of Maven. Other reason could be permission related, although that's weird if it was your user.home, unless Maven is running as a different user. Can you create these folders by hand? thanks, Robert Op Fri, 14 Aug 2015 23:14:30 +0200 schreef michael.ctr.taru...@faa.gov: Mirko, I gave your recommendation a try, since I was considering it myself. Unfortunately the outcome was the same: Failed to execute goal org.apache.karaf.tooling:features-maven-plugin:2.4.0.redhat-620133:add -features-to-repo (add-features-to-repo) on project jboss-a-mq: Can't resolve bundle org.apache.karaf.management.mbeans:org.apache.karaf.management.mbeans.scr:jar:2.4.0.redhat-620133: Could not transfer artifact org.apache.karaf.management.mbeans:org.apache.karaf.management.mbeans. scr:jar:2.4.0.redhat-620133 from/to jboss.fs.public (http://repository.jboss.org/nexus/content/repositories/fs-public/): Specified destination directory cannot be created: C:\tmp\repo\org\apache\karaf\management\mbeans\org.apache.karaf.manage ment.mbeans.scr\2.4.0.redhat-620133 So it appears that this is related to neither spaces in a folder name (parent or otherwise) nor the length of the directory!!! Is it possible this error is misleading and has nothing to do with creating the director but rather it has something to do with the other error messages provided? Mike Michael Tarullo Contractor (Engility Corp) Enterprise Architect NSRR System Administrator FAA WJH Technical Center (609)485-5294 -Original Message- From: Tarullo, Michael CTR (FAA) Sent: Friday, August 14, 2015 4:15 PM To: users@maven.apache.org Subject: RE: Specified destination directory cannot be created Mirko, Thanks for the reply. I thought about both of those myself. I did not explore those possibilities because other directories of equal length were created and parent directories to these contained spaces, e.g.: C:\Users\Michael CTR Tarullo.FAA\.m2\repo\org\apache\karaf\management\mbeans\org.apache.kar af.management.mbeans.obr\2.4.0.redhat-620133 Mike Michael Tarullo Contractor (Engility Corp) Enterprise Architect NSRR System Administrator FAA WJH Technical Center (609)485-5294 -Original Message- From: Mirko Friedenhagen [mailto:mfriedenha...@gmail.com] Sent: Friday, August 14, 2015 4:04 PM To: Maven Users List Subject: Re: Specified destination directory cannot be created Hello Michael, just guessing: - sometimes spaces in the path may lead to problems. - sometimes Windows encounters a problem when a path is too long. Could you try setting setting localRepository as outlined in http://maven.apache.org/settings.html to c:/tmp/m2. Regards Mirko -- Sent from my mobile Am 14.08.2015 21:07 schrieb michael.ctr.taru...@faa.gov: Can anyone tell me why I'm getting the following error? Failed to execute goal org.apache.karaf.tooling:features-maven-plugin:2.4.0.redhat-620133:ad d -features-to-repo (add-features-to-repo) on project jboss-a-mq: Can't resolve bundle org.apache.karaf.management.mbeans:org.apache.karaf.management.mbeans.scr:jar:2.4.0.redhat-620133: Could not transfer artifact org.apache.karaf.management.mbeans:org.apache.karaf.management.mbeans. scr:jar:2.4.0.redhat-620133 from/to jboss.fs.public ( http://repository.jboss.org/nexus/content/repositories/fs-public/): Specified destination directory cannot be created: C:\Users\Michael CTR Tarullo.FAA\.m2\repo\org\apache\karaf\management\mbeans\org.apache.ka r
Re: Specified destination directory cannot be created
On Mon, Aug 17, 2015 at 9:43 AM, michael.ctr.taru...@faa.gov wrote: ... I think it might be time to see what the vendor of the software I'm trying to build has to say!!! In these cases, it is nearly always a good idea to talk to the vendor and use the support you are already paying for rather than simply depending on the Maven Users list for support. For all we know, the vendor may have their own modifications to Maven which are not public that affect the build. It would be very difficult for us to support that kind of scenario. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Bug with Maven 3.2.5 and threaded builds and dependencies? Corrupt maven cache.
Hey guys. I think there’s a bug with Maven 3.2.5 and threaded builds and dependencies. We have a LOT of dependencies. I think 400 or so external .jars (not sure if we’re an unusual case or not). Anyway. If we have an empty cache, and do a threaded build, what happens is there’s a race around downloading a dependency. Thread A will try to download foo.jar and so will thread B… There’s no mutual exclusion locking present This means we see the following issue: - zero byte .jars with no data (not sure how that ones possible but we see it). - file not found when trying to copy the .part to the final .jar because another thread has done so already. I haven’t tested 3.3.3 because we’re in a CI environment and I can’t upgrade maven easily. This will be hard to write a test for I think. -- Founder/CEO Spinn3r.com Location: *San Francisco, CA* blog: http://burtonator.wordpress.com … or check out my Google+ profile https://plus.google.com/102718274791889610666/posts
Re: Archetype - filter out archetype plugin
Hello, as far as I know there is no way to exclude the maven archetype plugin declaration from the resulting pom. The last release of the maven archetype added the possibility to filter out some folders or files you don't want to end up in the archetype (like .git or .svn folders, or .eclipse). However we don't have a way to filter out parts of the pom though. You can file a JIRA issue, but I don't think it's a top-priority issue - the resulting pom would still work as it's not breaking anything. -- Message transmit -- Sujet : Re: Archetype - filter out archetype plugin Date : lundi 17 août 2015, 07:45:34 De : Hervé BOUTEMY herve.bout...@free.fr À : Maven Users List users@maven.apache.org Hi, This is unusual: how do you build it once as a project and once as an archetype? Because, in general, the build as archetype is done by definig maven- archetype packaging [1], which makes the project unusable as direct project Regards, Hervé [1] http://maven.apache.org/archetype/archetype-packaging/ Le dimanche 16 août 2015 18:38:21 Jordan Zimmerman a écrit : Hi, I have an example project that also serves as source for an archetype. So, the pom has: build plugins plugin artifactIdmaven-archetype-plugin/artifactId …. /plugin /plugins /build Of course, this means that the resulting archetype has this in its POM. Is there any way to filter this out? Is there another plugin I can use in conjunction with the archetype plugin? Or maybe this would make for a good addition to the archetype plugin itself. Thoughts? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - -- Regards, Petar! Karlovo, Bulgaria. --- Public PGP Key at: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x19658550C3110611 Key Fingerprint: A369 A7EE 61BC 93A3 CDFF 55A5 1965 8550 C311 0611