Re: [VOTE] Release Maven Doxia Tools shared component version 1.4 (take 2)
+1 -Lukas Dennis Lundberg wrote: Hi, We solved 8 issues: http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11761version=16957styleName=Html There are 0 issues left in JIRA! http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truepid=11761status=1component=13263 Staging repo: https://repository.apache.org/content/repositories/maven-005/ Staging site: http://maven.apache.org/shared/maven-doxia-tools-1.4/ Guide to testing staged releases: http://maven.apache.org/guides/development/guide-testing-releases.html Vote open for 72 hours. [ ] +1 [ ] +0 [ ] -1 - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: [VOTE] Release Maven Javadoc Plugin version 2.8
+1 -Lukas Hervé BOUTEMY wrote: Hi, We solved 15 issues: http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11138version=16433 There are still a couple of issues left in JIRA: http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truepid=11138status=1 Staging repo: https://repository.apache.org/content/repositories/maven-009/ Staging site: http://maven.apache.org/plugins/maven-javadoc-plugin-2.8/ (sync pending) Guide to testing staged releases: http://maven.apache.org/guides/development/guide-testing-releases.html Vote open for 72 hours. [ ] +1 [ ] +0 [ ] -1 Hervé - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
parse nexus index from jboss
Hi Im trying to search a maven repository from a seassion bean deployed on jboss this code works on javaSE PlexusContainer plexus = new DefaultPlexusContainer(); NexusIndexer n = (NexusIndexer) plexus.lookup(NexusIndexer.class); IndexUpdater iu = (IndexUpdater) plexus.lookup(IndexUpdater.class); // DefaultNexusIndexer n = new DefaultNexusIndexer(); List indexCreators=new ArrayList(); // IndexingContext c = n.addIndexingContext(test, test,new File( /home/tomas/Desktop/test),new File( /home/tomas/Desktop/index), http://repository.jboss.org/;, null); Directory tempIndexDirectory = new RAMDirectory(); // IndexCreator min = new MinimalArtifactInfoIndexCreator(); // MavenPluginArtifactInfoIndexCreator mavenPlugin = new MavenPluginArtifactInfoIndexCreator(); // MavenArchetypeArtifactInfoIndexCreator mavenArchetype = new MavenArchetypeArtifactInfoIndexCreator(); // JarFileContentsIndexCreator jar = new JarFileContentsIndexCreator(); // IndexCreator min = plexus.lookup( IndexCreator.class, MinimalArtifactInfoIndexCreator.ID ); IndexCreator mavenPlugin = plexus.lookup( IndexCreator.class, MavenPluginArtifactInfoIndexCreator.ID ); IndexCreator mavenArchetype = plexus.lookup( IndexCreator.class, MavenArchetypeArtifactInfoIndexCreator.ID ); IndexCreator jar = plexus.lookup( IndexCreator.class, JarFileContentsIndexCreator.ID ); indexCreators.add(min); indexCreators.add(mavenPlugin); indexCreators.add(mavenArchetype); indexCreators.add(jar); IndexingContext c = n.addIndexingContext( temp, test, new File(/home/tomas/Desktop/mavenTest), tempIndexDirectory, http://repository.jboss.org/maven2/;, null, indexCreators ); IndexUpdateRequest ur=new IndexUpdateRequest(c); ur.setForceFullUpdate(true); iu.fetchAndUpdateIndex(ur); // for (String s : c.getAllGroups()) { // System.out.println(s); // } BooleanQuery q = new BooleanQuery(); q.add(n.constructQuery(ArtifactInfo.GROUP_ID, *), Occur.SHOULD); FlatSearchRequest request = new FlatSearchRequest(q); FlatSearchResponse response = n.searchFlat(request); for (ArtifactInfo a : response.getResults()) { String bUrl=url+a.groupId+/+a.artifactId+/+a.version+/; String fileName=a.artifactId+-+a.version; System.out.println(bUrl+fileName+.+a.packaging); } On jboss a get this exception : org.codehaus.plexus.component.repository.exception.ComponentLookupException: java.util.NoSuchElementException role: org.sonatype.nexus.index.NexusIndex As far as I know this has nothing to do with the build path because i can instantiate the DefaultNexusIndexer (which does not work because plexus hast to make his injections) It is probably something with plexus Please help -- View this message in context: http://maven.40175.n5.nabble.com/parse-nexus-index-from-jboss-tp4366529p4366529.html Sent from the Maven Developers mailing list archive at Nabble.com.
Re: Supporting securitySettings.xml from a custom mojo
Excellent! Only a slight difference to what I had originally when wildy guessing ( missing the role hinting ). Cheers, Mark -- Great artists are extremely selfish and arrogant things — Steven Wilson, Porcupine Tree On Wed, Apr 20, 2011 at 11:28 PM, Brett Porter br...@apache.org wrote: On 20/04/2011, at 7:52 PM, Benjamin Bentmann wrote: Mark Derricutt wrote: Does anyone have any pointers to what one needs to do to work with/support securitySettings.xml from within a custom mojo? The comments and links in http://jira.codehaus.org/browse/MNG-4384should provide some good pointers. I dropped an example in here, as I had been meaning to use this myself: http://svn.apache.org/repos/asf/maven/sandbox/trunk/examples/plugins/maven-security-mojo - Brett -- Brett Porter br...@apache.org http://brettporter.wordpress.com/ http://au.linkedin.com/in/brettporter - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: [VOTE] Release Maven Javadoc Plugin version 2.8
+1 2011/5/2 Hervé BOUTEMY herve.bout...@free.fr: Hi, We solved 15 issues: http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11138version=16433 There are still a couple of issues left in JIRA: http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truepid=11138status=1 Staging repo: https://repository.apache.org/content/repositories/maven-009/ Staging site: http://maven.apache.org/plugins/maven-javadoc-plugin-2.8/ (sync pending) Guide to testing staged releases: http://maven.apache.org/guides/development/guide-testing-releases.html Vote open for 72 hours. [ ] +1 [ ] +0 [ ] -1 Hervé - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org -- Olivier Lamy http://twitter.com/olamy http://www.linkedin.com/in/olamy - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Parent POM built first + assembly plugin
Hello Maven Developers, I assume you all are familiar with the Maven issue causing this symptom: http://jira.codehaus.org/browse/MASSEMBLY-94. That report, along with the assembly plugin FAQ, suggests an assembly-only child module. This works, but has a remaining problem of manipulating that child module's dependencies to get it to build last which requires developers to remember to update that child's dependencies whenever they add or remove modules. Is there any resolution in sight to this issue? I tried to search for a mailing list discussion, but couldn't find anything. Thanks in advance, David -- Wise men _still_ seek Him. - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: [VOTE] Release Maven Javadoc Plugin version 2.8
+1 Thanks Vincent 2011/5/1 Hervé BOUTEMY herve.bout...@free.fr: Hi, We solved 15 issues: http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11138version=16433 There are still a couple of issues left in JIRA: http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truepid=11138status=1 Staging repo: https://repository.apache.org/content/repositories/maven-009/ Staging site: http://maven.apache.org/plugins/maven-javadoc-plugin-2.8/ (sync pending) Guide to testing staged releases: http://maven.apache.org/guides/development/guide-testing-releases.html Vote open for 72 hours. [ ] +1 [ ] +0 [ ] -1 Hervé - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: Parent POM built first + assembly plugin
No, currently the dependency sorting approach is the only way. However, you can lessen some of the burden of maintaining those dependencies in the future if you use expressions for groupId and version in the dependency declarations (something like ${project.groupId} if the dep has the same groupId as the assembly, and ${project.version} if the dep has the same version...like, it shares the same release cycle). HTH, -john On 5/3/11 8:03 AM, David Tombs wrote: Hello Maven Developers, I assume you all are familiar with the Maven issue causing this symptom:http://jira.codehaus.org/browse/MASSEMBLY-94. That report, along with the assembly plugin FAQ, suggests an assembly-only child module. This works, but has a remaining problem of manipulating that child module's dependencies to get it to build last which requires developers to remember to update that child's dependencies whenever they add or remove modules. Is there any resolution in sight to this issue? I tried to search for a mailing list discussion, but couldn't find anything. Thanks in advance, David -- John Casey Developer, PMC Member - Apache Maven (http://maven.apache.org) Blog: http://www.johnofalltrades.name/ - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Does such a python library exist?
I do a fair bit of python tooling that invokes Java programs. Currently I bundle the Jars with the python code; yuck. What would be neat is to have a classpath automatically assembled by pointing to a Maven repository and passing it a list of coordinates that are needed. The Jars would be downloaded into a staging area and used to construct the classpath: Repository repo = MavenRepository(http://repo2.maven.org/maven2/;) repo.add(com.acme.foo, bar, 1.3.2) repo.add(com.zulu.car, cdr, 1.4.0) classpath = repo.generateClasspath() # spawn java subprocess repo.destroy() It would be cool if the transitive dependencies were computed and used as well. Is there anything like that out there? Does this even makes sense to do? Regards, Alan
User management for EC2
I have created a new user for EC2 for my guinea pig chuable ;) using Amazon IAM, a new tool that they created for user management and policies. So we can progressively roll out password sharing. There's a dev group where we can have all users created and they'll have read only permissions https://sites.google.com/a/maestrodev.com/internal-documentation/maestro-3-development/aws
Re: [VOTE] Release Maven Doxia Tools shared component version 1.4 (take 2)
+1 from me On 2011-04-30 23:24, Dennis Lundberg wrote: Hi, We solved 8 issues: http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11761version=16957styleName=Html There are 0 issues left in JIRA! http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truepid=11761status=1component=13263 Staging repo: https://repository.apache.org/content/repositories/maven-005/ Staging site: http://maven.apache.org/shared/maven-doxia-tools-1.4/ Guide to testing staged releases: http://maven.apache.org/guides/development/guide-testing-releases.html Vote open for 72 hours. [ ] +1 [ ] +0 [ ] -1 -- Dennis Lundberg - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: [VOTE] Release Maven Doxia Tools shared component version 1.4 (take 2)
+1 Hervé Le samedi 30 avril 2011, Dennis Lundberg a écrit : Hi, We solved 8 issues: http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11761version=16 957styleName=Html There are 0 issues left in JIRA! http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truepid=11761st atus=1component=13263 Staging repo: https://repository.apache.org/content/repositories/maven-005/ Staging site: http://maven.apache.org/shared/maven-doxia-tools-1.4/ Guide to testing staged releases: http://maven.apache.org/guides/development/guide-testing-releases.html Vote open for 72 hours. [ ] +1 [ ] +0 [ ] -1 - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: [VOTE] Release Maven Doxia Tools shared component version 1.4 (take 2)
+1 2011/4/30 Dennis Lundberg denn...@apache.org: Hi, We solved 8 issues: http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11761version=16957styleName=Html There are 0 issues left in JIRA! http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truepid=11761status=1component=13263 Staging repo: https://repository.apache.org/content/repositories/maven-005/ Staging site: http://maven.apache.org/shared/maven-doxia-tools-1.4/ Guide to testing staged releases: http://maven.apache.org/guides/development/guide-testing-releases.html Vote open for 72 hours. [ ] +1 [ ] +0 [ ] -1 -- Dennis Lundberg - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org -- Olivier Lamy http://twitter.com/olamy http://www.linkedin.com/in/olamy - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
[VOTE] Release Maven Shared Resources version 1
Hi, This is the first release of Maven Shared Resources, which is the start of a collection of resources that can be shared between the sub projects of the Maven project. To start with this initial version contains 2 templates that can be used with Maven Changes Plugin to create (and send) the announcements for plugins and shared components. There are still no issues in JIRA: http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truepid=11761component=14715status=1 Staging repo: https://repository.apache.org/content/repositories/maven-014/ Staging site: http://maven.apache.org/shared/maven-shared-resources-1/ Guide to testing staged releases: http://maven.apache.org/guides/development/guide-testing-releases.html Vote open for 72 hours. [ ] +1 [ ] +0 [ ] -1 -- Dennis Lundberg - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
[RESULT] [VOTE] Release Maven Doxia Tools shared component version 1.4 (take 2)
Hi, The vote has passed with the following result : +1 (binding): Lukas Theussl, Dennis Lundberg, Hervé Boutemy, Olivier Lamy I will promote the artifacts to the central repo. Thanks to those who voted for this release. On 2011-04-30 23:24, Dennis Lundberg wrote: Hi, We solved 8 issues: http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11761version=16957styleName=Html There are 0 issues left in JIRA! http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truepid=11761status=1component=13263 Staging repo: https://repository.apache.org/content/repositories/maven-005/ Staging site: http://maven.apache.org/shared/maven-doxia-tools-1.4/ Guide to testing staged releases: http://maven.apache.org/guides/development/guide-testing-releases.html Vote open for 72 hours. [ ] +1 [ ] +0 [ ] -1 -- Dennis Lundberg - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org