GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — java-tutorials/JavaTools/README.md at master · ljug/java-tutorials

Expand file tree

/

README.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
60 lines (44 loc) · 1.48 KB
/

README.md

Copy path

File metadata and controls

60 lines (44 loc) · 1.48 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Outils pour projets Java

Vers la présentation du cours

maven

  • Projet Maven simple
  • Modifier le pom

Lien externe pour répondre a ces questions https://java.developpez.com/faq/maven/?page=Terminologie-et-documentation

  • Qu'est-ce que Maven ?
  • Qu'est-ce que le POM ?
  • Qu'est-ce qu'un archetype ?
  • Qu'est-ce qu'une dépendance ?
  • Qu'est-ce qu'un artefact ?
  • Qu'est-ce que le groupId/artifactId ?
  • Qu'est-ce qu'un SNAPSHOT ?
  • Qu'est-ce que le repository local, distant ?

Howto

Le dépot maven dans le repoertoire mvn-repo

Lien vers le depot maven de ljug https://github.com/ljug/java-tutorials/tree/master/mvn-repo

Faire ceci mvn install -DperformRelease=true -DcreateChecksum=true puis copier cp -r .m2/repositry/

génerer les jar avec les dependances

Inserrer ce code Puis
<build> 
  <plugins>
    <plugin> 
      <artifactId>maven-assembly-plugin</artifactId> 
      <configuration> 
        <archive>
          <manifest>
            <mainClass>fully.qualified.MainClass</mainClass>
          </manifest>
        </archive>
        <descriptorRefs>
          <descriptorRef>jar-with-dependencies</descriptorRef>
        </descriptorRefs>
      </configuration>
    </plugin>
  </plugins>
</build> 

| mvn clean compile assembly:single

TODO

  • [] A compléter
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.