Repository navigation
Deploy whole installation via ant maven-install
#9779
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
f98a0c5
768a4a8
809f263
53efb65
adf8ca0
f333ac8
278e2b8
1904bd0
dd509a1
4a08e7a
64dbfc7
5e51e25
8676752
2e4b6b5
620208e
b0dc170
b8ed5b4
82f6287
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -188,6 +188,10 @@ | |
| <label>Build IDE (no ZIP file)</label> | ||
| <target>build-nozip</target> | ||
| </action> | ||
| <action> | ||
| <label>Maven Install</label> | ||
| <target>maven-install</target> | ||
| </action> | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| <action> | ||
| <label>Clean Everything</label> | ||
| <target>clean</target> | ||
|
|
@@ -196,10 +200,6 @@ | |
| <label>Run Commit Validation</label> | ||
| <target>commit-validation</target> | ||
| </action> | ||
| <action> | ||
| <label>apisupport</label> | ||
| <target>-Dname=apisupport rebuild-cluster</target> | ||
| </action> | ||
| </context-menu> | ||
| </view> | ||
| <subprojects/> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -234,8 +234,7 @@ | |
| <condition property="nbm.distribution" value="${dist.base}/${nbm}"> <!-- compatibility --> | ||
| <isset property="dist.base"/> | ||
| </condition> | ||
| <property name="dist.base.structured" value="http://deadlock.netbeans.org/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/nbms"/> | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| <property name="nbm.distribution" value="${dist.base.structured}/${cluster.dir}/${nbm}"/> | ||
| <property name="nbm.distribution" value="m2:/org.netbeans.modules:${code.name.base.dashes}:${nbm.install.version}:nbm"/> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The groupId is hardcoded to Not a regression, since the deadlock URL didn't work either, but maybe the groupId should follow the same rule the plugin uses. |
||
| <property name="nbm.module.author" value=""/> | ||
| <property name="nbm.release.date" value=""/> | ||
| <property name="nbm.needs.restart" value="false"/> | ||
|
|
@@ -894,9 +893,8 @@ | |
| </target> | ||
|
|
||
| <target name="patch-for-maven" depends="maven-install"/> <!-- deprecated --> | ||
| <target name="maven-install" depends="init" description="Installs a -D{mavenVersion} of this module into local Maven repository"> | ||
| <target name="maven-install" depends="init" description="Installs a -D{nbm.install.version} of this module into local Maven repository"> | ||
| <property name="maven.tmp" location="${build.dir}/mvn"/> | ||
| <property name="mavenVersion" value="dev-SNAPSHOT"/> | ||
| <delete dir="${maven.tmp}"/> | ||
| <property name="maven.tmp.nbms" location="${maven.tmp}/nbms"/> | ||
| <antcall target="nbm" inheritall="false"> | ||
|
|
@@ -919,17 +917,21 @@ | |
| <condition property=".cmd" value=".cmd" else=""> | ||
| <os family="windows"/> | ||
| </condition> | ||
| <property name="mavenArgs" value=""/> | ||
| <exec executable="${maven.embedder.dir}/maven/bin/mvn${.cmd}" failonerror="true"> | ||
| <arg value="-DforcedVersion=${mavenVersion}"/> | ||
| <arg value="-DforcedVersion=${nbm.install.version}"/> | ||
| <arg value="-DdefineCluster=false"/> | ||
| <arg value="-DdependencyRepositoryId=netbeans-snapshot"/> | ||
| <arg value="-DdependencyRepositoryUrl=https://repository.apache.org/content/groups/snapshots"/> | ||
| <arg value="-DnetbeansInstallDirectory=${maven.tmp.install}"/> | ||
| <arg value="-DnetbeansNbmDirectory=${maven.tmp.nbms}"/> | ||
| <arg value="-DnetbeansSourcesDirectory=${maven.tmp.sources}"/> | ||
| <arg value="-DnetbeansJavadocDirectory=${maven.tmp.javadoc}"/> | ||
| <arg value="org.apache.netbeans.utilities:nb-repository-plugin:14.5:populate"/> | ||
| <arg value="org.apache.netbeans.utilities:nb-repository-plugin:${nbm.plugin.version}:populate"/> | ||
| <arg line="${mavenArgs}"/> | ||
| <env key="JAVA_HOME" value="${java.home}"/> | ||
| </exec> | ||
| </target> | ||
| <echo message="Installed -Dnbm.install.version=${nbm.install.version} into Maven repository with additional -DmavenArgs=${mavenArgs}"/> | ||
| </target> | ||
|
|
||
| </project> | ||

There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggests to run:
but it doesn't run them to make the
ant maven-installfast by itself.With the most recent state of this PR the
ant build-source-zipsandant build-javadocare optional.