I could manage to add files after the repackage goal of the spring-boot-maven-plugin using the maven-antrun-plugin and the Jar tool included in the JDK.
Here is the pom.xml
<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/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.springframework.webflow</groupId> <artifactId>spring-js-resources-thin</artifactId> <version>2.2.1.RELEASE</version> <name>Spring js lib</name> <description>Spring javascript library without dojo</description> <build> <plugins> <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>2.2.1</version> <configuration> <descriptors> <descriptor>src/main/assembly/assembly.xml</descriptor> </descriptors> </configuration> </plugin> </plugins> </build>
</project>and here is the assembly.xml
<assembly> <id>js-jar</id> <formats> <format>jar</format> </formats> <fileSets> <fileSet> <directory>src/main/resources/</directory> <outputDirectory>/</outputDirectory> <includes> <include>META-INF/**/*</include> </includes> </fileSet> </fileSets>
</assembly>The problem is, everytime I open the generated jar file(spring-js-resources-thin-2.2.1.RELEASE-js-jar.jar), the root folder is always named as artifactid-version(spring-js-resources-thin-2.2.1.RELEASE), then the META-INF.
I wonder there is anyway that I can build the jar file with the file name artifactid-version.jar, but WITHOUT the artifactid-version in the class path, just like every jar in the maven repository. I think there should be an option or a way to name the <outputDirectory>.
29 gold badges191 silver badges252 bronze badges
asked Jul 31, 2012 at 20:54
<assembly> <id>js-jar</id> <formats> <format>jar</format> </formats> <includeBaseDirectory>false</includeBaseDirectory> <fileSets> <fileSet> <directory>src/main/resources/</directory> <outputDirectory>.</outputDirectory> <includes> <include>META-INF/**/*</include> </includes> </fileSet> </fileSets>
</assembly>And the suggestion about using maven-jar-plugin is very good, cause it looks a little bit that you are misusing the maven-assembly-plugin.
In the most recent versions of maven-assembly-plugin you should . as the root folder. If you use / you will get a warning.
answered Aug 1, 2012 at 6:44

28 gold badges188 silver badges234 bronze badges
Add the element to the assembly like so.
<assembly> <id>js-jar</id> <formats> <format>jar</format> </formats> <baseDirectory>myBaseDir</baseDirectory> <fileSets> <fileSet> <directory>src/main/resources/</directory> <outputDirectory>/</outputDirectory> <includes> <include>META-INF/**/*</include> </includes> </fileSet> </fileSets>
</assembly>If you turn the <includeBaseDirectory> off then your archive won’t have any root. So it depends on what you want. I prefer my zip files, for instance, to have a base directory so that it doesn’t accidentally pollute a directory your in if you forget to create the dir and cd into it before unzipping. Much more convenient too.
answered Jul 23, 2015 at 18:15
8 gold badges32 silver badges41 bronze badges
- Вспоминаем, что такое сборка мусора в Java
- To Solve: «Java file outside of source root»
- ответов
- levelling up alchemy.. using giant toe’s rare?
- Достижимость объектов
- Solution to «Java file outside of source root intelliJ»
- Regenerate Maven Sources and Update Folders
- Right click the pom.xml > Maven > Generate Sources and Update Folders
- The project should now run
- Updating a JAR File
- Using Exec-Maven-Plugin
- Этапы сборки мусора в Java
- 1. Помечаем объекты как живые
- 2. Зачистка мертвых объектов
- 3. Компактное расположение оставшихся объектов в памяти
- Using Maven-Antrun-Plugin
Вспоминаем, что такое сборка мусора в Java
Сборка мусора — это процесс восстановления заполненной памяти среды выполнения путем уничтожения неиспользуемых объектов.
Иногда программист может забыть уничтожить бесполезные объекты, и выделенная им память не освобождается. Расходуется все больше и больше системной памяти, и в конечном итоге она больше не выделяется. Такие приложения страдают от “утечек памяти”.
После определенного момента памяти уже не хватает для создания новых объектов и программа нештатно завершается из-за .

