Hi, DSpace doesn't package *.war files by default. Instead, DSpace will build an "unzipped" war under "[dspace-src]/dspace/target/dspace-installer/webapps/server". That "server" directory *is a valid web application*, but it's not zipped up as a *.war.
See the backend installation guide for more details, especially step 11 where you deploy that "server" directory to Tomcat. https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-BackendInstallation Tim On Friday, September 20, 2024 at 1:44:25 PM UTC-5 [email protected] wrote: > Hey DSpace Tech Team, > > After using the command "mvn package" inside the dspace 8 backend, I get > success on all steps. > > But for some reason it never generates the .war files inside webapps/server > > The structure always stays like this: > > META-INF > WEB-INF > .gitignore > > All the other files are missing. > I've tried doing all dspace installation steps on other two machines and > It never works. > I've had the same problem with DSpace 7. > > I'm using maven 3.9.9 and jdk-17 > > I get these warnings when using "mvn package": > > [WARNING] Some problems were encountered while building the effective > model for org.dspace.modules:server:war:8.0 > [WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but > found duplicate declaration of plugin > org.apache.maven.plugins:maven-dependency-plugin @ line 71, column 21 > [WARNING] > [WARNING] It is highly recommended to fix these problems because they > threaten the stability of your build. > [WARNING] > [WARNING] For this reason, future Maven versions might no longer support > building such malformed projects. > [WARNING] > > [INFO] Copying files to > C:\DSpace8\DSpace-dspace-8.0\dspace\target\dspace-installer > [INFO] 1008 files copied to > C:\DSpace8\DSpace-dspace-8.0\dspace\target\dspace-installer > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary for DSpace Parent Project 8.0: > [INFO] > [INFO] DSpace Parent Project .............................. SUCCESS [ > 2.405 s] > [INFO] DSpace Services Framework :: API and Implementation SUCCESS [ > 7.625 s] > [INFO] DSpace Kernel :: API and Implementation ............ SUCCESS [01:13 > min] > [INFO] DSpace Addon Modules ............................... SUCCESS [ > 0.626 s] > [INFO] DSpace Kernel :: Additions and Local Customizations SUCCESS [ > 5.058 s] > [INFO] DSpace IIIF ........................................ SUCCESS [ > 4.622 s] > [INFO] DSpace OAI-PMH ..................................... SUCCESS [ > 9.064 s] > [INFO] DSpace RDF ......................................... SUCCESS [ > 3.250 s] > [INFO] DSpace SWORD ....................................... SUCCESS [ > 7.622 s] > [INFO] DSpace SWORD v2 .................................... SUCCESS [ > 5.828 s] > [INFO] DSpace Server Webapp ............................... SUCCESS [01:14 > min] > [INFO] DSpace Server Webapp:: Tomcat deployable WAR ....... SUCCESS [ > 8.811 s] > [INFO] DSpace Server Webapp:: Executable JAR .............. SUCCESS [ > 3.937 s] > [INFO] DSpace Assembly and Configuration .................. SUCCESS [ > 6.672 s] > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD SUCCESS > [INFO] > ------------------------------------------------------------------------ > -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/7ffa205b-d07c-4db6-bb40-7bbb8e106488n%40googlegroups.com.
