Hi Shawn,

there is an issue with some changes done to have all the references to Apache using https instead of http. Typically, the following line won't work :


<project xmlns="https://maven.apache.org/POM/4.0.0"; xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd";>

you should use

<project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";>

I've got it fixed for core, you should probably check the other projects.

On 11/12/2019 02:18, Shawn McKinney wrote:
Hi,

On this step of the release process for the core:

mvn -Papache-release release:prepare

And can’t get past the error (listed below) which points to this location in the project’s pom file:
<parent>
<groupId>org.apache.directory.project</groupId>
<artifactId>project</artifactId>
<version>44</version>
<relativePath />
</parent>


Originally, <version>35</version> was in place, later, I changed to 44, after looking at what the ldap api project uses. No change either way.

So, right now I’m stuck and wanted to check if there’s something obvious that I’m missing.


Error trace:

[WARNING] Maven will be executed in interactive mode, but no input stream has been configured for this MavenInvoker instance.
[INFO] [INFO] Scanning for projects...
[INFO] [ERROR] [ERROR] Some problems were encountered while processing the POMs: [INFO] [ERROR] Malformed POM /home/smckinn/Release/2.0.4/directory-fortress-core/pom.xml: Unknown attribute 'xmlns' for tag 'parent' (position: START_TAG seen ...delVersion>\n\n <parent xmlns="https://maven.apache.org/POM/4. 0.0">... @23:54) @ /home/smckinn/Release/2.0.4/directory-fortress-core/pom.xml, line 23, column 54
[INFO] @
[INFO] [ERROR] The build could not read 1 project -> [Help 1]
[INFO] [ERROR]
[INFO] [ERROR] The project org.apache.directory.fortress:fortress-core:2.0.4 (/home/smckinn/Release/2.0.4/directory-fortress-core/pom.xml) has 1 error [INFO] [ERROR] Malformed POM /home/smckinn/Release/2.0.4/directory-fortress-core/pom.xml: Unknown attribute 'xmlns' for tag 'parent' (position: START_TAG seen ...delVersion>\n\n <parent xmlns="https://maven.apache.org/PO M/4.0.0">... @23:54) @ /home/smckinn/Release/2.0.4/directory-fortress-core/pom.xml, line 23, column 54 -> [Help 2]
[INFO] [ERROR]
[INFO] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [INFO] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[INFO] [ERROR]
[INFO] [ERROR] For more information about the errors and possible solutions, please read the following articles: [INFO] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [INFO] [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/ModelParseException [INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.278 s
[INFO] Finished at: 2019-12-10T19:07:28-06:00
[INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare (default-cli) on project fortress-core: Maven execution failed, exit code: '1' -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare (default-cli) on project fortress-core: Maven execution failed, exit code: '1' at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
at org.apache.maven.li

***


Running this mvn/java:

Apache Maven 3.6.0
Maven home: /usr/share/maven
Java version: 1.8.0_222, vendor: Private Build, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.15.0-64-generic", arch: "amd64", family: “unix”

Thanks,

—
Shawn



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to