Сборка мусора в Java — это процесс, с помощью которого программы Java автоматически управляют памятью. Java-программы компилируются в байт-код, который запускается на виртуальной машине Java (JVM).
Когда Java-программы выполняются на JVM, объекты создаются в куче, которая представляет собой часть памяти, выделенную для них.
Пока Java-приложение работает, в нем создаются новые объекты. В конце-концов некоторые объекты перестают быть нужны. Можно сказать, что в любой момент времени память кучи состоит из двух типов объектов.
- Живые — эти объекты используются, на них ссылаются откуда-то еще.
- Мертвые — эти объекты больше нигде не используются, ссылок на них нет.
Сборщик мусора находит эти неиспользуемые объекты и удаляет их, чтобы освободить память.
Сборка мусора в Java — автоматический процесс. Программисту не нужно явно отмечать объекты, подлежащие удалению.
Каждая JVM может реализовать собственную версию сборки мусора. Однако сборщик должен соответствовать стандартной спецификации JVM для работы с объектами, присутствующими в памяти кучи, для маркировки или идентификации недостижимых объектов и их уничтожения через уплотнение.
A hidden cave is where this witch resides. A cave that is great for any character be it a new one or an experienced one. Male or female. Located just outside the Whiterun exterior, it is close to everything. Includes alchemy, enchanting, greenhouse, armory, pool, and much more.
All the DLC are required
Sorry, but my witch character does not come with the mod
My characters armor comes from this mod
http://www.nexusmods.com/skyrim/mods/68653/? — Cassandra Frost Witch Outfit
http://www.nexusmods.com/skyrim/mods/57083/? — Use the file A2 for all of the nails, including the witch nails
I will be added items from time to time but not taking anything out.
Please note that the Change Apperance Mirror DOES NOT work if you are a vampire!! If you wish to go back and forth from being a vampire, use the suggested mod(s) from the list below.
NOTICE As far as I am concerned, this mod is done. I will not be modding in the future as college studies will be taking up most of my time. This mod is working, and I am pleased with it and happy so many have subscribed, endorsed, and are enjoying it.
Recommended Mods to go with Witches Retreat
OR (choose one or the other)
Alchemy & Enchanting Tables — http://www.nexusmods.com/skyrim/mods/62328/?
Suggested Mods for Vampires
http://www.nexusmods.com/skyrim/mods/11965/? — Become a vampire anytime
http://www.nexusmods.com/skyrim/mods/16506/? — Less Sunken Face
http://www.nexusmods.com/skyrim/mods/22274/? — Predator Vision
http://www.nexusmods.com/skyrim/mods/58727/? — Join the Dawnguard as a Vampire
http://www.nexusmods.com/skyrim/mods/9717/? — Better Vampires
This mod has been cleaned with Tes5Edit
http://www.nexusmods.com/skyrim/mods/30602/? — Ingredients Wall Art
http://www.nexusmods.com/skyrim/mods/11618/? — Ingredients in a Jar
http://www.nexusmods.com/skyrim/mods/11618/? — Modders Resource
http://www.nexusmods.com/skyrim/mods/14152/? — Levelers Tower for the Change Appearance Mirror
http://www.nexusmods.com/skyrim/mods/62732/? — Modder Display
http://www.nexusmods.com/skyrim/mods/58651/? — Modders Resource by K13Ran64
http://www.nexusmods.com/skyrim/mods/65163/? — Forever Free
If I neglected to mention someone, please let me know.
YOU CANNOT USE ANY OF MY WORK IN A PAID MOD!!! I SUPPORT FREE MODS
My other mods include
I have cloned a spring boot project from GitLab having multiple branches in IntelliJ. I checkout to the branch in which I want to work. But I am getting «Java file outside of source root» on all the files. Please suggest what I am doing wrong.
I just installed IntelliJ and it’s the first project that I am importing.
asked Aug 21, 2020 at 10:34
1 gold badge10 silver badges14 bronze badges
If you do an ‘import from git’, IntelliJ doesn’t import the project structure from maven (or gradle) automatically.
One way to do this afterwards is to right-click on the pom.xml file in the root directory, and select ‘Add as maven project’. Then the folders will be marked correctly, and dependent libraries will be imported. There should be no need to mark individual source folders manually.
I prefer to do a git clone outside of IntelliJ, and afterwards open the project in IntelliJ from the local filesystem, then IntelliJ imports the maven project structure automatically.
answered Sep 23, 2020 at 8:07

2 gold badges37 silver badges60 bronze badges
Very simple solution: —
Click on «maven» on the right toolbar in IntelliJ and then click on the refresh button.
answered Oct 13, 2020 at 17:37

