Comments (2)
To Reproduce
Steps to reproduce the behavior:
- Go to 'Java Projects' or 'Maven' panel on the primary sidebar
- Click on '+' icon to 'Create Maven Project'
~
- In the 'Create Maven Project' flyer so opened, type 'june' then select 'More...'
- Select
webapp-jakartaee10 io.github.juneau001
- Select latest version:
1.0.1
- Input group id of your project files:
gid
- Input artifact id (also as project name) of your project:
aid
- Select a directory and immediately maximise the vs code window
~
- Store this init task log from terminal panel in a vsc.log file
- Create a new project & select same maven archetype of web in Apache Netbeans 19 & store its init as nb.log
(don't worry, i will be attaching it here - the step is mentioned just for description)
- Compare the vsc.log & nb.log & the pom files of these
Additional context
Add any other context about the problem here.
- diffs of poms of these: juneau001/jakartaee10-archetype@3e070f4
diffs of [adjusted] init logs of these:
--- vsc\aid\pom.xml
+++ nb\aid\pom.xml
--- <unnamed>
+++ <unnamed>
@@ -1,14 +1,21 @@
-"
-"d:\ProgramFiles\vsc\vsc_ext\vscjava.vscode-maven-0.42.0-universal\resources\maven-wrapper\mvnw.cmd"
-org.apache.maven.plugins:maven-archetype-plugin:3.1.2:generate
--DarchetypeArtifactId="maven-archetype-webapp"
--DarchetypeGroupId="org.apache.maven.archetypes"
--DarchetypeVersion="1.4"
+cmd /c "\
+"D:\ProgramFiles\NetBeans-19\netbeans\java\maven\bin\mvn.cmd\"
+-DarchetypeRepository=https://repo.maven.apache.org/maven2
+org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate
+-DarchetypeArtifactId="webapp-jakartaee10"
+-DarchetypeGroupId=io.github.juneau001
+-DarchetypeVersion="1.1.0"
-DgroupId="gid"
-DartifactId="aid"
--DoutputDirectory="SAMPLEDIR"
+-Dversion=1.0-SNAPSHOT
+-Dpackage=gid.aid
+-Dbasedir="SAMPLEDIR"
+-Darchetype.interactive=false
+-DarchetypeCatalog=local
+-Dmaven.ext.class.path="D:\ProgramFiles\NetBeans-19\netbeans\java\maven-nblib\netbeans-eventspy.jar"
+--batch-mode
+--no-transfer-progress
"
-
Scanning for projects...
@@ -16,26 +23,17 @@
Building Maven Stub Project (No POM) 1
--------------------------------[ pom ]---------------------------------
->>> maven-archetype-plugin:3.1.2:generate (default-cli) > generate-sources @ standalone-pom >>>
+>>> archetype:3.2.1:generate (default-cli) > generate-sources @ standalone-pom >>>
-<<< maven-archetype-plugin:3.1.2:generate (default-cli) < generate-sources @ standalone-pom <<<
+<<< archetype:3.2.1:generate (default-cli) < generate-sources @ standalone-pom <<<
---- maven-archetype-plugin:3.1.2:generate (default-cli) @ standalone-pom ---
-Generating project in Interactive mode
-Archetype repository not defined. Using the one from [io.github.juneau001:webapp-jakartaee10:1.1.0] found in catalog remote
-Using property: groupId = gid
-Using property: artifactId = aid
-[INTERACT] Define value for property 'version' 1.0-SNAPSHOT: :
-[INTERACT] Define value for property 'package' gid.aid: :
-[INTERACT] Confirm properties configuration:
-[INTERACT] groupId: gid
-[INTERACT] artifactId: aid
-[INTERACT] version: 1.0-SNAPSHOT
-[INTERACT] package: gid.aid
-[INTERACT] Y: :
+--- archetype:3.2.1:generate (default-cli) @ standalone-pom ---
+Generating project in Batch mode
+Archetype not found in any catalog. Falling back to central repository.
+Add a repository with id 'archetype' in your settings.xml if archetype's repository is elsewhere.
----------------------------------------------------------------------------
-Using following parameters for creating project from Archetype: webapp-jakartaee10:1.0.1
+Using following parameters for creating project from Archetype: webapp-jakartaee10:1.1.0
----------------------------------------------------------------------------
Parameter: groupId, Value: gid
Parameter: artifactId, Value: aid
@@ -50,6 +48,6 @@
------------------------------------------------------------------------
BUILD SUCCESS
------------------------------------------------------------------------
-Total time: 15:16 min
-Finished at: 2023-11-16T07:29:37+00:00
+Total time: 3.939 s
+Finished at: 2023-11-16T03:52:19+00:00
------------------------------------------------------------------------
vsc init flags [pretty printed]
"
"d:\ProgramFiles\vsc\vsc_ext\vscjava.vscode-maven-0.42.0-universal\resources\maven-wrapper\mvnw.cmd"
org.apache.maven.plugins:maven-archetype-plugin:3.1.2:generate
-DarchetypeArtifactId="maven-archetype-webapp"
-DarchetypeGroupId="org.apache.maven.archetypes"
-DarchetypeVersion="1.4"
-DgroupId="gid"
-DartifactId="aid"
-DoutputDirectory="SAMPLEDIR"
"
vsc init log [adjusted]
Scanning for projects...
------------------< org.apache.maven:standalone-pom >-------------------
Building Maven Stub Project (No POM) 1
--------------------------------[ pom ]---------------------------------
>>> maven-archetype-plugin:3.1.2:generate (default-cli) > generate-sources @ standalone-pom >>>
<<< maven-archetype-plugin:3.1.2:generate (default-cli) < generate-sources @ standalone-pom <<<
--- maven-archetype-plugin:3.1.2:generate (default-cli) @ standalone-pom ---
Generating project in Interactive mode
Archetype repository not defined. Using the one from [io.github.juneau001:webapp-jakartaee10:1.1.0] found in catalog remote
Using property: groupId = gid
Using property: artifactId = aid
[INTERACT] Define value for property 'version' 1.0-SNAPSHOT: :
[INTERACT] Define value for property 'package' gid.aid: :
[INTERACT] Confirm properties configuration:
[INTERACT] groupId: gid
[INTERACT] artifactId: aid
[INTERACT] version: 1.0-SNAPSHOT
[INTERACT] package: gid.aid
[INTERACT] Y: :
----------------------------------------------------------------------------
Using following parameters for creating project from Archetype: webapp-jakartaee10:1.0.1
----------------------------------------------------------------------------
Parameter: groupId, Value: gid
Parameter: artifactId, Value: aid
Parameter: version, Value: 1.0-SNAPSHOT
Parameter: package, Value: gid.aid
Parameter: packageInPathFormat, Value: gid/aid
Parameter: package, Value: gid.aid
Parameter: groupId, Value: gid
Parameter: artifactId, Value: aid
Parameter: version, Value: 1.0-SNAPSHOT
Project created from Archetype in dir: SAMPLEDIR
------------------------------------------------------------------------
BUILD SUCCESS
------------------------------------------------------------------------
Total time: 15:16 min
Finished at: 2023-11-16T07:29:37+00:00
------------------------------------------------------------------------
nb init flags [prettyprinted]
cd sampledir;
JAVA_HOME=Java\\jdk-20
cmd /c "\
"D:\ProgramFiles\NetBeans-19\netbeans\java\maven\bin\mvn.cmd\"
-DarchetypeRepository=https://repo.maven.apache.org/maven2
org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate
-DarchetypeArtifactId="webapp-jakartaee10"
-DarchetypeGroupId=io.github.juneau001
-DarchetypeVersion="1.1.0"
-DgroupId="gid"
-DartifactId="aid"
-Dversion=1.0-SNAPSHOT
-Dpackage=gid.aid
-Dbasedir="SAMPLEDIR"
-Darchetype.interactive=false
-DarchetypeCatalog=local
-Dmaven.ext.class.path="D:\ProgramFiles\NetBeans-19\netbeans\java\maven-nblib\netbeans-eventspy.jar"
--batch-mode
--no-transfer-progress
"
nb init log [adjusted]
Scanning for projects...
------------------< org.apache.maven:standalone-pom >-------------------
Building Maven Stub Project (No POM) 1
--------------------------------[ pom ]---------------------------------
>>> archetype:3.2.1:generate (default-cli) > generate-sources @ standalone-pom >>>
<<< archetype:3.2.1:generate (default-cli) < generate-sources @ standalone-pom <<<
--- archetype:3.2.1:generate (default-cli) @ standalone-pom ---
Generating project in Batch mode
Archetype not found in any catalog. Falling back to central repository.
Add a repository with id 'archetype' in your settings.xml if archetype's repository is elsewhere.
----------------------------------------------------------------------------
Using following parameters for creating project from Archetype: webapp-jakartaee10:1.1.0
----------------------------------------------------------------------------
Parameter: groupId, Value: gid
Parameter: artifactId, Value: aid
Parameter: version, Value: 1.0-SNAPSHOT
Parameter: package, Value: gid.aid
Parameter: packageInPathFormat, Value: gid/aid
Parameter: package, Value: gid.aid
Parameter: groupId, Value: gid
Parameter: artifactId, Value: aid
Parameter: version, Value: 1.0-SNAPSHOT
Project created from Archetype in dir: SAMPLEDIR
------------------------------------------------------------------------
BUILD SUCCESS
------------------------------------------------------------------------
Total time: 3.939 s
Finished at: 2023-11-16T03:52:19+00:00
------------------------------------------------------------------------
from vscode-maven.
interesting that apache netbeans doesn't use org.apache.maven.archetypes
/maven-archetype-webapp
but instead a third party's io.github.juneau001
/webapp-jakartaee10
lol.
even they know that getting their parent group's other project to update would be hard & stalled effort ๐
from vscode-maven.
Related Issues (20)
- ${env.JAVA_HOME} in systemPath cannot be recognized by this plugin HOT 2
- python ์คํ ์๋จ HOT 1
- Create Java Project -> JavaFX does not create a JavaFX project HOT 1
- Maven Validate omits user setings HOT 1
- Command-breaking quote usage HOT 1
- UI Distortion in Explorer-Maven When Closing 'plugins' after Opening Project HOT 10
- Can I execute Maven: Execute Commands... on current terminal?
- Feature request - Allow id to be hidden directory
- Expose "New Maven Module" command to Java Projects view
- The Extention Bisect tool reported this should be disabled HOT 2
- Launch a Maven favorite as "debug"
- ๅๅปบmaven้กน็ฎๆถๆฅ้,
- It's not clear how plugin does download of dependencies without maven installed HOT 2
- Feature request: Change the scope of `maven.terminal.customEnv` to `machine-overridable` HOT 1
- Option to use specific Java SDK to run Maven HOT 6
- Causes Code GPT to fail HOT 2
- Fail to disable profile because shell interprets the '!' character
- LDAP user failed to activate the ext HOT 2
- Add support for externally provided "lifecycle-mapping-metadata.xml" file HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-maven.