Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6986015
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:45:18+00:00 2026-05-27T18:45:18+00:00

I have the following maven-setup: parent-project |- libraries |- utilities |- core |- component1

  • 0

I have the following maven-setup:

parent-project
  |- libraries
  |- utilities
  |- core
      |- component1
      |- component2

in the parent i define all dependency- and pluginmanagement and the infos about the dev-team. utilities containing functional artifacts like the website skin and checkstyle-config, libraries are bundle-artifacts for simplifying the dependencies. The site is build on the core-module and its sub modules. The parent-part of the core pom.

<parent>
  <artifactId>parent</artifactId>
  <groupId>my.group</groupId>
  <version>3.0.0</version>
</parent>

<artifactId>core</artifactId>
<version>3.0.0-SNAPSHOT</version>
<packaging>pom</packaging>

When staging or deploying the site, the page is located in a “core”-subdir (e.g. /target/staging/core/index.html). Is there a way to locate the site of core in the root?

Atm i use a “dirty hack”. On the webserver i created a syslink with ln -s ./ core so he don’t knows its the same dir.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T18:45:19+00:00Added an answer on May 27, 2026 at 6:45 pm

    Solution was, that maven generates that subdirectory only, when the url for deploying is inherited from the parent. All I need to do was move the distributionManagement section for site deploy and the url element from parent to core.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have following Maven projects set up: PM-Core PM-Web (with a dependency to PM-Core)
Suppose I have the following directory layout in a Maven project: src/ |-- main
I have a maven project with the following packages (for illustration only): Root: src/main/java
In my Maven project, I have the following code in the main method: FileInputStream
I have following situation: I have a Maven war project in NetBeans 6.7 I
I have a multimodule maven setup for my project, made of 5 modules, which
I have setup Maven project locally without eclipse, it is completed succefully. Now i
I'm new to Maven and have skimmed over the documentation as I am following
I created a maven project and I have written for weeks an application and
I have following problem: on my Jenkins 1.438 I have job with maven 3

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.