12 silver badges18 bronze badges
I fixed it using this way:
File > Project Structure > Modules > Sourcesand then marked java files dir as Sources.
7 gold badges31 silver badges38 bronze badges
answered Nov 21, 2020 at 12:17
Sunny Gupta
8 silver badges7 bronze badges
This has been driving me quite mad and I am a newbie as well. I finally solved it by using:
file > project structure >
Then going to Modules and removing all the files from the root using the x marks on the far right. I then used the +Add Content Root to reselect the src folders that contained my .java and hit Apply. Finally InteliJ sees the files as in the project and the folders gain the blue square on the main view.
answered Sep 23, 2020 at 7:46

4 silver badges10 bronze badges
To Solve: «Java file outside of source root»
- Open Project Structure.
- Select Modules in Project Settings in left pane.
- Click on the folder in which your Java files (showing file outside of source root) are present.
- Then Select Sources from Mark as: option.
- Apply the same steps for multiple folders.

answered Jan 26, 2021 at 17:19

3 silver badges6 bronze badges
Select root pom.xml —> Click Maven — Unlink <— This will remove all sub modules
Select root pom.xml —> Add As Maven project
Then everythings worked..
answered Apr 14, 2022 at 8:35

2 gold badges18 silver badges25 bronze badges
Right click on pom.xm >> maven >> Reload project
answered Jul 4, 2021 at 17:02

Resolved !!
Go to your project on IntelliJ -> Right click on pom.xml -> Add as Maven Project.
answered May 26, 2022 at 14:39
1 silver badge7 bronze badges
For ppl like me who also see that the POM file is crossed out and greyed(ignored):
You can right click the POM.xml, select «Maven — Unignore projects».
answered Apr 29, 2021 at 9:36

5 gold badges87 silver badges152 bronze badges
Right click on pom.xml then click on «maven» and reload project

answered Feb 2 at 12:40

File -> Project structure -> Modules
Remove the whole module, and click the add button then select ‘Import Module’, choose the root maven pom.xml of your project.
This saved my time.
answered Oct 17, 2022 at 2:22

Мне нужно создать древовидную структуру, подобную прикрепленному изображению в Java. Я нашел несколько вопросов, связанных с этим, но я не нашел убедительного и хорошо объясненного ответа.
Бизнес приложения состоит из пищевых супер категорий (основные блюда, десерты и другие). Каждая из этих категорий может иметь родительские элементы или дочерние элементы и так далее.

