I am also a user of NetBeans, so I tried that approach after your's and Mark's suggestion to use a different ide. That failed similarly during mvn package, but on a different jar, dspace-xmlui-lang . . . I found a correct version of the xmlui-lang in one of the repositiories, so I began to suspect that the local repository was causing this issue. After I cleaned the local .m2, and ran mvn package from Netbeans (clean and build), all went well: build successful.
After doing this, I also ran the Eclipse build and found that to be successful as well. Don't know why it worked from the command line, but not from either ide initially. So now I know to clean out the local repository if the error stacktrace looks suspicious. I do want to report that I ran into heap space exceptions during the builds. I ended up increasing the heap space for Netbeans and also for Maven. Just thought it should be documented if it's not already. Also, I am having trouble running my two development instances side-by-side, one is version 1.5.X and one is version 1.6. Previous to 1.6, I could run both without an issue. The scenario is that I hit one instance, for example the 1.6 instance in my browser. In another browser or in another tab, try to hit the url for the other version, e.g. 1.5. That request will hang, and then the other instance will also be hung up from that point forward. Is there any recommendation on how to deal with that? ..\Wendy Wendy Bossons Web Developer MIT Libraries Technology Research & Development Building E25-131 77 Massachusetts Ave. Cambridge, MA 02141-4307 Phone 617-253-0770 Fax 617-253-4462 [email protected] http://libraries.mit.edu On Jan 29, 2010, at 11:02 AM, Tim Donohue wrote: > > If the problem ends up being with Eclipse, another option would be to > use NetBeans. There's guides on the DSpace wiki on using either > NetBeans or Intellij IDEA for DSpace development work. As Mark > mentions, many of the developers have gotten frustrated with Eclipse's > Maven support. Both NetBeans and IDEA seem to be much easier to use for > DSpace development. It's really a matter of preference which one you go > with. > > http://wiki.dspace.org/index.php/Guide_to_Developing_with_DSpace > > As Mark mentioned, it's probably best to first try running 'mvn package' > via the command line to make sure that works before blaming Eclipse. > > - Tim > > On 1/28/2010 7:47 PM, Mark Diggory wrote: >> The jar is a dependency that comes from the SAKAI repository. It is >> present and accessible... >> >> http://source.sakaiproject.org/maven2/org/azeckoski/reflectutils/0.9.10/ >> >> Not only do I find that Eclipse's Maven support is rather shoddy, but >> its even more difficult to work with testing DSpace webapplications. >> The better tool out there so far, from my experience is Intellij IDEA. >> Not only can it support multimodule builds better than Eclipse, but >> its much easier to deploy test webapps with Maven Overlays present, >> something m2eclipse still hasn't figured out how to implement (sorry >> Igor and Jason van Zyl at Sonatype, you guys still Rock!). >> >> I would recommend testing your maven build from the commandline to >> verify it isn't an m2eclipse issue. >> >> Cheers, >> Mark >> >> >> >> On Thu, Jan 28, 2010 at 2:02 PM, Wendy J Bossons<[email protected]> wrote: >>> Hi, >>> I checked out the 1.6 snapshot, but when I ran mvn package -e, the build >>> failed with this error. I looked at the specified repositories, but could >>> not find the package myself either. Can anyone help? I am using Eclipse to >>> do mvn package. >>> O] DSpace Assembly and Configuration ..................... FAILED [5.888s] >>> [INFO] >>> ------------------------------------------------------------------------ >>> [ERROR] >>> The following mojo encountered an error while executing: >>> Group-Id: org.apache.maven.plugins >>> Artifact-Id: maven-assembly-plugin >>> Version: 2.2-beta-1 >>> Mojo: directory-single >>> brought in via: POM >>> While building project: >>> Group-Id: org.dspace >>> Artifact-Id: dspace >>> Version: 1.6.0-SNAPSHOT >>> From file: >>> /Users/user/Documents/dspace_1_6_workspace/dspace-parent/dspace/pom.xml >>> Reason: Error creating assembly: Error retrieving POM of module-dependency: >>> org.azeckoski:reflectutils:jar:0.9.10; Reason: POM >>> 'org.azeckoski:reflectutils' not found in repository: Unable to download the >>> artifact from any repository >>> org.azeckoski:reflectutils:pom:0.9.10 >>> from the specified remote repositories: >>> java.net (http://download.java.net/maven/2), >>> maven.dspace.org-snapshot (http://maven.dspace.org/snapshot), >>> central (http://repo1.maven.org/maven2) >>> for project org.azeckoski:reflectutils >>> org.apache.maven.plugin.assembly.archive.ArchiveCreationException: Error >>> retrieving POM of module-dependency: org.azeckoski:reflectutils:jar:0.9.10; >>> Reason: POM 'org.azeckoski:reflectutils' not found in repository: Unable to >>> download the artifact from any repository >>> org.azeckoski:reflectutils:pom:0.9.10 >>> from the specified remote repositories: >>> java.net (http://download.java.net/maven/2), >>> maven.dspace.org-snapshot (http://maven.dspace.org/snapshot), >>> central (http://repo1.maven.org/maven2) >>> >>> >>> Wendy Bossons >>> Web Developer >>> MIT Libraries >>> Office of Technology Research& Development >>> Building E25-131 >>> 77 Massachusetts Ave. >>> Cambridge, MA 02141-4307 >>> Phone 617-253-0770 >>> Fax 617-253-4462 >>> [email protected] >>> http://libraries.mit.edu >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> The Planet: dedicated and managed hosting, cloud storage, colocation >>> Stay online with enterprise data centers and the best network in the >>> business >>> Choose flexible plans and management services without long-term contracts >>> Personal 24x7 support from experience hosting pros just a phone call away. >>> http://p.sf.net/sfu/theplanet-com >>> _______________________________________________ >>> Dspace-devel mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/dspace-devel >>> >>> >> >> >> > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > Dspace-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/dspace-devel
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com
_______________________________________________ Dspace-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-devel