ответов
import java.util.ArrayList;
import java.util.List;
public class Node<T> { private List<Node<T>> children = new ArrayList<Node<T>>(); private Node<T> parent = null; private T data = null; public Node(T data) { this.data = data; } public Node(T data, Node<T> parent) { this.data = data; this.parent = parent; } public List<Node<T>> getChildren() { return children; } public void setParent(Node<T> parent) { parent.addChild(this); this.parent = parent; } public void addChild(T data) { Node<T> child = new Node<T>(data); child.setParent(this); this.children.add(child); } public void addChild(Node<T> child) { child.setParent(this); this.children.add(child); } public T getData() { return this.data; } public void setData(T data) { this.data = data; } public boolean isRoot() { return (this.parent == null); } public boolean isLeaf() { return this.children.size == 0; } public void removeParent() { this.parent = null; }
}import java.util.List;
Node<String> parentNode = new Node<String>("Parent");
Node<String> childNode1 = new Node<String>("Child 1", parentNode);
Node<String> childNode2 = new Node<String>("Child 2");
childNode2.setParent(parentNode);
Node<String> grandchildNode = new Node<String>("Grandchild of parentNode. Child of childNode1", childNode1);
List<Node<String>> childrenNodes = parentNode.getChildren();принято отвечать бросает!—2—> при вызове setParent или addChild методы.
вот немного более простая реализация без этих ошибок:
public class MyTreeNode<T>{ private T data = null; private List<MyTreeNode> children = new ArrayList<>(); private MyTreeNode parent = null; public MyTreeNode(T data) { this.data = data; } public void addChild(MyTreeNode child) { child.setParent(this); this.children.add(child); } public void addChild(T data) { MyTreeNode<T> newChild = new MyTreeNode<>(data); newChild.setParent(this); children.add(newChild); } public void addChildren(List<MyTreeNode> children) { for(MyTreeNode t : children) { t.setParent(this); } this.children.addAll(children); } public List<MyTreeNode> getChildren() { return children; } public T getData() { return data; } public void setData(T data) { this.data = data; } private void setParent(MyTreeNode parent) { this.parent = parent; } public MyTreeNode getParent() { return parent; }
}MyTreeNode<String> root = new MyTreeNode<>("Root");
MyTreeNode<String> child1 = new MyTreeNode<>("Child1");
child1.addChild("Grandchild1");
child1.addChild("Grandchild2");
MyTreeNode<String> child2 = new MyTreeNode<>("Child2");
child2.addChild("Grandchild3");
root.addChild(child1);
root.addChild(child2);
root.addChild("Child3");
root.addChildren(Arrays.asList( new MyTreeNode<>("Child4"), new MyTreeNode<>("Child5"), new MyTreeNode<>("Child6")
));
for(MyTreeNode node : root.getChildren()) { System.out.println(node.getData());
}в принятом ответа
public Node(T data, Node<T> parent) { this.data = data; this.parent = parent;
}public Node(T data, Node<T> parent) { this.data = data; this.setParent(parent);
}в противном случае родитель не имеет ребенка в своем списке детей
Это дерево не является двоичным деревом, поэтому вам нужен массив дочерних элементов, таких как List.
public Node(Object data, List<Node> children) { this.data = data; this.children = children;
}затем создавать экземпляры.
вот моя реализация на java для вашего требования.
В классе treeNode я использовал универсальный массив для хранения данных дерево. мы также можем использовать arraylist или динамический массив для хранения значения дерево.
public class TreeNode<T> { private T value = null; private TreeNode[] childrens = new TreeNode[100]; private int childCount = 0; TreeNode(T value) { this.value = value; } public TreeNode addChild(T value) { TreeNode newChild = new TreeNode(value, this); childrens[childCount++] = newChild; return newChild; } static void traverse(TreeNode obj) { if (obj != null) { for (int i = 0; i < obj.childCount; i++) { System.out.println(obj.childrens[i].value); traverse(obj.childrens[i]); } } return; } void printTree(TreeNode obj) { System.out.println(obj.value); traverse(obj); }
}и класс клиента для вышеуказанной реализации.
public class Client { public static void main(String[] args) { TreeNode menu = new TreeNode("Menu"); TreeNode item = menu.addChild("Starter"); item = item.addChild("Veg"); item.addChild("Paneer Tikka"); item.addChild("Malai Paneer Tikka"); item = item.addChild("Non-veg"); item.addChild("Chicken Tikka"); item.addChild("Malai Chicken Tikka"); item = menu.addChild("Main Course"); item = item.addChild("Veg"); item.addChild("Mili Juli Sabzi"); item.addChild("Aloo Shimla Mirch"); item = item.addChild("Non-veg"); item.addChild("Chicken Do Pyaaza"); item.addChild("Chicken Chettinad"); item = menu.addChild("Desserts"); item = item.addChild("Cakes"); item.addChild("Black Forest"); item.addChild("Black Current"); item = item.addChild("Ice Creams"); item.addChild("chocolate"); item.addChild("Vanilla"); menu.printTree(menu); }
}Menu
Starter
Veg
Paneer Tikka
Malai Paneer Tikka
Non-veg
Chicken Tikka
Malai Chicken Tikka
Main Course
Veg
Mili Juli Sabzi
Aloo Shimla Mirch
Non-veg
Chicken Do Pyaaza
Chicken Chettinad
Desserts
Cakes
Black Forest
Black Current
Ice Creams
chocolate
Vanilla процесс сборки узлов дерева аналогичен процессу сборки списков. У нас есть конструктор для узлов дерева, который инициализирует переменные экземпляра.
public Tree (Object cargo, Tree left, Tree right) { this.cargo = cargo; this.left = left; this.right = right;
} сначала выделяем дочерние узлы:
Tree left = new Tree (new Integer(2), null, null);
Tree right = new Tree (new Integer(3), null, null); мы можем создать родительский узел и связать его с детьми одновременно:
Tree tree = new Tree (new Integer(1), left, right); levelling up alchemy.. using giant toe’s rare?
Question! I read somewhere the best way for leveling up alchemy is using weat in combo with giant toe’s. Those toe’s at-least I did find only one vendor selling them once a while, are rare. I could farm them from the giants of-course but wont that somehow mess up quests who are given by the Jarl (work orders or how is it called which you collect from inns?)?
thanks for reading or answering this!
-

Motionsharp - Posts: 3437
- Joined: Sun Aug 06, 2006 1:33 am
» Sun Jun 03, 2012 9:48 pm
Giants respawn. Actually the most expensive potion uses jarrin root but you only get that through quest.
Not sure on respawn time on giants though I’ll go look it up.
-

Jason White - Posts: 3531
- Joined: Fri Jul 27, 2007 12:54 pm
» Sun Jun 03, 2012 10:35 pm
All cleared areas respawn after 20 — 30 days.
-

KU Fint - Posts: 3402
- Joined: Mon Dec 04, 2006 4:00 pm
» Sun Jun 03, 2012 8:44 pm
You can boost alchemy even faster with Giant toes + Blue mountain flowers + Blue butterfly wings.
-

Adam Porter - Posts: 3532
- Joined: Sat Jun 02, 2007 10:47 am
» Mon Jun 04, 2012 12:52 am
Ectoplasm, glow dust, jarring root is best one.
-

Mandi Norton - Posts: 3451
- Joined: Tue Jan 30, 2007 2:43 pm
» Mon Jun 04, 2012 2:50 am
You can boost alchemy even faster with Giant toes + Blue mountain flowers + Blue butterfly wings.
After this one next up is creep cluster, glowing mushroom and giants toe.
-

BEl J - Posts: 3397
- Joined: Tue Feb 13, 2007 8:12 am
» Mon Jun 04, 2012 5:25 am
All potions level you up, however the higher the sales value the higher impact.
Giant toes are nice so always buy them, or kill bandits however as you buy and gather ingredients you find way more of other stuff.
Focus on fortify skills and resist or weaknesses, not heal or damage. make 3 ingredient potions if that double the price.
Experiment of making an potion with two ingredients and then add other you have a lot of to find new effects.
-

Killer McCracken - Posts: 3456
- Joined: Wed Feb 14, 2007 9:57 pm
» Sun Jun 03, 2012 6:36 pm
giant’s toe + blue butterfly wing + blue mountain flower is higher than GT+Wheat.
Giant’s toe: 33 total
-

Amanda Leis - Posts: 3518
- Joined: Sun Dec 24, 2006 1:57 am
» Sun Jun 03, 2012 6:47 pm
thanks all for helping me out:-)
-

Mark Hepworth - Posts: 3490
- Joined: Wed Jul 11, 2007 1:51 pm
» Mon Jun 04, 2012 12:18 am
I have a website that you can either list all ingredients and it will list them in value.
You can also input you own ingediants and it will give you all possible potions, if you want it let me know.
-

Avril Louise - Posts: 3408
- Joined: Thu Jun 15, 2006 10:37 pm
» Mon Jun 04, 2012 2:07 am
Giant’s Toe + Swamp Fungal Pod + Wheat
I call it the money potion. More valuable than anything else I’ve made (to include what has already been posted here — except Jarrin root one — haven’t found any of that yet.) Strictly for selling and not using. The negatives are too bad for me, the positives too good for them.
-

Darlene DIllow - Posts: 3403
- Joined: Fri Oct 26, 2007 5:34 am
» Sun Jun 03, 2012 10:09 pm
Giant’s Toe + Swamp Fungal Pod + Wheat
I call it the money potion. More valuable than anything else I’ve made (to include what has already been posted here — except Jarrin root one — haven’t found any of that yet.) Strictly for selling and not using. The negatives are too bad for me, the positives too good for them.
Interesting because the three don’t mix on table. Giants toe and Wheat are 650 then swamp fungal must give it bonus gonna mess around with it when I get home. The one I posted earlier was 900.
-

Dj Matty P - Posts: 3398
- Joined: Sat Jun 09, 2007 12:31 am
» Mon Jun 04, 2012 4:31 am
River Betty/Deathbell + Salt Pile will create a poison of slow which is worth a fair amount of cash and will level alchemy fairly quickly as well. Although, if you stick to one formua you’re going to be spending ages leveling your alchemy. Stay away from damage/ravage health/magicka/stamina poisons and restore health/magicka/stamina potions for leveling because they’re next to worthless. Poisons that damage regen are a safe bet and potions that fortify or give increased regen will do you good as well.
-

Nomee - Posts: 3382
- Joined: Thu May 24, 2007 5:18 pm
» Sun Jun 03, 2012 10:55 pm
except Jarrin root one — haven’t found any of that yet.
You won’t. You can only get http://www.uesp.net/wiki/Skyrim:Jarrin_Root of it during the DB quest line, and it’s needed for the quest.
-

Lisa - Posts: 3473
- Joined: Thu Jul 13, 2006 3:57 am
» Mon Jun 04, 2012 6:48 am
Also don’t forget to pack a grand soul gem with you when you go giant hunting.
-

stephanie eastwood - Posts: 3526
- Joined: Thu Jun 08, 2006 1:25 pm
» Sun Jun 03, 2012 10:24 pm
You won’t. You can only get http://www.uesp.net/wiki/Skyrim:Jarrin_Root of it during the DB quest line, and it’s needed for the quest.
Thanks! I won’t worry about getting any of it.
-

Auguste Bartholdi - Posts: 3521
- Joined: Tue Jun 13, 2006 11:20 am
» Mon Jun 04, 2012 6:42 am
Interesting because the three don’t mix on table. Giants toe and Wheat are 650 then swamp fungal must give it bonus gonna mess around with it when I get home. The one I posted earlier was 900.
The toe gives Fortify Health (more than others), and Damage Stamina Regeneration.
The wheat gives Fortify Health, Restore Health, Damage Stamina Regeneration, and Lingering Damage.
The pod gives Lingering Damage, and Restore Health
The kickers are the Fortify Health (because of toe) and Lingering Damage.
So you get a Fortify Health, Restore Health, Lingering Damage, and Damage Stamina potion.
-

Jessica Lloyd - Posts: 3481
- Joined: Fri Aug 25, 2006 2:11 pm
» Sun Jun 03, 2012 8:57 pm
I use giant toe, wheat and one other fortify carry ingredient like creep cluster.
However as master alchemist with 5*29% alchemy gear they are worth over 5000, only one you can sell to and get all the money back is the fence in TG.
-

Rhiannon Jones - Posts: 3423
- Joined: Thu Sep 21, 2006 3:18 pm
» Sun Jun 03, 2012 4:31 pm
I use giant toe, wheat and one other fortify carry ingredient like creep cluster.
However as master alchemist with 5*29% alchemy gear they are worth over 5000, only one you can sell to and get all the money back is the fence in TG.
You can always trade them for grand soul gems.
-

Cathrine Jack - Posts: 3329
- Joined: Sat Dec 02, 2006 1:29 am
» Sun Jun 03, 2012 4:51 pm
my problem with very high values potions ? who to sell them to? I can make pots with vendor value of over 2000g, but most vendors only have 500/750g
yep I lvled alchemy but need to sell pots one at a time for a fraction of what I could get for them. And the same for enchanted armor/ weapons. Am not really complaining I have more gold than I need so its just an observation and seems a bit of a mistake on developers part. Why make it possible to craft expensive items and then not be able to sell them for their worth? I have necklace and a mask that give me better prices.. but don’t wear them much ! 
-

Sun of Sammy - Posts: 3442
- Joined: Mon Oct 22, 2007 3:38 pm
» Mon Jun 04, 2012 8:51 am
my problem with very high values potions ? who to sell them to? I can make pots with vendor value of over 2000g, but most vendors only have 500/750g
yep I lvled alchemy but need to sell pots one at a time for a fraction of what I could get for them. And the same for enchanted armor/ weapons. Am not really complaining I have more gold than I need so its just an observation and seems a bit of a mistake on developers part. Why make it possible to craft expensive items and then not be able to sell them for their worth? I have necklace and a mask that give me better prices.. but don’t wear them much ! 
You could take speechcraft perks and join the thieves guild to get access to vendors with more money.
-

Ella Loapaga - Posts: 3376
- Joined: Fri Mar 09, 2007 2:45 pm
» Mon Jun 04, 2012 3:27 am
The fence in thieves guild gains about 1000 every time you level the guild, also if you need properties or locations to ingredients ask me I got the strategy guide .
-

Mashystar - Posts: 3460
- Joined: Mon Jul 16, 2007 6:35 am
» Sun Jun 03, 2012 9:36 pm
You won’t. You can only get http://www.uesp.net/wiki/Skyrim:Jarrin_Root of it during the DB quest line, and it’s needed for the quest.
The quest can be completed without using it, also do not eat it you will die instantly. It’s found in quest to kill a empire.
-

Monika Krzyzak - Posts: 3471
- Joined: Fri Oct 13, 2006 11:29 pm
Return to V — Skyrim
Достижимость объектов
Для того, чтобы признать объект живым — наличия ссылок недостаточно. Все потому, что одни мертвые объекты могут ссылаться на другие мертвые объекты. Именно поэтому нужно, чтобы среди всех ссылок на объект, была хотя бы одна от “живого” объекта.

Сборщики мусора работают с концепцией GC Roots (корней сбора мусора) для того, чтоб различать живые и мертвые объекты. Есть 100% живые объекты и от них идут ссылки, которые оживляют другие объекты и так далее.
Примеры таких корней:
- Классы, которые загружаются системным загрузчиком классов.
- Живые потоки.
- Параметры методов, которые выполняются в данный момент и локальные переменные.
- Объекты, которые применяются в качестве монитора для синхронизации.
- Объекты, которые удерживаются из сборки мусора для некоторых целей.
- Сборщик мусора просматривает весь граф объектов в памяти, начиная с этих корней и следуя ссылкам на другие объекты.
Solution to «Java file outside of source root intelliJ»
Regenerate Maven Sources and Update Folders
Right click the pom.xml > Maven > Generate Sources and Update Folders
The project should now run
Here’s an image of what the menu looks like:

answered May 30, 2022 at 14:19

Quan Truong
2 silver badges11 bronze badges
In intellij:
click Maven,
select the project and right,
select Unignore Projects
answered Sep 23, 2021 at 20:16
I did a ‘Maven reload’ (or Gradle reload) from the upper-right ‘Maven’ (‘Gradle’) window and problem is solved.
answered Apr 29, 2022 at 13:36
1 gold badge23 silver badges16 bronze badges
File
->Project Structure
-> Module
select the Sources tab in the third pane from the left
answered May 2, 2022 at 15:16
File >>Project Structure>>Modules>> Import Module>> (At this point your src folder will appear on the right most pane automatically ) >> Apply >> OK
15 gold badges114 silver badges126 bronze badges
answered Feb 24, 2021 at 11:54
IntelliJ may be ignoring files from a multi-module project. Modules that are ignored will make it harder for the IDE to find the root of that file. Hence, java file outside of source root
Preferences -> Build, Execution, Deployment -> Build Tools -> Maven -> Ignored FilesNow, uncheck the modules you do not want IntelliJ to ignore.
answered Feb 16, 2022 at 18:37

4 gold badges31 silver badges56 bronze badges
I’m having a similar issue for an Android project in Android Studio Chipmunk 2021.2.1 Patch 1. It looks like a known bug related to using manifest.srcFile: https://issuetracker.google.com/issues/218370114?hl=ko
Apparently the options are switching to the canary channel or waiting for the fix to be released on the stable channel. Or getting rid of manifest.srcFile in your build.gradle.
answered Jun 13, 2022 at 16:47
2 gold badges34 silver badges37 bronze badges
right-clicked those pom.xml files -> Maven -> Unignore Projects
answered May 25 at 10:50
5 silver badges16 bronze badges
I tried all of the above. Finally figured out this is because of an issue with incompatible Maven version. Fixing the settings in IntelliJ to refer to a lower version of Maven and then Add as Maven project helped.
answered May 25 at 17:05
I’m just gonna throw my solution to this problem in here, since none of the above worked:
If there are multiple pom files in your project, on the Maven sidebar to the right, click the plus (‘+’) button and navigate to the other pom file that does not have the Maven (‘M’) icon next to it in the project structure of your project (left sidebar).
Then click ‘OK’ — this then loads all the Maven dependencies from the unused pom file and, for me, everything was finally fixed!
Maven sidebar > plus icon (+) > direct to other pom file > ‘ok’
answered Oct 28, 2021 at 10:30
1 gold badge1 silver badge11 bronze badges
I had to open the module I worked on to a new window to solve that.
answered Jan 18, 2022 at 15:50

Hate to add yet another method; but this one worked for me after trying and failing with the above methods.
I had a multi-mode project.
Unlinked all maven projects in Maven workspace and reloaded as maven project by clicking root poom.xml in project workspace.
Not sure whether this will always work and for everyone.
answered Jan 19, 2022 at 5:00
I faced the same problem in one of the modules in my multi module maven project. In my InteliJ idea, I’ve installed Maven Helper plugin before. I did right click on the module and within that contextual menu click Run Maven and then Reimport. After doing that, my issue resolved.
answered Feb 18, 2022 at 12:22
Go to Intelij
File > Project Structure > Modules > Addanswered Oct 17, 2022 at 2:50
The solution that worked for me was to right click on the src folder and select «Mark Directory as» -> «Sources Root» or «Test Sources Root».
This is also mentioned in the comment to the question. But I had missed it so wanted to post it as an answer.
answered Nov 4, 2022 at 9:04
Just for anyone who has the minor mistake that I had:
My simple issue and fix was to cd into the exact file I cloned down. I accidentally shortcut opened the parent directory with idea . instead of the project I needed to work on.
answered Jan 4 at 17:52
I had to change the Maven path in IntelliJ. Preferences-> Build, Execution, Deployment-> Build Tools-> Maven.
Using the bundled Maven 3 path solved this and the Spring Boot application started up just fine.
answered Jan 6 at 15:04
Please do the below 2 steps:
Step-1: Right click on root pom.xml file Maven-> Generate Sources and update folders
Step-2: Right click on root project level pom.xml >> maven >> Reload project
answered Jan 25 at 8:05
For one project where build.gradle was configured for various custom build variants, I tried everything mentioned above but still it didn’t work. Finally when I chose correct build variant from left panel of Android Studio, it just worked.
answered Mar 18 at 6:39
2 silver badges16 bronze badges
Updating a JAR File
The Jar tool provides a u option which you can use to update the contents of an existing JAR file by modifying its manifest or by adding files.
The basic command for adding files has this format:
jar uf jar-file input-file(s)
Using Exec-Maven-Plugin
Alternatively the exec-maven-plugin can be used which does not require Ant to be installed.
<plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <executions> <execution> <phase>package</phase> <goals><goal>exec</goal></goals> <configuration> <executable>jar</executable> <arguments> <argument>uf</argument> <argument>${project.build.directory}/myprogram.jar</argument> <argument>-C</argument> <argument>${project.build.directory}/classes</argument> <argument>org/company/app/Main.class</argument> </arguments> </configuration> </execution> </executions>
</plugin>The final structure may look like this:
myprogram.jar
|-BOOT-INF/..
|-META-INF/..
|-org/springframework/boot/loader/..
|-org/company/app/Main.classThat way you can add any additional files you want after the jar has been packaged.
Этапы сборки мусора в Java
Стандартная реализация сборки мусора имеет три этапа.
1. Помечаем объекты как живые
На этом этапе сборщик мусора (GC) должен идентифицировать все живые объекты в памяти путем обхода графа объектов.
Когда он посещает объект, то помечает его как доступный и, следовательно, живой. Все объекты, недоступные из корней GC, рассматриваются как кандидаты на сбор мусора.

2. Зачистка мертвых объектов
После фазы разметки пространство памяти занято либо живыми (посещенными), либо мертвыми (не посещенными) объектами. Фаза зачистки освобождает фрагменты памяти, которые содержат эти мертвые объекты.

3. Компактное расположение оставшихся объектов в памяти
Не обязательно, чтобы мертвые объекты, которые были удалены на предыдущей фазе, находились рядом друг с другом. Таким образом, ты рискуешь получить фрагментированное (полупустое) пространство памяти.
Но, конечно же, предусмотрев это, есть возможность уплотнить память в момент, когда сборщик мусора удаляет мертвые объекты. Оставшиеся будут располагаться в непрерывном блоке в начале кучи.
Процесс уплотнения облегчает последовательное выделение памяти для новых объектов.


Using Maven-Antrun-Plugin
This command can be executed using the maven-antrun-plugin together with the exec task, which allows you to execute commands via Runtime.exec(..).
The entry may look like this:
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <version>3.1.0</version> <executions> <execution> <phase>package</phase> <configuration> <target> <exec executable="jar" vmlauncher="false"> <arg value="uf" /> <arg value="${project.build.directory}/myprogram.jar" /> <arg value="-C" /> <arg value="${project.build.directory}/classes" /> <arg value="org/company/app/Main.class" /> </exec> </target> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions>
</plugin>Notice the -C option, which allows you to change the directory that should not be included in the jar.






